Options:
- # Session Start: Thu Mar 15 00:00:00 2012
- # Session Ident: #whatwg
- # [00:00] * Joins: tantek (~tantek@rrcs-24-227-244-117.sw.biz.rr.com)
- # [00:05] <_bga> http://blog.chipx86.com/2012/03/13/wsx-virtual-machines-in-your-browser/
- # [00:06] * Quits: stalled (~stalled@unaffiliated/stalled) (Ping timeout: 244 seconds)
- # [00:06] * Joins: malydok (~marek@moma.t16.ds.pwr.wroc.pl)
- # [00:10] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [00:10] <Hixie> ok lineDashOffset is just frustratingly hard to specify
- # [00:10] <TabAtkins_> Really? I'd think that once you have specified dashed lines without an offset, the offset is easy.
- # [00:10] <TabAtkins_> Just move the start point.
- # [00:11] <Hixie> you'd think
- # [00:11] <TabAtkins_> Do you define dashed lines from a start point?
- # [00:11] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Remote host closed the connection)
- # [00:12] <Hixie> i define dashed lines as an algorithm you apply to a set of subpaths
- # [00:12] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [00:12] * heycam is now known as heycam|away
- # [00:12] * heycam|away is now known as heycam
- # [00:13] <Hixie> TabAtkins_: http://www.whatwg.org/specs/web-apps/current-work/#trace-a-path
- # [00:14] <Hixie> steps 6 to 22
- # [00:14] <Hixie> my initial idea was to just offset L in step 7, but that breaks because then i have to define how you wrap around L later
- # [00:14] <Hixie> which is all kinds of special cases
- # [00:14] * Quits: KillerX (~anant@nat/mozilla/x-jhiegyxcebwwmlnz) (Remote host closed the connection)
- # [00:14] <Hixie> now i'm thinking of just generating a new dash list that is suitably offset
- # [00:15] <TabAtkins_> 7: "line for of all lines"
- # [00:15] * Joins: KillerX (~anant@nat/mozilla/x-hvlsjjrbwsuxrbvh)
- # [00:15] <Hixie> oops
- # [00:15] <Hixie> thanks
- # [00:15] <TabAtkins_> Define the dash list to be infinite (with proper wrap-around behavior), and apply an offset.
- # [00:15] <TabAtkins_> I do this for repeating gradients.
- # [00:16] <Hixie> the problem with that is that the offset can be into half-way through one of the dashes
- # [00:16] <TabAtkins_> And?
- # [00:16] <Hixie> and so you have to deal with that
- # [00:17] <Hixie> since otherwise the subsequent steps don't work
- # [00:17] <Hixie> since they use the length of each subpart of the dash list
- # [00:17] <TabAtkins_> Ah, indeed, because you're defining this as explicitly iterating through the list.
- # [00:18] <TabAtkins_> Rather than "coloring" the stroke line with on/off state.
- # [00:18] <Hixie> i need to be explicit so that it's clear where line caps end up going
- # [00:18] * Quits: erichynds (~ehynds@pool-71-184-234-218.bstnma.fios.verizon.net)
- # [00:18] <Hixie> (haven't yet specced that, it goes in step 22)
- # [00:20] <_bga> are you contribute to Amaya reference web browser?
- # [00:20] <Hixie> "reference"?
- # [00:20] <TabAtkins_> _bga: ....bwuh?
- # [00:22] <_bga> iirc it was browser that idealy support web standards
- # [00:22] * weinig is now known as weinig|away
- # [00:22] <_bga> developed by you
- # [00:22] <TabAtkins_> Um, what?
- # [00:22] <TabAtkins_> Amaya is an old browser made by the W3C, and is largely unmaintained.
- # [00:22] <Hixie> amaya was a testbed browser, it never had good standards support and i don't think anyone in this channel ever worked on it
- # [00:23] <_bga> ah
- # [00:24] <_bga> so now we dont have ideal browser
- # [00:24] <TabAtkins_> We never had an "ideal" browser.
- # [00:24] <TabAtkins_> I have no idea what you heard about Amaya or where you heard it, but it was never a good browser.
- # [00:28] * Joins: stalled (~stalled@unaffiliated/stalled)
- # [00:33] * Quits: benjoffe_ (~benjoffe@119-252-71-224.static.highway1.net.au) (Read error: Connection reset by peer)
- # [00:33] * Joins: benjoffe_ (~benjoffe@119-252-71-224.static.highway1.net.au)
- # [00:37] * Joins: benjoff__ (~benjoffe@1.158.221.60)
- # [00:38] * Quits: benjoff__ (~benjoffe@1.158.221.60) (Remote host closed the connection)
- # [00:39] * Joins: benjoff__ (~benjoffe@119-252-71-224.static.highway1.net.au)
- # [00:39] * Quits: benjoffe_ (~benjoffe@119-252-71-224.static.highway1.net.au) (Ping timeout: 240 seconds)
- # [00:40] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Remote host closed the connection)
- # [00:44] * Quits: sarro (~sarro@i5E864F69.versanet.de)
- # [00:48] * Quits: malydok (~marek@moma.t16.ds.pwr.wroc.pl) (Quit: Farewell)
- # [00:50] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Quit: tzing)
- # [00:52] * Joins: aklein (u4454@gateway/web/irccloud.com/x-nstnahipimaivxbe)
- # [00:53] * Quits: bobylito (u3929@gateway/web/irccloud.com/x-hejnmsseoujamnfk) (Read error: Operation timed out)
- # [00:53] * Quits: purefusion (~purefusio@unaffiliated/purefusion) (Read error: Operation timed out)
- # [00:53] * Quits: chayin (quassel@nat/nokia/x-jemovdfmypkmgeez) (Read error: Connection reset by peer)
- # [00:53] * Quits: FireFly (~firefly@unaffiliated/firefly) (Read error: Operation timed out)
- # [00:53] * Joins: chayin (quassel@nat/nokia/x-ugptjjmuesahrnpi)
- # [00:54] * Joins: bobylito (u3929@gateway/web/irccloud.com/x-xgbeogpfkngeavve)
- # [00:55] * Joins: purefusion (~purefusio@unaffiliated/purefusion)
- # [00:56] * Joins: FireFly (~firefly@firefly.xen.prgmr.com)
- # [00:59] * Joins: KillerX_ (~anant@nat/mozilla/x-khhehobljwepxpuz)
- # [01:00] * Joins: arv (u4269@gateway/web/irccloud.com/x-unmidfikonhswimi)
- # [01:00] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Quit: ChatZilla 0.9.87-4.1450hg.fc15 [XULRunner 10.0.1/20120216115618])
- # [01:02] * Joins: tantek_ (~tantek@rrcs-24-227-244-117.sw.biz.rr.com)
- # [01:02] * Quits: tantek (~tantek@rrcs-24-227-244-117.sw.biz.rr.com) (Read error: Connection reset by peer)
- # [01:02] * tantek_ is now known as tantek
- # [01:03] * Quits: KillerX (~anant@nat/mozilla/x-hvlsjjrbwsuxrbvh) (Ping timeout: 246 seconds)
- # [01:03] * Quits: ezoe (~ezoe@203-140-89-126f1.kyt1.eonet.ne.jp) (Ping timeout: 265 seconds)
- # [01:04] * Quits: KillerX_ (~anant@nat/mozilla/x-khhehobljwepxpuz) (Ping timeout: 252 seconds)
- # [01:07] * Joins: danbri (~danbri@c-76-24-26-203.hsd1.ma.comcast.net)
- # [01:09] * Joins: smaug____ (~chatzilla@GZYYDCVII.gprs.sl-laajakaista.fi)
- # [01:11] * Quits: tantek (~tantek@rrcs-24-227-244-117.sw.biz.rr.com) (Read error: Connection reset by peer)
- # [01:11] * Joins: tantek (~tantek@rrcs-24-227-244-117.sw.biz.rr.com)
- # [01:20] * Quits: tantek (~tantek@rrcs-24-227-244-117.sw.biz.rr.com) (Quit: tantek)
- # [01:20] * Quits: Raynos (u3611@gateway/web/irccloud.com/x-kswawrrtjwoehfso) (Ping timeout: 246 seconds)
- # [01:20] * Quits: oal (u4126@gateway/web/irccloud.com/x-fofsexyabbcbrgrp) (Ping timeout: 246 seconds)
- # [01:21] * Quits: NimeshNeema (u2689@gateway/web/irccloud.com/x-szrcfpqypjdtchhi) (Ping timeout: 244 seconds)
- # [01:21] * Quits: hdv (u2376@gateway/web/irccloud.com/x-ybuqormflfhsmlvb) (Ping timeout: 240 seconds)
- # [01:21] * Quits: abarth_ (u5294@gateway/web/irccloud.com/x-rzirntecllhbnwnt) (Ping timeout: 246 seconds)
- # [01:21] * Quits: niftylettuce_ (u2733@gateway/web/irccloud.com/x-klmrgnatjtpcwelr) (Ping timeout: 246 seconds)
- # [01:21] * Quits: scheib (u4467@gateway/web/irccloud.com/x-xynbauslkeaamxpq) (Ping timeout: 246 seconds)
- # [01:21] * Quits: benschwarz (u2121@gateway/web/irccloud.com/x-yibsajvyhvocufny) (Ping timeout: 260 seconds)
- # [01:21] * Quits: Phae (u455@gateway/web/irccloud.com/x-llhpsemqwpbfgdrv) (Ping timeout: 260 seconds)
- # [01:21] * Quits: remysharp (u4345@gateway/web/irccloud.com/x-sudsjofnbztgyvcp) (Ping timeout: 265 seconds)
- # [01:21] * Quits: dglazkov (u4270@gateway/web/irccloud.com/x-mjcynivfyutpissz) (Ping timeout: 245 seconds)
- # [01:21] * Quits: krijn (u2319@gateway/web/irccloud.com/x-lpqtqnvwousaffca) (Ping timeout: 252 seconds)
- # [01:21] * Quits: ryanseddon (u1832@gateway/web/irccloud.com/x-ollpeqzcokwxlxvh) (Max SendQ exceeded)
- # [01:21] * Quits: vidu (u5404@gateway/web/irccloud.com/x-tzznqftfhlpwfttu) (Ping timeout: 272 seconds)
- # [01:21] * Quits: Scorchin (u1242@gateway/web/irccloud.com/x-hcloimzvkcsbdstt) (Ping timeout: 272 seconds)
- # [01:21] * Quits: aklein (u4454@gateway/web/irccloud.com/x-nstnahipimaivxbe) (Ping timeout: 260 seconds)
- # [01:21] * Quits: bobylito (u3929@gateway/web/irccloud.com/x-xgbeogpfkngeavve) (Ping timeout: 246 seconds)
- # [01:22] * Quits: ojan (u5519@gateway/web/irccloud.com/x-yqrstbpjxjqasdfs) (Ping timeout: 248 seconds)
- # [01:22] * Joins: abarth_ (u5294@gateway/web/irccloud.com/x-vjjffgueoipqoeqw)
- # [01:23] * Joins: oal (u4126@gateway/web/irccloud.com/x-bocpmaqzcejzjuqf)
- # [01:23] * Joins: ojan (u5519@gateway/web/irccloud.com/x-ldkzfuwabazaajvj)
- # [01:24] * Joins: niftylettuce_ (u2733@gateway/web/irccloud.com/x-ajgsnorbjktrjbzr)
- # [01:26] * Joins: krijn (u2319@gateway/web/irccloud.com/x-qlicddgynqucpjbk)
- # [01:26] * Quits: ehsan (~ehsan@66.207.208.98) (Remote host closed the connection)
- # [01:28] * Joins: Scorchin (u1242@gateway/web/irccloud.com/x-vdunikjyvmvbstfa)
- # [01:29] * Joins: aklein (u4454@gateway/web/irccloud.com/x-gmbcdfetwngyzakn)
- # [01:33] * Joins: dglazkov (u4270@gateway/web/irccloud.com/x-dbfyjjhhbyipnrbf)
- # [01:38] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [01:38] * Joins: tomasf (~tom@2002:55e5:dbb7:0:5434:e1ce:14e2:9411)
- # [01:39] * Joins: vidu (u5404@gateway/web/irccloud.com/x-tatqzahqssndnaus)
- # [01:40] * Quits: othermaciej (~mjs@17.245.89.39) (Quit: othermaciej)
- # [01:40] * Quits: weinig|away (~weinig@17.245.88.176) (Remote host closed the connection)
- # [01:41] * Joins: weinig (~weinig@17.212.155.45)
- # [01:43] * Joins: bobylito (u3929@gateway/web/irccloud.com/x-trvwxumumviteexn)
- # [01:46] * Joins: NimeshNeema (u2689@gateway/web/irccloud.com/x-dgobwhaphkcdqbhf)
- # [01:48] * Joins: hdv (u2376@gateway/web/irccloud.com/x-rfvqnvszzfsmjgwx)
- # [01:50] * Quits: Druid_ (~Druid@p5B1351D1.dip.t-dialin.net) (Ping timeout: 265 seconds)
- # [01:51] * Quits: danbri (~danbri@c-76-24-26-203.hsd1.ma.comcast.net) (Remote host closed the connection)
- # [01:55] * Joins: remysharp (u4345@gateway/web/irccloud.com/x-ypkwdsiflyuhjznq)
- # [01:55] * Joins: Druid_ (~Druid@p5B1352CC.dip.t-dialin.net)
- # [01:55] * Joins: Raynos (u3611@gateway/web/irccloud.com/x-fnzvoomgddxgvdnd)
- # [01:56] * Quits: chriseppstein (~chrisepps@209.119.65.162) (Quit: chriseppstein)
- # [01:57] * Quits: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it) (Read error: Connection timed out)
- # [01:58] * Joins: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it)
- # [02:00] * Joins: Phae (u455@gateway/web/irccloud.com/x-zkucfpmdumjnbser)
- # [02:03] * Quits: plutoniix (~plutoniix@101.108.111.99) (Quit: Leaving)
- # [02:03] * Joins: ehsan (~ehsan@209.29.21.241)
- # [02:06] * Joins: chriseppstein (~chrisepps@69-170-20-230.static-ip.telepacific.net)
- # [02:07] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [02:08] <_bga> http://js1k.com/2012-love/demo/1243
- # [02:14] * Quits: _bga (~bga@ppp78-37-213-228.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [02:15] * Quits: chriseppstein (~chrisepps@69-170-20-230.static-ip.telepacific.net) (Quit: chriseppstein)
- # [02:15] * Quits: rniwa (rniwa@nat/google/x-cwimwsehejgpeyqz) (Quit: rniwa)
- # [02:16] * Joins: danbri (~danbri@12.157.84.6)
- # [02:17] * heycam is now known as heycam|away
- # [02:18] * Quits: pablof (~pablof@144.189.101.1) (Quit: ^z)
- # [02:19] * Joins: scheib (u4467@gateway/web/irccloud.com/x-violteelwawrpabb)
- # [02:28] <scott_gonzalez> Hixie: .innerHTML in IE clears the innerHTML of all descendants. Do you agree that this is a bug?
- # [02:28] <scott_gonzalez> http://jsfiddle.net/Hej6h/6/
- # [02:30] * Joins: ryanseddon (u1832@gateway/web/irccloud.com/x-tostpnlqmjevetlb)
- # [02:34] <smaug____> it does what?
- # [02:35] <Hixie> scott_gonzalez: sounds like a bug, yes
- # [02:36] <scott_gonzalez> smaug____: If you have <p><a>x</a></p>
- # [02:36] <scott_gonzalez> And you have a reference to the anchor element.
- # [02:36] * Joins: jacobolus (~jacobolus@70-36-215-74.dsl.dynamic.sonic.net)
- # [02:36] <scott_gonzalez> Then you do p.innerHTML = "";
- # [02:36] <scott_gonzalez> a.innerHTML will get cleared as well.
- # [02:36] <scott_gonzalez> So your reference is pretty much useless at that point.
- # [02:36] <Hixie> what happens to the text node's data if you still have the text node around?
- # [02:36] <scott_gonzalez> I haven't tried that. Let me check.
- # [02:37] <Hixie> and what if the <a> element contains another element?
- # [02:38] * Joins: smaug (~chatzilla@MKCCXXVII.gprs.sl-laajakaista.fi)
- # [02:39] <scott_gonzalez> That seems to get cleared out too.
- # [02:40] <scott_gonzalez> Same results when a contains another element.
- # [02:40] * Quits: smaug____ (~chatzilla@GZYYDCVII.gprs.sl-laajakaista.fi) (Ping timeout: 260 seconds)
- # [02:40] * Quits: weinig (~weinig@17.212.155.45) (Quit: weinig)
- # [02:40] * smaug is now known as smaug____
- # [02:40] <Hixie> so it empties every text node and every element's child list?
- # [02:40] <Hixie> how weird
- # [02:42] <smaug____> not very weird
- # [02:42] * Quits: jamesr (jamesr@nat/google/x-inzavtltvyeqvdls) (Quit: jamesr)
- # [02:43] <smaug____> I could imagine it can help releasing memory in certain cases
- # [02:43] * Quits: sicking (~chatzilla@nat/mozilla/x-kduevewihizkixac) (Ping timeout: 252 seconds)
- # [02:44] <Hixie> seems like it would waste a lot of cycles
- # [02:44] <Hixie> given that the memory will likely be released anyway at GC
- # [02:45] <scott_gonzalez> Right, it would only help if there are references to the nodes. And GC can't kick in for those until the references are removed anyway.
- # [02:45] <scott_gonzalez> Although right now GC is kicking in too early if there are references.
- # [02:45] <scott_gonzalez> Since the nodes are staying, but they're losing all of their content.
- # [02:51] <scott_gonzalez> I'll report this to Microsoft and see what they say.
- # [02:54] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Ping timeout: 245 seconds)
- # [02:56] * Joins: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net)
- # [03:02] * Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)
- # [03:12] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [03:14] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [03:28] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [03:31] * Quits: danbri (~danbri@12.157.84.6) (Remote host closed the connection)
- # [03:34] * Joins: tantek (~tantek@12.14.132.2)
- # [03:35] * Quits: tantek (~tantek@12.14.132.2) (Read error: Connection reset by peer)
- # [03:36] * Joins: tantek (~tantek@12.14.132.2)
- # [03:37] * Joins: danbri (~danbri@12.157.84.6)
- # [03:38] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [03:41] * Quits: smaug____ (~chatzilla@MKCCXXVII.gprs.sl-laajakaista.fi) (Ping timeout: 252 seconds)
- # [03:47] * heycam|away is now known as heycam
- # [03:58] * Joins: ezoe (~ezoe@112-68-244-191f1.kyt1.eonet.ne.jp)
- # [04:08] * Quits: LBP (~Mirc@pD9EB190D.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
- # [04:08] * Joins: LBP (~Mirc@pD9EB14C0.dip0.t-ipconnect.de)
- # [04:08] * Quits: pablof (~pablof@c-98-207-157-89.hsd1.ca.comcast.net) (Quit: ^z)
- # [04:10] * Quits: hober (~ted@unaffiliated/hober) (Read error: Connection reset by peer)
- # [04:10] * Joins: hober (~ted@unaffiliated/hober)
- # [04:14] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [04:15] * Quits: dave_levin (dave_levin@nat/google/x-logswwspysqigxvh) (Quit: dave_levin)
- # [04:18] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [05:03] * Quits: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Read error: Operation timed out)
- # [05:07] * Joins: nattokirai (~nattokira@rtr.mozilla.or.jp)
- # [05:17] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Quit: Leaving...)
- # [05:24] * Quits: twisted` (~anonymous@p5DDBB9DF.dip.t-dialin.net) (Quit: twisted`)
- # [05:24] * Joins: twisted` (~anonymous@p5DDBB9DF.dip.t-dialin.net)
- # [05:28] * Quits: twisted` (~anonymous@p5DDBB9DF.dip.t-dialin.net) (Ping timeout: 244 seconds)
- # [05:31] * Quits: danbri (~danbri@12.157.84.6) (Remote host closed the connection)
- # [05:33] * Quits: cpearce (~cpearce@60.234.54.74) (Ping timeout: 248 seconds)
- # [05:39] * Quits: tantek (~tantek@12.14.132.2) (Quit: tantek)
- # [05:47] * Joins: niloy (~niloy@61.12.96.242)
- # [05:49] * Joins: sicking (~chatzilla@c-98-210-152-4.hsd1.ca.comcast.net)
- # [05:51] * Quits: wtachi (~wtachi@bloom.wtachi.us) (Quit: WeeChat 0.3.7)
- # [05:53] * Joins: izhak (~izhak@213.87.240.189)
- # [05:57] * Joins: jernoble (~jernoble@2620:149:4:1b01:a5e7:d3f3:35e9:5ac2)
- # [05:57] * Joins: onar_ (~onar@17.216.36.168)
- # [05:57] * Quits: onar (~onar@17.216.36.168) (Read error: Operation timed out)
- # [05:57] * onar_ is now known as onar
- # [05:59] * Quits: jernoble|afk (~jernoble@2620:149:4:1b01:3cfa:6bfa:aeb:b7f5) (Ping timeout: 260 seconds)
- # [06:02] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Quit: eric_carlson)
- # [06:04] * Quits: jacobolus (~jacobolus@70-36-215-74.dsl.dynamic.sonic.net) (Remote host closed the connection)
- # [06:20] * Quits: ezoe (~ezoe@112-68-244-191f1.kyt1.eonet.ne.jp) (Ping timeout: 244 seconds)
- # [06:24] * Quits: tndrH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [06:25] * Joins: Areks|2 (~Areks@rs.gridnine.com)
- # [06:30] * Joins: jacobolus (~jacobolus@199.188.193.145)
- # [06:40] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [06:44] * Quits: jacobolus (~jacobolus@199.188.193.145) (Remote host closed the connection)
- # [06:54] * Joins: ezoe (~ezoe@61-205-124-132f1.kyt1.eonet.ne.jp)
- # [06:56] * Quits: sicking (~chatzilla@c-98-210-152-4.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
- # [06:59] * Quits: jarib (~jarib@unaffiliated/jarib) (Excess Flood)
- # [07:00] * Joins: jarib (~jarib@unaffiliated/jarib)
- # [07:13] * heycam is now known as heycam|away
- # [07:20] * Quits: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it) (Read error: Connection timed out)
- # [07:21] * Joins: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it)
- # [07:32] * Quits: ezoe (~ezoe@61-205-124-132f1.kyt1.eonet.ne.jp) (Read error: Connection reset by peer)
- # [07:34] * Joins: ezoe (~ezoe@203-140-91-158f1.kyt1.eonet.ne.jp)
- # [07:38] * Quits: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it) (Read error: Connection timed out)
- # [07:38] * Joins: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it)
- # [07:41] * Quits: schnoomac (~schnoomac@melbourne.99cluster.com) (Quit: schnoomac)
- # [07:45] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [07:47] * Joins: Ducki (~Ducki@pD9E39279.dip0.t-ipconnect.de)
- # [07:50] * Quits: niloy (~niloy@61.12.96.242) (Remote host closed the connection)
- # [07:54] * Quits: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it) (Read error: Connection timed out)
- # [08:09] * Quits: Workshiva (~Dashiva@74.125.57.33) (Read error: Operation timed out)
- # [08:14] * Joins: dirkpennings (~dirkpenni@90-145-26-140.bbserv.nl)
- # [08:19] * Joins: skylamer` (cgskylamer@78.90.213.55)
- # [08:20] * Joins: danielfilho_ (~daniel@187.31.77.7)
- # [08:20] * Joins: Dashimon (Dashiva@84-72-44-85.dclient.hispeed.ch)
- # [08:20] * Quits: Dashimon (Dashiva@84-72-44-85.dclient.hispeed.ch) (Changing host)
- # [08:20] * Joins: Dashimon (Dashiva@wikia/Dashiva)
- # [08:21] * Joins: karlcow_ (~karl@nerval.la-grange.net)
- # [08:27] * Quits: jernoble (~jernoble@2620:149:4:1b01:a5e7:d3f3:35e9:5ac2) (Quit: jernoble)
- # [08:29] * Quits: dglazkov (u4270@gateway/web/irccloud.com/x-dbfyjjhhbyipnrbf) (*.net *.split)
- # [08:29] * Quits: karlcow (~karl@nerval.la-grange.net) (*.net *.split)
- # [08:29] * Quits: AlexNRoss (AleossIRC@unaffiliated/aleoss) (*.net *.split)
- # [08:29] * Quits: mpt (~mpt@canonical/mpt) (*.net *.split)
- # [08:29] * Quits: Dashiva (Dashiva@wikia/Dashiva) (*.net *.split)
- # [08:29] * Quits: webben (~benjamin@173-203-84-17.static.cloud-ips.com) (*.net *.split)
- # [08:29] * Quits: heycam|away (~cam@wok.mcc.id.au) (*.net *.split)
- # [08:29] * Quits: danielfilho (~daniel@187.31.77.7) (*.net *.split)
- # [08:29] * danielfilho_ is now known as danielfilho
- # [08:29] * Dashimon is now known as Dashiva
- # [08:36] * Joins: mpt (~mpt@nat/canonical/x-owxyekegcfesrbry)
- # [08:36] * Quits: mpt (~mpt@nat/canonical/x-owxyekegcfesrbry) (Changing host)
- # [08:36] * Joins: mpt (~mpt@canonical/mpt)
- # [08:40] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [08:42] * Quits: Evermind42 (~Evermind4@50-27-214-240.stjo.sta.suddenlink.net) (Remote host closed the connection)
- # [08:44] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
- # [09:00] * Joins: mishunov (~spliter@77.88.72.162)
- # [09:00] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [09:05] * Quits: skylamer` (cgskylamer@78.90.213.55)
- # [09:05] * Joins: webben (~benjamin@173-203-84-17.static.cloud-ips.com)
- # [09:06] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [09:10] * zcorpan discovers http://www.w3.org/TR/CSS21/aural.html#Emacspeak
- # [09:11] * Joins: woef (~woef@91.183.84.141)
- # [09:17] * Quits: [[zz]] (~q@101.108.111.99) (Read error: Connection reset by peer)
- # [09:17] * Joins: [[zz]] (~q@125.25.230.125.adsl.dynamic.totbb.net)
- # [09:18] * Quits: Zauberfisch (Zauberfisc@venus.zauberfisch.at) (Quit: Leaving)
- # [09:18] * Joins: Zauberfisch (Zauberfisc@venus.zauberfisch.at)
- # [09:25] * Joins: niloy (~niloy@61.12.96.242)
- # [09:26] <hsivonen> zcorpan: are there other impls besides Emacspeak?
- # [09:27] <zcorpan> hsivonen: dunno
- # [09:28] <zcorpan> but i hadn't expected that kind of section in css 2.1
- # [09:38] * Quits: ezoe (~ezoe@203-140-91-158f1.kyt1.eonet.ne.jp) (Ping timeout: 248 seconds)
- # [09:42] <asmodai> That's interesting, latest nvidia drivers seem to change something with font look in Firefox.
- # [09:46] * Joins: matjas (u2247@gateway/web/irccloud.com/x-bilucnktkopwvyxw)
- # [09:55] <asmodai> Mm, restart of firefox cleared that up. Guess it doesn't like having the driver ripped out from underneath it and updated by the recent nvidia installers.
- # [10:03] * Joins: gwicke (~gabriel@212.255.42.187)
- # [10:06] * Quits: niloy (~niloy@61.12.96.242) (Ping timeout: 252 seconds)
- # [10:07] * Joins: loostro (~chatzilla@abdi164.neoplus.adsl.tpnet.pl)
- # [10:07] <loostro> Hi, is this correct? <a><li>some item</li></a> or I must do <li><a><div>some item</div></a></li> to make sure the anchor covers the whole box?
- # [10:11] * Joins: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net)
- # [10:11] * Joins: danja (~danny@host108-236-static.12-87-b.business.telecomitalia.it)
- # [10:12] * Quits: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net) (Remote host closed the connection)
- # [10:13] * Joins: Lachy (~Lachy@cm-84.215.13.244.getinternet.no)
- # [10:13] * Joins: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net)
- # [10:14] * Quits: nattokirai (~nattokira@rtr.mozilla.or.jp) (Quit: nattokirai)
- # [10:15] <zcorpan> loostro: neither. you should do <li><a>some item</a></li> and then apply display:block to the link
- # [10:16] * Quits: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net) (Remote host closed the connection)
- # [10:16] <loostro> thx
- # [10:17] * Joins: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net)
- # [10:26] * Quits: Lachy (~Lachy@cm-84.215.13.244.getinternet.no) (Quit: Computer has gone to sleep.)
- # [10:30] * Joins: ezoe (~ezoe@203-140-88-224f1.kyt1.eonet.ne.jp)
- # [10:32] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 240 seconds)
- # [10:34] * Quits: zewt (~foo@ec2-50-17-220-142.compute-1.amazonaws.com) (Ping timeout: 265 seconds)
- # [10:37] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [10:41] * Joins: smaug____ (~chatzilla@YKMMMDCCCXVII.gprs.sl-laajakaista.fi)
- # [10:42] * Quits: nephyrin (nephyrin@people.mozilla.com) (Ping timeout: 245 seconds)
- # [10:45] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [10:45] * Joins: akamike (u5089@gateway/web/irccloud.com/x-nlpuferxntwdqcyo)
- # [10:45] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 246 seconds)
- # [10:49] * Joins: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [10:49] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [10:49] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [10:50] * Quits: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Ping timeout: 252 seconds)
- # [10:50] * Joins: zewt (~foo@ec2-50-17-220-142.compute-1.amazonaws.com)
- # [10:50] * Joins: nephyrin (nephyrin@people.mozilla.com)
- # [10:53] * Joins: Workshiva (~Dashiva@74.125.57.33)
- # [10:54] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 246 seconds)
- # [10:55] * Joins: niloy (~niloy@203.196.177.156)
- # [10:58] * Joins: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [10:58] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [10:58] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [10:59] * Quits: niloy (~niloy@203.196.177.156) (Ping timeout: 260 seconds)
- # [11:04] * Joins: foolip (~philip@node-7lfbcvcv6msu6t8wu.a0.ipv6.opera.com)
- # [11:04] * Joins: graememcc (~chatzilla@host31-53-74-16.range31-53.btcentralplus.com)
- # [11:08] * Quits: smaug____ (~chatzilla@YKMMMDCCCXVII.gprs.sl-laajakaista.fi) (Ping timeout: 246 seconds)
- # [11:09] * Quits: ivan\ (~ivan@unaffiliated/ivan/x-000001) (Ping timeout: 246 seconds)
- # [11:12] * Joins: ivan\ (~ivan@unaffiliated/ivan/x-000001)
- # [11:13] * Joins: richt_ (~richt@guest.opera.com)
- # [11:15] * Quits: richt (richt@nat/opera/x-lynzvytcpishinrk) (Ping timeout: 260 seconds)
- # [11:15] * Joins: niloy (~niloy@61.12.96.242)
- # [11:16] * Quits: ivan\ (~ivan@unaffiliated/ivan/x-000001) (Ping timeout: 246 seconds)
- # [11:17] * Quits: nonge (~nonge@p50829260.dip.t-dialin.net) (Read error: Operation timed out)
- # [11:24] * Joins: ivan\ (~ivan@unaffiliated/ivan/x-000001)
- # [11:31] * Quits: foolip (~philip@node-7lfbcvcv6msu6t8wu.a0.ipv6.opera.com) (Remote host closed the connection)
- # [11:31] * Joins: jacobolus (~jacobolus@199.188.193.145)
- # [11:32] * Joins: nonge (~nonge@p5082A0D1.dip.t-dialin.net)
- # [11:33] * zcorpan finds http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsBRFrame.cpp#137
- # [11:35] * Joins: foolip (~philip@node-7lfbcsq7dbwsptf2f.a0.ipv6.opera.com)
- # [11:39] * Joins: smaug____ (~chatzilla@193-64-22-249-nat.elisa-mobile.fi)
- # [11:39] * Quits: richt_ (~richt@guest.opera.com) (Remote host closed the connection)
- # [11:44] <Velmont> Should be more idb people here. Anyone feel called to discuss? :P
- # [11:46] * Joins: richt (richt@nat/opera/x-xpfwrdjpxjmugyah)
- # [11:48] <smaug____> Velmont: you need to wait for sicking
- # [11:49] <jgraham> Velmont: I thought "idb people" were sicking
- # [11:49] <jgraham> And maybe some people at Microsoft, but they're not allowed to hang around here
- # [11:53] <Velmont> jgraham: Yep, -- but also Jonas from google would be swell to have here.
- # [11:53] <Velmont> smaug____: Yeah yeah, -- I know, but he's not really in my timezone, -- so often not here when I want to talk about stuff :]
- # [11:53] <Velmont> smaug____: Hence the "more".
- # [11:54] * Quits: loostro (~chatzilla@abdi164.neoplus.adsl.tpnet.pl) (Quit: ChatZilla 0.9.88.1 [Firefox 10.0.2/20120215223356])
- # [11:54] <Velmont> Don't have to be editor or anything, -- just knowing the spec very well. ;]
- # [11:54] <smaug____> Jonas from google ?
- # [11:54] <Velmont> Joshua Bell I meant.
- # [11:55] <Velmont> sry :P Talking about Sicking made me write the wrong name. :P
- # [12:04] * Joins: Lachy (Lachy@nat/opera/x-fmsdiovfvtugtlmn)
- # [12:06] * Joins: matijsb (u2278@gateway/web/irccloud.com/x-uuzormsvqbsacrro)
- # [12:13] * Joins: micheil (~micheil@109.224.128.70)
- # [12:15] * Joins: mishunov (~spliter@77.88.72.162)
- # [12:18] * Quits: ehsan (~ehsan@209.29.21.241) (Remote host closed the connection)
- # [12:35] * Joins: necolas (~necolas@host-92-12-160-162.as43234.net)
- # [12:42] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [12:44] * Quits: ezoe (~ezoe@203-140-88-224f1.kyt1.eonet.ne.jp) (Ping timeout: 252 seconds)
- # [12:51] * Joins: jdong_bot_ (~jdong_bot@117.79.233.193)
- # [12:53] * Joins: yijun (~yijun@059148184190.ctinets.com)
- # [12:55] * Quits: smaug____ (~chatzilla@193-64-22-249-nat.elisa-mobile.fi) (Ping timeout: 252 seconds)
- # [12:56] * Joins: erichynds (~ehynds@venkman.brightcove.com)
- # [12:59] * Quits: erichynds (~ehynds@venkman.brightcove.com) (Client Quit)
- # [12:59] * Joins: erichynds (~ehynds@venkman.brightcove.com)
- # [13:07] * Quits: broquaint (~dbrook@78.47.79.137) (Remote host closed the connection)
- # [13:08] * Joins: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie)
- # [13:08] * Joins: malydok (~marek@moma.t16.ds.pwr.wroc.pl)
- # [13:22] * Quits: izhak (~izhak@213.87.240.189) (Remote host closed the connection)
- # [13:23] * Joins: jdaggett (~jdaggett@ad008216.dynamic.ppp.asahi-net.or.jp)
- # [13:24] <zcorpan> turns out there were more quirks in the source that weren't documented in mdn http://simon.html5.org/specs/quirks-mode#the-???-quirks
- # [13:26] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
- # [13:27] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [13:28] <StoneCypher> why is quirksmode being documented?
- # [13:29] <zcorpan> http://simon.html5.org/specs/quirks-mode#goals
- # [13:29] <StoneCypher> i don't understand the purpose; i thought quirksmode was a grab-bag of browsers trying to DWIM and universally failing
- # [13:29] <StoneCypher> well no
- # [13:29] <StoneCypher> all that does is say what you're doing
- # [13:29] <StoneCypher> not why
- # [13:29] <StoneCypher> i mean yes, i can see that you're documenting quirksmode; the question is why that's desirable.
- # [13:30] <zcorpan> ah. much for the same reason we specified e.g. html parsing
- # [13:30] <jgraham> > i thought quirksmode was a grab-bag of browsers trying to DWIM and universally failing
- # [13:30] <jgraham> That's where you went wrong
- # [13:30] <StoneCypher> jgraham: okay, so what is it?
- # [13:30] <annevk> StoneCypher: "Get interoperability on quirks that are needed for Web compat." seems like a pretty clear "why"
- # [13:31] <StoneCypher> that's a "what"
- # [13:31] <StoneCypher> not a "why"
- # [13:31] <annevk> "Limit quirks to a fixed set of legacy features so they don't propagate into new features." too actually
- # [13:31] <StoneCypher> those are goals, not purposes.
- # [13:32] <zcorpan> we want to get interop because it makes sites render the same across browsers, which is good for browser developers not needing to tweak quirks all the time and reverse engineer others, and it's good for users because sites that are written against quirks mode for browser A works the same in browser B
- # [13:32] <jgraham> If you don't think that interoperability between browsers is a good enough reason to have a spec, I'm not sure what anyone could say to convince you that standards are a good idea
- # [13:32] <StoneCypher> i think we're sort of missing the point of the question
- # [13:33] <StoneCypher> it was my understanding that the purpose of quirksmode was to allow browsers to silently fall back to prior, standards violating behavior
- # [13:33] <jgraham> No
- # [13:33] <StoneCypher> so either i misundersatnd what quirksmode is
- # [13:33] <StoneCypher> okay, so what is it, i ask again
- # [13:33] <jgraham> Many browsers don't have "prior" behaviour
- # [13:33] * Quits: micheil (~micheil@109.224.128.70) (Quit: http://brandedcode.com | http://github.com/miksago)
- # [13:34] <jgraham> They were written after the standard
- # [13:34] <zcorpan> quirks mode was introduced because the css spec was incompatible with behavior ("quirks") that existing content relied on
- # [13:35] <zcorpan> instead of fixing css to be compatible
- # [13:35] <StoneCypher> zcorpan: i am unable to distinguish between that and what i said
- # [13:35] <StoneCypher> zcorpan: what am i missing
- # [13:35] <jgraham> The point of quirks mode is to bridge the disconnect that emerged (mostly) in the early days of CSS between what was actually needed to render documents on the web and what the CSS people wrote down
- # [13:35] <jgraham> This led to two populations of documents
- # [13:35] <StoneCypher> this pretty much sounds like "let the browser violate the standard"
- # [13:35] <jgraham> Ones that depended on the new behaiour and ones that depended on the old behaviour
- # [13:36] <jgraham> Any web browser needs to support both
- # [13:37] <jgraham> So far only one population has had good implementation instructions
- # [13:37] <StoneCypher> so, i respect that there is an art form to talking around the intent of a question
- # [13:37] <StoneCypher> but
- # [13:37] <StoneCypher> my question stands
- # [13:37] <StoneCypher> in what way is that not "let the browsers ignore the standards for old documents"
- # [13:38] <jgraham> I think you are making the erroneous assumption that calling something a "standard" makes it magical
- # [13:38] <StoneCypher> i didn't say anything about magic
- # [13:38] <annevk> o_O
- # [13:38] * Quits: Lachy (Lachy@nat/opera/x-fmsdiovfvtugtlmn) (Read error: Connection reset by peer)
- # [13:39] <jgraham> OK then, let me rephrase
- # [13:39] <jgraham> The point of the document is the exact opposite of what you say
- # [13:39] * Joins: Lachy (Lachy@nat/opera/x-pclckgoavoisemdr)
- # [13:39] <jgraham> It is "create a standard for rendering old (or indeed new, if they happen to have a particular pragma) documents"
- # [13:39] <StoneCypher> oh.
- # [13:40] <StoneCypher> well that was straightforward.
- # [13:40] <StoneCypher> thakn you.
- # [13:40] <StoneCypher> are you open to small suggestions?
- # [13:40] <zcorpan> is there something i should add to the spec, like a section "Motivation" that discusses this?
- # [13:40] <zcorpan> sure
- # [13:41] <StoneCypher> that's what i was about to suggest, actually :)
- # [13:41] <StoneCypher> people from standards-focussed languages (in my case, c++) will read those goals in the way that i did, i believe
- # [13:41] <StoneCypher> adding a statement of purpose will clarify what one wants here
- # [13:41] <StoneCypher> a bullet added to those goals, basically a cut and paste of jgraham's last sentence, will reach dim people like me quite quickly
- # [13:41] <zcorpan> is what jgraham wrote good enough for the spec or should it be phrased in some different way?
- # [13:42] <zcorpan> k
- # [13:42] <StoneCypher> other than rephrasing to fit the style of the doc, it's near-ideal
- # [13:42] <StoneCypher> jgraham: apologies if i was being dense. i really didn't get it until then.
- # [13:44] <kennyluck> (re. So far only one population has had good implementation instructions) Because no one bother care the other population which doesn't grow.
- # [13:45] <StoneCypher> is the idea to solidify the handling of legacy documents, or are people (not counting people who just don't know any better, say code cut and pasters) actually still using quirksmode on purpose?
- # [13:45] <kennyluck> It's fair to say the quirks mode documentation a worthwhile document (so other people don't need to reverse engineer, indeed), though I doubt we will actually reach interop for this population.
- # [13:45] <StoneCypher> i agree, now that i know what it's for
- # [13:46] <kennyluck> And I don't think it makes to the Web better if reaching interop for this population actually makes the browsers slower.
- # [13:46] <StoneCypher> well, if browsers are well authored, it shouldn't
- # [13:46] <StoneCypher> things that kick in in quirksmode have no need to be in the mainline path of control
- # [13:46] * Joins: kenneth_ (kenneth@nat/nokia/x-ltkxrksuqjivgcjq)
- # [13:48] * Quits: kenneth__ (kenneth@nat/nokia/x-eqpsngumuzpgpxuv) (Read error: Connection reset by peer)
- # [13:49] * Joins: kenneth__ (kenneth@nat/nokia/x-zvoqwvaflghkbbqt)
- # [13:51] <jgraham> kennyluck: I don't think it's either true that it doesn't grow or that people don't care. I thoroughly expect that Opera has site-compat bugs related to slight differences in quirks mode
- # [13:51] * Quits: kenneth_ (kenneth@nat/nokia/x-ltkxrksuqjivgcjq) (Read error: Connection reset by peer)
- # [13:51] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [13:51] <jgraham> and users don't exactly check the doctype and decide "oh the site depends on undefined behaviour. I should stop using the site rather than switch browser"
- # [13:52] <jgraham> Especially if it e.g. their bank
- # [13:52] <kennyluck> That's true.
- # [13:52] * Joins: ard_ (ard@dracul.kill.pl)
- # [13:52] <zcorpan> ok i added what jgraham said verbatim to Goals. thanks
- # [13:55] <ard_> hi. what should I do if I'd like to see something added to http://wiki.whatwg.org/wiki/Canvas (new api proposals) ?
- # [13:58] * Joins: davidb (~davidb@66.207.208.98)
- # [13:58] <kennyluck> Anyway, I would probably not call this document "Quirks Mode Standards" but something like "Quirks Mode Interoperability Living Document" or "CSS LS — Appendix X. Quirks Mode (This section in non-normative)".
- # [13:59] <StoneCypher> zcorpan: word
- # [14:00] <StoneCypher> zcorpan, jgraham, annevk: thank you for the discussion
- # [14:00] <StoneCypher> i feel like i forgot someone
- # [14:02] <annevk> ard_: at this point it's prolly best to email
- # [14:02] <ard_> annevk: hixie?
- # [14:02] <annevk> ard_: and it's best to email about use cases, not solutions
- # [14:02] <annevk> ard_: whatwg@whatwg.org
- # [14:02] <annevk> ard_: you need to be subscribed first
- # [14:05] <ard_> annevk: I'll try. thanks :)
- # [14:09] * Joins: skylamer` (cgskylamer@78.90.213.55)
- # [14:11] * Quits: jdaggett (~jdaggett@ad008216.dynamic.ppp.asahi-net.or.jp) (Quit: jdaggett)
- # [14:13] <matjas> “'background' on the root element is rendered on the canvas. @SelenIT2 and less surprisingly @davidbaron and @zcorpan had this. #csspubquiz” — http://twitter.com/annevk/status/180277920072351745 mind explaining?
- # [14:13] <matjas> i have a feeling this is not just about <style>:root { background: lime; }</style>
- # [14:16] <kennyluck> "I didn't expect spec comment handling to turn into Validator.nu feature bargaining."
- # [14:16] <StoneCypher> lal
- # [14:16] <MikeSmith> kennyluck: what you quoting from?
- # [14:17] <kennyluck> MikeSmith, https://www.w3.org/Bugs/Public/show_bug.cgi?id=15936#c4
- # [14:23] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [14:25] <matjas> re: root background (http://www.w3.org/TR/CSS21/colors.html#background), what exactly fails in all browsers except IE/Opera?
- # [14:27] * Joins: bga (bga@2001:41d0:1:8d75::)
- # [14:29] <annevk> matjas: you forgot display:none
- # [14:29] <annevk> matjas: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cstyle%3E%3Aroot%7Bdisplay%3Anone%3Bbackground%3Alime%7D%3C%2Fstyle%3E
- # [14:30] <matjas> annevk: oh wow! thanks
- # [14:31] <annevk> tweet is a little ambiguous because of length
- # [14:31] <annevk> everyone renders it on canvas
- # [14:31] <annevk> but gecko/webkit don't when display:none
- # [14:31] <annevk> they prolly simple don't look at background
- # [14:32] <annevk> yeah
- # [14:32] <annevk> Gecko has the same bug for body{display:none;background:lime}
- # [14:32] <annevk> WebKit too
- # [14:33] <annevk> (body elements in the HTML namespace get their background property propagated too)
- # [14:35] * Joins: ahf (ahf@irssi/staff/ahf)
- # [14:38] <matjas> annevk: where does it say that about `body`? is that defined by CSS or HTML?
- # [14:38] * matjas geeks out on these obscure fun facts
- # [14:38] <annevk> CSS
- # [14:39] <annevk> http://www.w3.org/TR/CSS21/colors.html#background
- # [14:39] <matjas> “ For documents whose root element is an HTML "HTML" element or an XHTML "html" element that has computed values of 'transparent' for 'background-color' and 'none' for 'background-image', user agents must instead use the computed value of the background properties from that element's first HTML "BODY" element or XHTML "body" element child when painting backgrounds for the canvas, and must not pa
- # [14:39] <matjas> int a background for that child element.”
- # [14:39] <annevk> fourth paragraph
- # [14:39] <matjas> right
- # [14:39] <matjas> mind = blown
- # [14:39] <annevk> http://www.w3.org/TR/CSS21/visufx.html#overflow has the same
- # [14:44] <matjas> ah, i remember being confused by that a couple of years ago, in a design that required `body { overflow: auto }`
- # [14:45] <zcorpan> annevk: alert() didn't count as a correct answer? :-)
- # [14:46] <kennyluck> annevk, should that actually include <frameset> to match document.body ?
- # [14:46] * kennyluck was thinking about this today.
- # [14:46] <zcorpan> no
- # [14:47] * Joins: MacTed (~Thud@63.119.36.36)
- # [14:47] <kennyluck> I haven't tested it, but that's a bit surprising. Anyway.
- # [14:47] <jgraham> That is like the fourth time matjas has said "mind = blown" in here recently. Does someone keep scraping the bits off the wall and reassembling them?
- # [14:48] <matjas> jgraham: probably not worth it
- # [14:50] * Quits: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) (Quit: brb)
- # [14:52] * Joins: plutoniix (~plutoniix@125.25.230.125.adsl.dynamic.totbb.net)
- # [15:02] * Quits: Taggnostr (~quassel@dyn57-362.yok.fi) (Read error: Connection reset by peer)
- # [15:02] * Joins: Evanescence (~Evanescen@60.183.230.36)
- # [15:03] * Quits: danielfilho (~daniel@187.31.77.7) (Quit: </html>)
- # [15:08] * Quits: JohnAlbin (~JohnAlbin@114-42-54-208.dynamic.hinet.net) (Quit: HTTP/1.1 404 JohnAlbin Not Found)
- # [15:09] * Joins: JohnAlbin (~JohnAlbin@114-42-54-208.dynamic.hinet.net)
- # [15:09] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [15:12] * Joins: smaug____ (~chatzilla@212-226-67-242-nat.elisa-mobile.fi)
- # [15:18] <Philip`> Hmph, it looks like people have started doing animated ads with HTML instead of Flash now, so I can't trivially block them :-(
- # [15:19] <StoneCypher> yeah, when you try to starve sites of the revenue that makes them run, they fight you.
- # [15:21] <bga> Philip` * { animation: none !important } ?
- # [15:21] <StoneCypher> :/
- # [15:22] <webben> Philip`: Really? Got an example?
- # [15:23] <Philip`> bga: It's not CSS animation, it's just JS moving things around
- # [15:24] <bga> ah. i disabled js in browser so never see it
- # [15:24] <Philip`> webben: http://www.eurogamer.net/ (especially the "This weeks [sic] top games" on the right of the page, which is very distracting when trying to read any nearby text) (don't know if the ads are location-dependent)
- # [15:24] * Joins: ehsan (~ehsan@66.207.208.98)
- # [15:28] <annevk> argh
- # [15:28] <annevk> why does IE not support overrideMimeType
- # [15:28] <Workshiva> That would require supporting mime types to begin with :P
- # [15:29] <bga> annevk for what?
- # [15:29] <bga> binary data hack?
- # [15:29] <annevk> Workshiva: haha just dropping in at the appropriate times huh?
- # [15:29] <annevk> bga: testing euc-jp without much of a server
- # [15:30] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1400 intredasting
- # [15:30] <Workshiva> I'm always here, just not saying anything
- # [15:31] * Quits: gwicke (~gabriel@212.255.42.187) (Quit: Bye!)
- # [15:32] * Joins: twisted` (~anonymous@p5DDBAE96.dip.t-dialin.net)
- # [15:33] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [15:33] <Velmont> Bah, -- firefox doesn't fire success event after upgradeneeded after a second opening of a datababase. It seems very wrong, -- but I'm not sure if I did something wrong in the test.
- # [15:35] * Quits: Evanescence (~Evanescen@60.183.230.36) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [15:40] * Joins: eric_carlson (~eric@2620:149:4:1b01:bd7a:18b2:e9d6:9c1e)
- # [15:42] * Joins: izhak (1000@188.168.76.44)
- # [15:42] * Joins: tantek (~tantek@12.14.132.2)
- # [15:46] <annevk> well well
- # [15:46] <annevk> maybe I don't need to test IE
- # [15:46] * Quits: tantek (~tantek@12.14.132.2) (Client Quit)
- # [15:46] <annevk> for valid multi-octet sequences in euc-jp there's agreement between Chrome, Opera, and Firefox
- # [15:49] * Joins: chriseppstein (~chrisepps@209.119.65.162)
- # [15:52] <MikeSmith> annevk: btw we need tests for sandbox allow-popups behavior
- # [15:52] <MikeSmith> just sayin
- # [15:52] <MikeSmith> webkit and IE have both implemented it
- # [15:52] <MikeSmith> without a spec
- # [15:53] * Joins: ryanlabouve (~ryanlabou@d-ip-129-15-84-102.cas.ou.edu)
- # [15:53] <MikeSmith> so in order to make a proper spec we need to test it and see what we find
- # [15:53] <MikeSmith> jgraham: ↑
- # [15:53] <annevk> i'm not doing much with sandbox
- # [15:54] <annevk> ideally webkit/ie contribute some tests
- # [15:54] <MikeSmith> yeah
- # [15:54] <MikeSmith> but to be clear the spec work is blocked on that
- # [15:55] <MikeSmith> Hixie needs data in order to actually spec it out
- # [15:55] <MikeSmith> and I can write the tests myself if I need to I guess
- # [15:55] <MikeSmith> but really
- # [15:56] <annevk> oh did I make a comment about allow-popups somewhere?
- # [15:56] <MikeSmith> no, not you personally
- # [15:56] <annevk> my email to WHATWG was about script-opened links, unrelated to sandboxing
- # [15:57] <MikeSmith> my point is, when vendors unilaterally choose to implement something that's not in the spec, the least they can do is to provide cross-browser test cases for that feature
- # [15:58] <MikeSmith> because at this point it's yet another case of, We implemented this, now Hixie has to reverse-engineer what we implemented and make a spec for it
- # [15:59] <MikeSmith> which is fucktarded
- # [15:59] <annevk> no disagreement there :)
- # [15:59] <jgraham> MikeSmith: fucktarded it may be, but it is the traditional mode of operation :(
- # [16:00] <MikeSmith> yeah well
- # [16:00] <MikeSmith> it obviously doesn't scale
- # [16:00] <MikeSmith> one dude cannot be expected to single-handedly do that work
- # [16:01] <jgraham> In related news, the facebook mobile test thing that everyone got excited about links to a "feature" that has a Safari blog post for the "spec"
- # [16:03] <MikeSmith> jgraham: eh?
- # [16:03] <MikeSmith> which one?
- # [16:03] <MikeSmith> if that is the case, talk to Rick Waldron and have it fixed
- # [16:04] <jgraham> http://www.webkit.org/blog/176/css-canvas-drawing/
- # [16:04] * Quits: Lachy (Lachy@nat/opera/x-pclckgoavoisemdr) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [16:05] <MikeSmith> jgraham: and_
- # [16:05] <MikeSmith> jgraham: and?
- # [16:06] * Quits: jdong_bot_ (~jdong_bot@117.79.233.193) (Remote host closed the connection)
- # [16:07] <jgraham> MikeSmith: You asked which one. That one.
- # [16:07] <jgraham> Is there an actual spec for that?
- # [16:07] <jgraham> If so the test should link to it
- # [16:07] <jgraham> Anyway it's hardly the only problem with that test
- # [16:08] <jgraham> I thought maybe the Mobile Web Community Group were supposed to talk about this sort of thing but so far we had an argument about whether ipads are the only tablets
- # [16:08] <jgraham> Sorry "Core Mobile Web Platform"
- # [16:09] <jgraham> And afaik the code is still unreleased
- # [16:09] <beverloo> MikeSmith, already talked to him previously
- # [16:09] <jgraham> Although thegh do seem to have helpfully minimised the test code so its even harder to read than it was before
- # [16:09] <beverloo> it's intentional
- # [16:09] <beverloo> the test should "demonstrate what is relevant for authors"
- # [16:10] <jgraham> I would like to find out who these authors are, exactly
- # [16:11] <MikeSmith> beverloo: OK
- # [16:11] <jgraham> Although you would hope that something authors were actually clammering for would have gone from blogpost to draft spec in < 4 years
- # [16:12] * Quits: Ducki (~Ducki@pD9E39279.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
- # [16:12] * Joins: dydx (~dydz@adsl-76-199-101-60.dsl.pltn13.sbcglobal.net)
- # [16:13] * Joins: ksweeney (~Kevin_Swe@nyv-exweb.iac.com)
- # [16:14] * Quits: richt (richt@nat/opera/x-xpfwrdjpxjmugyah) (Remote host closed the connection)
- # [16:14] <jgraham> (In case anyone is listening and so that I can refer to the list later, rng.io also seems to be very confused about the perspective property, really really like Blobs and BlobBuilder - which will die, encourage implementation of old or prefixed forms, and have a really stupid scoring system)
- # [16:14] <jgraham> (there is probably more)
- # [16:16] <jgraham> (oh and it suggests implementing the details element, which I think should be gated on the WebComponents work, which isn't featured)
- # [16:17] * Quits: smaug____ (~chatzilla@212-226-67-242-nat.elisa-mobile.fi) (Ping timeout: 246 seconds)
- # [16:19] * Quits: Areks|2 (~Areks@rs.gridnine.com) (Ping timeout: 272 seconds)
- # [16:27] * Quits: dydx (~dydz@adsl-76-199-101-60.dsl.pltn13.sbcglobal.net) (Quit: dydx)
- # [16:29] * Joins: Lachy (~Lachy@guest.opera.com)
- # [16:35] <annevk> preferences on how to display what is essentially a sparse array? (extended jis208)
- # [16:36] <annevk> I'm thinking something like
- # [16:36] <annevk> 0210 0xFF17 #textual representation of code point
- # [16:36] <annevk> so 4-digit index, tab, code point, tab, comment
- # [16:36] <annevk> index in decimal
- # [16:37] <annevk> index skips FFFD segments
- # [16:38] <annevk> per usual nobody cares?
- # [16:38] <annevk> in a kingdom of one...
- # [16:39] * Quits: davidb (~davidb@66.207.208.98) (Read error: Connection reset by peer)
- # [16:39] * Quits: ehsan (~ehsan@66.207.208.98) (Read error: Connection reset by peer)
- # [16:39] * Joins: ehsan (~ehsan@66.207.208.98)
- # [16:39] * Joins: davidb (~davidb@66.207.208.98)
- # [16:43] * Joins: gwicke (~gabriel@212.255.42.187)
- # [16:43] * Quits: malydok (~marek@moma.t16.ds.pwr.wroc.pl) (Ping timeout: 252 seconds)
- # [16:48] <Hixie> MikeSmith: to be fair, two implementors implemented it (so it wasn't unilateral) and they did so after asking me to spec it (so it's not their fault there was no spec; i probably told them to give us an experimental implementation)
- # [16:49] <StoneCypher> Hixie: i just found out you also like The One True Tool
- # [16:49] <StoneCypher> Hixie: so a beer for you if we're ever in the same city
- # [16:49] * StoneCypher <3 princexml
- # [16:50] <Hixie> i don't drink :-P
- # [16:50] <StoneCypher> a coffee?
- # [16:50] <StoneCypher> ok.
- # [16:50] <Hixie> i don't do any drugs :-P
- # [16:50] <jgraham> StoneCypher: You should move rapidly to water
- # [16:50] <jgraham> Hixie is a cheap date
- # [16:50] <jgraham> ;)
- # [16:50] <Hixie> good fruit juices are more expensive than beer
- # [16:50] <StoneCypher> Hixie: An undefined desirable social beverage outing for you
- # [16:51] <StoneCypher> <hixie> I don't consume liquids
- # [16:51] <StoneCypher> point is, i just wanted to hurrah princexml fans
- # [16:51] <jgraham> Hixie: Not sure what constitues good, but that is mildly surprising (and almost certainly not true in scandinavia)
- # [16:52] <jgraham> (I'm mildly surprised it is true in california given the climate)
- # [16:52] <StoneCypher> jgraham: it is in areas where shipping is the dominant cost, because coffee beans weigh little
- # [16:52] <StoneCypher> also shelf space costs, etc
- # [16:53] <jgraham> I sort of imagine that in california you buy the fruit juice from organic farmer's markets
- # [16:53] <StoneCypher> i go to a good farmer's market and they never have juices other than cider there
- # [16:53] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
- # [16:53] <jgraham> But maybe we are comparing the price of good fruit juice in a pub/resturant to bad beer in the same establishment
- # [16:54] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 240 seconds)
- # [16:54] <StoneCypher> i think he meant at a juice bar like odwalla or jamba juice
- # [16:55] <Hixie> jgraham: how much would freshly pressed kiwi juice cost at your local bar, and how much would the same volume of your favourite beer cost?
- # [16:56] * Quits: jacobolus (~jacobolus@199.188.193.145) (Remote host closed the connection)
- # [16:57] <jgraham> Since I don't drink beer… (or alcohol in general)
- # [16:57] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [16:57] <jgraham> I'm not sure one can get fresh pressed kizi juice easilly here
- # [16:57] <annevk> my favorite beer in Sweden prolly costs more
- # [16:57] <jgraham> *kiwi
- # [16:57] <annevk> at least last time it was about EUR 20
- # [16:58] <annevk> you should be able to get kiwi juice for less :)
- # [16:58] <Hixie> jgraham: the cost would involve paying someone to go buy some kiwis, skin them, and press them, and it takes a _lot_ of kiwis for a pint. and kiwis aren't cheap.
- # [16:58] <annevk> hmm yeah
- # [16:58] <Hixie> but anyway
- # [16:58] <annevk> :)
- # [16:59] <jgraham> I might accept that per ml kiwi juice is more expensive than many beers.
- # [16:59] <Hixie> my point is just that fruit juices, when treated the same way as other beverages, no longer seem like the "cheap" option
- # [16:59] <jgraham> (you probably want to drink less fruit juice though)
- # [17:00] <matjas> annevk: “strangely Firefox does it using "visibility: hidden", Opera accepts both ways, Safari/Chrome accepts none” — http://twitter.com/diegoperini/status/180320317238034432 interesting
- # [17:00] * Quits: ryanlabouve (~ryanlabou@d-ip-129-15-84-102.cas.ou.edu) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [17:05] <annevk> matjas: presumably because when you use visibility, layout still happens
- # [17:06] <annevk> matjas: whereas with display:none you don't generate a box and as optimization you can skip stuff (and they prolly skip applying background incorrectly)
- # [17:06] <annevk> but you know, that's guessing about implementation details
- # [17:09] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [17:10] <annevk> ooh
- # [17:10] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [17:10] <annevk> jis212 is not entirely interoperable
- # [17:10] * Quits: yijun (~yijun@059148184190.ctinets.com) (Quit: yijun)
- # [17:10] <annevk> one minor difference between Opera and Gecko, and a dozen or so between Opera/Gecko and Chrome
- # [17:11] <annevk> well 20
- # [17:11] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Client Quit)
- # [17:11] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [17:11] * Quits: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)
- # [17:12] <annevk> aah
- # [17:12] <annevk> difference between Opera and Gecko/Chrome is that Opera emits a normal tilde whereas Gecko/Chrome emit a fullwidth tilde
- # [17:13] * Quits: dirkpennings (~dirkpenni@90-145-26-140.bbserv.nl)
- # [17:16] * Quits: niloy (~niloy@61.12.96.242) (Remote host closed the connection)
- # [17:16] <Velmont> Nice discussion on drinks and stuff. -- I find it hard to find good, interesting stuff in bars etc since I don't really drink alcohol.
- # [17:17] <Velmont> Some places has exotic non-alcoholic beer, so I take that, -- but there's very little fruit juice going on. Normally only some sour non-fresh orange juice which I most decidedly don't want.
- # [17:17] <Velmont> But having real fresh stuff would be A+. I'd take that.
- # [17:17] <jgraham> I imagine that one advantage of living in California is that they actually have fruit
- # [17:17] <annevk> I never get much further than bitter lemon / tonic / cola in a bar
- # [17:18] <annevk> but then I like beer too
- # [17:18] * Parts: ksweeney (~Kevin_Swe@nyv-exweb.iac.com)
- # [17:18] <jgraham> Well, we have fruit too; Apples in the autum, strawberries for 2 weeks, raspberries for two weeks and blueberries for a while
- # [17:18] <Velmont> Yes, California > Norway there I guess ;-)
- # [17:18] <jgraham> It doesn't seem to be enough to have a fruit-based drinking culture
- # [17:19] <Velmont> Yes. Strawberries are very good though. -- Much better than the cheapo non-tasting stuff we get from spain, turkey etc.
- # [17:19] <jgraham> Indeed, soft fruits like cold climates
- # [17:19] <jgraham> Also, the varieties that last long enough to be transported are not the ones that taste good
- # [17:20] <Velmont> :-) -- I'm SO looking forward to summer. Has been so hot in Oslo last days, - early spring I hope.
- # [17:20] <jgraham> You mean as much as +10?
- # [17:20] <jgraham> :)
- # [17:21] * Quits: izhak (1000@188.168.76.44) (Ping timeout: 248 seconds)
- # [17:21] <jgraham> (I think it reached +12 here which is crazy-warm for March)
- # [17:21] * Joins: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net)
- # [17:21] <Velmont> jgraham: +17 in shadows on monday, used 1h lunch just sitting out in the sun. Niiice. -- Has been really sunny every day. --- BTW, that's actually the highest ever recorded in Oslo so early.
- # [17:23] * Joins: smaug____ (~chatzilla@GZYYYCXCII.gprs.sl-laajakaista.fi)
- # [17:25] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Remote host closed the connection)
- # [17:30] * Quits: hober (~ted@unaffiliated/hober) (Ping timeout: 252 seconds)
- # [17:30] * Joins: dave_levin (dave_levin@nat/google/x-mpcoxohkyveeqmhz)
- # [17:33] <jgraham> +17? Crazy times
- # [17:37] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
- # [17:37] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [17:40] <bga> http://pastebin.com/NKbnh8q8
- # [17:47] * Joins: dglazkov (u4270@gateway/web/irccloud.com/x-etpnhxxyesomwenp)
- # [17:51] <Velmont> Wat. Seems silly.
- # [17:53] * Joins: coda (coda@tele.fragged.org)
- # [17:54] * Parts: coda (coda@tele.fragged.org)
- # [18:00] * Philip` wonders if they're aware that the IP addresses don't each correspond to a single server, they're pools of many servers spread around the world
- # [18:01] * Quits: Lachy (~Lachy@guest.opera.com) (Quit: Computer has gone to sleep.)
- # [18:01] <Velmont> Would think so, as it is very common knowlegde.
- # [18:01] <StoneCypher> assuming sophistication of an ill organized mob of script kiddies?
- # [18:01] <StoneCypher> i wouldn't.
- # [18:05] * Joins: Ms2ger (~Ms2ger@91.181.21.107)
- # [18:05] * Joins: hober (~ted@unaffiliated/hober)
- # [18:11] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Remote host closed the connection)
- # [18:20] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [18:25] * Quits: woef (~woef@91.183.84.141) (Ping timeout: 252 seconds)
- # [18:28] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [18:28] * Joins: ap (~ap@2620:149:4:1b01:95e4:878b:8997:2d0d)
- # [18:29] * Joins: tomasf_ (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [18:29] * Quits: tomasf (~tom@2002:55e5:dbb7:0:5434:e1ce:14e2:9411) (Read error: Connection reset by peer)
- # [18:29] * tomasf_ is now known as tomasf
- # [18:30] * Quits: nonge (~nonge@p5082A0D1.dip.t-dialin.net) (Quit: Verlassend)
- # [18:43] * Joins: pablof (~pablof@144.189.101.1)
- # [18:44] * Joins: dbaron (~dbaron@nat/mozilla/x-nspwkduufutbuasl)
- # [18:48] <annevk> ugh
- # [18:48] <annevk> shift_jis to euc-jp is one ugly algorithm
- # [18:48] <annevk> and not even properly explained
- # [18:48] <annevk> it works
- # [18:49] <annevk> the CJKV book just explains the C code
- # [18:49] <annevk> not the logic
- # [18:49] <annevk> lame
- # [18:49] <annevk> i guess i'll just copy and paste to English
- # [19:00] * Joins: maikmerten (~maikmerte@port-92-201-104-180.dynamic.qsc.de)
- # [19:02] * Joins: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com)
- # [19:04] * Joins: weinig (~weinig@17.212.155.45)
- # [19:05] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [19:05] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [19:06] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 248 seconds)
- # [19:06] * Joins: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [19:06] * riven` is now known as riven
- # [19:06] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [19:06] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [19:12] * Quits: jochen__ (jochen@nat/google/x-dkgfcryiekznpxoo) (Remote host closed the connection)
- # [19:13] * Joins: jochen__ (jochen@nat/google/x-sjuuxwkajuyeaipt)
- # [19:13] * Joins: sicking (~chatzilla@c-98-210-152-4.hsd1.ca.comcast.net)
- # [19:17] * Joins: jernoble (~jernoble@2620:149:4:1b01:f84b:fe6a:fd03:e256)
- # [19:18] <TabAtkins_> annevk: re: the bug, presumably you're talking just about Selectors-in-JS, not the existing element() feature?
- # [19:21] <annevk> if select() takes an arbitrary Selector that seems kind of weird too
- # [19:21] <annevk> I think it's better if you keep in-tree and out-of-tree as separate concepts
- # [19:21] <TabAtkins_> When that happens, the alternate behavior will only trigger for a single id selector.
- # [19:22] <annevk> and especially keep Selectors only matching in-tree
- # [19:23] <TabAtkins_> I disagree, and would like to keep the feature as it's currently written. (It's awkward to do so, since bare idents look like tagname selectors...)
- # [19:23] <TabAtkins_> But I'm fine if the answer is "no, it shouldn't have any relevance to DOM".
- # [19:25] * Joins: Taggnostr (~quassel@dyn57-362.yok.fi)
- # [19:26] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
- # [19:28] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [19:28] <annevk> modifying Selectors to match out-of-tree elements sounds very much like the wrong approach
- # [19:29] <TabAtkins_> Shrug. It seems useful here, and it's what Mozilla is already doing.
- # [19:29] <annevk> I'm not sure if that is what's going on here though as I haven't really read the element() proposal
- # [19:29] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 252 seconds)
- # [19:29] <annevk> that's not a very compelling argument to break a Selector invariant
- # [19:29] <TabAtkins_> So, short summary:
- # [19:30] <TabAtkins_> element() takes an id selector, and represents an image that looks like the referenced element.
- # [19:30] <annevk> next you're going to suggest we should let them match Text nodes :)
- # [19:30] * jwalden wants support for selectors that match comment nodes
- # [19:30] <TabAtkins_> Right now we phrase the out-of-doc thing as something that host languages can define.
- # [19:30] <TabAtkins_> But we may just make it explicit and put it into CSSOM or something.
- # [19:32] <annevk> it's very weird to have IDs matched outside the tree
- # [19:33] <annevk> there's no such feature currently
- # [19:33] <Ms2ger> element.getElementById?
- # [19:33] <annevk> Ms2ger: I thought that only matched in the tree
- # [19:33] * Joins: snowfox (~benschaaf@50-77-199-197-static.hfc.comcastbusiness.net)
- # [19:33] <annevk> it does
- # [19:34] <Ms2ger> Oh
- # [19:34] <Ms2ger> In the subtree rooted at the element, you mean
- # [19:35] <annevk> I mean it doesn't match e=document.createElement("test");e.id='x'
- # [19:35] <Ms2ger> Yeah
- # [19:35] <TabAtkins_> Strictly, element() *doesn't* match ids outside the tree.
- # [19:35] <Ms2ger> I meant that it does match elements that aren't in a document
- # [19:35] <Ms2ger> (On which the spec was wrong previously)
- # [19:36] <TabAtkins_> However, it an id selector didn't match an element, it instead consults the map.
- # [19:36] <TabAtkins_> Which can contain in-document or out-of-document elements.
- # [19:46] <annevk> Ms2ger: oh
- # [19:47] <annevk> TabAtkins_: I think it would be better to have a special look-in-map thing than this fallback magic
- # [19:47] <annevk> TabAtkins_: e.g. have element() for in-document and element-map() for this
- # [19:53] * riven` is now known as riven
- # [19:53] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [19:53] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [20:02] * Joins: jamesr (~jamesr@216.239.45.19)
- # [20:07] <TabAtkins_> annevk: That seems silly to me.
- # [20:09] * Parts: ard_ (ard@dracul.kill.pl)
- # [20:16] <annevk> why?
- # [20:18] <Hixie> i have to say i do find it weird to have the #id mechanism match things by something other than the element's one true ID
- # [20:18] <Hixie> especially so soon after we've gone to the effort of erradicating all possible ways of having more than one ID
- # [20:19] <annevk> oh yeah, if there's a custom identifier it seems even more wrong to use Selectors
- # [20:19] <TabAtkins_> Shrug.
- # [20:20] * Quits: smaug____ (~chatzilla@GZYYYCXCII.gprs.sl-laajakaista.fi) (Ping timeout: 272 seconds)
- # [20:21] <rniwa> annevk, Ms2ger: regions spec apparently have flow change event or whatever
- # [20:21] <rniwa> that fires after flow changes :(
- # [20:21] * Quits: dbaron (~dbaron@nat/mozilla/x-nspwkduufutbuasl) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [20:21] <Ms2ger> I sure hope nobody implements the regions cssom
- # [20:21] <Hixie> events from layout? lordy
- # [20:21] <rniwa> Ms2ger: webkit is doing that :(
- # [20:22] <rniwa> i'm trying to convince folks not to do it
- # [20:22] <TabAtkins_> We need some way to be able to refer to elements outside the DOM, it seems silly to add a second function with identical functionality just to do that type of referring, and leaning on the #id syntax appears to be the easiest way to merge the two functionalities together.
- # [20:22] <TabAtkins_> rniwa: Complain about it on www-style?
- # [20:22] <rniwa> TabAtkins_: i'm kicked out of www-style for some random mail deamon issue
- # [20:23] <TabAtkins_> rniwa: Ah, that sucks.
- # [20:23] <Ms2ger> It seems like there's more things wrong than right about that part of the spec...
- # [20:23] <TabAtkins_> Send the email to me and I'll forward it?
- # [20:23] * Joins: riven` (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [20:23] <rniwa> TabAtkins_: maybe.
- # [20:23] <rniwa> TabAtkins_: i'm hoping that people who are more familiar with the matter can comment on it
- # [20:23] <annevk> it's not identical functionality if you need a CSSElementMap etc.
- # [20:24] <annevk> it's very much a completely separate thing
- # [20:24] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Ping timeout: 272 seconds)
- # [20:24] <Hixie> yeah if we're adding a whole bunch of api surface anyway, what's a new selector
- # [20:24] <TabAtkins_> rniwa: I'm not familiar with the matter, so shrug.
- # [20:25] * jernoble is now known as jernoble|afk
- # [20:25] <TabAtkins_> Ms2ger: Details? I've been fixing odd corners as they come up, but there isn't much.
- # [20:25] * riven` is now known as riven
- # [20:25] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [20:25] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [20:31] <TabAtkins_> Argh, I can't get my fingers to stop typing "cvs commit" when I mean "hg commit".
- # [20:32] * Joins: othermaciej (~mjs@17.245.91.252)
- # [20:32] <Ms2ger> alias cvs hg
- # [20:32] <TabAtkins_> I was thinking about that.
- # [20:33] <annevk> Ms2ger: afaict http://mxr.mozilla.org/mozilla-central/source/intl/uconv/ucvja/nsJapaneseToUnicode.cpp#205 is dead code
- # [20:33] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [20:33] <annevk> Ms2ger: same goes for some stuff in japanese.map; also, http://mxr.mozilla.org/mozilla-central/source/intl/uconv/ucvja/japanese.map#80 0x80 is not handled there
- # [20:34] <Ms2ger> Looks like it's called from the old HTML parser
- # [20:34] <Ms2ger> Not sure if it's dead yet
- # [20:36] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [20:36] <annevk> o_O
- # [20:36] <annevk> that's some weird stuff
- # [20:36] <Ms2ger> The old HTML parser?
- # [20:36] <Ms2ger> Yes
- # [20:38] * jernoble|afk is now known as jernoble
- # [20:40] <annevk> TabAtkins_: if you're not interested in feedback you should not edit specs
- # [20:40] <annevk> shrug away
- # [20:41] <Ms2ger> Uh?
- # [20:41] <TabAtkins_> annevk: Uh, what.
- # [20:41] <annevk> https://www.w3.org/Bugs/Public/show_bug.cgi?id=16169#c5
- # [20:41] <TabAtkins_> Or let me put that more appropriately:
- # [20:41] <TabAtkins_> lolwut
- # [20:41] <TabAtkins_> I rejected your feedback because I disagree.
- # [20:41] <TabAtkins_> That's a perfectly normal thing to do.
- # [20:42] <TabAtkins_> As is attempting to focus a bug on the question at hand rather than a related tangent.
- # [20:42] <annevk> not if there's no argument
- # [20:42] <TabAtkins_> The argument was "I think it's fine, and it matches an existing implementation." Since your argument was "I think it's better this way", that seems about right.
- # [20:43] * Joins: smaug____ (~chatzilla@193-64-21-168-nat.elisa-mobile.fi)
- # [20:44] <TabAtkins_> There's nothing technically wrong with the feature as specced; you disagree with it from an aesthetic perspective. That's not unimportant, but it does mean that it's hard to be "right".
- # [20:45] <annevk> it breaks an invariant of selectors
- # [20:45] <annevk> that's not aesthetics
- # [20:46] <TabAtkins_> But it doesn't.
- # [20:47] * hober agrees with annevk
- # [20:47] <TabAtkins_> Because there isn't any such invariant.
- # [20:49] <AryehGregor> If we're talking about #foo meaning anything other than "an element in the document with id="foo"", I also agree with annevk.
- # [20:51] * Quits: maikmerten (~maikmerte@port-92-201-104-180.dynamic.qsc.de) (Remote host closed the connection)
- # [20:59] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [21:01] * Joins: weinig_ (~weinig@17.245.90.191)
- # [21:02] * Quits: karlcow_ (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [21:02] * Joins: heycam|away (~cam@wok.mcc.id.au)
- # [21:05] * Quits: weinig (~weinig@17.212.155.45) (Ping timeout: 276 seconds)
- # [21:05] * weinig_ is now known as weinig
- # [21:05] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [21:11] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [21:15] * jernoble is now known as jernoble|afk
- # [21:16] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [21:20] * Quits: erichynds (~ehynds@venkman.brightcove.com)
- # [21:21] * Joins: cpearce (~cpearce@ip-118-90-46-51.xdsl.xnet.co.nz)
- # [21:24] * Joins: eae (u4278@gateway/web/irccloud.com/x-ilzzwzjfywppucyk)
- # [21:24] * Joins: ezoe (~ezoe@203-140-88-224f1.kyt1.eonet.ne.jp)
- # [21:29] * Quits: nielsle (~nielsle@3239059-cl69.boa.fiberby.dk) (Quit: Ex-Chat)
- # [21:31] * Quits: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net) (Remote host closed the connection)
- # [21:34] * Quits: weinig (~weinig@17.245.90.191) (Quit: weinig)
- # [21:34] <jgraham> +1 on #id matching out of document being all kinds of wrong
- # [21:36] <smaug____> ID matching out of document sounds broken
- # [21:40] <TabAtkins_> Sigh. I strongly suspect the context is lost here.
- # [21:41] <TabAtkins_> In particular, I could just define that, for the purpose of selector matching, elements in the CSSElementMap are "in document" but are root elements following the normal document root.
- # [21:41] * Joins: Lachy (~Lachy@cm-84.215.13.244.getinternet.no)
- # [21:42] <TabAtkins_> This is *not* about, say, creating an element with an id from script, not inserting it into the document, and then expecting document.getElementById('foo') to return it.
- # [21:42] <rniwa> AryehGregor, annevk: https://bugs.webkit.org/show_bug.cgi?id=81141
- # [21:42] <TabAtkins_> (I wouldn't go to that trouble, because there's no need to, but whatever.)
- # [21:42] <rniwa> fixing a mutation event bug resulted in a regression :(
- # [21:42] <rniwa> i.e. we can't implement mutation events as spec'ed. if we did, we break the web
- # [21:43] <rniwa> epic fail...
- # [21:43] <Hixie> TabAtkins_: fwiw my problem isn't with it matching things out of document, i think that selectors matching things out of document is fine, that the scope should be up to whoever is defining the selector context
- # [21:43] <Hixie> TabAtkins_: my problem is with ID selectors matching things that aren't IDs :-)
- # [21:43] <jgraham> TabAtkins_: You could define that, but I still think it is weird and wrong
- # [21:43] * AryehGregor agrees with Hixie
- # [21:44] <TabAtkins_> Hixie: What's wrong with defining more than just the @id attribute to provide an ID for an element?
- # [21:45] <Ms2ger> We just killed that
- # [21:45] <Hixie> TabAtkins_: we just spent a bunch of effort erradicating every last thing that allowed multiple IDs per element (ask anne and Ms2ger for why)
- # [21:45] <Ms2ger> Ask anne :)
- # [21:45] <TabAtkins_> I'd like some context, yeah.
- # [21:47] * jgraham also doesn't like the fact that the "same" selector matches different things according to context
- # [21:51] * Joins: demet8 (~demet8@67.8.186.94)
- # [21:51] <othermaciej> TabAtkins_: I think it would be super confusing for the id selector to match by something that's not visible to getElementById()
- # [21:52] * gsnedders agrees with othermaciej
- # [21:52] * Parts: demet8 (~demet8@67.8.186.94)
- # [21:52] <annevk> TabAtkins_: e.g. there was xml:id, DTD IDs, id="", etc.
- # [21:52] * Joins: drublic (~drublic@frbg-5f7329bf.pool.mediaWays.net)
- # [21:52] <annevk> TabAtkins_: now there's just id=""
- # [21:52] <TabAtkins_> annevk: Those all affected the DOM (or at least, were supposed to), right?
- # [21:53] <annevk> they were all ways to give an element multiple IDs
- # [21:54] <TabAtkins_> othermaciej, jgraham : I welcome suggestions on how to fit it into the syntax otherwise.
- # [21:54] <TabAtkins_> Note our current constraints: We expect element() to be extended in the future to accept arbitrary selectors (not just id selectors, as it does currently). We also expect it to be extended to accept urls as <string>s.
- # [21:55] <annevk> rniwa: breaking mutation events works for me
- # [21:55] <othermaciej> TabAtkins_: one possibility is to have a list, rather than a map, of out-of-document elements whose actual id attribute will be visible to id selectors, getElemetById(), and all other id lookup mechanisms
- # [21:55] <annevk> rniwa: the plan is to nuke them completely
- # [21:55] <rniwa> annevk: ok, thanks
- # [21:56] <annevk> rniwa: the more they become broken, the easier it is to convince people to use mutation observers...
- # [21:56] <othermaciej> TabAtkins_: I'm not sure offhand if that is a good idea, but at least it avoids multiple ids and selector vs. DOM divergence on what is an id
- # [21:58] <TabAtkins_> othermaciej: Interesting.
- # [22:02] <Hixie> that would also let us kill the csselementmap
- # [22:02] <Hixie> i'm always in favour of removing features without hurting use cases :-)
- # [22:03] <TabAtkins_> Well, it would kill it by replacing it with something else.
- # [22:03] <Hixie> can i just say that it is mildly confusing that what WebIDL calls sequences (sequence<foo>) is an Array and what it calls arrays (foo[]) is not?
- # [22:03] <TabAtkins_> With the "something else" being roughly equally complicated.
- # [22:03] <Hixie> TabAtkins_: i guess
- # [22:04] <TabAtkins_> The use-case I'm trying to hit is really important and needs *something* along these lines, no matter the syntax.
- # [22:04] <Hixie> TabAtkins_: makes your life easier though, since it would be css-independent
- # [22:04] <Hixie> makes my life easier too
- # [22:04] <Hixie> it would be anne's problem :-D
- # [22:04] <annevk> Hixie: I think sequence is not necessarily an array
- # [22:05] <Hixie> annevk: "IDL sequence<T> values are represented by ECMAScript Array values"
- # [22:05] <TabAtkins_> annevk doesn't think there's a use-case for it in JS (and I agree). The only benefit of making this visible to the rest of DOM is to make sure that element() selectors match the same elements that JS selectors do.
- # [22:05] <annevk> Hixie: oh I thought sequence stuff was for passing in arguments and could be anything array-like
- # [22:05] <annevk> hmm
- # [22:06] <annevk> I keep getting confused by Web IDL
- # [22:06] <Hixie> annevk: i'm talking about return values, might be different for receiving values
- # [22:06] <annevk> not good :/
- # [22:06] <annevk> I didn't know it could be a return value
- # [22:07] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Remote host closed the connection)
- # [22:07] <annevk> so sequences can only be returned from methods per http://dev.w3.org/2006/webapi/WebIDL/#idl-sequence
- # [22:08] <Hixie> right
- # [22:08] * Quits: Lachy (~Lachy@cm-84.215.13.244.getinternet.no) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [22:12] * jernoble|afk is now known as jernoble
- # [22:14] * Joins: weinig (~weinig@17.245.90.191)
- # [22:16] <othermaciej> Hixie: I think the [] stuff should possibly be just made a synonym for sequence<>, if there's nothing actively using it
- # [22:16] <othermaciej> I don't think the [] fake arrays are very useful
- # [22:16] * Quits: weinig (~weinig@17.245.90.191) (Remote host closed the connection)
- # [22:16] <Ms2ger> But live stuff
- # [22:16] * Quits: MacTed (~Thud@63.119.36.36)
- # [22:16] * Joins: weinig (~weinig@17.212.155.45)
- # [22:16] <annevk> othermaciej: actual JS Arrays can be mutated
- # [22:17] <Hixie> yeah i use the [] thing
- # [22:17] <annevk> othermaciej: which is problematic
- # [22:18] <annevk> othermaciej: I do agree it would be nice if it was all somewhat simpler though, but I don't know enough about all the constraints
- # [22:21] <jgraham> Seems like the nice solution would be to invent a time machine and add immutable arrays to js about 15 years ago
- # [22:21] <jgraham> Dunno how much it would help to do it now (except that immutable data structures are pretty nice in some situations ofc)
- # [22:22] <Ms2ger> Well, just immutable by script
- # [22:22] <Hixie> if you invent a time machine, i have some higher priorities for you
- # [22:23] <Hixie> even just within the scope of js!
- # [22:23] <Ms2ger> longdesc?
- # [22:23] <Philip`> If you invent a time machine you don't need to bother with priorities, you can just do everything simultaneously
- # [22:23] <Hixie> Philip`: depends how it works!
- # [22:23] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [22:24] <Ms2ger> But as it's unlikely we'll invent any kind, please go ahead and fix HTML bugs :)
- # [22:25] * Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)
- # [22:28] <annevk> if we do, make everything utf-8 only kthxbai
- # [22:30] * Quits: LBP (~Mirc@pD9EB14C0.dip0.t-ipconnect.de) (Quit: Bye, bye! See you on http://leanbackplayer.com)
- # [22:30] * Quits: snowfox (~benschaaf@50-77-199-197-static.hfc.comcastbusiness.net) (Quit: snowfox)
- # [22:35] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [22:47] <annevk> http://www.ted.com/talks/rob_reid_the_8_billion_ipod.html
- # [22:49] <bga> http://www.opencalais.com/about
- # [22:50] <Ms2ger> http://www.catsguru.com/wp-content/uploads/2010/09/new-kitten.jpg
- # [22:51] * Quits: skylamer` (cgskylamer@78.90.213.55) (Remote host closed the connection)
- # [22:51] * gsnedders definitely prefers Ms2ger's link
- # [22:51] * Joins: tantek (~tantek@12.14.132.2)
- # [22:53] * Joins: erichynds (~ehynds@pool-71-184-234-218.bstnma.fios.verizon.net)
- # [22:55] <bga> photoshop
- # [23:02] <jgraham> Open Calais? Presumably that's when there isn't a strike on in France
- # [23:02] * Quits: gwicke (~gabriel@212.255.42.187) (Quit: Bye!)
- # [23:03] <Ms2ger> One day a year?
- # [23:03] <jgraham> Oh, do they have a special holiday?
- # [23:03] * jernoble is now known as jernoble|afk
- # [23:07] * jernoble|afk is now known as jernoble
- # [23:07] * Quits: tantek (~tantek@12.14.132.2) (Quit: tantek)
- # [23:08] <Hixie> ok. let's talk dash styles.
- # [23:08] <Hixie> it's an array of lengths.
- # [23:08] <Ms2ger> Let's not :)
- # [23:09] <Hixie> odd lengths give the distance "on" and even ones the distance "off"
- # [23:09] <Hixie> odd-length arrays are doubles so you get the effect then the mirror
- # [23:09] <Hixie> e.g. 1,2,3 becomes -__---_--___
- # [23:09] <Hixie> so. zeroes.
- # [23:09] * Quits: ehsan (~ehsan@66.207.208.98) (Remote host closed the connection)
- # [23:09] <Hixie> we strip zero-length segments, so it's a bit like they weren't there
- # [23:10] <Hixie> 1,0,1,2 is like 2,2
- # [23:10] * Joins: sarro (~sarro@i5E8647C8.versanet.de)
- # [23:10] * Quits: graememcc (~chatzilla@host31-53-74-16.range31-53.btcentralplus.com) (Quit: ChatZilla 0.9.88.1 [Firefox 10.0.2/20120216081259])
- # [23:10] <Ms2ger> Is it?
- # [23:10] <Ms2ger> Not like 1,1,2?
- # [23:11] <Hixie> 1,0,1,2 becomes "- (zero-length off) - __" i.e. "--__" i.e. 2,2
- # [23:11] <Ms2ger> Doesn't look like stripping them, then :)
- # [23:12] <Hixie> zero-length line segments, not zero entries in the array, sorry
- # [23:12] <zewt> collapsed/coalesced/whatever
- # [23:12] <Hixie> i don't think we should throw an exception for zeros, since you could end up with them when you're just making a gap smaller and smaller
- # [23:12] <Ms2ger> Go on :)
- # [23:12] <Hixie> so what happens to trailing zeroes?
- # [23:12] <Hixie> 1,0 => solid? or same as 1,1?
- # [23:13] <Hixie> i'd say solid
- # [23:13] <zewt> 1,1 doesn't make sense
- # [23:13] <zewt> (from 1,0)
- # [23:13] <Hixie> ok
- # [23:13] <Hixie> so what does 0,1,0 become?
- # [23:13] <TabAtkins_> Hixie: Yes, 1,0,1,2 shoudl basically look like 2,2.
- # [23:13] <TabAtkins_> 0,1,0 looks like no stroke at all.
- # [23:13] <zewt> what do odd-length sequences mean?
- # [23:13] <TabAtkins_> zewt: Repeat the sequence once.
- # [23:13] <TabAtkins_> zewt: So you get an even-length one.
- # [23:14] <Ms2ger> 1,1?
- # [23:14] <zewt> so repeat it before eliminating zeroes
- # [23:14] * Joins: rniwa (rniwa@nat/google/x-wtfnkecrcaepvbqz)
- # [23:14] <jgraham> You don't eliminate zeros afaict
- # [23:14] <TabAtkins_> zewt: Yeah. You don't *actually* eliminate zeros.
- # [23:14] * Hixie is planning on eliminating zeroes
- # [23:14] <TabAtkins_> But zero-length segments are treated like they're not there, and Hixie defines dashes by cutting up a segment into lots of little segments.
- # [23:14] <zewt> 0,1,0 -> 0,1,0,1,0,1 -> 0,2,0,1 -> 0,3
- # [23:14] <TabAtkins_> Hixie: I suggest not doing something different from SVG.
- # [23:15] <jgraham> Hixie: Zeros seem to be entirely non magical?
- # [23:15] <jgraham> I mean they are just a segment of length 0
- # [23:15] <Hixie> TabAtkins_: do they draw line caps between the segments in 1,0?
- # [23:15] <TabAtkins_> Hixie: Let me check!
- # [23:16] <Hixie> TabAtkins_: (are we sure svg drops zero-length path segments? so they can't do the "dash dot" effect with round dots?)
- # [23:16] <TabAtkins_> How do I trigger linecaps here? You mean like having a path with an M instruction happening in the middle of a segment?
- # [23:16] <Hixie> i dunno how svg does it
- # [23:16] <Hixie> in canvas, you get a line cap at the ends of each subpath
- # [23:16] <Hixie> depends on context.lineCap
- # [23:16] <TabAtkins_> Okay.
- # [23:16] <Hixie> or lineCaps
- # [23:17] <Hixie> or something
- # [23:17] <TabAtkins_> Same deal, then. an M starts a new subpath.
- # [23:17] <TabAtkins_> Triggering linecaps.
- # [23:19] * Quits: cpearce (~cpearce@ip-118-90-46-51.xdsl.xnet.co.nz) (Ping timeout: 244 seconds)
- # [23:20] <bga> <picture> is just kind a old <img> w/ lowsrc ?
- # [23:20] <Hixie> TabAtkins_: but do they ahve them between zero-width gaps in dashed lines?
- # [23:20] <TabAtkins_> Hixie: SVG drops 0s entirely:
- # [23:20] <TabAtkins_> So "1 0" doesn't trigger any linecaps.
- # [23:21] <Hixie> what does 0 1 do?
- # [23:21] <TabAtkins_> No path displayed at all.
- # [23:21] <Hixie> interesting
- # [23:21] <Hixie> where is this defined?
- # [23:21] <heycam|away> TabAtkins_, what's the example again?
- # [23:21] * heycam|away is now known as heycam
- # [23:21] <TabAtkins_> I'm running off of Chrome's SVG impl right now. ^_^&
- # [23:22] <heycam> "dropping 0s" doesn't sound right to me but I missed the exact context
- # [23:22] <TabAtkins_> heycam: <path d="M 10 10 h 100 M 10 20 h 100" stroke-dasharray="10 0" stroke="black" stroke-width="5" stroke-linecap="round" />
- # [23:22] <Hixie> TabAtkins_: oh i thought you were checking the spec :-)
- # [23:22] <TabAtkins_> Let's see what the SVg spec actually says...
- # [23:22] <Hixie> TabAtkins_: don't trust implementations on edge cases like this :-)
- # [23:22] <heycam> that should mean round dashes of length 10 which overlap each other, I think
- # [23:23] <heycam> overlap on the round bits
- # [23:23] <TabAtkins_> Hm, wait.
- # [23:23] <TabAtkins_> I may not be able to detect it with this case.
- # [23:23] <TabAtkins_> Need some opacity.
- # [23:23] <Hixie> or a corner
- # [23:23] <Hixie> corner is better
- # [23:23] <Hixie> opacity doesn't necessarily work, depends how the stroke is defined
- # [23:23] <Hixie> and i don't know if svg is detailed enough about that
- # [23:23] <TabAtkins_> Ah, true.
- # [23:24] <heycam> if you make it stroke-dasharray="10 2" you can see the overlap
- # [23:24] <heycam> i.e. you can see where the round bits are nearly completely overlapping
- # [23:24] <TabAtkins_> Yeah, but that's easy.
- # [23:25] * Quits: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:25] <heycam> what's the problem with the 0?
- # [23:25] <TabAtkins_> We need a way to detect the difference between "fully overlapping" and "no linecap at all".
- # [23:25] <TabAtkins_> I think Hixie's right that a corner would work.
- # [23:25] <Hixie> heycam: does svg say to cut the line at a zero-length dash, or does it let the line be solid?
- # [23:25] <Hixie> no line cap with a corner is another way of testing it
- # [23:25] <Hixie> since you'll have or not have a join
- # [23:25] <heycam> it doesn't say to cut the dash if the cap overlaps it
- # [23:25] <Hixie> if the gap occurs right at the corner
- # [23:26] <Hixie> heycam: forget the cap
- # [23:26] <heycam> but I doubt it says anything that detailed
- # [23:26] <heycam> ok
- # [23:26] <Hixie> heycam: i the line dash pattern is 10 on, 0 off
- # [23:26] <Hixie> heycam: and you stroke a line of length 20
- # [23:26] <TabAtkins_> Ok, Chrome at least *does* draw linecaps between segments separated by a 0 off segment.
- # [23:26] <heycam> Hixie, yes...
- # [23:26] <Hixie> heycam: and your line has a corner at distance 10
- # [23:27] <Hixie> heycam: does svg say if you lose the join or not?
- # [23:27] <TabAtkins_> <path d="M 10 10 h 40 v 40" stroke-dasharray="40 0" stroke="rgba(0,0,0,.5)" stroke-width="5" stroke-linecap="round" fill='transparent'/>
- # [23:28] <TabAtkins_> The corner is rounded, indicating the linecap is respected. (linejoin is miter by default, and so would produce a sharp corner if the segments were merged.)
- # [23:28] <heycam> sorry I'm confused :)
- # [23:28] <TabAtkins_> SVG doesn't mention anything about coalescing segments, so it looks like we cal call Chrome's behavior compliant.
- # [23:28] <heycam> ah the join
- # [23:29] <TabAtkins_> heycam: Yeah, we're trying to tell whether a 0-length "off" segment causes the two surrounding "on" segments to coalesce or not.
- # [23:29] <heycam> TabAtkins_, that corner is square in Firefox :)
- # [23:29] <TabAtkins_> heycam: But the ends are round?
- # [23:29] <heycam> yeah
- # [23:29] <TabAtkins_> Then Firefox coalesces segments.
- # [23:30] <heycam> interesting
- # [23:30] <TabAtkins_> Which sounds like *more* work than just leaving it alone.
- # [23:30] <heycam> this is likely to be differences in the underlying graphics libraries
- # [23:31] <TabAtkins_> Could be, yeah.
- # [23:31] <heycam> which are doing the stroking
- # [23:31] <Hixie> ( http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1402 is a clearer test case)
- # [23:31] <Hixie> hm, no opera on this machine, since i reset it the other day
- # [23:32] <Hixie> what's the url to the opera nightly builds?
- # [23:32] <heycam> no dot on my opera
- # [23:32] <Hixie> i get no dot in safari either
- # [23:32] <Hixie> or firefox
- # [23:33] <Hixie> incidentally, svg does say "Any zero length subpath shall not be stroked if the ‘stroke-linecap’ property has a value of butt but shall be stroked if the ‘stroke-linecap’ property has a value of round or square, producing respectively a circle or a square centered at the given point."
- # [23:33] <Hixie> not clear how you decide what direction the linecap should go
- # [23:33] <Ms2ger> Heh, "shall"
- # [23:33] <heycam> yes that's for subpaths though, not dashes
- # [23:33] <Hixie> yeah, but it's an example of how svg and canvas differ
- # [23:34] <Hixie> on an almost identical issue
- # [23:34] <heycam> ok
- # [23:34] <Hixie> oh there is an algorithm to determeine directionality
- # [23:34] <Hixie> it's deep in another chapter
- # [23:34] <Hixie> section F.5
- # [23:35] <heycam> yeah that stuff really should be with the rest of the path stuff
- # [23:35] <heycam> it's like a little afterthought added for tricky cases :)
- # [23:35] * heycam must go out for a bit
- # [23:35] * heycam is now known as heycam|away
- # [23:35] * Joins: cpearce (~cpearce@60.234.54.74)
- # [23:36] * Quits: davidb (~davidb@66.207.208.98) (Quit: davidb)
- # [23:36] <Hixie> "If a dash has zero length, linecaps are still added if the stroke-linecap values round and square are used."
- # [23:36] <Hixie> in 1.2T
- # [23:36] <Hixie> well implementations seem to disagree
- # [23:37] <TabAtkins_> Yeah, I was just testing that.
- # [23:37] <Hixie> oh actually my test checks something else
- # [23:37] <TabAtkins_> A dasharray of "0 10" should, by that line, draw a circle/square every 10px.
- # [23:38] <Hixie> yeah
- # [23:39] <TabAtkins_> Heh, ".01 10" works in Chrome, but ".001 10" doesn't. Yay precision!
- # [23:39] * Joins: broquaint (~dbrook@78.47.79.137)
- # [23:40] <TabAtkins_> So I think that zero-length "off" segmetns should still split up a path into two segments, for consistency with SVG.
- # [23:41] <TabAtkins_> However, a zero-length "on" segment should act as normal for canvas (and have no drawing effect).
- # [23:42] * Joins: weinig_ (~weinig@17.245.90.191)
- # [23:42] <Hixie> consistency with the svg spec, or svg implementations?
- # [23:42] <Hixie> i get different results in chrome, safari, and firefox for http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1403
- # [23:43] <zewt> is the assumption that there's no hope of having the question answered by the svg spec and implementations reaching agreement? heh
- # [23:43] * Joins: schnoomac (~schnoomac@melbourne.99cluster.com)
- # [23:43] <Hixie> make that http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1404
- # [23:43] <Hixie> 1403 is bogus
- # [23:43] <TabAtkins_> zewt: It'll be answered in SVG2 if we file a bug now.
- # [23:43] <Hixie> it's basically answered by svg now
- # [23:43] <Hixie> implementations just don't do it
- # [23:43] <Hixie> so the question is which should change
- # [23:44] <zewt> i mean, the question of whether to match the spec or implementations
- # [23:45] * Quits: weinig (~weinig@17.212.155.45) (Ping timeout: 248 seconds)
- # [23:45] * weinig_ is now known as weinig
- # [23:46] <Hixie> ooh, opera nad firefox agree
- # [23:47] * Quits: othermaciej (~mjs@17.245.91.252) (Quit: othermaciej)
- # [23:52] * Quits: weinig (~weinig@17.245.90.191) (Remote host closed the connection)
- # [23:52] <Hixie> i guess supporting zero-length "off" dashes isn't hard
- # [23:52] * Joins: weinig (~weinig@17.212.155.45)
- # Session Close: Fri Mar 16 00:00:01 2012
The end :)