00:32 | <Hixie> | anyone around who can talk to me about DOMException and RangeException? |
01:01 | <Hixie> | any DOM Core editors around? |
01:31 | <__bruno> | is there any mature model for reusable components in pure html (client side)? or some binding language, like XBL (used on firefox) ? |
11:38 | <espadrine> | annevk: is there a way to set an element's ID in DOM4? |
11:39 | <annevk> | ele.id ? |
11:40 | <espadrine> | I was reading the HTML5 spec, and I trode upon this part: |
11:40 | <espadrine> | "This specification doesn't preclude an element having multiple IDs, if other mechanisms (e.g. DOM Core methods) can set an element's ID in a way that doesn't conflict with the id attribute." |
11:40 | <espadrine> | Is that meaningful? |
11:40 | <annevk> | no please file a bug on that |
11:41 | <espadrine> | ok |
11:41 | <annevk> | thanks |
11:44 | <woef> | The spec is real good for brushing up on crazy and impossible English words. |
11:44 | <annevk> | http://lists.w3.org/Archives/Public/public-script-coord/2011JulSep/0420.html o_O |
11:46 | <annevk> | I guess only complements http://infrequently.org/2011/09/google-the-future-of-javascript/ about Web IDL being an invention of the devil |
11:47 | <annevk> | espadrine, http://www.w3.org/Bugs/Public/show_bug.cgi?id=14145 is not quite what I had in mind |
11:47 | <annevk> | espadrine, if that's your bug |
11:51 | <espadrine> | It is. |
11:51 | <espadrine> | I added more specifics in a comment just now. |
11:53 | <espadrine> | What did you have in mind? |
12:11 | <annevk> | that it removes that note |
12:12 | <annevk> | because that change is not going to happen :) |
12:12 | <annevk> | there's already id attributes with spaces in them |
12:17 | <espadrine> | annevk, as far as I can tell, id attributes with spaces in them doesn't work. |
12:18 | <espadrine> | Maybe I am wrong, but I tried href'ing to an id with spaces in them. |
12:19 | <aho> | http://mothereffingcssescapes.com/ |
12:19 | <aho> | you can use all kinds of characters if you escape them |
12:19 | <espadrine> | aho: not a space |
12:20 | <aho> | right |
12:20 | <aho> | thought an unicode escape would work there, but it doesnt |
12:22 | <espadrine> | aho: as funny as it is, here, a unicode space should be accepted. |
12:22 | <espadrine> | http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character |
12:23 | <espadrine> | eg, 0x00A0 "No-break space" should be accepted, and it isn't. |
12:24 | <aho> | ah... id=" foo" and #\20 foo{...} does indeed work in firefox |
12:25 | <aho> | so does #\ foo{...} |
12:27 | <aho> | document.getElementById(' foo') also works |
12:28 | <espadrine> | well? href="# foo" doesn't |
12:28 | <espadrine> | but indeed, aho, how very odd! |
12:28 | <aho> | how about href="#%20foo" ? |
12:29 | <espadrine> | aho: no |
12:29 | <espadrine> | that would have somehow made sense, but... |
12:29 | <aho> | works for me |
12:29 | <aho> | with firefox anyways |
12:29 | <espadrine> | (at least, I tested in chrome) |
12:33 | <espadrine> | aho: wait, it doesn't work for me in firefox! |
12:33 | <espadrine> | oh, no. |
12:33 | <espadrine> | actually, href="#hello%20world" doesn't work, but href="#%20world" does. |
12:34 | <espadrine> | (for ids equal to "hello world" and " world" respectively) |
12:36 | <espadrine> | ...and href="#hello%20world" works in Chrome. |
12:39 | <aho> | http://jsfiddle.net/TUpZZ/1/ |
12:39 | <aho> | works also fine in chrome 15.0.874.12 dev-m |
12:40 | aho | updates opera... :> |
12:41 | <aho> | yep |
12:41 | <aho> | opera works fine too |
12:43 | <aho> | http://jsfiddle.net/TUpZZ/2/ <- with #hello\ world |
12:45 | <espadrine> | My bad... |
12:45 | <espadrine> | http://jsfiddle.net/TUpZZ/3/ |
12:46 | <annevk> | espadrine, getElementById("this works") #this%20works |
12:47 | <aho> | #3 also seems to work just fine |
12:48 | <espadrine> | yes, my previous test (which told me it didn't work) must have been wrong. |
13:42 | <zcorpan> | do we want the following to be equivalent? input.setCustomValidity(null) and input.setCustomValidity("") |
13:43 | <annevk> | don't think so |
13:44 | <zcorpan> | k |
14:51 | AryehGregor | reboots to add RAM |
14:51 | <AryehGregor> | $ uptime |
14:51 | <AryehGregor> | 09:53:32 up 92 days, 16:12, 16 users, load average: 0.46, 0.47, 0.36 |
14:53 | <Philip`> | The 'uptime' program is a major security risk on any Linux system |
14:54 | <Philip`> | since it encourages people to keep their machines up for as long as possible, so they can show off their big uptime numbers |
14:54 | <Philip`> | and therefore discourages them from rebooting which is necessary for security updates to kernels or various other applications to take effect |
15:01 | <jcranmer> | there's a bash.org quote where someone has an uptime of over 5 years |
15:02 | <jcranmer> | and is trying to find something for a 2.0 kernel or something like that |
15:12 | <linclark> | i've been working on microdata support in Drupal |
15:12 | <linclark> | just posted a screencast giving a preview of the functionality, thought some folks in this channel might be interested |
15:12 | <linclark> | http://www.youtube.com/watch?v=MbkusrNmS6U |
15:27 | <aho> | http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#compositing <- "lighter" isn't a porter-duff op. just sayin. :> |
16:02 | <annevk> | http://blog.whatwg.org/weekly-touch |
16:08 | <zewt> | a fascinating url |
16:12 | <MikeSmith> | linclark: just watched it |
16:12 | <MikeSmith> | looks great |
16:12 | <MikeSmith> | though I don't know anything about Drupal |
16:13 | <MikeSmith> | your Galway accent it great to hear, though |
16:13 | <linclark> | MikeSmith: ha, thanks... it's more of a northern virginia accent |
16:13 | <MikeSmith> | heh |
16:14 | <MikeSmith> | yeah, I figured somewhere other than Galway |
16:15 | <MikeSmith> | anyway, fwiw, it's great to see the work you're doing on that |
16:15 | <linclark> | thanks, it's working out well... I think we'll be able to build a cool Docs system on top of it |
16:15 | <linclark> | Drupal has a problem that people post tutorials on their blogs, which makes them hard to find |
16:16 | <linclark> | so I'm working on adding a little structured data to the posts on Drupal Planet so that we can have targeted search for those tutorials |
16:16 | <MikeSmith> | ah, I see |
16:16 | <MikeSmith> | Drupal community in general really seems on top of things |
16:17 | <MikeSmith> | the accessibility work that Everett Zufelt's been doing is great to see as well |
16:17 | <linclark> | yeah, it's got a really good dynamic for bringing together people working on cool ideas |
16:18 | <annevk> | is there just happening less each week or am I missing out on a bunch of stuff? |
16:18 | <MikeSmith> | annevk: less happening |
16:18 | <MikeSmith> | less dramas too |
16:18 | <MikeSmith> | mostly |
16:19 | <MikeSmith> | though the somewhat unrelated drama over the weekend was fun |
16:19 | <annevk> | did we reach some point where there are too much standards and implementors have to catch up? |
16:19 | <annevk> | Dart? |
16:19 | <MikeSmith> | it's august |
16:19 | <MikeSmith> | annevk: yeah |
16:20 | <MikeSmith> | and there has been lots of catching up too |
16:20 | <annevk> | because of August? guess that makes sense |
16:20 | <MikeSmith> | lots of stuff in the latest IE10 platform preview |
16:20 | <MikeSmith> | well, I guess it's actually September now |
16:20 | <MikeSmith> | for the last two weeks |
16:21 | <MikeSmith> | in most civilized parts of the world, nobody tries to get much done during the last part of July and most of August |
16:24 | <jgraham> | Paris is civilized? |
16:26 | <MikeSmith> | Paris is over-civilized |
16:26 | <MikeSmith> | Nice is civilized |
16:38 | <shepazu> | hey, TabAtkins, want to help fix the markup on w3conf? |
16:38 | <shepazu> | I've started on it already |
16:39 | <shepazu> | it's my fault, I was focused on getting it accessible and i18ny, and didn't notice the bad markup |
16:39 | <MikeSmith> | shepazu: I'll help you |
16:39 | <MikeSmith> | I'll change all the class values to opaque strings |
16:39 | <shepazu> | lol |
16:40 | <shepazu> | add some <font> elements |
16:41 | <MikeSmith> | better yet, I'll generate all the markup from JS, based on real-time scouring of twitter for markup best-practice advice from the experts |
16:42 | <MikeSmith> | I think that would make Bert happy at least |
16:43 | <annevk> | Ms2ger was back tomorrow right? |
16:45 | <shepazu> | TabAtkins? |
16:47 | <myakura> | he's prolly away (saw he sent regrets to csswg call). |
16:50 | <shepazu> | thanks myakura |
16:56 | <linclark> | shepazu: are you an admin on the w3cconf site? |
16:57 | <shepazu> | linclark: no, but I can get in touch with those who are |
16:57 | <linclark> | ok, cool... the Save the Date button is giving an error |
16:58 | <shepazu> | linclark: yeah, notice that (too late) ^_^ |
16:58 | <linclark> | ah, ok, glad to hear that it's already known |
16:58 | <shepazu> | thanks linclark |
16:58 | <shepazu> | right now I'm fixing the sily markup |
16:58 | <shepazu> | * silly |
17:07 | AryehGregor | booted to a non-PAE kernel, so he only gets 3G of RAM instead of 8G >:( |
17:21 | <dglazkov> | good morning, Whatwg! |
17:21 | <strickly> | :O |
18:17 | <zcorpan> | why doesn't WorkerLocation have resolveURL? |
18:20 | <AryehGregor> | So what are the major features missing from IE10 now? |
18:21 | <zcorpan> | does it have location.resolveURL? :) |
18:22 | zcorpan | ponders if resolveURL isn't redundant with <a href> |
18:30 | <AryehGregor> | I use <a href> in my reflection tests to resolve URLs. |
18:30 | AryehGregor | didn't know about location.resolveURL |
18:32 | AryehGregor | reboots for distro upgrade |
18:36 | <zcorpan> | workers don't have <a> so it would make more sense there, but it's not present there |
18:57 | <Hixie> | zcorpan: probably oversight. file a bug or send mail. |
19:10 | <zcorpan> | already done |
19:11 | <Hixie> | thanks |
19:13 | <zcorpan> | Hixie: do you remember why resolveURL was added? |
19:15 | <Hixie> | to have a nice api to resolve urls, i would assume |
19:16 | <Hixie> | there's no way to resolve relative to the script's base url otherwise |
19:16 | <Hixie> | unless you somehow work out what that url is, and then use xml:base and an <a> element |
19:16 | <Hixie> | which is rather awkward and non-intuitive |
20:02 | <Hixie> | ok can anyone point me to how i download IE10? |
20:02 | <Hixie> | the microsoft site is giving me the run-around |
20:03 | <Hixie> | as far as i can tell, the IE10 preview download is 2.8GB to 4.8GB depending on whether you want dev tools and whether you want 32bi or 64bit |
20:04 | <Hixie> | and to run it you have to boot into it because it's actually an OS. |
20:04 | <zcorpan> | Hixie: when would a script's base URL be different from an <a>'s base URL? |
20:04 | <Hixie> | when there's xml:base around, i guess? dunno. |
20:05 | <Hixie> | haven't really thought about it. |
20:13 | <annevk> | we should remove resolveURL |
20:13 | <annevk> | in favor of window.URL |
20:14 | <annevk> | I haven't filed a bug on that yet I guess, maybe that can be part of zcorpan's bug? |
20:15 | <zcorpan> | URL has a resolve feature? |
20:15 | <annevk> | new URL(url, baseurl) will be the feature I think |
20:16 | <zcorpan> | oh, ok |
20:16 | <zcorpan> | how do you get the base url? |
20:16 | <annevk> | something like that, but in any event there's no need to have two APIs for it |
20:16 | <annevk> | the non-worker script would hand it over presumably |
20:16 | <annevk> | i guess this is for shared workers |
20:17 | zcorpan | -> bed |
20:21 | <Hixie> | annevk: is URL going anywhere? |
20:21 | <Hixie> | last i heard that spec was not being edited actively |
20:21 | <annevk> | guess that's up to abarth |
20:22 | <annevk> | maybe I should help him with a skeleton HTML spec that he can update |
20:22 | <annevk> | cause I think setting it up in HTML is what was holding it back |
20:24 | <Hixie> | hm, <table><tr><td><svg><desc><td> parses incorrectly in chrome as far as i can tell |
20:24 | <Hixie> | is that checked in the test suite? |
20:25 | <Hixie> | is http://code.google.com/p/html5lib/source/browse/#hg%2Ftestdata%2Ftree-construction the canonical place for the test suite? |
20:26 | <annevk> | think so |
20:26 | <annevk> | html5lib is anyway |
20:27 | <annevk> | Hixie, definitely different from Minefield |
20:27 | <annevk> | or Nightly as it's called |
20:27 | <Hixie> | also than opera |
20:27 | <annevk> | (still Minefield.app, confusing) |
20:27 | <Hixie> | though the opera i'm testing is the pre-html parser i think |
20:28 | <espadrine> | About bug #14145 (http://www.w3.org/Bugs/Public/show_bug.cgi?id=14145#c3), is there a way to see how browsers implement <td headers> when there is a space in the id of a targeted <td>? |
20:28 | <Hixie> | is anyone able to add a test to the html5lib test suite easily? (that gets pulled by everyone else's test suites right?) |
20:29 | <annevk> | I think people sync every now and then |
20:29 | <annevk> | you are actually a committer |
20:29 | <annevk> | so you could |
20:30 | <Hixie> | if nobody has it checked out and can easily just add a test, i will |
20:35 | <Hixie> | annevk: what file would i add this test to? |
20:35 | <annevk> | Hixie, filing a bug on WebKit might also get it added upstream |
20:35 | <Hixie> | true |
20:36 | <annevk> | tables01.dat maybe? |
20:36 | <annevk> | I don't think there's much logic to it, but hsivonen / jgraham / abarth know better |
20:37 | <Hixie> | this look right to you?: |
20:37 | <Hixie> | #data |
20:37 | <Hixie> | <table><tr><td><svg><desc><td> |
20:37 | <Hixie> | #errors |
20:37 | <Hixie> | #document |
20:37 | <Hixie> | | <html> |
20:37 | <Hixie> | | <head> |
20:37 | <Hixie> | | <body> |
20:37 | <Hixie> | | <table> |
20:37 | <Hixie> | | <tbody> |
20:37 | <Hixie> | | <tr> |
20:37 | <Hixie> | | <td> |
20:37 | <Hixie> | | <svg svg> |
20:37 | <Hixie> | | <svg desc> |
20:37 | <Hixie> | | <td> |
20:37 | <Hixie> | (there should be parse errors but i guess we're not testing those?) |
20:38 | karlcow | wants to drop water on top |
20:38 | <karlcow> | so it will make a nice waterfall |
20:39 | <annevk> | espadrine, they split on spaces first, so that won't work; that's why spaces are not allowed in IDs |
20:40 | <annevk> | Hixie, looks alright |
20:40 | <Hixie> | how do i run the tests? i tried |python2.5 ./runtests.py| but it wants a simplejson module i don't seem to have |
20:40 | <Hixie> | is there an easy way to install it? |
20:41 | <Hixie> | or not need it? |
20:41 | <Hixie> | (i'm on dreamhost) |
20:42 | <annevk> | can you do |
20:42 | <annevk> | easy_install simplejson |
20:42 | <annevk> | with Python 2.6 there's a json module |
20:44 | <Hixie> | don't have 2.6, and don't have root to install anything |
20:44 | <Hixie> | bummer |
20:44 | <Hixie> | can you install locally in a way that works with python? |
20:45 | <annevk> | yeah you should be able to install libraries and such |
20:45 | <annevk> | it's just been a while for me |
20:45 | <annevk> | Philip` might know |
20:46 | <Hixie> | the documentation for easy_install suggests http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python |
20:46 | <Hixie> | which looks like something to do after lunch |
20:47 | <annevk> | I think I have such a virtual setup as well |
20:47 | <annevk> | http://wiki.dreamhost.com/Python#Virtualenv |
20:48 | <Hixie> | sounds like the way to go |
20:48 | <Hixie> | that or just installing python2.6 locally |
20:49 | <Hixie> | ooh, python2.5 ./test_treewalkers.py didn't need json |
20:49 | <smaug____> | um, is moznet down :/ |
20:50 | <Hixie> | no |
20:50 | <smaug____> | for some reason I can't connect to it |
20:50 | <Hixie> | annevk: yay, html5lib passes my test (checked by breaking the test and checking that it does indeed break!) |
20:51 | <Hixie> | annevk: so uh, how do i commit something back with mercurial? |
20:51 | <Hixie> | i don't think i've ever done that! |
20:51 | Hixie | looks it up |
20:51 | <smaug____> | hg commit -m "message" |
20:51 | <smaug____> | hg push |
20:52 | <Philip`> | Normally you can tell Python modules to install into some prefix like ~/.local somehow and then run "PYTHONPATH=~/.local python ...", I think |
20:53 | <Hixie> | smaug____: thanks |
20:59 | <karlcow> | http://msdn.microsoft.com/en-us/ie/hh272903.aspx#_DOMHitTesting |
21:00 | <karlcow> | "msElementsFromPoint(x, y) Returns an NodeList of elements that are under a point defined by x and y" |
21:05 | <Hixie> | wtf, i get a 404 not found when i try to hg push |
21:06 | <smaug____> | Hixie: are you behind some firewall? |
21:06 | <Hixie> | don't think so |
21:06 | <smaug____> | or does the .hg/hgrc point to the right repository |
21:08 | <Hixie> | i pulled from http://, because https:// was giving me a 404 when pulling too, and then changed the hgrc to point to https to push, since it has to be pushed over https on google code hosting. |
21:08 | <Hixie> | so i guess i should fix the pull problem first |
21:09 | <Hixie> | hg clone https://code.google.com/p/html5lib/ |
21:09 | <Hixie> | abort: HTTP Error 404: Not Found |
21:09 | <Hixie> | wtf |
21:09 | Hixie | growls at google code hosting |
21:11 | <smaug____> | hg clone https://code.google.com/p/html5lib/ works here |
21:11 | <Hixie> | o_O |
21:12 | <Hixie> | maybe an ssl issue? |
21:12 | Hixie | tries it on a different machine |
21:12 | <smaug____> | I did get warning: code.google.com certificate with fingerprint b3:93:d0:5c:a0:7d:03:45:95:62:ec:18:1a:ea:bd:01:52:84:98:06 not verified (check hostfingerprints or web.cacerts config setting) |
21:15 | Hixie | fails to find other machines that have mercurial installed |
21:15 | <Hixie> | sigh |
21:21 | <Hixie> | ok here we go |
21:21 | <Hixie> | and it even works with the https url |
21:41 | <smaug____> | ah, DOM4's range stringifier isn't backwards compatible |
21:41 | smaug____ | files some bugs |
21:42 | <smaug____> | er |
21:42 | <smaug____> | hmm |
21:42 | smaug____ | will file implementation bugs |
21:46 | <AryehGregor> | smaug____, it's not? |
21:46 | <AryehGregor> | I thought I tested it. |
21:46 | <AryehGregor> | Maybe I didn't. |
21:49 | <smaug____> | AryehGregor: I could be wrong |
21:50 | <smaug____> | AryehGregor: I'm making PI to inherit CharacterData and I started to wonder how toString should work in that case |
21:50 | <smaug____> | DOM2 is quite vague |
21:50 | <smaug____> | it does say "Returns the contents of a Range as a string. This string contains only the data characters, not any markup." |
21:50 | <smaug____> | but it does also hint that "This includes character data in both Text and CDATASec" |
21:52 | <AryehGregor> | smaug____, but not PI or Comment. It's meant to work like textContent, as far as I understand it. |
21:53 | <AryehGregor> | That's how I specced it, anyway. |
21:53 | <AryehGregor> | CDATASec is the same as Text these days, in spec-land. |
21:53 | <smaug____> | well, no one has removed CDATA sec, but sure |
21:53 | <AryehGregor> | From implementations, yet. |
21:53 | <smaug____> | and CDATA extends Text anyway |
22:22 | <chriseppstein> | TabAtkins: We're discussing on the Sass mailing list whether it's safe to always unquote quoted strings stored in a variable when used in selector context. Can you imagine a selector ever using single or double quotes? |
22:23 | <Hixie> | ok i pushed the new parser test up |
22:23 | <chriseppstein> | people not TabAtkins can also answer :) |
22:27 | <AryehGregor> | Okay, so Unity provides me with no way to find a window with a particular name. It doesn't list the names of windows when I Alt-Tab, and it has no taskbar. |
22:27 | <AryehGregor> | So how am I supposed to find which of my 18 XChat windows is #webkit? |
22:27 | <AryehGregor> | chriseppstein, [attr=val]? |
22:28 | <chriseppstein> | AryehGregor: does that use strings? |
22:28 | <chriseppstein> | I guess it does |
22:28 | chriseppstein | waves at ben_alman |
22:28 | <chriseppstein> | asdf |
22:28 | <chriseppstein> | benschwarz: |
22:29 | <benschwarz> | chriseppstein: ! |
22:29 | <benschwarz> | the blocks feature in sass, so hot! |
22:29 | <chriseppstein> | :D |
22:29 | <AryehGregor> | chriseppstein, data:text/html,<p data-foo="'"><script>alert(document.querySelector("[data\-foo=\"'\"]"))</script> |
22:29 | <AryehGregor> | Alerts HTMLParagraphElement. |
22:29 | <benschwarz> | chriseppstein: did it come from our conversation a month (or more?) ago? |
22:30 | <chriseppstein> | AryehGregor: thanks |
22:30 | <benschwarz> | or did it just get invented by nex3? |
22:30 | <chriseppstein> | benschwarz: no. we've been talking about it for over a year |
22:30 | <benschwarz> | implementation is good |
22:30 | <benschwarz> | (the api) |
22:30 | <chriseppstein> | but I really needed it now :) |
22:30 | <chriseppstein> | since I'm using media queries |
22:30 | <chriseppstein> | then I needed to change them |
22:30 | <chriseppstein> | ugh |
22:31 | <benschwarz> | :) I'll be putting it to use this week myself I reckon |
22:31 | <benschwarz> | how far away is the sass release? |
22:32 | <chriseppstein> | benschwarz: we have one bug so far. if you put the same mixin in the content three times our infinite loop detection kicks in erroneously |
22:32 | <chriseppstein> | benschwarz: who knows. 2-3 months |
22:34 | <chriseppstein> | but I will start using the master branch right away in my project :) |
22:36 | <hamcore> | Is there a way to compress meta tags? |
22:38 | <annevk> | compress? |
22:38 | <hamcore> | minify it. |
22:39 | <annevk> | sure, but why? |
22:39 | <hamcore> | privacy thoughts |
22:40 | <annevk> | I have a hard time following them |
22:40 | <hamcore> | nevermind, it was a fool question |
23:40 | <ojan> | TabAtkins: why the change from "justify" to "distribute"? |
23:41 | <ojan> | TabAtkins: is there another spec that uses that or is it just under the theory the justify doesn't make sense for vertical flow? |
23:50 | <ap> | Hixie: I thought that Document.load was a no-go due to backwards compatibility (introducing "load" in variable scope of scripts that didn't have it before). But I can't find any concrete evidence |
23:50 | <Hixie> | createDocument().load() is definitely not a no-op |
23:50 | <Hixie> | dunno about Document.load() in general |
23:59 | <smaug____> | document.load is painful, but so far we (Gecko) haven't managed to get rid of it |