06:42 | <annevk> | Hixie, yeah, maybe it should |
06:43 | <annevk> | Hixie, and at some point CORS too, and then someone should probably try to extract fetching into a separate core spec |
06:43 | <Hixie> | yeah |
06:43 | <Hixie> | let's do that all at once |
06:43 | <annevk> | :) |
06:43 | <Hixie> | but not right away :-) |
06:43 | <annevk> | yeah |
06:46 | <annevk> | anyone wants an invite for IRCCloud? |
06:46 | <annevk> | while in beta it is free |
06:53 | <Hixie> | what's IRCCloud? |
06:57 | <annevk> | https://irccloud.com/about |
06:58 | <annevk> | I will probably only use it for as long as krijn's server is down |
07:01 | <Hixie> | oh, i see |
07:01 | <Hixie> | just get some server somewhere you can put irssi and screen on |
07:04 | <twisted> | yo :) I got a weird thing going on in Gecko browsers on a page concerning css. It's weird cause the same CSS works on other pages, http://gemetria.bastardoperatorfromhell.org/~jakoury/index.php?p=nieuws is the website, http://gemetria.bastardoperatorfromhell.org/~twisted/skitch/firefox-20110702-025016.png is what it looks like in Firefox 4 and http://gemetria.bastardoperatorfromhell.org/~twisted/skitch/Chrome-20110702-025039.png that's in Chrome what it's s |
07:05 | <twisted> | someone over in #css helped me track it down to #top-footer:after {} |
07:06 | <twisted> | it's *white* the moment I swap it to :before and add a dot in the content, but then the other pages break and the website gets 10px longer in Chrome (so does Firefox btw) |
07:07 | <twisted> | http://browsershots.org/http://gemetria.bastardoperatorfromhell.org/~jakoury/index.php?p=nieuws are some more browser screenshots :) |
07:51 | <annevk> | is there a way to set a base URL in a bash script so you can run it from any directory without issues? |
07:56 | <twisted> | annevk: what do you mean? a var? |
07:56 | <twisted> | annevk: http://pastebin.com/SgyW8kuc that idea? |
08:00 | <annevk> | my bash script has stuff like python file |
08:01 | <annevk> | and also "script" where "script" tries to read something from the current directory |
08:01 | <annevk> | however this currently fails if you call the bash script from a parent directory |
08:01 | <twisted> | the pwd command shows you what path your currently in |
08:02 | <twisted> | http://www.manpagez.com/man/1/pwd/ |
08:02 | <annevk> | that's cool, but how I can set a path the bash script should act it is in? |
08:02 | <twisted> | a basepath var could work |
08:03 | <twisted> | if it starts with / |
08:03 | <twisted> | it's an absolute path |
08:03 | <twisted> | and can never change |
08:03 | <twisted> | so instead of: project/script/dir/bla you do /home/username/project/script/dir/bla |
08:03 | <twisted> | same dir, just more specific |
08:03 | <twisted> | ~/project/script/dir/bla could also work |
08:04 | <twisted> | as long as the executing users homedir is actually /home/username |
08:04 | <twisted> | just curious btw, did you on accident or on purpose ask this in this channel? :) |
08:10 | <annevk> | on purpose :) |
08:10 | annevk | goes to try basepath |
08:13 | <zewt> | annevk: er ... cd? heh |
08:13 | <twisted> | annevk: just try: basepath="dir" \n exec="$basepath/script.py" |
08:14 | <annevk> | yeah see that does not work |
08:14 | <annevk> | some of the relatives are assumed by the script |
08:14 | <annevk> | zewt, yeah I could, but then I have to cd in and out all the time |
08:14 | <annevk> | I suppose I could move a few other things around instead |
08:15 | <zewt> | welcome to shell scripting, not exactly the bleeding edge of scripting :P |
08:15 | <twisted> | annevk: what does not work? |
08:16 | <zewt> | can do eg. dir=`pwd`; cd wherever; stuff "$dir/file" |
08:16 | <zewt> | or (cd wherever && stuff) to run in another directory without having to cd back every time |
08:18 | <annevk> | twisted, I cannot add $basepath for all relative links |
08:18 | <annevk> | twisted, not all relative links are in the bash script itself |
08:18 | <annevk> | I'll solve it another way |
08:18 | <annevk> | no worries |
08:18 | <twisted> | hmm |
08:19 | <twisted> | annevk: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in |
08:25 | <annevk> | Hixie, "Constructing the form data set" uses something called "submitter" |
08:25 | <annevk> | Hixie, can that be made more explicit so I can set that to null or something when I use that algorithm in XMLHttpRequest? |
08:41 | <annevk> | matjas, you filed a bug on the input event not firing, but there is no specification that requires it fires for contenteditable-areas |
08:41 | <annevk> | matjas, that is a WebKit extension, though I guess it is one we should adopt |
08:41 | <twisted> | anyone here btw an idea for my problem? |
08:42 | <twisted> | I posted it here 1hour 36min ago |
08:43 | annevk | looks |
08:46 | <annevk> | twisted, is it to clear floats? |
08:46 | <annevk> | twisted, the :after thingie? |
08:46 | <annevk> | twisted, could try http://annevankesteren.nl/2005/03/clearing-floats |
08:48 | <twisted> | annevk: well what I don't get is why it works on all the other pages |
08:48 | <twisted> | same code |
08:53 | <annevk> | maybe some conflicting CSS? |
08:55 | <twisted> | hmm |
08:56 | <twisted> | gonna have to firebug the hell out of it :p |
08:57 | <twisted> | it's weird cause if I swap it to :before it works |
08:58 | <twisted> | but then it shifts 10px down in total |
08:59 | <twisted> | it's suspicious... |
09:00 | <twisted> | ik trek wel ff de css door de validator |
09:02 | <twisted> | hmm... I used to have a reallly good css tidy app |
09:02 | <twisted> | I think it was called Top Style Pro |
09:03 | <twisted> | but it's windows only :( |
10:08 | <annevk> | whoa |
10:08 | <annevk> | it's alive |
10:09 | <annevk> | krijn, http://krijnhoetmer.nl/irc-logs/ is not updating it seems |
10:09 | <twisted> | haha funny to see how web dev's themselves usually have boring websites :p |
10:09 | <twisted> | 'boring' in the sense how a designer would look at it |
10:10 | <annevk> | I was about to say, it's pretty interesting otherwise :) |
10:10 | <twisted> | for me, the only requirement of a website is that it works properly in lynx/links2 |
10:11 | <twisted> | cause, _IF_ I'm booting into Linux and my X.org #%^@&# up again I can at least browse the web |
10:15 | <matjas> | annevk: I see. +1 on adopting that. Would you mind leaving a comment on the Fx bug as well, saying just that? |
10:15 | <krijnh> | Si the ping? |
10:15 | <krijnh> | Awesome |
10:16 | <krijnh> | Can someone send me the logs since the 27th? |
10:17 | <twisted> | very interesting |
10:17 | <twisted> | http://gemetria.bastardoperatorfromhell.org/~jakoury/index.php?p=portfolio |
10:18 | <twisted> | on that page I introduced the same bug now |
10:18 | <twisted> | by changing the padding-top from 1em to 0; |
10:18 | <twisted> | in #portDetail |
10:19 | <annevk> | Philip`, krijn needs logs |
10:19 | <matjas> | annevk: ty |
10:20 | <krijnh> | Philip`: firstnamelastname @ gmail.com :) Tia! I'm off now, but will update the logs when I get them |
10:20 | <twisted> | hmm |
10:20 | <twisted> | well, I 'fixed' it |
10:20 | <twisted> | but now I see a small... dot |
10:20 | <twisted> | lol |
10:21 | <twisted> | isn't there some invisible unicode char that I could use? |
10:21 | <twisted> | oh of course |
10:21 | <twisted> | *grr* |
10:22 | <twisted> | whoo :D |
10:22 | <twisted> | \o/ |
10:22 | <twisted> | annevk: thanks eventually your http://www.positioniseverything.net/easyclearing.html reminded me to use visibility: hidden; |
10:22 | <twisted> | it now works |
10:22 | <twisted> | but, what I still don't understand why Firefox requires a :before |
10:23 | <twisted> | but until I introduced my new 'bug' into Chrome... Chrome didn't need a :before and now it does too |
10:23 | <twisted> | so cross-browser weirdness me thinks :p |
10:27 | <twisted> | is there by chance, a css validator that takes in account browser specific properties? |
10:29 | <twisted> | hmm maybe someone here can enlighten me, what exactly is the advantage of doing this: http://www.greywyvern.com/code/php/binary2base64 |
10:30 | <twisted> | convert small to medium sized images to base64 |
10:32 | <matjas> | annevk: I’m confused — http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#event-handlers-on-elements,-document-objects,-and-window-objects lists `oninput` as one of the “event handlers (and their corresponding event handler event types) that must be supported by all HTML elements, as both content attributes and IDL attributes, and on Document and Window objects, as I |
10:32 | <matjas> | DL attributes” |
10:33 | <annevk> | event handlers are just that |
10:33 | <annevk> | event handlers |
10:33 | <annevk> | they mean nothing with respect to where and when such events are dispatched |
10:34 | <matjas> | I see |
10:34 | <matjas> | where does it say when `oninput` should be dispatched? |
10:35 | <annevk> | it says input is dispatched |
10:36 | <annevk> | search for "named input" to find instances |
10:37 | <matjas> | http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input |
10:45 | <twisted> | http://procssor.com/ that is really sweet |
10:46 | <matjas> | annevk: filed http://www.w3.org/Bugs/Public/show_bug.cgi?id=13118, thanks! |
10:47 | <annevk> | matjas, one of these days you should teach people about onevent versus event |
10:48 | <annevk> | matjas, you're not the first to make the mistake |
10:48 | <matjas> | event handlers vs. events |
10:48 | <matjas> | inorite |
10:50 | <matjas> | annevk: onevent = event handler, right? so the bug subject should’ve been “consider firing the input event…”? |
10:51 | <annevk> | yes |
10:52 | <annevk> | there's no such thing as onxxx events |
10:53 | <matjas> | annevk: maybe *you* should write about it, seeing as you blogged about the “ALT tag” and tags vs. elements before </hint> |
10:53 | matjas | doesn’t know shit |
10:56 | <annevk> | i wouldn't say that |
10:56 | <annevk> | but I guess I can, but not today |
10:56 | <annevk> | today is another Anolis day |
11:00 | <matjas> | annevk: all I can come up with is “`onclick` is an event handler. `click` is the event. When the event fires, the respective event handlers are executed.” |
11:06 | <matjas> | needs moar event handler content attributes |
12:11 | <smaug____> | what does "When the X binding applies to an Y" mean |
12:11 | <smaug____> | I mean, where is the CSS binding defined |
12:13 | <annevk> | I think it means there is some concept of an internal binding |
12:13 | <annevk> | At least, if you are talking about the HTML rendering section |
12:13 | <smaug____> | yeah, I am |
12:14 | <smaug____> | I just don't see where for example "button" binding is defined |
12:14 | <smaug____> | ah, it is user-agent-defined value |
12:14 | <smaug____> | ok |
12:14 | <Ms2ger> | http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#introduction-15 |
12:58 | <annevk> | what is up with all the validator bugs? |
12:58 | <annevk> | oh hey Ms2ger! |
12:59 | <Ms2ger> | Ohai :) |
13:00 | <annevk> | can you associate my name with my account on specification-data? |
13:01 | <annevk> | apparently I can't do that with my current rights |
13:02 | <Ms2ger> | I just did that |
13:04 | <Ms2ger> | And for anolis, I'd rather not take your patch, but I made xspecxref just ignore that regex |
13:04 | <annevk> | Ms2ger, also, Anolis seems to mangle the encoding problem |
13:05 | <annevk> | Ms2ger, Bjoern's name is not coming out right |
13:05 | <annevk> | (I removed the ascii config line) |
13:07 | <Ms2ger> | Maybe declaring your encoding would help? |
13:09 | <Ms2ger> | Also, I'd suggest xreffing case-sensitive/ASCII case-insensitive to domcore |
13:09 | <Ms2ger> | And fix the xref in Unless otherwise stated... |
13:11 | <annevk> | Where do you declare the encoding? |
13:15 | <Ms2ger> | It should pick up <meta charset> in the source |
13:16 | <annevk> | Can <!-- status --> be made to work or should I copy that somehow? |
13:18 | <Ms2ger> | What's <!-- status -->? |
13:19 | <annevk> | http://www.w3.org/2005/07/pubrules?uimode=filter#document-status |
13:20 | annevk | copies from CSSOM View |
13:23 | <Ms2ger> | Oh |
13:23 | <Ms2ger> | I could probably add that |
13:24 | <annevk> | a few things depend on the group |
13:24 | <Ms2ger> | Fun |
13:24 | <annevk> | I added it manually, not too much trouble |
13:40 | <annevk> | Ms2ger, if there are no non-normative references the code there does not validate |
13:41 | <annevk> | <dl></dl> does not work for the W3C |
13:57 | <Ms2ger> | Fixed, I think |
13:58 | <annevk> | confirmed |
13:59 | <Ms2ger> | I'm off now, I'll check back later if you found more bugs :) |
14:29 | <annevk> | hmm defining garbage collection policies sucks |
15:46 | <The_8472> | annevk, look at some JVMs. they're usually a good reference point |
15:47 | <The_8472> | assuming you're talking about GC for memory management and not some other kind of resources |
15:51 | <annevk> | for the XHR spec |
15:51 | <annevk> | and XHR in general |
17:56 | <annevk> | http://rniwa.com/editing/undomanager.html |
17:56 | <annevk> | via Google+ |
18:03 | <annevk> | AryehGregor, Ms2ger, https://rniwa.com/2011-06-26/position-and-anchor-types/ |
18:03 | <annevk> | Peter`, ^^ |
18:31 | <annevk> | Ms2ger, so should CORS rely on DOM Core for case-sensitive and such? |
18:31 | <annevk> | or define those terms itself? |
18:32 | <Ms2ger> | I dunno |
19:08 | <Hixie> | annevk: file a bug, not around to edit right now |
20:32 | <zewt> | this floaty status bar fad in browsers seriously needs to end :| browsers leaking their ui into the page's space is terrible |
20:35 | <Philip`> | Browsers seem to like competing on how little UI space they take, then I guess they realise later they've actually got to display some information to the user so it squeezes out into the page |
22:33 | <erlehmann> | what is the earliest possible event handler a media element can seek by changing currentTime? canplay does not work. |
22:47 | <matjas> | Firefox and WebKit seem to convert \r into \n when used in an attribute value. Opera respects the \r. Does the spec say anything about this? |
22:47 | <matjas> | test: data:text/html;charset=utf-8,<p id%3D"%0D"> |
22:47 | <matjas> | then: document.querySelector('p').id == '\r' // false |
22:47 | <matjas> | document.querySelector('p').id == '\n' // true |
22:48 | <bga_> | same with textarea.value iirc |
22:49 | <matjas> | bga_: yeah, seems to be the case for all attributes and their respective properties |
22:49 | <matjas> | bga_: it does however seem to respect the \r if you set it through JS |
22:53 | <gsnedders> | matjas: Everything becomes \n in the tokenizer |
22:53 | <bga_> | matjas also iirc webkit has issue w/ spaces {'\u2009': 1}['\u200A'] == 1 |
22:53 | <bga_> | but now its fixed |
22:53 | <matjas> | gsnedders: so is it a bug in Opera then? |
22:55 | <gsnedders> | matjas: We don't claim to impl the HTML5 parser. :P I guess the HTML5 parser builds should match Fx/WebKit. |
22:56 | <annevk> | matjas, yes |
22:56 | <matjas> | I see, thanks for clarifying. |
22:56 | <annevk> | known bug at that |
23:01 | <matjas> | gsnedders: so only \r becomes \n, right? Or what do you mean by “everything”? |
23:02 | <gsnedders> | matjas: \r and \r\n |
23:03 | <matjas> | gsnedders: \r\n becomes a single \n, interesting |
23:10 | <matjas> | so when you set an attribute value to \r *through JS*, should it be normalized into \n or not? |
23:10 | <gsnedders> | matjas: With setAttribute? |
23:10 | <matjas> | gsnedders: for example |
23:10 | <gsnedders> | matjas: I think not. |
23:10 | <matjas> | gsnedders: does setting the property make a difference? |
23:10 | <gsnedders> | matjas: No |
23:10 | <matjas> | e.g. foo.id = '\r' |
23:11 | <matjas> | ok so tokenization doesn’t apply then |
23:11 | <gsnedders> | Right. |
23:12 | <bga_> | matjas i guess keep LF CR in attributes is inpractical |
23:12 | <matjas> | bga_: invalid, too :) was just wondering what’s up |
23:12 | <matjas> | noticed the “issue” on http://mothereffingcssescapes.com/ |
23:17 | <AlexNRoss> | <a name="warp"></a>Poof! You're now here.<a href="#warp">Warp</a> Is there an alternate method of doing this? W3C Validator says that the name attribute is obsolete. |
23:19 | <tomasf> | AlexNRoss: use the id attribute |
23:20 | <AlexNRoss> | tomasf: I'm not so sure that all browsers will attempt to go to it via id. |
23:24 | <tomasf> | AlexNRoss: probably not all, but all reasonably modern ones do, afaik. |