Options:
- # Session Start: Thu Mar 10 00:00:00 2011
- # Session Ident: #whatwg
- # [00:01] * Quits: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com) (Ping timeout: 246 seconds)
- # [00:04] * Quits: mokush_ (~quassel@188.24.45.18) (Read error: Connection reset by peer)
- # [00:07] * Joins: doublec (~chris@unaffiliated/doublec)
- # [00:07] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
- # [00:09] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
- # [00:09] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 276 seconds)
- # [00:18] * Joins: boogyman (~boogy@cpe-173-171-60-41.tampabay.res.rr.com)
- # [00:18] * Quits: boogyman (~boogy@cpe-173-171-60-41.tampabay.res.rr.com) (Changing host)
- # [00:18] * Joins: boogyman (~boogy@unaffiliated/boogyman)
- # [00:23] * Joins: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [00:23] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [00:24] * Joins: sicking (~chatzilla@nat/mozilla/x-ebhbohmamxnfnudn)
- # [00:25] <Hixie> heycam: what's the use case for http://dev.w3.org/2006/webapi/WebIDL/#idl-static-operations ?
- # [00:25] <Hixie> are there features in the platform (other than URL) that use this?
- # [00:25] <zewt> http://zewt.org/~glenn/test-hashchange-ff4.html browser back after a history.pushState doesn't seem to fire onhashchange in ff4rc1 ... anyone feel like double-checking/confirming before I file it?
- # [00:26] <heycam> Hixie, sicking is using it for something in indexed db
- # [00:26] <Hixie> aw man
- # [00:26] <sicking> yes!
- # [00:26] <heycam> you don't like it?
- # [00:26] <Hixie> it's so... not like the rest of the platform
- # [00:26] <sicking> zewt: are you actually changing the hash?
- # [00:26] <zewt> yes
- # [00:26] <sicking> oh, i see what you mean
- # [00:27] <zewt> history.pushState({}, window.title, url + "#1");
- # [00:27] * Joins: dave_levin (~dave_levi@74.125.59.65)
- # [00:27] <sicking> zewt: are you sure it's supposed to fire?
- # [00:27] <heycam> Hixie, JS has built in methods like that... Object.whatever, e.g.
- # [00:27] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
- # [00:27] <sicking> zewt: iirc there's some comment in the code specifically stating that we should not fire
- # [00:27] <zewt> i think it is (on browser back, not due to the pushState itself), but i'm not positive so i'm asking here
- # [00:27] <sicking> zewt: oooh
- # [00:27] <Hixie> heycam: i guess
- # [00:27] <zewt> noticed since it broke my app that works in c9
- # [00:28] <sicking> zewt: you want it to fire when pressing "back". Not when calling pushState
- # [00:28] <Hixie> heycam: yeah, ok
- # [00:28] <Hixie> heycam: fair enough
- # [00:28] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
- # [00:28] <sicking> zewt: ?
- # [00:28] <Hixie> heycam: nevermind :-)
- # [00:28] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
- # [00:28] <heycam> Hixie, ok :)
- # [00:28] <zewt> right--browser back is a navigation, regardless of how the history entry was created
- # [00:29] <sicking> zewt: file a bug, cc me and ":jlebar"
- # [00:29] <sicking> zewt: won't get fixed for FF4, but maybe we can fix it for FF4.0.1
- # [00:30] <zewt> :|
- # [00:30] <zewt> k
- # [00:30] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [00:31] <Hixie> zewt: that part of the spec changed back and forth a lot unfortunately
- # [00:31] <Hixie> zewt: so browser vendors probably had a hard time keeping track
- # [00:31] <sicking> zewt: i know. It's just too much risk to take at this point. The code is done FF4RC was just released
- # [00:31] <sicking> which reminds me
- # [00:31] <zewt> odd, it would be strange not to fire onhashchange depending on how the history entry was changed (which is what seems to be happening, anyway)
- # [00:31] <Hixie> (it's the main reason i am so reluctant to change anything, which is why i'm always pushing back ever on somewhat good ideas)
- # [00:32] <Hixie> (when they involve changing rather than adding)
- # [00:32] * Quits: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl) (Quit: Leaving.)
- # [00:32] <sicking> hear ye, hear ye. Go download FF4RC and let me know if you find any problems. Or file a bug
- # [00:32] <sicking> getfirefox.com/beta
- # [00:32] <zewt> ... is the about screen supposed to not have the build identifier anywhere? heh
- # [00:33] <zewt> (i'm sure that when I type in "ff4rc1" people will know what I mean, but I usually just copy and paste from that dialog)
- # [00:35] <smaug____> zewt: about:support should give all sorts of information, like the build identifier
- # [00:36] <zewt> odd to move it, fyi the bug tracker still points at help->about
- # [00:36] <smaug____> and I was wrong :)
- # [00:36] <smaug____> it doesn't have the buildid
- # [00:37] <zewt> FF4 does, but FF3.x doesn't
- # [00:37] <zewt> (so if it's not in help->about, there's no version-agnostic place to point people to get it)
- # [00:37] * smaug____ doesn't use release builds, so about:support gives a bit different information
- # [00:44] * Joins: Peter` (~peter@5350A900.cm-6-1c.dynamic.ziggo.nl)
- # [00:44] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [00:45] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 248 seconds)
- # [00:45] <zewt> sicking: https://bugzilla.mozilla.org/show_bug.cgi?id=640387
- # [00:45] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [00:47] <sicking> Hixie: fwiw, I generally much prefer having a bug filed against me that I can fix in an update, than leave major problems in an API in an effort not to change the spec
- # [00:48] <Hixie> sicking: yeah if the change is a major problem it's a different matter, and i'll try to fix it
- # [00:48] * Quits: Peter` (~peter@5350A900.cm-6-1c.dynamic.ziggo.nl) (Ping timeout: 246 seconds)
- # [00:49] <sicking> Hixie: and it's generally not that hard to track the spec if you just file a bug (and ideally attach a testcase) against existing implementations.
- # [00:49] <Hixie> (i was referring more to design preferences)
- # [00:49] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [00:50] <Hixie> sicking: i wish i had the bandwidth to do that.
- # [00:50] <Hixie> speaking of design preferences, why is URL.createObjectURL() called createObjectURL()?
- # [00:50] <sicking> Hixie: as opposed to?
- # [00:50] <Hixie> dunno
- # [00:50] <Hixie> it returns a URL string, not an Object
- # [00:50] <Hixie> createURLForObject()?
- # [00:50] <zewt> yay for user-agent sniffing for bug workarounds
- # [00:51] <Hixie> i don't really mind what it's called, just curious where the name came from
- # [00:51] <sicking> Hixie: it started as createFileURL(), but then we realized that we probably want to use it for streams
- # [00:51] <Hixie> yeah i'm writing the Stream version as we speak
- # [00:51] <sicking> Hixie: hence s/File/Object/ to make it more generic
- # [00:51] <Hixie> fair enough
- # [00:52] <sicking> Hixie: I would have been fine with createURLForObject too, but it's essentially shipped at this point, renaming doesn't seem worth it
- # [00:52] <Hixie> yeah, not suggesting we change it
- # [00:53] <Hixie> as far as names go i'm always happy to defer to whoever is writing the relevant spec
- # [00:53] <sicking> Hixie: is there a reason you can't just let streams use URL.createObjectURL?
- # [00:53] <Hixie> that's what i'm doing
- # [00:53] <zewt> heh i coincidentally have code onscreen to workaround the createObjURL/createBlobURL thing in earlier FF builds right now
- # [00:53] <sicking> Hixie: i concur
- # [00:53] <sicking> Hixie: sweet!
- # [00:53] <Hixie> :-)
- # [00:53] <zewt> (since I'm in the "work around browser nits" part of my setup code for the pushState workaround)
- # [00:54] <Hixie> i wish pushState was better designed
- # [00:54] <sicking> Hixie: i doubly concur :(
- # [00:54] <Hixie> i mean, i _wrote the spec_ and i'm not sure i understand it
- # [00:54] <Hixie> it's sad
- # [00:54] <sicking> Hixie: err.. though.. i owe the list a long email
- # [00:55] <zewt> (guess I can remove the createBlobURL compatibility at this point)
- # [00:55] <sicking> Hixie: we made a number of changes compared to the spec after talking it over with google
- # [00:55] <Hixie> oh, good
- # [00:55] <Hixie> maybe it can be saved yet
- # [00:55] <sicking> IMHO it's much better now, but still confusing. Though *mostly* confusing in name
- # [00:55] <zewt> i'm just happy to have replaceState at all, since that's something that's bugged me for a long time (don't expect to actually get away from hashes any time soon)
- # [00:55] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [00:56] <Hixie> if you don't have time to write a long e-mail, please send a short one reminding me to reverse engineer it
- # [00:56] <zewt> no longer need to carefully choose which things to stash in the URL based on not wanting to spam the history
- # [00:56] * Joins: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl)
- # [00:56] <sicking> Hixie: http://hacks.mozilla.org/2011/03/history-api-changes-in-firefox-4/
- # [00:57] <Hixie> those changes make sense
- # [00:57] <Hixie> having popstate delayed until after load was to make sure you didn't miss any sent before your code was ready, but if you add window.history.state that solves that problem
- # [00:58] <Hixie> i'll file a bug to update the spec
- # [00:58] <erlehmann> hashes break semantics. i rage every single time friends of mine send me hash urls and i cannot read the content.
- # [00:58] <sicking> Hixie: sweet, thanks!
- # [00:58] <erlehmann> s/hash/hashbang/gi
- # [00:58] * Quits: jwalden (~waldo@nat/mozilla/x-crtkfobynfdcyeop) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.14/20110301090359])
- # [00:58] <sicking> Hixie: i did realize another big flaw though. Which we did not have time to fix, but which *might* be salvagable
- # [00:58] <Hixie> sicking: http://www.w3.org/Bugs/Public/show_bug.cgi?id=12277
- # [00:59] <zewt> that's irrelevant for totally javascript-based web apps that don't use anchors at all, and hashes are the only way to do what they do until History is widely-deployed, so you'll have to bear with it for a while yet, heh
- # [00:59] <erlehmann> ._.
- # [00:59] <zewt> ____________
- # [01:00] * Quits: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl) (Ping timeout: 248 seconds)
- # [01:00] <sicking> Hixie: the problem is that if you have a page which uses the state argument. And the user clicks a <a href="#hash"> somewhere in the page. That doesn't just scroll, it also creates a history entry that doesn't have the state
- # [01:01] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: Reading http://davidwalsh.name)
- # [01:01] <Hixie> sicking: yeah, you can work around that using onhashchange and replaceState()
- # [01:01] <Hixie> sicking: not clear what the right solution is in the API though
- # [01:02] <sicking> Hixie: ideally all history entries which just represent hash-navigation should share state
- # [01:02] <sicking> Hixie: onhashchange and replaceState isn't really enough
- # [01:02] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 276 seconds)
- # [01:02] <erlehmann> sicking, in chrome it is difficult to use the address bar when devs are abusing the history (as you may have seen on hacker news) – new URLs tend to overwrite my input as soon as it loses focus. does mozilla have any remedy for that?
- # [01:02] <sicking> Hixie: you can add the state on the newly created history entry, but if you later need to change the state (using replaceState), you can only modify the state for the current entry, not the previous one
- # [01:03] <Hixie> sicking: ah, yeah. if you need to share the state that's a bigger problem.
- # [01:03] <Hixie> sicking: you can work around that too by storing an index instead of the state, but that's lame, granted.
- # [01:03] * Quits: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [01:03] <sicking> Hixie: s/share/modify/ ?
- # [01:03] <Hixie> sicking: modify shared state
- # [01:04] <sicking> erlehmann: first i hear of it. Don't know how our frontend code will behave
- # [01:04] <sicking> Hixie: right, the index thing won't work on restarts
- # [01:04] <sicking> Hixie: or getting kicked out of bfcache
- # [01:05] <Hixie> sicking: it will if it's an index into localStorage, but granted.
- # [01:05] * Joins: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl)
- # [01:05] <sicking> Hixie: true
- # [01:05] <Hixie> sicking: can you file a bug on this? or add a comment to http://www.w3.org/Bugs/Public/show_bug.cgi?id=12277 ?
- # [01:05] <erlehmann> sicking, >http://www.webmonkey.com/2011/03/url-hunter-a-cool-game-but-not-html5/<
- # [01:05] <sicking> Hixie: i'll file a separate bug on it
- # [01:06] <Hixie> sicking: thanks
- # [01:06] * Quits: kal-EL_ (~jor-EL@host162-196-dynamic.21-79-r.retail.telecomitalia.it) (Quit: ChatZilla 0.9.86 [Firefox 3.6.15/20110303024726])
- # [01:06] <erlehmann> oh wait. that is using anchors.
- # [01:06] <erlehmann> err fragments
- # [01:07] <Hixie> sicking: do you know who has implemented this stuff? were you talking to chrome people at google about this? just curious how much of a compat constraint we have here.
- # [01:07] <sicking> erlehmann: wow, that's hilarious
- # [01:07] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
- # [01:07] <sicking> Hixie: i was talking to darin fisher and another google guy. The safari people still need to buy into it though.
- # [01:08] * Joins: jochen___ (~jochen@nat/google/x-wqlvfumzeldfilmi)
- # [01:08] <erlehmann> it makes chrome not want to close tabs immediately. :/
- # [01:08] <sicking> Hixie: i.e. we haven't talked to them
- # [01:08] <zewt> because animated gifs as favicons wasn't annoying enough :)
- # [01:08] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [01:08] * Joins: JoePeck (~JoePeck@17.244.14.92)
- # [01:08] <Hixie> sicking: k
- # [01:08] <sicking> Hixie: the most backwards-breaking change is removing the after-onload-popstate event
- # [01:09] <erlehmann> sicking, wait until people implement text adventures using the history API. or zsh.
- # [01:09] <Hixie> sicking: well if the browsers are doing different things anyway i guess the compat story is weaker and it might be a non-issue.
- # [01:09] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [01:09] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
- # [01:09] <sicking> Hixie: it seems like most people are filtering out that event though
- # [01:09] <Hixie> sicking: yeah
- # [01:09] <zewt> sigh I hate window methods that break when moved off of window
- # [01:10] <sicking> erlehmann: seems like firefox is doing ok on that page for what it's worth
- # [01:10] <sicking> zewt: such as?
- # [01:10] <erlehmann> still, a rate limiter would help with this kind of history abuse.
- # [01:10] <zewt> (tried to do window.URL = { createObjectURL: window.createObjectURL } in Chrome but will need to be a wrapper instead, oh well)
- # [01:10] * Quits: gratz|home (~gratz@cpc7-brig16-2-0-cust362.3-3.cable.virginmedia.com) (Remote host closed the connection)
- # [01:11] <sicking> zewt: oh, yeah, due to how the DOM is implemented I'd expect that to break in all browsers
- # [01:11] <zewt> it's more annoying for console.log than anything else
- # [01:11] <sicking> zewt: i.e. due to it being implemented in C++, I'd expect that not to work
- # [01:12] * Quits: jochen__ (~jochen@nat/google/x-qerwuhpkzikjktqp) (Ping timeout: 240 seconds)
- # [01:12] * jochen___ is now known as jochen__
- # [01:15] * Quits: erlehmann (~erlehmann@82.113.99.1) (Quit: Ex-Chat)
- # [01:22] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
- # [01:25] <gsnedders> Yay host objects
- # [01:27] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Ping timeout: 264 seconds)
- # [01:28] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
- # [01:29] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Client Quit)
- # [01:29] * Joins: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10)
- # [01:30] <zewt> spoiled by python method binding, heh
- # [01:31] <TabAtkins> zewt: That's due to binding, right? If not called through 'window', 'this' is bound to undefined.
- # [01:31] <zewt> right
- # [01:31] <zewt> heh what the
- # [01:31] <zewt> okay this one's weird
- # [01:31] <TabAtkins> Yeah, we just need to fix the binding behavior of javascript.
- # [01:31] <uf0> what exactly does "initial-scale=1.0" do for mobile?
- # [01:31] * Quits: sicking (~chatzilla@nat/mozilla/x-ebhbohmamxnfnudn) (Remote host closed the connection)
- # [01:32] <zewt> i do window.history.pushState = null, which works ... but five seconds later, it's reset to the method
- # [01:33] <zewt> anyone want to see if I'm going insane? http://zewt.org/~glenn/test-ff4rc1-pushState-assignment.html logs four times; after the last, after a long timer, pushState is back from the dead
- # [01:33] <zewt> er, ff4rc1
- # [01:35] * dglazkov is now known as dglazkov|away
- # [01:38] * Quits: Ankheg (~Ankheg@94.158.194.27) (Read error: Connection reset by peer)
- # [01:46] * Quits: ben_h (~ben@128.250.195.142) (Ping timeout: 246 seconds)
- # [01:48] * Joins: ben_h (~ben@128.250.195.142)
- # [01:50] * Joins: davidb (~davidb@bas1-toronto06-2925211478.dsl.bell.ca)
- # [01:56] * Joins: wolfman2000 (~wolfman20@rrcs-70-63-208-211.midsouth.biz.rr.com)
- # [02:10] * Quits: davidb (~davidb@bas1-toronto06-2925211478.dsl.bell.ca) (Quit: davidb)
- # [02:13] * Joins: MikeSmith (~MikeSmith@EM111-188-129-187.pool.e-mobile.ne.jp)
- # [02:13] * Joins: agektmr (~Adium@220.109.219.244)
- # [02:22] <gsnedders> TabAtkins: What it's called through doesn't matter, Function.prototype.{apply,call,bind} allow functions to be called with any value as the thisArg
- # [02:22] <TabAtkins> gsnedders: Yes, of course.
- # [02:23] <TabAtkins> gsnedders: zewt's use was just ripping the function off, without binding or explicit calling.
- # [02:23] * Joins: alex_mamel (~koalayumy@pool-173-78-40-174.tampfl.fios.verizon.net)
- # [02:31] * Joins: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [02:33] * Quits: ap (~ap@2620:0:1b00:1191:226:4aff:fe14:aad6) (Quit: ap)
- # [02:34] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: Leaving)
- # [02:35] * Joins: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no)
- # [02:38] * Joins: Ankheg (~Ankheg@94.158.194.27)
- # [02:41] * Quits: MikeSmith (~MikeSmith@EM111-188-129-187.pool.e-mobile.ne.jp) (Quit: MikeSmith)
- # [02:45] * Quits: ben_h (~ben@128.250.195.142) (Read error: Connection reset by peer)
- # [02:45] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [02:45] * Joins: ben_h (~ben@128.250.195.142)
- # [02:48] * Quits: jwalden (~waldo@2620:101:8003:200:221:6aff:fe6e:d10) (Ping timeout: 248 seconds)
- # [02:49] * Quits: jamesr (~jamesr@nat/google/x-nogfcndthzbleovr) (Quit: jamesr)
- # [02:53] * Quits: tndH (~Rob@cpc11-seac19-2-0-cust116.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [03:05] * Quits: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net) (Quit: zzzzz)
- # [03:08] * Quits: mloki (~mloki__@x1-6-00-10-a7-28-f3-47.k765.webspeed.dk) (Quit: Leaving)
- # [03:09] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Read error: Operation timed out)
- # [03:09] * Quits: ezoe (~ezoe@203-140-88-186f1.kyt1.eonet.ne.jp) (Read error: Connection reset by peer)
- # [03:11] * Quits: Lachy (~Lachlan@cm-84.215.59.50.getinternet.no) (Quit: Leaving)
- # [03:15] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [03:16] * Quits: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl) (Ping timeout: 248 seconds)
- # [03:23] * Quits: homata_ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp) (Remote host closed the connection)
- # [03:29] * Joins: Peter` (~peter@53516E0C.cm-6-2b.dynamic.ziggo.nl)
- # [03:31] * Joins: homata_ (~homata_@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:46] * Joins: ezoe (~ezoe@203-140-89-7f1.kyt1.eonet.ne.jp)
- # [03:46] * Joins: miketaylr (~miketaylr@user-160vrg5.cable.mindspring.com)
- # [03:50] * Quits: dbaron (~dbaron@nat/mozilla/x-zlncdnsjamkifqgg) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [03:50] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [03:50] * Joins: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net)
- # [03:52] * Quits: TabAtkins (~tabatkins@nat/mozilla/x-oandydhstmkdqrmk) (Read error: Operation timed out)
- # [03:53] * Joins: bentruyman (~bentruyma@24-148-24-69.c3-0.prs-ubr2.chi-prs.il.cable.rcn.com)
- # [04:17] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [04:21] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: I was raided by the FBI and all I got to keep was this lousy quit message!)
- # [04:30] * abarth is now known as abarth|afk
- # [04:36] * Quits: abe (~abe@38.104.129.126) (Quit: Leaving...)
- # [04:37] * Joins: hdhoang (~hdhoang@cmalu.zahe.me)
- # [04:40] * Quits: aho (~nya@fuld-4d00d19f.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
- # [05:04] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [05:05] * Quits: estes (~aestes@2620:0:1b00:1191:d69a:20ff:fed0:8cd2) (Quit: estes)
- # [05:06] * Quits: dave_levin (~dave_levi@74.125.59.65) (Quit: dave_levin)
- # [05:06] * Joins: boaz_ (~boaz@c-24-128-79-120.hsd1.ma.comcast.net)
- # [05:06] * Quits: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Disconnected by services)
- # [05:06] * boaz_ is now known as boaz
- # [05:14] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [05:14] * Quits: bentruyman (~bentruyma@24-148-24-69.c3-0.prs-ubr2.chi-prs.il.cable.rcn.com) (Quit: bentruyman)
- # [05:17] * Joins: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe08:8ad3)
- # [05:37] * Quits: boaz (~boaz@c-24-128-79-120.hsd1.ma.comcast.net) (Quit: boaz)
- # [05:39] * Quits: nessy (~Adium@74.125.56.18) (Quit: Leaving.)
- # [05:55] * Joins: nonge_ (~nonge@p5082BE4C.dip.t-dialin.net)
- # [05:56] * Joins: jwalden (~waldo@c-71-202-165-226.hsd1.ca.comcast.net)
- # [05:56] * Quits: nonge__ (~nonge@p5082A42B.dip.t-dialin.net) (Read error: Operation timed out)
- # [06:03] * Quits: miketaylr (~miketaylr@user-160vrg5.cable.mindspring.com) (Quit: miketaylr)
- # [06:05] * Quits: Ankheg (~Ankheg@94.158.194.27) (Quit: Leaving.)
- # [06:05] * Joins: nessy (~Adium@175.32.169.221)
- # [06:05] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [06:07] * Joins: agektmr (~Adium@220.109.219.244)
- # [06:10] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Quit: kennyluck)
- # [06:11] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
- # [06:11] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Excess Flood)
- # [06:11] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
- # [06:30] * Joins: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
- # [06:30] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Quit: Leaving)
- # [06:34] * Quits: roc (~chatzilla@203-97-204-82.dsl.clear.net.nz) (Ping timeout: 246 seconds)
- # [06:34] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [06:38] * Joins: agektmr (~Adium@220.109.219.244)
- # [06:42] * Quits: nessy (~Adium@175.32.169.221) (Read error: Connection reset by peer)
- # [06:42] * Joins: nessy (~Adium@175.33.97.72)
- # [06:45] * Quits: nessy (~Adium@175.33.97.72) (Read error: Connection reset by peer)
- # [06:58] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
- # [07:00] * Joins: alystair (Alystair@bas1-toronto10-1279559041.dsl.bell.ca)
- # [07:00] <alystair> is there any reason the whatwg specs pages are able to bring firefox to its knees
- # [07:01] <alystair> looks like it froze it
- # [07:02] <alystair> pegging my cpu
- # [07:02] * Joins: FastJack (~fastjack@dumpstr.net)
- # [07:03] <MikeSmith> alystair: multi-page version: http://whatwg.org/C
- # [07:03] <doublec> it does that for the single page version, yes
- # [07:04] <alystair> firebug should not link
- # [07:04] <alystair> <meta charset=utf-8>
- # [07:04] <alystair> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- # [07:04] <alystair> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- # [07:04] <alystair> er
- # [07:04] <alystair> whoory
- # [07:05] <alystair> sorry hotkey fiesta, I'll leave now, too sleep deprived :S
- # [07:05] * Parts: alystair (Alystair@bas1-toronto10-1279559041.dsl.bell.ca)
- # [07:06] * Joins: Ankheg (~Ankheg@fs91-201-3-30.dubna-net.ru)
- # [07:07] * Quits: ezoe (~ezoe@203-140-89-7f1.kyt1.eonet.ne.jp) (Ping timeout: 255 seconds)
- # [07:15] * Quits: doublec (~chris@unaffiliated/doublec) (Quit: Leaving)
- # [07:19] * Joins: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com)
- # [07:28] * Joins: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de)
- # [07:29] * Quits: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe08:8ad3) (Remote host closed the connection)
- # [07:29] * Joins: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe62:88a9)
- # [07:31] * Quits: MikeSmith (~MikeSmith@2001:200:1c0:3602:219:e3ff:fe62:88a9) (Client Quit)
- # [07:31] * Quits: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net) (Quit: zzzzz)
- # [07:35] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Quit: kennyluck)
- # [07:44] * Quits: virtuelv (~virtuelv_@20.74.9.46.customer.cdi.no) (Ping timeout: 250 seconds)
- # [07:53] * Joins: tbassetto (~tbassetto@2a01:e35:2eaf:9c60:f2b4:79ff:fe15:3589)
- # [07:57] * Quits: ben_h (~ben@128.250.195.142) (Quit: ben_h)
- # [08:01] * Quits: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com) (Read error: Operation timed out)
- # [08:03] * Quits: rolandsteiner (~rolandste@2401:fa00:4:1000:225:ff:feee:ff2b) (Quit: rolandsteiner)
- # [08:08] * Quits: tbassetto (~tbassetto@2a01:e35:2eaf:9c60:f2b4:79ff:fe15:3589) (Quit: tbassetto)
- # [08:21] * Joins: kal-EL_ (~jor-EL@host128-13-dynamic.24-79-r.retail.telecomitalia.it)
- # [08:24] * Joins: FireFly (~firefly@unaffiliated/firefly)
- # [08:26] * Joins: nessy (~Adium@124-169-147-115.dyn.iinet.net.au)
- # [08:36] <Hixie> i need an algorithm that has as input an integer in the range 0..N where N is at least 32, and has as output an RGB triple, such that:
- # [08:36] <Hixie> * all the outputs are distinguishable colours
- # [08:37] <Hixie> * the outputs are deterministic (a given input always gives the same output)
- # [08:37] <Hixie> * the colors in the range 0..n where n < N are clearly distinct
- # [08:38] <Hixie> * earlier colours are especially distinct, e.g. the colours of the rainbow
- # [08:38] * Hixie ponders
- # [08:44] * Quits: wolfman2000 (~wolfman20@rrcs-70-63-208-211.midsouth.biz.rr.com) (Remote host closed the connection)
- # [08:46] * Joins: pesla (~pesla@188.202.125.121)
- # [08:47] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [08:47] * Quits: danbri_ (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Ping timeout: 246 seconds)
- # [08:50] * Joins: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au)
- # [08:50] * Quits: ben_h (~ben@CPE-58-161-40-52.czqd1.win.bigpond.net.au) (Client Quit)
- # [08:52] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: IRC is just multiplayer notepad)
- # [08:53] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
- # [09:02] <nessy> Hixie: map the first #FFFFFF numbers to n numbers and then re-use those n numbers until you have N?
- # [09:03] <Hixie> come again?
- # [09:03] <Hixie> oh, by "the colors in the range 0..n where n < N are clearly distinct" i just meant that given any subrange starting from 0, the colours have to be distinct
- # [09:03] <Hixie> so e.g. it's not the seven colours of the rainbow followed by 8 shades of red
- # [09:04] <Hixie> then 8 shades of green, etc
- # [09:04] <Hixie> right now my solution is to just have a hard-coded list of colours for 0..N, but that forces me to have a small N (15 in this case).
- # [09:06] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [09:08] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [09:09] * Joins: richt (~richt@pat-tdc.opera.com)
- # [09:10] * Joins: lumely_ (~lumely@dhcp2-186.slis.tsukuba.ac.jp)
- # [09:11] * Joins: rolandsteiner (~rolandste@220.109.219.244)
- # [09:12] * Quits: lumely (~lumely@dhcp2-186.slis.tsukuba.ac.jp) (Ping timeout: 276 seconds)
- # [09:14] * Joins: Maurice (~ano@77.222.73.150)
- # [09:15] * Joins: matjas (~matjas@91.182.222.209)
- # [09:16] <annevk> Would love an email client that lets you stick emails together
- # [09:16] <Hixie> pine
- # [09:16] <Hixie> is what i use
- # [09:16] <annevk> For when people use email clients that screw up threading
- # [09:16] <Hixie> works like a charm
- # [09:17] <annevk> :)d
- # [09:17] <Hixie> just select multiple e-mails then hit Apply Reply
- # [09:17] <Hixie> (a r)
- # [09:17] <annevk> that's a pretty nifty feature, but I meant for when going through my inbox later one thread would actually appear as one
- # [09:18] <Hixie> pine does that too :-)
- # [09:18] <Hixie> sort by thread groups threads with the same subject
- # [09:18] <Hixie> we really need to have a better solution for rotated text in table cells than embedded svg
- # [09:18] <annevk> can you also group seemingly unrelated emails? like you can do with apps on your iPhone?
- # [09:19] <Hixie> no, but mostly because i don't have an iphone
- # [09:19] <Hixie> what do you mean, "group seemingly unrelated emails"?
- # [09:19] <annevk> that would be kind of neat too, grouping all feedback for one particular spec
- # [09:19] <Hixie> specifically what do you mean by "group"
- # [09:19] <annevk> i guess you just create folders and such
- # [09:20] <Hixie> you can do select by recipient, zoom: ";trpublic-html[ENTER]z" for example will just limit the view to e-mails from the html list
- # [09:20] <annevk> hmm, in Opera Mail a thread is "group" of related emails that can be collapsed into one so you can see a lot more emails than just that thread
- # [09:20] <Hixie> you can collapse threads, but you can't collapse multiple unthreaded e-mails in pine, no
- # [09:21] <Hixie> but you rarely need to, since you just use the zoom feature all the time instead
- # [09:24] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [09:26] * Joins: matijsb (~matijsb@188.205.108.18)
- # [09:28] <annevk> very much liking it that Jukka is active on the list now
- # [09:29] <Hixie> except for him bringing up issues we resolved literally half a decade ago...
- # [09:30] <Hixie> svg is hard
- # [09:30] <annevk> apparently our resolutions are not very clear then :)
- # [09:30] <Hixie> how the heck do i make it so that the x= y= coordinate i give a <text> refers to the bottom left of the bounding box of the em boxes?
- # [09:30] <annevk> it's evident from his emails that he has read the spec
- # [09:31] <annevk> Hixie, hmm yeah, the coordinate system always bites me too
- # [09:31] <Hixie> i'm staring at the svg 1.1 spec's text chapter with very little understanding
- # [09:31] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [09:31] <Hixie> all i want to do is have the text in a cell of a table be vertical instead of horizontal
- # [09:31] <Hixie> that shouldn't be this hard
- # [09:32] <Hixie> i'm even willing to give explicit heights and widths, though i shouldn't hav eto
- # [09:32] * Quits: everton (~everton@z167.61-125-41.ppp.wakwak.ne.jp) (Ping timeout: 248 seconds)
- # [09:33] <annevk> apply a transform/
- # [09:33] <annevk> ?
- # [09:33] <annevk> i don't think SVG has vertical text
- # [09:33] <Hixie> css transforms aren't implement as non-vendor-specific properties by anyone as far as i can tell
- # [09:33] <Hixie> also css transforms don't really work for this since they happen after layout as far as i can tell
- # [09:34] <annevk> SVG has transforms
- # [09:34] <Hixie> oh, sure, that's how i'm rotating the text
- # [09:34] <Hixie> but i don't really see how to get the right rotation
- # [09:34] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
- # [09:35] <annevk> oh, transforms in SVG are around 0,0
- # [09:35] <annevk> I think
- # [09:35] <Hixie> you can pass an explicit coordinate to do the transform around
- # [09:35] <Hixie> rotate(angle, cx, cy)
- # [09:35] <Hixie> but as far as i can tell you can't use units there
- # [09:35] <Hixie> you have to use pixels
- # [09:35] <Hixie> which means you have to use viewBox to set the coordinate system
- # [09:35] <Hixie> except then my coordinate system isn't square
- # [09:35] <Hixie> gah
- # [09:36] <annevk> good times? :p
- # [09:36] <annevk> maybe you should just stick with an HTML table for now and outsource the SVG bit
- # [09:37] * Joins: ZombieLoffe (~e@unaffiliated/zombieloffe)
- # [09:37] * Joins: msucan (~robod@92.86.254.114)
- # [09:37] * Joins: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
- # [09:38] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [09:38] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [09:39] * Joins: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [09:40] <Hixie> ok i give up on svg
- # [09:40] <Hixie> what else can i use
- # [09:40] <Hixie> i guess i could do it with canvas
- # [09:40] <Hixie> that would be ridiculous
- # [09:40] <Hixie> but i guess it'd work
- # [09:42] * Joins: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [09:43] <annevk> heycam, don't we have the array type for that?
- # [09:44] * Joins: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e)
- # [09:44] <annevk> heycam, and which specifications are using it then?
- # [09:45] <annevk> Hixie, why do care so much about the presentation?
- # [09:45] * Joins: erlehmann (~erlehmann@82.113.99.1)
- # [09:45] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: swatted to death)
- # [09:45] <Hixie> annevk: it's for a home project i'm working on
- # [09:47] <annevk> so the last two very short blog posts are found way more interesting on twitter than any of the summary blog posts
- # [09:47] <annevk> measured by RTs
- # [09:48] <annevk> latest WHATWG Weekly: 1 RT; HTML5 for Web Developers: 20 RT; Validator.nu update: 16 RT
- # [09:48] <Hixie> what about hits?
- # [09:48] * annevk looks
- # [09:48] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
- # [09:49] <annevk> Hixie, can you add my email to the analytics account for the frontpage btw?
- # [09:49] * annevk is curious
- # [09:49] * Hixie wonders how to do that
- # [09:49] <Hixie> username?
- # [09:50] <annevk> annevankesteren@gmail.com
- # [09:51] <annevk> in terms of pageviews it's HTML5 for Web Developers; latest WHATWG Weekly; Validator.nu update
- # [09:51] <Hixie> done
- # [09:52] <annevk> though even more popular even over the last 10 days is the road to contenteditable
- # [09:52] <annevk> and just after HTML5 for Web Developers is HTML is the new HTML5
- # [09:52] <annevk> still going strong :)
- # [09:53] * Joins: tbassetto (~tbassetto@92.103.127.226)
- # [09:53] <Hixie> i don't understand why analytics isn't picking up any of the clicks on the home page
- # [09:56] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Ping timeout: 252 seconds)
- # [09:57] * Quits: msucan (~robod@92.86.254.114) (Ping timeout: 252 seconds)
- # [09:58] * Joins: msucan (~robod@92.86.254.114)
- # [09:58] * Joins: davidhund (~davidhund@78-27-27-74.dsl.alice.nl)
- # [10:00] <annevk> http://www.pinkbike.com/news/DNS-Prefetching-implications.html
- # [10:02] <annevk> I can't find anything about that <meta> in either HTML or the WHATWG Wiki :/
- # [10:03] <annevk> https://developer.mozilla.org/en/controlling_dns_prefetching#Controlling_prefetching_from_content
- # [10:03] <Hixie> add it :-)
- # [10:04] <annevk> the HTTP header is X- prefixed and the rel value is squatted, makes so much sense...
- # [10:05] <Hixie> i love when people ship x- http headers on the basis that that's easier than registering them
- # [10:05] <Hixie> and then people argue the problem is with them, not the registration system :-)
- # [10:06] <annevk> one of the IETF ADs did put out a draft suggesting people no longer do that
- # [10:06] <Hixie> ok so using canvas i've been able to actually get the text to display in the right place, but now i am fighting a web font issue
- # [10:06] <Hixie> i guess i have to postpone drawing the canvas until after onload
- # [10:06] <annevk> maybe I should advertise that draft somewhere so people actually notice
- # [10:06] <Hixie> also getting the font size is non-trivial
- # [10:07] <Hixie> "parseInt(getComputedStyle(canvas, '')['font-size'], 10)"
- # [10:07] <Hixie> there has to be a better way to do that
- # [10:07] <Hixie> like canvas.runtimeStyle.fontSize.px or something
- # [10:08] <Hixie> (why didn't we support context.font = 'inherit'?)
- # [10:08] <annevk> something like canvas.resolvedValue.values.fontSize.px or some such has been proposed
- # [10:08] <annevk> euh, resolvedStyle
- # [10:09] <annevk> still waiting for some experimental implementations before drafting everything
- # [10:09] <annevk> they have been told to be coming, but it looks like it will be a while
- # [10:09] <annevk> though I guess at some point I should just write it all out
- # [10:09] <annevk> and see if that has better results
- # [10:10] <zcorpan> Hixie: http://lists.w3.org/Archives/Public/public-html/2009Jul/0947.html
- # [10:10] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
- # [10:11] <Hixie> zcorpan: that ian guy is such a moron. i wish he had just done what i want instead. :-P
- # [10:11] <Hixie> i'm getting weirdly unreliable effects even waiting until onload
- # [10:11] <Hixie> do fonts not delay onload?
- # [10:11] <zcorpan> fonts should delay onload
- # [10:12] <zcorpan> at least in impl, don't recall if there's a spec that says so
- # [10:12] * Joins: JoePeck_ (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
- # [10:12] * Quits: JoePeck (~JoePeck@17.244.14.92) (Read error: Connection reset by peer)
- # [10:12] * JoePeck_ is now known as JoePeck
- # [10:14] <zcorpan> Hixie: maybe you should learn from the inherit thing and do what i say next time? :)
- # [10:15] <Hixie> not if you don't give use cases :-)
- # [10:15] <annevk> http://wiki.whatwg.org/wiki/PragmaExtensions added the x-... thingie. dns-prefetch was already registered
- # [10:16] <annevk> http://wiki.whatwg.org/wiki/RelExtensions should we remove archives and such now?
- # [10:16] <Hixie> i haven't bothered removing anything from RelExtensions yet because i'm waiting for a decision on what the spec should say
- # [10:16] <Hixie> about registering values
- # [10:17] <annevk> at this point I don't think I want to accept anything but a wiki-based approach
- # [10:18] <annevk> the idea of maintaining it in the spec is somewhat nice, but doesn't work well for experimental values
- # [10:18] <Hixie> yeah it's pretty clear to me now that the right solution is to have a wiki page where you can register values, the values time out after a year with no proof of implementation, and the good ones get moved into the spec.
- # [10:19] <annevk> sounds reasonable
- # [10:19] <Hixie> dunno how to get the chairs to go for that since it's a new proporasl
- # [10:19] <Hixie> proposal
- # [10:20] <Hixie> (seriously, anyone know how to change the baseline alignment for <text> in svg? i want to align something based on the em box and not the alphabetic baseline, but can't work out how to do it. the spec is very confusing.)
- # [10:20] <annevk> so you want the coordinates to be from the bottom or something?
- # [10:20] <Hixie> or the top, either would work
- # [10:21] <annevk> http://stackoverflow.com/questions/56402/aligning-text-in-svg ?
- # [10:21] * Quits: Olemiss (~Olemiss@hst000014739um.geology.olemiss.edu)
- # [10:22] <Hixie> style="dominant-baseline:top" doesn't seem to do anything in chrome
- # [10:23] <Hixie> let's try firefox
- # [10:23] <Hixie> nope
- # [10:24] <Hixie> ah because apparently it's spelt "text-before-edge"
- # [10:24] <Hixie> how intuitive
- # [10:24] <annevk> dominant-baseline is rather intuitive too
- # [10:24] <Hixie> this seems to be based on the bounding box not the em box
- # [10:24] <Hixie> maybe that's a chrome bug
- # [10:25] <Hixie> works in firefox
- # [10:26] <Hixie> next question, why isn't it rendering in the color i'm specifying
- # [10:26] * Joins: david_carlisle (~davidc@86.188.197.189)
- # [10:27] <Hixie> oh, right. i have to set fill="currentColor".
- # [10:27] <annevk> that seems like a bug
- # [10:28] <annevk> oh no
- # [10:28] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Remote host closed the connection)
- # [10:28] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
- # [10:28] * Joins: ezoe (~ezoe@112-68-244-84f1.kyt1.eonet.ne.jp)
- # [10:29] <Hixie> is there an svg test suite?
- # [10:29] <annevk> "The ‘color’ property is used to provide a potential indirect value (currentColor) for the ‘fill’, ‘stroke’, ‘stop-color’, ‘flood-color’ and ‘lighting-color’ properties." but the initial value for 'fill' is black...
- # [10:29] <annevk> http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview
- # [10:29] <Hixie> as far as i can tell, none of these tests test dominant-baseline
- # [10:30] <Hixie> gotta wonder how they got out of CR
- # [10:30] <Hixie> probably the same way HTML5 is gonna hit REC in 2014...
- # [10:30] <annevk> with 275 tests it's pretty clear not every feature is tested
- # [10:31] <Hixie> ok, well, hardcoding the font size, the shrink-wrap dimensions, and the baseline offset, i was able to make this work using svg.
- # [10:31] <Hixie> i'm going to say that as a platform, we've really dropped the ball on this particular feature.
- # [10:34] <annevk> SVG is way hard
- # [10:34] <Hixie> well to be fair this really should be solved in css
- # [10:34] <Hixie> and i guess it will be with vertical text
- # [10:35] <Hixie> though that doesn't handle the slight-angle case
- # [10:35] <annevk> in retrospect I think SVG should have been part of "XBL" in some way
- # [10:35] <annevk> to prettify semantics, but not to describe applications by itself
- # [10:36] <Hixie> yeah
- # [10:36] <Hixie> but it was originally intended to replace flash, as i understand it
- # [10:37] <Hixie> and now it's too late to do it right
- # [10:37] <Hixie> the browser vendors (me included) totally dropped the ball on svg because we ignored it until too late
- # [10:37] <annevk> yeah, Adobe pushed for it to replace Flash
- # [10:37] <annevk> then bought Flash
- # [10:37] <annevk> and stopped caring (mostly)
- # [10:37] <annevk> and we got stuck with it
- # [10:41] <annevk> but yeah, also our own fault
- # [10:41] <annevk> cannot really fix something you're not actively involved in
- # [10:45] <annevk> AryehGregor, http://weblogs.mozillazine.org/roc/archives/2011/03/the_myth_of_ful.html seems to indicate the IE blog post was indeed misleading
- # [10:45] <annevk> AryehGregor, in tradition with their other blog posts
- # [10:53] <Hixie> nn
- # [10:54] <annevk> g'night
- # [10:56] * Joins: tndH (~Rob@cpc11-seac19-2-0-cust116.7-2.cable.virginmedia.com)
- # [11:00] <hsivonen> AryehGregor: you may also be interested in https://bugzilla.mozilla.org/show_bug.cgi?id=638241
- # [11:00] <hsivonen> AryehGregor: in that case, Firefox lost to IE on the FishTank not because of hardware acceleration flaws but because of same-origin checks
- # [11:01] <hsivonen> so basically, one can't really attribute slowness to what the benchmark says it's testing without actually profiling and seeing what's slow
- # [11:05] <jgraham> I am told that a peril of hardware acceleration is that you have to be careful not to regress performance in areas where the CPU is relatively fast
- # [11:09] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [11:16] * Joins: roc (~chatzilla@121.98.230.221)
- # [11:16] * Joins: homa_____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [11:19] * Quits: homata (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 276 seconds)
- # [11:19] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [11:27] * Joins: jeremyselier (~Jeremy@92.103.127.226)
- # [11:36] <annevk> I'm back on Android again
- # [11:36] <annevk> new iPhone broke in the exact same way
- # [11:36] <annevk> I'm still using it through (sometimes by enabling tethering on the Android phone to get things working) as getting it repaired before leaving is not going to happen
- # [11:36] <annevk> (It's fully functional apart from the microphone...)
- # [11:40] <jgraham> Isn't the microphone quite important on a phone?
- # [11:41] <annevk> Well, now phones are computers it's less essential, but it started bothering me enough that I switched.
- # [11:42] <annevk> Also, some shop will call me to tell my tent has been repaired and I would like to be able to answer them :)
- # [11:46] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
- # [11:52] * Quits: jwalden (~waldo@c-71-202-165-226.hsd1.ca.comcast.net) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.14/20110301090359])
- # [11:59] * Quits: erlehmann (~erlehmann@82.113.99.1) (Quit: Ex-Chat)
- # [12:01] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 246 seconds)
- # [12:05] * Quits: twisted (~twisted@205.189.73.45) (Ping timeout: 246 seconds)
- # [12:05] * Joins: twisted (~twisted@205.189.73.45)
- # [12:09] * Quits: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [12:13] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
- # [12:15] * Joins: roc (~chatzilla@121.98.230.221)
- # [12:24] * Quits: roc (~chatzilla@121.98.230.221) (Ping timeout: 250 seconds)
- # [12:24] * Quits: homa_____ (~homata@58x158x182x50.ap58.ftth.ucom.ne.jp) (Ping timeout: 252 seconds)
- # [12:37] * Joins: kor (~kor@83.160.149.179)
- # [12:45] * Joins: MikeSmith (~MikeSmith@EM114-48-192-61.pool.e-mobile.ne.jp)
- # [12:45] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Read error: Connection reset by peer)
- # [12:47] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
- # [12:48] * Quits: agektmr (~Adium@2401:fa00:4:1012:fa1e:dfff:fee6:d74e) (Quit: Leaving.)
- # [13:04] <annevk> Philip`, is isPointInPath() the only method quite different in browsers with respect to transforms?
- # [13:05] <annevk> Philip`, and is Firefox correct per current spec or Opera/WebKit?
- # [13:05] * annevk thinks it's the former, but isn't quite sure
- # [13:05] * Joins: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie)
- # [13:08] <Philip`> http://philip.html5.org/tests/canvas/suite/tests/results.html#2d.path.isPointInPath.transform.1 suggests Firefox is wrong (since I don't think the spec changed since those tests)
- # [13:09] * Quits: seventh (seventh@138.199.77.237) (Quit: ...)
- # [13:09] <Philip`> I don't remember any other features with a similar problem
- # [13:19] <annevk> ooh
- # [13:19] <annevk> <800
- # [13:19] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 276 seconds)
- # [13:19] <annevk> Philip`, the spec says transforms do not affect isPointInPath()
- # [13:20] <annevk> "The isPointInPath(x, y) method must return true if the point given by the x and y coordinates passed to the method, when treated as coordinates in the canvas coordinate space unaffected by the current transformation"
- # [13:21] <Philip`> That's what the tests test
- # [13:21] <Philip`> (I think)
- # [13:21] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [13:21] <annevk> ok
- # [13:22] <Philip`> ctx.translate(50, 0);
- # [13:22] <Philip`> ctx.rect(0, 0, 20, 20);
- # [13:22] <Philip`> _assertSame(ctx.isPointInPath(51, 10), true, "ctx.isPointInPath(51, 10)", "true");
- # [13:22] <Philip`> etc
- # [13:23] <Philip`> (The rect() is affected by the transform, at least since that part of the spec got changed)
- # [13:23] <annevk> thanks
- # [13:37] * Quits: MikeSmith (~MikeSmith@EM114-48-192-61.pool.e-mobile.ne.jp) (Quit: MikeSmith)
- # [13:38] * Quits: stalled (~stalled@unaffiliated/stalled) (Quit: ...)
- # [13:45] * Joins: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp)
- # [13:49] * Joins: stalled (~stalled@unaffiliated/stalled)
- # [13:53] * Joins: jcranmer (~jcranmer@asimov.csl.tjhsst.edu)
- # [13:59] * Quits: thiessenp (~thiessenp@changeme.ebuddy.com) (Quit: thiessenp)
- # [14:00] * Joins: thiessenp (~thiessenp@changeme.ebuddy.com)
- # [14:02] * Quits: stalled (~stalled@unaffiliated/stalled) (Quit: ...)
- # [14:03] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
- # [14:04] * Quits: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net) (Excess Flood)
- # [14:04] * Joins: kennyluck (~kennyluck@114-25-240-26.dynamic.hinet.net)
- # [14:09] <zcorpan> need to reboot to install firefox 4 rc on windows 7?
- # [14:11] <jgraham> zcorpan: I didn't
- # [14:21] * Quits: thiessenp (~thiessenp@changeme.ebuddy.com) (Quit: thiessenp)
- # [14:21] <Rik`> zcorpan: that's mandatory to get Bing as a default search :)
- # [14:22] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
- # [14:28] * Joins: boaz (~boaz@c-24-128-79-120.hsd1.ma.comcast.net)
- # [14:33] * Quits: boaz (~boaz@c-24-128-79-120.hsd1.ma.comcast.net) (Quit: boaz)
- # [14:34] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [14:35] * Quits: webr3 (~nathan@host217-42-204-43.range217-42.btcentralplus.com) (Ping timeout: 276 seconds)
- # [14:38] * Joins: webr3 (~nathan@host86-142-128-126.range86-142.btcentralplus.com)
- # [14:38] * Joins: aroben (~aroben@unaffiliated/aroben)
- # [14:40] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [14:44] * Joins: davidb (~davidb@corp.tor1.mozilla.com)
- # [14:46] * Joins: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [14:47] * Quits: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Connection reset by peer)
- # [14:50] * Quits: nessy (~Adium@124-169-147-115.dyn.iinet.net.au) (Quit: Leaving.)
- # [14:50] * Quits: kor (~kor@83.160.149.179) (Quit: kor)
- # [14:52] * Quits: hdhoang (~hdhoang@cmalu.zahe.me) (Quit: Leaving.)
- # [14:56] * Quits: aroben (~aroben@unaffiliated/aroben) (Quit: aroben)
- # [15:00] * Joins: aroben (~aroben@unaffiliated/aroben)
- # [15:04] <annevk> zcorpan, why is the order of Nodes interfaces the way it is?
- # [15:05] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [15:07] <annevk> zcorpan, order of sections that is
- # [15:07] * Joins: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl)
- # [15:10] <zcorpan> annevk: don't remember, maybe i copied dom3core
- # [15:10] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
- # [15:12] <annevk> oh yeah, you did
- # [15:12] <annevk> but then it got reshuffled somewhat afterwards
- # [15:15] * Joins: plainhao (~plainhao@208.75.85.237)
- # [15:19] * Quits: tndH (~Rob@cpc11-seac19-2-0-cust116.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [15:22] * Joins: stalled (~stalled@unaffiliated/stalled)
- # [15:22] * Joins: bfrohs (~bfrohs@smtp.forewordinternal.com)
- # [15:37] * Quits: Ankheg (~Ankheg@fs91-201-3-30.dubna-net.ru) (Read error: Connection reset by peer)
- # [15:46] * Quits: plainhao (~plainhao@208.75.85.237) (Remote host closed the connection)
- # [15:47] * Joins: plainhao (~plainhao@208.75.85.237)
- # [15:49] * Joins: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net)
- # [15:57] * Joins: eric_carlson (~eric_carl@2620:0:1b00:1191:217:f2ff:fe03:a2e)
- # [15:57] <annevk> jgraham, is there some reason why assert_equals does not handle \0?
- # [15:59] * Joins: boaz (~boaz@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [16:00] * Joins: FireFly (~firefly@unaffiliated/firefly)
- # [16:01] * Quits: lrvick (~lrvick@66.96.251.117) (Ping timeout: 248 seconds)
- # [16:04] * Quits: matijsb (~matijsb@188.205.108.18) (Ping timeout: 255 seconds)
- # [16:04] * Joins: erlehmann (~erlehmann@82.113.99.39)
- # [16:04] * Joins: miketayl_r (~miketaylr@206.217.92.186)
- # [16:07] * Quits: miketaylr (~miketaylr@206.217.92.186) (Read error: Operation timed out)
- # [16:08] * Quits: f1lt3r_bocoup (~f1lt3r@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Remote host closed the connection)
- # [16:10] <jgraham> annevk: It doesn't?
- # [16:11] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Ping timeout: 276 seconds)
- # [16:11] * Joins: matijsb (~matijsb@188.205.108.18)
- # [16:13] <annevk> dunno, something seems to fail somewhat
- # [16:15] * miketayl_r is now known as miketaylr
- # [16:16] * Quits: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net) (Quit: zzzzz)
- # [16:17] * Joins: lrvick (~lrvick@66.96.251.117)
- # [16:17] * Joins: smaug____ (~chatzilla@cs181139127.pp.htv.fi)
- # [16:26] <jgraham> annevk: Show me an example and I will try to fix
- # [16:28] <annevk> gonna upload one soon
- # [16:28] <annevk> working on some new EventSource tests based on suggestions Hixie gave
- # [16:36] <smaug____> annevk: do you have tests for XHR2 and "progress" event?
- # [16:36] <smaug____> something which tests that "progress" doesn't fire too often
- # [16:36] <annevk> no tests for XHR2 at all
- # [16:36] <smaug____> k
- # [16:36] <annevk> I was planning on writing CORS tests, but did not get around to it
- # [16:37] <annevk> timing tests are particularly annoying :/
- # [16:37] <smaug____> indeed
- # [16:38] * Quits: lrvick (~lrvick@66.96.251.117) (Ping timeout: 255 seconds)
- # [16:41] <annevk> so far I have found one bug in WebKit
- # [16:41] <annevk> it does not parse the retry field correctly
- # [16:42] <annevk> not sure this was worth all the trouble
- # [16:42] * Quits: jeremyselier (~Jeremy@92.103.127.226) (Quit: jeremyselier)
- # [16:43] * Quits: erlehmann (~erlehmann@82.113.99.39) (Quit: Ex-Chat)
- # [16:45] * Joins: jeremyselier (~Jeremy@92.103.127.226)
- # [16:45] <annevk> jgraham, http://tc.labs.opera.com/apis/EventSource/format-field-parsing.htm
- # [16:46] <zewt> heh, opera throws a nice exception if you dispatch without initEvent
- # [16:46] <zewt> Error:
- # [16:46] <annevk> it's very interoperable I hear
- # [16:47] <zewt> are there interoperability concerns with having the null string as an error message? :)
- # [16:47] * Quits: zcorpan (~zcorpan@c-8d9ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [16:48] <annevk> well it should at least have a code and such
- # [16:48] * Joins: workmad3 (~workmad3@cspool123.cs.man.ac.uk)
- # [16:52] <annevk> zewt, where does DOM Events require a non-null event name?
- # [16:52] * Quits: _tim (~tim@bacon2.burri.to) (Remote host closed the connection)
- # [16:53] <annevk> it's defined as such
- # [16:53] <annevk> "The name of the event type. The name must be a DOMString. Specifications that define events, content authors, and authoring tools must use case-sensitive event type names that do not contain whitespace characters."
- # [16:53] <annevk> which does not say much at all
- # [16:53] <jgraham> annevk: I'm not sure what bug I'm supposed to see
- # [16:54] <zewt> i remember that being one of the things you explicitly changed in core
- # [16:54] <zewt> here it is, in dispatchEvent
- # [16:54] <annevk> jgraham, I think the problem might be that under got it says "\0" rather than using an actual zero byte
- # [16:54] <zewt> UNSPECIFIED_EVENT_TYPE_ERR: Raised if the Event.type was not specified by initializing the event before dispatchEvent was called. Specification of the Event.type as null or an empty string must also trigger this exception.
- # [16:55] <annevk> but it does allow specifications to define events that are the empty string
- # [16:55] <jgraham> annevk: That seems more likely to be either a bug in the browser or a problem with your test, no?
- # [16:55] <annevk> anyway, there's a separate thread on that too
- # [16:56] <annevk> jgraham, could be a problem with the test I suppose
- # [16:56] <zewt> i know
- # [16:56] <zewt> just tying the two issues together--they should either both go or both stay
- # [16:56] <jgraham> annevk: (I don't think it makes a difference but encodeURIComponent seems more appropriate than encodeURI)
- # [16:57] <zewt> (removing the null string restriction and then, as a side-effect of that, having to add a new "initEvent was called" flag would just be silly)
- # [16:57] <zewt> well strictly speaking, initEvent("", ...) doesn't actually throw by D3E's rules
- # [16:57] <annevk> zewt, well that is what Gecko is doing at the moment
- # [16:58] <annevk> zewt, they do not have the dispatchEvent() limitation but do have the requirement to invoke initEvent()
- # [16:58] <zewt> yeah I think I saw that
- # [16:58] * Quits: maikmerten (~merten@ls5dhcp197.cs.uni-dortmund.de) (Remote host closed the connection)
- # [16:58] <zewt> that's the only browser doing that, right?
- # [16:58] <annevk> could be
- # [16:58] <zewt> whereas webkit has the null-string check (iirc)
- # [16:58] <annevk> but they're happy to change
- # [16:58] <annevk> and Opera is too
- # [16:59] <zewt> yeah since no real webpages actually want to send the null string as an event i'd hope nobody would dig in their heels on this
- # [16:59] <smaug____> ok, as I expected, Chrome does fire "progress" occasionally way too often
- # [17:00] <smaug____> 3ms, when it should be every 50ms
- # [17:00] <zewt> (i mean, there are no compat issues or anything, this is just a straightforward simplification for everyone)
- # [17:02] <annevk> except when you believe in the magical DOM Level 3 Events it seems
- # [17:02] <annevk> it defies logic
- # [17:03] <zewt> still havn't seen any response from the d3e editor to suggest he'll actually budge on anything ever, heh :|
- # [17:03] <annevk> he's on vacation I'm told
- # [17:03] <zewt> ah fair enough
- # [17:03] <annevk> I asked Ms2ger to take care of pushing to publish DOM Core when I'm goen
- # [17:03] <smaug____> yeah, shepazu is on vacation
- # [17:03] <annevk> gone*
- # [17:03] <annevk> Art is not really willing to do it without a green light from Doug, which is fair enough
- # [17:05] <zewt> hopefully d3e will eventually just become a spec for the actual events (the major bulk of that spec) and reference dom core for the underlying event model ... but well heh
- # [17:06] * Joins: fishd_ (~fishd@nat/google/x-mixqcfmppbssqeae)
- # [17:06] <zewt> i mean i agree that having two "parallel" normative specs for the same thing, written completely differently, is ... weird
- # [17:06] <smaug____> something like that would be good. Need to just be careful to keep the specs readable
- # [17:07] * Joins: Ankheg (~Ankheg@94.158.194.27)
- # [17:07] <smaug____> Hmm, though, do events need to be in DOM Web Core
- # [17:08] <smaug____> mutation events should be there, if we want to keep supporting them
- # [17:08] * Quits: Maurice (~ano@77.222.73.150) (Quit: Disconnected...)
- # [17:08] <annevk> it's nice that the event model is there
- # [17:08] <smaug____> why?
- # [17:09] <annevk> http://annevankesteren.nl/2011/03/dom-core-events (and some emails on a mailing list which I can't find)
- # [17:09] * Quits: 13WAAAAA0 (~fishd@nat/google/x-givjmacdngahplys) (Ping timeout: 248 seconds)
- # [17:10] <smaug____> .createEvent is a valid reason
- # [17:10] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Ping timeout: 248 seconds)
- # [17:10] <smaug____> though if we move to new FooEvent, that reason would be gone
- # [17:11] <annevk> the method would still be there...
- # [17:11] <smaug____> sure, and DOM Core could just refer to Events spec for the result
- # [17:11] <zewt> seems like it'd make more sense to define an interface that exposes createEvent, which document (and hopefully WorkerGlobalScope) is a user of--so the event API doesn't have to know about document
- # [17:12] <smaug____> I'm mainly just worried about getting another monster spec which includes everything between earth and sky
- # [17:12] <zewt> (don't personally care whether events are in DOM Core or a split out DOM Core Events or whatever)
- # [17:13] <jgraham> DOM Core hardly seems to be a monster spec
- # [17:13] <smaug____> not yet, at least
- # [17:14] <annevk> what do you mean not yet?
- # [17:14] <jgraham> How much is missing?
- # [17:14] <annevk> goals and issues are pretty clearly identified: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#goals
- # [17:14] <smaug____> well, if there are features creeping in ...
- # [17:14] <zewt> well, there's a big difference between a huge spec that defines a single topic (D3E) and one that defines a bunch of very clearly-separated topics (eg. HTML)
- # [17:15] * Joins: timb (~tim@bacon2.burri.to)
- # [17:15] <smaug____> I said "I'm just worried"
- # [17:15] <annevk> D3E is a bunch of different topics too imo
- # [17:15] <annevk> more so than Events and Nodes are...
- # [17:15] <zewt> d3e seems like two topics: the event model and the element events that use it
- # [17:15] <smaug____> D3E has several topics, sure
- # [17:15] <zewt> (the latter can be broken down further, of course)
- # [17:15] <annevk> mouse events are way different from keyboard events
- # [17:15] <smaug____> keyevents could be in a separate document
- # [17:16] <annevk> mouse events should be tied with 'pointer-events' and hit testing
- # [17:17] <smaug____> possibly. And the DOM Events could contain just the event dispatching, which isn't tied to DOM tree, so it wouldn't need to be in DOM core
- # [17:17] <annevk> there's two infrastructure things I'd consider for DOM Core
- # [17:17] <annevk> the event loop and event handler attributes
- # [17:17] <annevk> so you can avoid depending on HTML5 if you need those
- # [17:17] <annevk> smaug____, the event model is very small
- # [17:18] <annevk> smaug____, not really worth separating it out and duplicating all the boilerplate, duplicating the references required, cross dependency, etc.
- # [17:19] <zewt> well, if you remove all of the event definitions from DOM Events, and give it DOM Core's event model description, then it simply becomes a DOM Core Events :)
- # [17:19] <zewt> (remove as in move to relevant sections elsewhere)
- # [17:19] <smaug____> yeah, DOM Core Events could make sense
- # [17:19] <annevk> the events model is 5 pages out of 50
- # [17:19] <smaug____> so
- # [17:20] <smaug____> ?
- # [17:20] <annevk> so it would just create a bunch of boilerplate and editorial work for no good reason
- # [17:20] <annevk> as you always need DOM Core for DOM Events and vice versa
- # [17:20] <annevk> exceptions are shared, tree model is shared
- # [17:20] <annevk> Node inherits from EventTarget
- # [17:20] * Joins: Martijnc (~Martijnc@91.176.24.181)
- # [17:20] <annevk> and Document has createEvent()
- # [17:21] <annevk> compared with the 500-1000 pages HTML has, I'm really quite pleased it's only 50
- # [17:21] <annevk> 46 even
- # [17:22] * Joins: erlehmann (~erlehmann@82.113.99.39)
- # [17:23] * Quits: erlehmann (~erlehmann@82.113.99.39) (Remote host closed the connection)
- # [17:23] <smaug____> the old level 2 specs are/were quite readable (I'm not talking about whether they are good specs).
- # [17:23] <zewt> annevk: any reason not to define createEvent as an interface implemented by Document? seems more consistent
- # [17:23] <annevk> zewt, that's not how it's implemented
- # [17:24] <zewt> don't know what user-visible difference it makes
- # [17:24] <annevk> zewt, we could still define it in a separate document and make it behave the same as it does now though
- # [17:24] <annevk> I just don't see the point
- # [17:24] <smaug____> there is certainly implementations which implement DocumentEvent interface
- # [17:25] * Quits: plainhao (~plainhao@208.75.85.237) (Quit: plainhao)
- # [17:25] <annevk> sure
- # [17:25] <smaug____> s/is/are/
- # [17:25] * Joins: plainhao (~plainhao@208.75.85.237)
- # [17:25] <zewt> just sort of odd that everything else in there is an interface; that one being different leads to the odd "introduced later ..." note in 4.4, and (although it doesn't really matter yet) means WorkerGlobalScope can't implement it
- # [17:26] <zewt> minor thing, just curious
- # [17:26] <annevk> WorkerGlobalScope could define a similar method
- # [17:27] <annevk> or something similar, no real need to worry about that now
- # [17:28] <annevk> but rather than focusing on splitting it out can't we instead focus on the contents for a while?
- # [17:28] <annevk> or is it being in the same document the real problem here?
- # [17:28] * Quits: matijsb (~matijsb@188.205.108.18) (Quit: Leaving.)
- # [17:29] * Joins: myakura (~myakura@p1182-ipbf4006marunouchi.tokyo.ocn.ne.jp)
- # [17:29] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [17:31] * Joins: lrvick (~lrvick@66.96.251.117)
- # [17:31] <annevk> the equivalent text in DOM Level 3 Events is over fifteen pages
- # [17:32] * Quits: Lachy (~Lachlan@pat-tdc.opera.com) (Quit: Leaving)
- # [17:32] <annevk> not counting boilerplate, graphs, and definitions
- # [17:32] <annevk> if you count those it's over 30
- # [17:33] <zewt> nothing discourages reporting bugs quite like a summary zero-discussion wontfix...
- # [17:33] * zewt grumbles
- # [17:34] <annevk> ?
- # [17:34] <zewt> totally off-topic grumbling :)
- # [17:34] <annevk> i was already afraid I did something wrong :)
- # [17:34] <zewt> sorry :P
- # [17:34] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
- # [17:35] <zewt> seems like the urge to split things into tiny chicklet specs is sort of overcompensation for previous giganto-specs
- # [17:36] <zewt> since it's not like specs are python modules and splitting them apart is without cost
- # [17:37] <annevk> just http://www.w3.org/TR/DOM-Level-3-Core/core.html is already twice as long as DOM Core is today
- # [17:37] * Joins: FastJack (~fastjack@dumpstr.net)
- # [17:37] <annevk> so the mega spec concern really seems unjustified
- # [17:38] <annevk> that page is 95 pages
- # [17:38] <annevk> DOM Core is 46
- # [17:38] <annevk> that page is not all of DOM Level 3 Core
- # [17:38] <annevk> DOM Core also includes the event model
- # [17:38] <zewt> even if dom core defined 10x as many features and was 10x as long, I wouldn't be worried--as long as they remain clearly separated with clear relationships between the features
- # [17:38] * Joins: pesla_ (~pesla@188.202.125.121)
- # [17:38] * Quits: pesla_ (~pesla@188.202.125.121) (Client Quit)
- # [17:39] <annevk> me neither, but that seems unlikely to happen and the criticism is not backed with any facts
- # [17:39] * Quits: miketaylr (~miketaylr@206.217.92.186) (Remote host closed the connection)
- # [17:39] * Joins: miketaylr (~miketaylr@206.217.92.186)
- # [17:40] * Quits: pesla (~pesla@188.202.125.121) (Ping timeout: 255 seconds)
- # [17:43] * Joins: TabAtkins (~tabatkins@nat/google/x-nqbgtgvkgjvrtsso)
- # [17:43] * Quits: davidhund (~davidhund@78-27-27-74.dsl.alice.nl) (Quit: davidhund)
- # [17:49] <smaug____> DOM 2 Core is around 50 pages, and that is still quite readable, especially because that spec doesn't contain too many unrelated features
- # [17:50] <jgraham> The main reason DOM 2 Core is readable is that it doesn't really define anything in much detail
- # [17:51] * Quits: jochen__ (~jochen@nat/google/x-wqlvfumzeldfilmi) (Remote host closed the connection)
- # [17:52] <annevk> I get 48 for DOM Level 2 Core
- # [17:53] <annevk> that's still two pages more than DOM Core
- # [17:53] <annevk> and it doesn't define the event model and lacks a bunch of detail
- # [17:53] <annevk> and that is also not counting all the appendices
- # [17:54] <annevk> because the count for DOM Core includes references, glossary, acknowledgments, etc.
- # [17:54] <smaug____> ok, if dom web core can be kept the size it is now, then good
- # [17:54] <smaug____> although the event model isn't strictly core stuff
- # [17:54] <zewt> i really don't think it's the size that's the issue
- # [17:55] <annevk> I don't really see the issue with that either
- # [17:55] <smaug____> size is part of the readability issue
- # [17:55] <smaug____> which html spec has now
- # [17:55] <zewt> well that's a presentation issue, splitting specs isn't the only possible way to deal with that
- # [17:56] <zewt> really need an html spec rendering that's one-page but doesn't choke every browser, heh
- # [17:56] <smaug____> that is true
- # [17:56] <smaug____> yeah :)
- # [17:56] <zewt> it's also slightly ironic to have an html spec that kills browsers :)
- # [17:57] <annevk> I suspect DOM Core will grow somewhat as there are a few missing details and we might want to add a little more advice for authors
- # [17:57] <annevk> but I can't see it going from 46 to 800 pages or so
- # [17:57] * Quits: richt (~richt@pat-tdc.opera.com) (Remote host closed the connection)
- # [17:58] <annevk> and we can always split it then
- # [17:58] <annevk> at this point complaining about size is illogical given that it's smaller than pretty much every other spec
- # [17:58] <annevk> and contains more
- # [18:00] * Joins: jochen__ (~jochen@nat/google/x-jofwbvjuadsecoak)
- # [18:01] <smaug____> I didn't complain the size atm
- # [18:01] <smaug____> I said "I'm just worried ...."
- # [18:02] <smaug____> and also, for me events aren't part of the core
- # [18:02] <smaug____> but yet, I'm happy to see web dom core which removes lots of crazy features of DOM 3 Core
- # [18:03] <zewt> doesn't really remove anything, right? just makes it ... comprehensible
- # [18:03] <annevk> it removes a lot of unimplemented features (and some implemented ones)
- # [18:03] <annevk> see the historical section
- # [18:04] * Joins: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net)
- # [18:05] <zewt> i have, other than EventException it's just minor changes, not removed features
- # [18:05] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [18:05] <jgraham> Attribute ninodes
- # [18:05] <jgraham> s/ni//
- # [18:05] <zewt> sounds like a medical condition
- # [18:07] <annevk> zewt, DOM 3 Core, not DOM 3 Events
- # [18:08] <zewt> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-events ?
- # [18:09] * Joins: nimbupani (~Adium@c-24-18-47-160.hsd1.wa.comcast.net)
- # [18:09] <annevk> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-core
- # [18:09] <zewt> only "feature removal" (if it can even be called that) listed there is EventException
- # [18:10] <zewt> oh, havn't even looked at that stuff
- # [18:11] * Quits: TabAtkins (~tabatkins@nat/google/x-nqbgtgvkgjvrtsso) (Read error: Operation timed out)
- # [18:12] * Joins: cying (~cying@c-24-23-135-168.hsd1.ca.comcast.net)
- # [18:12] * cying is now known as charlietuna
- # [18:14] <zewt> annevk: nitpick on Goals: one of the goals of DOM Core is to "Import bits of HTML5 that ought to be in DOM Core", which is sort of recursive
- # [18:16] <TabAtkins_> What the *hell* is bug 12284 going on about?
- # [18:19] * Quits: workmad3 (~workmad3@cspool123.cs.man.ac.uk) (Remote host closed the connection)
- # [18:20] * Joins: zdobersek (~zan@90.157.245.175)
- # [18:20] <miketaylr> you know "C" parsing of ... words :/
- # [18:21] <TabAtkins_> I can only guess that he has some fragile/stupid program that tests whether a document is HTML/XML by testing the length of some "word".
- # [18:21] <miketaylr> just use .htm, BAM
- # [18:22] <miketaylr> assuming that word is a file extension, who knows
- # [18:22] <TabAtkins_> If he's using extensions, yeah. But if that would fix his program, then I guess .doc would register as xml?
- # [18:22] <TabAtkins_> In any case, it's retarded and I marked it as invalid.
- # [18:22] <miketaylr> maybe we need a resolution "RESOLVED RETARDED"
- # [18:23] <jgraham> Curiously I was going to suggest the same thing
- # [18:23] * Quits: ezoe (~ezoe@112-68-244-84f1.kyt1.eonet.ne.jp) (Ping timeout: 276 seconds)
- # [18:23] * Joins: pesla (~pesla@ip51cc03a5.speed.planet.nl)
- # [18:24] <jgraham> Although to be fair RESOLEVED: DON'T HIRE REPORTER AS C PROGRAMMER is more accurate
- # [18:24] <TabAtkins_> hahaha
- # [18:25] <zewt> that's a tag stackoverflow needs badly
- # [18:25] <zewt> "unhirable"
- # [18:25] <zewt> or at the very least, "doomed"
- # [18:31] * Quits: zdobersek (~zan@90.157.245.175) (Ping timeout: 252 seconds)
- # [18:34] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.)
- # [18:34] * Quits: plainhao (~plainhao@208.75.85.237) (Remote host closed the connection)
- # [18:37] * Quits: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp) (Quit: MikeSmith)
- # [18:37] * Joins: sw33tlull4by (~sw33t@188-192-160-196-dynip.superkabel.de)
- # [18:38] * Parts: sw33tlull4by (~sw33t@188-192-160-196-dynip.superkabel.de)
- # [18:39] * Joins: TabAtkins (~tabatkins@nat/google/x-vfjngnwalvklozeb)
- # [18:40] * Quits: david_carlisle (~davidc@86.188.197.189) (Ping timeout: 240 seconds)
- # [18:41] * Joins: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp)
- # [18:50] * Joins: zdobersek (~zan@cpe-46-164-26-165.dynamic.amis.net)
- # [18:50] * Quits: pesla (~pesla@ip51cc03a5.speed.planet.nl) (Quit: Computer has gone to sleep.)
- # [18:51] * Joins: saba (~foo@unaffiliated/saba)
- # [18:54] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [18:56] * Quits: TabAtkins (~tabatkins@nat/google/x-vfjngnwalvklozeb) (Ping timeout: 246 seconds)
- # [19:03] <TabAtkins_> Urgh, tablelayout is such a horrible decisions. >_<
- # [19:03] <TabAtkins_> Also: Hixie, I apologize for submitting the winning table example CP.
- # [19:09] * Quits: rolandsteiner (~rolandste@220.109.219.244) (Ping timeout: 260 seconds)
- # [19:13] * Quits: zdobersek (~zan@cpe-46-164-26-165.dynamic.amis.net) (Read error: Operation timed out)
- # [19:13] <TabAtkins_> Hmm, the spec doesnt' seem to define which actions will focus an element, beyond sequential focus navigation.
- # [19:13] <TabAtkins_> In specific, there's some incompatibility between browsers over whether clicking an <a href> focuses it.
- # [19:14] * Joins: MrOpposite (~mropposit@unaffiliated/mropposite)
- # [19:15] * Joins: zdobersek (~zan@cpe-46-164-5-104.dynamic.amis.net)
- # [19:15] * Quits: smaug____ (~chatzilla@cs181139127.pp.htv.fi) (Read error: Operation timed out)
- # [19:15] * Joins: rolandsteiner (~rolandste@2401:fa00:4:1000:225:ff:feee:ff2b)
- # [19:17] * Joins: onar_ (~onar@c-67-161-24-105.hsd1.ca.comcast.net)
- # [19:18] <AryehGregor> TabAtkins_, presumably the spec doesn't want to get too heavily into UI stuff.
- # [19:20] <TabAtkins_> That's what I suspect as well, but I have an internal developer complaining at me about it. ^_^
- # [19:26] * Quits: zdobersek (~zan@cpe-46-164-5-104.dynamic.amis.net) (Quit: Leaving.)
- # [19:29] * Joins: pesla (~pesla@ip51cc03a5.speed.planet.nl)
- # [19:30] * Joins: weinig (~weinig@17.203.14.176)
- # [19:31] * Joins: aho (~nya@fuld-590c74ed.pool.mediaWays.net)
- # [19:31] <aho> "FFS, the HTMLWG just decided to allow presentation tables as valid HTML."
- # [19:31] <aho> wtf?
- # [19:31] * Joins: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com)
- # [19:32] <TabAtkins_> See the decision on issue 130
- # [19:33] <aho> got a link?
- # [19:33] <TabAtkins_> http://lists.w3.org/Archives/Public/public-html/2011Mar/0245.html
- # [19:34] <aho> ty
- # [19:34] * Quits: drunknbass (~drunknbas@76.91.255.83) (Ping timeout: 246 seconds)
- # [19:37] <AryehGregor> Okay, so am I correct that when hg tries to merge something, it seems to be starting up vim, and then if I quit vim without saving because I have no interest in using it for merge resolution and just want conflict markers, it does some kind of braindead merge and destroys my work or something like that?
- # [19:38] <AryehGregor> Or is this somehow nondefault?
- # [19:39] * AryehGregor tries setting merge = internal:merge, but really doesn't appreciate the "do some mysterious and probably destructive merge without actually asking me"
- # [19:39] <AryehGregor> I really hate hg.
- # [19:39] <AryehGregor> Ah, hg rollback works.
- # [19:39] <AryehGregor> Maybe.
- # [19:39] <AryehGregor> No, not really.
- # [19:39] * AryehGregor restores from backup
- # [19:42] * Quits: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) (Quit: mhausenblas)
- # [19:42] * Joins: MikeSmith_ (~MikeSmith@EM111-188-22-12.pool.e-mobile.ne.jp)
- # [19:43] <AryehGregor> Hmm, maybe it was only the output file that conflicted, not the source . . . whatever.
- # [19:43] * aroben is now known as aroben|lunch
- # [19:45] * Quits: MikeSmith (~MikeSmith@EM111-188-29-222.pool.e-mobile.ne.jp) (Ping timeout: 255 seconds)
- # [19:45] * MikeSmith_ is now known as MikeSmith
- # [19:46] * Quits: charlietuna (~cying@c-24-23-135-168.hsd1.ca.comcast.net) (Quit: charlietuna)
- # [19:47] * Joins: ap (~ap@2620:0:1b00:1191:226:4aff:fe14:aad6)
- # [19:54] * Joins: plainhao (~plainhao@208.75.85.237)
- # [19:56] * Joins: dave_levin (~dave_levi@74.125.59.73)
- # [19:58] * Quits: myakura (~myakura@p1182-ipbf4006marunouchi.tokyo.ocn.ne.jp) (Remote host closed the connection)
- # [19:59] * Joins: dbaron (~dbaron@nat/mozilla/x-zklvrhgffcniqqli)
- # [20:01] * Quits: tbassetto (~tbassetto@92.103.127.226) (Quit: tbassetto)
- # [20:03] * Joins: drunknbass (~drunknbas@76.91.255.83)
- # [20:04] <foolip_> jgraham, are you around?
- # [20:09] * Joins: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com)
- # [20:09] * Joins: erlehmann (~erlehmann@82.113.99.39)
- # [20:14] * Joins: maikmerten (~maikmerte@port-92-201-187-173.dynamic.qsc.de)
- # [20:15] * Quits: jeremyselier (~Jeremy@92.103.127.226) (Ping timeout: 260 seconds)
- # [20:20] * Quits: weinig (~weinig@17.203.14.176) (Quit: weinig)
- # [20:21] * Joins: blooberry (~Miranda@198.145.35.12)
- # [20:23] * Joins: TabAtkins (~tabatkins@nat/google/x-fryvpkgyrqsihiwo)
- # [20:24] * Quits: erlehmann (~erlehmann@82.113.99.39) (Quit: Ex-Chat)
- # [20:26] * Joins: cying (~cying@173-13-176-101-sfba.hfc.comcastbusiness.net)
- # [20:26] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [20:27] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
- # [20:28] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 250 seconds)
- # [20:28] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
- # [20:29] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [20:31] * Joins: jamesr (~jamesr@nat/google/x-ftklpckuyzdlenuq)
- # [20:34] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [20:44] * aroben|lunch is now known as aroben
- # [20:47] * dglazkov|away is now known as dglazkov
- # [20:47] * Joins: mpt (~mpt@canonical/mpt)
- # [20:48] <AryehGregor> Why did I think extractContents() and cloneContents() would be easy to spec after deleteContents()? They're way more complicated.
- # [20:48] <AryehGregor> On the bright side, it's improving my understanding of ranges a lot.
- # [20:49] <AryehGregor> (Although it's sad that ranges are that hard to understand.)
- # [20:51] * Joins: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl)
- # [20:52] * Quits: matjas (~matjas@91.182.222.209) (Quit: zZz)
- # [20:54] <hober> just a reminder that http://www.w3.org/2002/09/wbs/40318/issue-56-objection-poll closes tomorrow
- # [20:54] <TabAtkins_> I have no idea which one I should care about.
- # [20:55] <zewt> secret issues? heh
- # [20:55] <Hixie> wow, the chairs finally made a completely wrong decision
- # [20:55] <Hixie> wonder what i'm supposed to do now
- # [20:55] <TabAtkins_> Fork the spec, finally?
- # [20:56] <hober> Hixie: which one? <table role=presentation>?
- # [20:57] <Hixie> the change from "Tables must not be used as layout aids" to "Tables should not be used as layout aids"
- # [20:58] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [20:58] <zewt> i've never really understood that--it doesn't make sense to me for specs to say what I can use something for, only what the feature does
- # [20:59] * Quits: maikmerten (~maikmerte@port-92-201-187-173.dynamic.qsc.de) (Remote host closed the connection)
- # [20:59] <TabAtkins_> Sure it does. If a feature can be fundamentally misused by an author unaware of the issues that make the misuse bad, the most useful path is to just disallow that use.
- # [20:59] * Quits: kor (~kor@ip146-53-210-87.adsl2.static.versatel.nl) (Quit: kor)
- # [21:01] <TabAtkins_> It's like disallowing people from putting important information in the content of a ::before element, except I think that CSS doesn't explicitly say MUST NOT (because we're somewhat allergic to using the word "must").
- # [21:01] <zewt> but what does it even mean, if it's not even objectively testable?
- # [21:02] * Quits: Martijnc (~Martijnc@91.176.24.181) (Quit: Martijnc)
- # [21:02] <zewt> it's fine to say "if you do this, some UAs may do something you don't expect and leave you with something you didn't want", but that should be implied from the requirements placed on the UA
- # [21:02] <TabAtkins_> Authors dont' read UA requirements. ^_^
- # [21:03] <zewt> that's sort of the point, it's going to work, so people are going to do it
- # [21:04] <zewt> eg. it's not something that a validator can flag for people
- # [21:04] <TabAtkins_> Not an automatic validator, no.
- # [21:04] <AryehGregor> Hixie, if this encourages authors to put role=presentational on their presentational tables, I think it will be an excellent change.
- # [21:04] <TabAtkins_> That doesn't mean it can't be flagged manually, though.
- # [21:05] <TabAtkins_> AryehGregor: If this encourages authors to write more pages with presentational tables rather than using current and upcoming CSS layout techniques, it will be a horrible change.
- # [21:05] <AryehGregor> Also true.
- # [21:05] <AryehGregor> Hard to say which is going to be the bigger effect in practice.
- # [21:05] * AryehGregor hasn't read the decision yet, though
- # [21:08] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
- # [21:08] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
- # [21:09] <TabAtkins_> One outcome only affects legacy pages (which aren't, in general, very likely to change), while the other affects pages that have not yet been created. We usually optimize for the latter, precisely because the former are unlikely to change en masse.
- # [21:10] <AryehGregor> I've seen a lot of templates on Wikipedia that use presentational tables.
- # [21:10] <AryehGregor> It'd be a bloody lot easier to add role=presentational than to rewrite them to not use tables.
- # [21:10] <AryehGregor> Particularly if they're protected, so only admins can edit them.
- # [21:11] <AryehGregor> More generally, if some site uses presentational tables, you're a lot more likely to get it fixed to use role=presentational than to get it fixed to not use tables.
- # [21:11] <AryehGregor> How about we say nested tables aren't conforming unless they all have role=presentational?
- # [21:11] <AryehGregor> Or all but the innermost, say.
- # [21:12] <AryehGregor> That would be a nice and concrete improvement, right? You could also just say they're not conforming period, but that would get fewer sites to change.
- # [21:14] <Hixie> (does saying role=presentational on a table even work, per ARIA? don't you have to set it on all the cells and rows and everything?)
- # [21:14] <AryehGregor> If it doesn't, wouldn't that be new information?
- # [21:15] <Hixie> one would assume the chairs actually checked that kind of thing before making this kind of decision
- # [21:15] <Hixie> so presumably not
- # [21:15] <AryehGregor> They only read what's submitted to them, right?
- # [21:16] <Hixie> if they only read what's sumitted, then them making decisions on the spec is irresponsible
- # [21:16] <AryehGregor> I think you're a couple years late in that judgment.
- # [21:16] <Hixie> but i doubt that they limit themselves
- # [21:16] <Hixie> that would be crazy
- # [21:17] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [21:17] <AryehGregor> Well, you could ask.
- # [21:19] <Hixie> i'm deep in video-conferencing edits right now
- # [21:19] <Hixie> but when i get to applying their decision, i'm sure i will be talking to them :-)
- # [21:19] <Hixie> i can't believe they just reverted 15 years of advocacy so casually
- # [21:21] * Joins: jeremyselier (~Jeremy@2a01:e35:139f:2c60:fa1e:dfff:feec:469)
- # [21:21] <zewt> if they're making decisions without talking to the spec editor about them first, it's a pretty hopelessly broken system, heh
- # [21:22] <AryehGregor> The spec editor has a chance to comment.
- # [21:23] <zewt> "commenting" isn't the same as discussion, and from the fact that he seems borderline blindsided by this it doesn't seem like there was actual discussion, heh
- # [21:24] <Hixie> i'm not blindsided, they've been due to give a decision on this for months
- # [21:24] <Hixie> i'm just shocked at what they decided
- # [21:24] <pesla> Does that mean that any element with role=presentational can be used for layout purposes? :)
- # [21:24] <Hixie> i'm about to move the forums over from my account to a dedicated role account so zcorpan can manage them, so if they go down it's not hugely unexpected
- # [21:24] <Hixie> if all goes well though it should just transition smoothly
- # [21:25] * Quits: jeremyselier (~Jeremy@2a01:e35:139f:2c60:fa1e:dfff:feec:469) (Ping timeout: 260 seconds)
- # [21:26] * Hixie presses the button
- # [21:26] * Joins: nessy (~Adium@49.186.191.5)
- # [21:27] * Joins: virtuelv (~virtuelv_@20.74.9.46.customer.cdi.no)
- # [21:28] * Quits: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a) (Remote host closed the connection)
- # [21:28] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
- # [21:29] * Joins: JoePeck (~JoePeck@2620:0:1b00:1f08:fa1e:dfff:fed9:b9a)
- # [21:33] * Joins: jeremyselier (~Jeremy@2a01:e35:139f:2c60:fa1e:dfff:feec:469)
- # [21:33] <Hixie> holy cow
- # [21:33] <Hixie> i moved the forums to another user and NOTHING BROKE as far as i can tell
- # [21:33] <Hixie> sweet!
- # [21:34] <zewt> when nothing seems to break, that's when you start to get worried
- # [21:34] <zewt> the big, obvious breaks--those are the easy ones
- # [21:34] <Hixie> well i'm going offline for a few hours now, so expect the forums to catch fire momentarily! :-)
- # [21:34] <Hixie> bbl
- # [21:51] * Quits: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net) (Quit: zzzzz)
- # [21:53] * Joins: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net)
- # [21:53] * Quits: cgcardona (~cgcardona@adsl-99-154-225-102.dsl.pltn13.sbcglobal.net) (Client Quit)
- # [22:00] <cying> dear WG: what is the vendor prefix syntax for CSS *classnames*?
- # [22:00] <cying> is it ... -vendor-* ?
- # [22:00] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Read error: Connection reset by peer)
- # [22:00] <cying> i thought that's only for CSS properties...
- # [22:01] <AryehGregor> "classnames"?
- # [22:01] <cying> yeah
- # [22:01] <cying> like if a vendor wanted to have a set of class names for the general web to use... what would they specify that wouldn't clash?
- # [22:01] * abarth|afk is now known as abarth
- # [22:02] * Joins: nessy1 (~Adium@49.185.113.159)
- # [22:03] <AryehGregor> Vendors are not allowed to use class names. Only authors are.
- # [22:04] <AryehGregor> Well, I don't see that stated explicitly in the spec.
- # [22:04] <AryehGregor> But that's the general practice.
- # [22:04] <AryehGregor> Vendors who want to introduce features typically introduce attributes, they don't reuse the class attribute.
- # [22:05] <AryehGregor> Does this crash Opera 11 for everyone else too? http://aryeh.name/spec/dom-range/test/Range-extractContents.html
- # [22:06] * Quits: nessy (~Adium@49.186.191.5) (Ping timeout: 250 seconds)
- # [22:06] <zewt> yeah.
- # [22:06] <gsnedders> AryehGregor: yes
- # [22:06] <AryehGregor> Yay.
- # [22:06] <AryehGregor> Want to have someone look into it?
- # [22:07] <gsnedders> Nah, let's just leave the crash bug unfixed!
- # [22:07] <AryehGregor> That would be sad, because then I'd have to figure out myself how to work around it.
- # [22:08] * Quits: matijsb (~Adium@5353CD69.cm-6-4d.dynamic.ziggo.nl) (Quit: Leaving.)
- # [22:09] * Quits: nessy1 (~Adium@49.185.113.159) (Quit: Leaving.)
- # [22:09] <gsnedders> Trying to create a comment, it would seem
- # [22:11] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Remote host closed the connection)
- # [22:11] <AryehGregor> createComment() is crashing?
- # [22:12] <gsnedders> No, creating a comment because of some range thing
- # [22:13] * Quits: davidb (~davidb@corp.tor1.mozilla.com) (Quit: davidb)
- # [22:13] * Joins: roc (~chatzilla@203-97-204-82.dsl.clear.net.nz)
- # [22:13] <AryehGregor> Always happy to help you track down crash bugs.
- # [22:13] <gsnedders> extractContents/cloneContents somewhere
- # [22:15] <gsnedders> Whcih is unsurprising with what that is testing :)
- # [22:16] <AryehGregor> It's extractContents().
- # [22:17] <gsnedders> Yeah, so it crashes when creating a comment node because of extractContents is not the most surprising of causes.
- # [22:18] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [22:18] * Joins: bentruyman (~bentruyma@li159-104.members.linode.com)
- # [22:19] * Quits: pesla (~pesla@ip51cc03a5.speed.planet.nl) (Remote host closed the connection)
- # [22:20] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Remote host closed the connection)
- # [22:20] * Quits: msucan (~robod@92.86.254.114) (Quit: .)
- # [22:20] <AryehGregor> Hardly a common case to extractContents() a range including comments, I guess.
- # [22:21] * Joins: shepazu (~schepers@60.234.200.235)
- # [22:21] * Quits: shepazu (~schepers@60.234.200.235) (Client Quit)
- # [22:25] * Joins: jwalden (~waldo@nat/mozilla/x-ecntzribqidopyku)
- # [22:29] * Joins: charlvn (~charlvn@41.0.48.8)
- # [22:29] * Joins: nessy (~Adium@74.125.56.18)
- # [22:30] <TabAtkins_> cying: What Aryeh said. Classes are entirely a user-level extension mechanism. Vendors work in pseudo-classes and similar.
- # [22:31] <cying> TabAtkins_: hmmm i guess we don't want to recommend custom attributes though
- # [22:31] <TabAtkins_> cying: I'm missing context. What you are trying to do?
- # [22:32] <cying> TabAtkins_: i want to recommend additional hints people can add to their web pages, ala Instapaper adding a class "instapaper-ignore" to elements on a web page to ignore those elements
- # [22:32] <TabAtkins_> >
- # [22:32] <cying> TabAtkins_: (when instapaper performs readability on a page, it'll ignore those elements in the web page)
- # [22:32] <TabAtkins_> For what?
- # [22:32] <cying> so that an article's "readable subset" can be extracted out
- # [22:33] <cying> or, in our case:
- # [22:33] <cying> we want to mark an element in a web page that is meant to be the "byline" for an article... so we're considering asking publishers to add "flipboard-byline" to the classes for an element
- # [22:33] <cying> so:
- # [22:34] <dglazkov> what's up with forwarding emails from private lists?
- # [22:34] <TabAtkins_> This should be done through a standardization effort, if it's something that you want to do at the browser level.
- # [22:34] <cying> <span class="myformatting">Charles Ying</span> would become:
- # [22:34] <cying> <span class="myformatting flipboard-byline">Charles Ying</span>
- # [22:34] <AryehGregor> dglazkov, probably shouldn't happen, I guess?
- # [22:34] <dglazkov> cant' the author just resend it? :)
- # [22:34] <zewt> dglazkov: the author may not be on the list--having to subscribe just to repost one message is a pain
- # [22:35] <AryehGregor> (without the author's permission, that is)
- # [22:35] <TabAtkins_> cying: If you're trying to annotate the page with additional semantic information, this should be standardized.
- # [22:35] <cying> TabAtkins_: understood, we don't really need it to be at the browser level, but wanted to try to make something along the same thinking as the spec community
- # [22:35] <TabAtkins_> I dont' necessarily mean through HTML, though - microformats sounds like a good avenue to pursue this in.
- # [22:35] <cying> TabAtkins_: is there an existing effort for annotating pages?
- # [22:35] <cying> i see
- # [22:35] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [22:35] <cying> microformats can get tricky for some of our publishers, we'll need something simpler
- # [22:36] <TabAtkins_> Annotating a page with hAtom isn't difficult, and it provides pretty good structure for extracting.
- # [22:36] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Remote host closed the connection)
- # [22:37] <cying> TabAtkins_: ah! got it, that's more along the lines of what we're looking for
- # [22:37] * Joins: shepazu (~schepers@60.234.200.235)
- # [22:37] <TabAtkins_> The point is that you should *not* unilaterally create an application-specific annotation mechanism that you want to deploy to the web.
- # [22:37] <cying> TabAtkins_: thanks!
- # [22:38] <TabAtkins_> No problem. ^_^
- # [22:38] <cying> TabAtkins_: we're trying very hard not to. we really dislike having to say "flipboard-*" for class names
- # [22:42] * Quits: miketaylr (~miketaylr@206.217.92.186) (Quit: optimize this)
- # [22:45] <dglazkov> is daniel glazman visiting these parts of the world?
- # [22:45] <TabAtkins_> He's gone back to france now.
- # [22:45] <dglazkov> :)
- # [22:45] * Joins: cpearce (~chatzilla@ip-118-90-81-165.xdsl.xnet.co.nz)
- # [22:46] <dglazkov> I mean this channel
- # [22:46] * Joins: gratz|home (~gratz@cpc7-brig16-2-0-cust362.3-3.cable.virginmedia.com)
- # [22:46] <TabAtkins_> Oh, that wasn't obvious. ^_^ No, he doesn't do this channel. You may be able to raise him on irc.w3.org#css
- # [22:46] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [22:48] * Quits: charlvn (~charlvn@41.0.48.8) (Read error: Connection reset by peer)
- # [22:48] * Joins: charlvn (~charlvn@41.0.48.8)
- # [22:51] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [22:52] * Joins: sicking (~chatzilla@2620:101:8003:200:226:bbff:fe05:3fe1)
- # [22:53] <jgraham> foolip_: I am somewhat around now
- # [22:53] * Quits: shepazu (~schepers@60.234.200.235) (Quit: Core Breach)
- # [22:54] <dglazkov> heycam: great response
- # [22:54] <heycam> dglazkov, thanks
- # [22:54] <heycam> I think people are reasonably happy with things like SVG & MathML having dedicated syntax in text/html, as well as the XML syntax
- # [22:55] <heycam> so I don't think it is unreasonable to do the same with XBL (or whatever the end solution is)
- # [22:56] <dglazkov> heycam: yup
- # [22:57] * Quits: plainhao (~plainhao@208.75.85.237) (Quit: plainhao)
- # [22:57] <dglazkov> heycam: I decided we should call it HTML5 Modularity-enabling Dujibobs, or HTML5MED
- # [22:57] <heycam> ha
- # [22:58] * heycam takes his html5 meds
- # [22:58] <zewt> what the
- # [22:59] <zewt> my xhr progress-events form that works in chrome 9 doesn't work in FF4 :| time to find out why
- # [23:00] <jgraham> "The HTML serialization of a binding won't be usable in a UA not suppporting HTML" well duh...
- # [23:00] <zewt> heh user error ... sort of
- # [23:00] <heycam> "don't do that then"
- # [23:01] <heycam> although if you're thinking of the case where you want to use bindings someone else has written, and they are written in an HTML document...
- # [23:01] <zewt> typing a hostname in the address bar in FF will complete based on title before hostname, so when I typed "foo" to load "foo.com" (real site) it loaded 10.0.0.1 with title "foo site" and I didn't notice :|
- # [23:01] * jgraham isn't thinking of any case
- # [23:01] * jgraham is just finding glazou's argument silly
- # [23:01] <zewt> address bars try to be too clever for anyone's good these days
- # [23:01] <gsnedders> AryehGregor: http://pastebin.com/AgRRbWXJ
- # [23:01] <foolip_> jgraham, just wanted to ask you about http://code.google.com/p/html5lib/issues/detail?id=178 but I guess you've gotten email about it by now
- # [23:02] <gsnedders> AryehGregor: The important point is that the range ends at offset zero into the comment
- # [23:02] <AryehGregor> gsnedders, cool.
- # [23:02] <jgraham> sicking: So what is the state of the hsitory API stuff? Do you have / expect byt-in from WebKit on these changes?
- # [23:03] <TabAtkins_> Okay, I just plain can't watch flash video in Chrome 10 any more. Dammit.
- # [23:03] <jgraham> foolip_: Looking
- # [23:03] <jgraham> TabAtkins_: "feature"
- # [23:03] <zewt> heh
- # [23:04] <TabAtkins_> jgraham: Hah, I wish. If it was a feature it wouldn't crash the renderer.
- # [23:04] <jgraham> TabAtkins_: It's called "being taught a lesson"
- # [23:04] <zewt> teach lessons after html video is feature complete :P
- # [23:05] <AryehGregor> gsnedders, okay, I commented that test out.
- # [23:05] <TabAtkins_> Or at least after Youtube does its total conversion.
- # [23:05] <zewt> until we have programmatic fullscreen, and UAs can actually scale video to fullscreen without dropping to a slideshow
- # [23:05] <zewt> (at least)
- # [23:06] <zewt> maybe the latter has improved lately, havn't checked
- # [23:06] * Quits: FastJack (~fastjack@dumpstr.net) (Read error: Operation timed out)
- # [23:08] * Joins: cgcardona (~cgcardona@c-24-5-146-71.hsd1.ca.comcast.net)
- # [23:10] * Joins: FastJack (~fastjack@dumpstr.net)
- # [23:10] * Quits: gavin (~gavin@firefox/developer/gavin) (Remote host closed the connection)
- # [23:10] * Quits: ivan` (~ivan@unaffiliated/ivan/x-000001) (Read error: Operation timed out)
- # [23:11] * Quits: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill) (Read error: Operation timed out)
- # [23:11] * Joins: PrgmrBill (~PrgmrBill@prgmrbill.com)
- # [23:11] * Quits: PrgmrBill (~PrgmrBill@prgmrbill.com) (Changing host)
- # [23:11] * Joins: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill)
- # [23:11] <dglazkov> TabAtkins_: you should totally yell at someone. You're in the right office :)
- # [23:11] <TabAtkins_> Indeed.
- # [23:11] * Joins: ezoe (~ezoe@61-205-124-169f1.kyt1.eonet.ne.jp)
- # [23:12] * Quits: saba (~foo@unaffiliated/saba) (Quit: leaving)
- # [23:12] * Joins: gavin (~gavin@people.mozilla.com)
- # [23:12] * Quits: gavin (~gavin@people.mozilla.com) (Changing host)
- # [23:12] * Joins: gavin (~gavin@firefox/developer/gavin)
- # [23:14] <TabAtkins_> All right, yelling is done.
- # [23:14] <AryehGregor> gsnedders, okay, I sanity-checked Opera's results and now uncommented the line, so Opera crashes on the test again. Not really fair to remove tests just because someone crashes on them. But I left a comment in the source explaining which line you have to comment out for it to work.
- # [23:17] * Joins: ivan` (~ivan@unaffiliated/ivan/x-000001)
- # [23:18] <AryehGregor> Hurrah, extractContents() specced and tested.
- # [23:18] <AryehGregor> Now for cloneContents().
- # [23:18] <AryehGregor> Should be easy after extractContents(). And I mean it this time.
- # [23:19] <AryehGregor> Since its functionality is basically a subset of extractContents()'s.
- # [23:20] <dglazkov> copy/paste time! :)
- # [23:20] * Quits: foolip_ (~foolip@h242n6-g-hn-a11.ias.bredband.telia.com) (Ping timeout: 255 seconds)
- # [23:20] <zewt> itym cloneContents() time
- # [23:21] * Quits: charlvn (~charlvn@41.0.48.8) (Ping timeout: 264 seconds)
- # [23:21] * Joins: charlvn (~charlvn@41.0.48.8)
- # [23:21] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Read error: Operation timed out)
- # [23:22] * Joins: beowulf (u116@gateway/web/irccloud.com/x-cpuemqoenzccjzhw)
- # [23:22] * Quits: beowulf (u116@gateway/web/irccloud.com/x-cpuemqoenzccjzhw) (Changing host)
- # [23:22] * Joins: beowulf (u116@pdpc/supporter/professional/beowulf)
- # [23:23] * Quits: broquaint (6ec24663dd@78.47.79.137) (Ping timeout: 240 seconds)
- # [23:23] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
- # [23:23] * Joins: broquaint (~dbrook@78.47.79.137)
- # [23:24] <AryehGregor> I considered writing all three methods' specs in the same algorithm with variations called out, but it wound up being too messy.
- # [23:24] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:28] <gsnedders> AryehGregor: The expected result for what I pastebined is an empty comment, right?
- # [23:29] <AryehGregor> Let's see: http://html5.org/specs/dom-range.html#dom-range-extractcontents
- # [23:29] * aroben is now known as aroben|afk
- # [23:30] <AryehGregor> Contained nodes would be empty, first partially contained child is null, last partially contained child is the comment.
- # [23:30] <AryehGregor> So yeah, you should clone it and set the data to the empty string.
- # [23:30] <AryehGregor> Per spec.
- # [23:31] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:31] <AryehGregor> Which admittedly I just made up.
- # [23:31] <AryehGregor> But it matches Gecko and WebKit.
- # [23:33] <gsnedders> AryehGregor: And if it started at div.firstChild it should return an empty DocumentFragment?
- # [23:33] <AryehGregor> Yes, that's what Gecko and WebKit do. Opera clones an empty node in this case too.
- # [23:33] <AryehGregor> Which possibly makes more sense.
- # [23:34] <AryehGregor> But too late for making sense.
- # [23:34] <gsnedders> Yeah, I know we make an empty node in that case too… because we crash in that case too :P
- # [23:34] <AryehGregor> Er, well.
- # [23:34] <gsnedders> (Trying to create the empty node)
- # [23:34] <AryehGregor> Ah, I see.
- # [23:34] <AryehGregor> But for text nodes you succeed.
- # [23:34] <AryehGregor> Didn't test PIs.
- # [23:34] <gsnedders> And for CDATASections we do too.
- # [23:35] <AryehGregor> CDATASections don't exist in Web DOM Core-land.
- # [23:35] <AryehGregor> I don't know why, since browsers seem to implement them.
- # [23:35] <gsnedders> I don't understand how we don't crash with CDATASections, but we don't. :P
- # [23:35] <AryehGregor> But the DOM Range spec doesn't consider them, because it depends on DOM Core, and DOM Core says they don't exist.
- # [23:36] <gsnedders> PIs would be interesting to test too, IMO
- # [23:36] <AryehGregor> I do test PIs.
- # [23:36] <gsnedders> Ah, okay, just in our case for this you didn't test PIs.
- # [23:36] * Quits: dglazkov (~dglazkov@nat/google/x-muhekasaselqhldx) (Quit: dglazkov)
- # [23:36] <AryehGregor> I have at least three tests that involve PIs.
- # [23:37] * Quits: aho (~nya@fuld-590c74ed.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
- # [23:38] * Joins: richardschwerdtf (~RichS@99-39-114-91.lightspeed.austtx.sbcglobal.net)
- # [23:38] <AryehGregor> data:application/xhtml+xml,<html xmlns="http://www.w3.org/1999/xhtml"><body><![CDATA[<span>foo</span>]]><script>alert(document.querySelector("body").firstChild);</script></body></html>
- # [23:38] <AryehGregor> That alerts a CDATASection.
- # [23:39] <AryehGregor> Why does DOM Core not acknowledge them?
- # [23:39] <AryehGregor> annevk, ^?
- # [23:39] <TabAtkins_> Hahaha, "Electron Band Structure in Germanium, My Ass": http://pages.cs.wisc.edu/~kovar/hall.html
- # [23:41] <gsnedders> AryehGregor: IIRC, mine/zcorpan's argument was there was no good reason why they can't just be Text nodes
- # [23:41] <charlvn> TabAtkins_: now that's my kind of research! :P
- # [23:41] * Joins: doublec (~chris@203-97-204-82.dsl.clear.net.nz)
- # [23:41] * Quits: doublec (~chris@203-97-204-82.dsl.clear.net.nz) (Changing host)
- # [23:41] * Joins: doublec (~chris@unaffiliated/doublec)
- # [23:46] * Quits: aroben|afk (~aroben@unaffiliated/aroben) (Quit: aroben|afk)
- # [23:50] <jgraham> TabAtkins_: That is the reason to give up experimental physics
- # [23:51] <jgraham> Or rather was my reason
- # [23:51] * Joins: davidb (~davidb@74.13.1.241)
- # [23:51] <jgraham> Well in particular the fact that I sucked at it
- # [23:51] * jgraham is physically incapable of any task involving a soldering iron
- # [23:52] * jgraham is not happy about this as there are many useful things that can be acomplished using a soldering iron
- # [23:52] * Joins: dglazkov|away (~dglazkov@nat/google/x-iwvpcjnolmkklroa)
- # [23:53] * jgraham has no particular evident handicap that should lead to this particular problem, but nevertheless it exists
- # [23:53] <dglazkov|away> at ths point, the appropriate response is MONKEYPANTS
- # [23:53] * Quits: Steve^ (~steve@cpc2-hari1-0-0-cust1111.hari.cable.virginmedia.com) (Quit: Leaving)
- # [23:53] <dglazkov|away> it's appropriately nonsensical
- # [23:53] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [23:53] * dglazkov|away is now known as dglazkov
- # [23:54] * Quits: MrOpposite (~mropposit@unaffiliated/mropposite) (Quit: OMG, YOU KILLED OPPO!)
- # [23:54] * Quits: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill) (Quit: Reconnecting)
- # [23:54] * Joins: PrgmrBill (~PrgmrBill@prgmrbill.com)
- # [23:54] * Quits: PrgmrBill (~PrgmrBill@prgmrbill.com) (Changing host)
- # [23:54] * Joins: PrgmrBill (~PrgmrBill@unaffiliated/prgmrbill)
- # Session Close: Fri Mar 11 00:00:00 2011
The end :)