Options:
- # Session Start: Tue Jan 08 00:00:00 2008
- # Session Ident: #whatwg
- # [00:02] * Quits: falkor81 (n=brianlan@rrcs-24-106-184-150.se.biz.rr.com)
- # [00:02] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [00:03] * Joins: aroben (n=adamrobe@76.111.161.65)
- # [00:12] * MacDomeAFK is now known as Macdome
- # [00:12] * Macdome is now known as eseidel
- # [00:14] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [00:24] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:33] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:40] * Joins: Thezilch[FH] (n=fuz007@ip68-111-154-116.sd.sd.cox.net)
- # [00:50] * Joins: kfish (n=conrad@61.194.21.25)
- # [00:54] * Quits: jwalden (n=waldo@RANDOM-SEVENTY-TWO.MIT.EDU) (Remote closed the connection)
- # [00:54] * Quits: Thezilch (n=fuz007@ip68-111-154-116.sd.sd.cox.net) (Connection timed out)
- # [01:04] * Quits: jgraham (n=james@81-86-215-9.dsl.pipex.com) ("This computer has gone to sleep")
- # [01:09] * Quits: cgriego (n=cgriego@216.138.69.206)
- # [01:09] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [01:16] * Quits: tndH (i=Rob@83.100.249.130) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [01:24] * Quits: webben (n=benh@91.84.19.165) (Read error: 110 (Connection timed out))
- # [01:28] * Joins: roc_ (n=roc@202.0.36.64)
- # [01:35] * Joins: jwalden (n=waldo@STRATTON-SEVEN-THIRTY-SEVEN.MIT.EDU)
- # [01:44] * Joins: doublec_ (n=doublec@202.0.36.64)
- # [01:45] * Quits: doublec (n=doublec@202.0.36.64) (Read error: 110 (Connection timed out))
- # [01:45] * Quits: roc (n=roc@202.0.36.64) (Read error: 110 (Connection timed out))
- # [02:00] * Quits: parcelbrat (n=parcelbr@96.239.197.10) (Read error: 110 (Connection timed out))
- # [02:12] * Quits: dglazkov (n=dglazkov@adsl-074-229-248-021.sip.bhm.bellsouth.net)
- # [02:45] * Quits: csarven (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [02:46] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [02:48] * Joins: tantek_ (n=tantek@70-13-205-122.area2.spcsdns.net)
- # [02:58] * Joins: csarven (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca)
- # [03:03] * Quits: weinig (n=weinig@17.203.15.140)
- # [03:04] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 110 (Connection timed out))
- # [03:11] * Joins: dglazkov (n=dglazkov@adsl-074-229-248-021.sip.bhm.bellsouth.net)
- # [03:13] * Quits: tantek_ (n=tantek@70-13-205-122.area2.spcsdns.net)
- # [03:14] <Hixie> so tempted to test E4X in Acid3
- # [03:17] <jruderman> eww
- # [03:17] <jruderman> i'm not a fan of E4X
- # [03:18] <jruderman> do you test trailing commas in array literals and object literals?
- # [03:19] <Hixie> yup
- # [03:20] <Hixie> test 81
- # [03:20] <Hixie> at least, i do for array literals
- # [03:20] <Hixie> how should i test it for oject literals?
- # [03:22] <eseidel> { "foo": "bar",} ?
- # [03:23] <Hixie> but how do i test it?
- # [03:23] <Hixie> what's the failure condition?
- # [03:23] <eseidel> eval? for a parse error?
- # [03:23] * eseidel doesn't know
- # [03:23] <Hixie> oh, there are browsers that have parse errors with that?
- # [03:23] <Hixie> wow
- # [03:23] * Hixie tests
- # [03:24] * Quits: dglazkov (n=dglazkov@adsl-074-229-248-021.sip.bhm.bellsouth.net)
- # [03:24] <eseidel> Hixie: I doubt there are
- # [03:25] * eseidel doesn't understand what support would mean other than not erroring out
- # [03:25] * Hixie can't find object literals in es3
- # [03:28] <Hixie> so uh
- # [03:28] * Joins: dglazkov (n=dglazkov@adsl-074-229-248-021.sip.bhm.bellsouth.net)
- # [03:28] <Hixie> {a:0,} is illegal
- # [03:29] <Hixie> safari and opera allow it
- # [03:29] <Hixie> firefox and ie throw
- # [03:32] <othermaciej> Hixie: are you sure?
- # [03:32] <othermaciej> javascript:alert({a:0,})
- # [03:32] <othermaciej> that works for me in Firefox
- # [03:33] <Hixie> what does it alert?
- # [03:33] <Hixie> http://software.hixie.ch/utilities/js/js-eval-window/ for {a:0,} raises a SyntaxError for me
- # [03:33] <othermaciej> [object Object]
- # [03:33] <othermaciej> (it's obviously not a parse error)
- # [03:33] <othermaciej> I think the syntax error might be because it parses it as a block
- # [03:33] <Hixie> ah indeed
- # [03:34] <othermaciej> if you put it in parens I bet it works
- # [03:34] <Hixie> yeah
- # [03:34] <Hixie> that's what i just did
- # [03:34] <Hixie> i'm so not going near this in acid3
- # [03:34] <othermaciej> Safari and Opera probably are doing extra semicolon insertion
- # [03:34] <othermaciej> when parsing as a block
- # [03:34] <othermaciej> or something
- # [03:35] <othermaciej> actually 0, isn't even a valid comma expression
- # [03:35] <othermaciej> I'm not sure why it parses
- # [03:35] <Hixie> yeah
- # [03:35] * Joins: jgraham__ (n=jgraham@81-86-222-136.dsl.pipex.com)
- # [03:38] * Joins: jgraham (n=jgraham@81-86-222-161.dsl.pipex.com)
- # [03:42] * eseidel is now known as eseidelOut
- # [03:51] * Quits: jgraham_ (n=jgraham@81-86-215-9.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [03:54] * Quits: jgraham__ (n=jgraham@81-86-222-136.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [03:56] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [03:57] * Joins: cgriego (n=cgriego@cpe-76-183-49-187.tx.res.rr.com)
- # [03:59] * weinig is now known as depressed
- # [04:03] * depressed is now known as weinig
- # [04:10] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [04:11] * Joins: csarven- (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca)
- # [04:19] * Joins: jgraham_ (n=jgraham@81-86-223-97.dsl.pipex.com)
- # [04:20] * Quits: csarven (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca) (Read error: 104 (Connection reset by peer))
- # [04:20] * Joins: csarven (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca)
- # [04:22] * Joins: jgraham__ (n=jgraham@81-86-223-125.dsl.pipex.com)
- # [04:25] * dglazkov is now known as aa
- # [04:30] * Quits: csarven- (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [04:35] * Quits: heycam (n=cam@210-84-62-145.dyn.iinet.net.au) ("bye")
- # [04:35] * Quits: jgraham (n=jgraham@81-86-222-161.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [04:37] * Quits: jgraham_ (n=jgraham@81-86-223-97.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [04:40] * Joins: heycam (n=cam@210-84-62-145.dyn.iinet.net.au)
- # [04:46] <jwalden> Hixie, eseidel: ES4 is making the trailing comma in object literals optional -- and furthermore, it's not a spec violation because the spec explicitly allows extensions to what it considers valid syntax
- # [04:48] * Joins: othermaciej_ (n=mjs@17.203.15.217)
- # [04:48] * Quits: othermaciej (n=mjs@17.203.15.217) (Read error: 104 (Connection reset by peer))
- # [04:50] <othermaciej_> jwalden: by making the optional, you mean, making it optional for implementations, or optional for code (i.e. mandatory for implementations to support)
- # [04:50] * othermaciej_ is now known as othermaciej
- # [04:52] <jwalden> othermaciej: right now the spec grammar doesn't allow them; ES4 will allow them to be present (but have no semantic effect)
- # [04:53] <othermaciej> jwalden: by "right now" you mean ES3, right?
- # [04:53] <othermaciej> and the ES4 grammar will allow them?
- # [04:53] <jwalden> othermaciej: yes
- # [04:53] <jwalden> yes
- # [04:53] <jwalden> allow in the same way that the trailing comma in an array literal is allowed to be present but otherwise has no effect (in the absence of any other trailing commas, that is)
- # [04:53] <jwalden> so 1 === [1,] and 2 === [1,2,]
- # [04:54] * othermaciej hopes ES4 has a work-in-progress spec draft to reference soon
- # [04:54] * MacDomeOut is now known as MacDome
- # [04:54] <jwalden> brendan follows rather more closely than I do; I don't know the state of what's publicly published as of yet
- # [04:55] <jwalden> er, with .length after those examples
- # [04:57] <othermaciej> yeah I know how commas in array literals work
- # [04:57] <othermaciej> and I think everyone now implements trailing commas in object syntax too
- # [04:59] <jruderman> i think IE still rejects object literals with trailing commas
- # [05:00] <jruderman> but since it isn't covered by a 2004-or-earlier spec, i guess it's out for acid3
- # [05:00] <jruderman> too bad, that one annoyed me ;)
- # [05:04] <jwalden> Opera threw a SyntaxError for awhile; lemme track down the blog post grumbling about it :-)
- # [05:06] <jwalden> http://my.opera.com/hallvors/blog/show.dml/26650
- # [05:09] <jwalden> Hixie: oh, on commas: another test which Firefox fails is javascript:alert(1 in [0, , 2] ? "FAIL" : "PASS")
- # [05:17] * aa is now known as dglazkov
- # [05:18] <othermaciej> I bet Microsoft's JS compatibility document would be a goldmine of JS bugs in all browsers
- # [05:18] <othermaciej> (have they posted that publicly anywhere?)
- # [05:19] <othermaciej> linked here as a PDF: http://blogs.msdn.com/jscript/archive/2007/10/29/ecmascript-3-and-beyond.aspx
- # [05:20] * Quits: dglazkov (n=dglazkov@adsl-074-229-248-021.sip.bhm.bellsouth.net) ("durr...")
- # [05:23] <jruderman> othermaciej++
- # [05:24] <othermaciej> I mean, they conveniently documented their bugs for the world to see
- # [05:24] <othermaciej> so that's handy
- # [05:25] <jruderman> exactly
- # [05:28] <MacDome> othermaciej: holy crap, they've documented our bugs too!
- # [05:30] <jwalden> yeah, that thing was amazing
- # [05:31] <jwalden> also because it exactly laid out just how much IE's JS sucks :-)
- # [05:34] <othermaciej> in some cases I think the IE behavior should just be declared correct, but it's hard to tell which way is more of a compat issue sometimes
- # [05:35] <othermaciej> some of the things they label as "deviations" are actually technically unspecified
- # [05:35] <othermaciej> perhaps also vice versa
- # [05:37] <othermaciej> oh, I guess I missed the section break actually
- # [05:38] * Quits: cgriego (n=cgriego@cpe-76-183-49-187.tx.res.rr.com)
- # [05:42] <jruderman> what's the highest possible score in the current version of acid3?
- # [05:43] <gavin> 100%
- # [05:43] <gavin> incomplete tests are treated as passes, afaik
- # [05:43] <gavin> non-existent, I should say
- # [05:43] <jruderman> oh, wow, gecko and webkit have a ways to go then ;)
- # [05:51] * Quits: doublec_ (n=doublec@202.0.36.64) ("Leaving")
- # [05:57] * Quits: roc_ (n=roc@202.0.36.64)
- # [05:59] <Hixie> jwalden: where in the spec does it say what should happen for that?
- # [06:00] <jwalden> gnarliness in 11.1.4, sec
- # [06:06] <othermaciej> Hixie: you should check out the Microsoft compat document I linked
- # [06:12] <jwalden> https://bugzilla.mozilla.org/show_bug.cgi?id=260106 while I'm tracking through to find the exact details
- # [06:14] <jwalden> The production Element List: ElementList , ElisionAssignment Expression is evaluated as follows:
- # [06:15] <jwalden> step 2 is "Evaluate Elision_opt, if not present use the value zero"
- # [06:15] <jwalden> (insert "_opt " after the first "Elision" two lines ago)
- # [06:16] <jwalden> and then step 6 calls [[Put]] with arguments (Result(2) + Result(5)) and Result(4)
- # [06:16] <jwalden> 4 calculates the element's value
- # [06:16] <jwalden> Result(5) is the length of the partially-constructed array
- # [06:16] <jwalden> Elision is evaluated as "Return the numeric value 1"
- # [06:17] <jwalden> so an elision shifts all inserted values up an index, but it doesn't result in any value being inserted at the elided index
- # [06:17] <jwalden> so that index/property is not present, so |index in array| should be false
- # [06:17] <jwalden> Hixie: ^
- # [06:31] <MacDome> jruderman: the nightlies are OK at acid3
- # [06:31] <MacDome> jruderman: there were like 17 fixes or something since 3.0.4
- # [06:31] <MacDome> jruderman: still awful :)
- # [06:31] <MacDome> but better than 3.0.4
- # [06:32] <MacDome> Hixie: the blog comments also list more bugs :)
- # [06:34] <jruderman> MacDome: cool
- # [06:37] <jruderman> eep, at 14%, both webkit trunk and firefox trunk hang for a bit
- # [06:38] <jruderman> webkit trunk gets 71% and firefox trunk gets 67%. not that it means anything, since hixie is taking bug suggestions from both teams ;)
- # [06:38] * Joins: othermaciej_ (n=mjs@17.203.15.209)
- # [06:39] * Quits: othermaciej (n=mjs@17.203.15.217)
- # [06:39] * othermaciej_ is now known as othermaciej
- # [06:40] <jruderman> it triggers
- # [06:40] <jruderman> ###!!! ASSERTION: ReplaceElementAt(negative index): 'aIndex >= 0', file nsVoidArray.cpp, line 491
- # [06:40] <jruderman> nice
- # [06:40] <jruderman> might be https://bugzilla.mozilla.org/show_bug.cgi?id=378969
- # [06:41] <jruderman> which appears to be a TreeWalker bug
- # [06:41] <jwalden> jruderman: see the spreadsheet, known
- # [06:41] <jruderman> the spreadsheet?
- # [06:42] <jwalden> jruderman: and the "hang" is Hixie triggering GC
- # [06:42] <jwalden> bug acid3
- # [06:42] <jwalden> lemme add you to the editor list, actually
- # [06:44] * Joins: doublec (n=Chris_Do@203-211-87-226.ue.woosh.co.nz)
- # [06:48] <jwalden> the instability of the numbering isn't helping things all that much :-)
- # [06:49] <jruderman> hehe
- # [06:49] <jruderman> maybe we can convince hixie to give them names instead of numbers?
- # [06:50] <jwalden> it's also fun sometimes to load it and get a random debugging alert that halts the test :-)
- # [06:50] <jwalden> possibly
- # [06:50] <jwalden> although that just means it's harder to find specific tests in the source
- # [06:51] <jwalden> don't think there's a good solution here no matter how it's cut
- # [06:51] <jwalden> and this will all be immaterial when it's actually finished
- # [06:52] <jruderman> wow, that GC thing is evil
- # [06:52] <jruderman> var loops = (((new Date()).valueOf() - 1.07e12) / 32e9) * 0x800; // increases linearly over time
- # [06:53] <jwalden> oh, it's ghastly all right
- # [06:53] <jruderman> and a kungFuDeathGrip!?!?!?
- # [06:53] <jwalden> on the other hand...kungFuDeathGrip!
- # [06:53] <jwalden> haha
- # [06:54] <jwalden> you can't possibly not love the name
- # [06:55] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [06:55] * Joins: weinig (n=weinig@17.116.197.245)
- # [07:00] <Hixie> jwalden: k
- # [07:02] <Hixie> jruderman: the tests sometimes get merged, too
- # [07:02] <Hixie> jruderman: (and more rarely, split)
- # [07:02] <Hixie> jruderman: (and sometimes removed altogether)
- # [07:02] <jruderman> k
- # [07:03] <Hixie> the GC thing is pretty evil, but i like the idea of sliding a perf test for DOM manipulation into the middle of the test there :-)
- # [07:03] <Hixie> safari does way better on that perf test than firefox at the moment
- # [07:04] <othermaciej> jwalden: I think Mozilla has that name all over internally
- # [07:04] <jwalden> Hixie: btw, the parens around |new Date()| aren't needed, as whatever's new'd ends at the first pair of parens
- # [07:04] <othermaciej> (kungFuDeathGrip)
- # [07:04] <Hixie> jwalden: interesting
- # [07:04] <Hixie> othermaciej: yeah, that's where i got the name from
- # [07:04] <othermaciej> we usually call variables for that same purpose "protect" or "protector" or something
- # [07:05] <Hixie> kungFuDeathGrip is so much more vivid a variable name
- # [07:05] <Hixie> jruderman: any idea what test triggers the assert?
- # [07:05] <jwalden> Hixie: jruderman could tell you all about that (or maybe he should have brendan tell you, seeing as brendan spent so much quality time on such issues somewhat recently) :-)
- # [07:05] <othermaciej> shich part of the test is secretly a perf test?
- # [07:05] <jwalden> Hixie: it's the treewalker test with currentNode mutations; the assert doesn't have any bad side effects
- # [07:05] <othermaciej> *which
- # [07:06] <Hixie> othermaciej: test 26, the part that attempts to force a GC
- # [07:06] <Hixie> (and which will do more and more loops with each passing day)
- # [07:06] <jwalden> or at least that's which one it appears to be based on inspection+stack of the assertion
- # [07:06] <Hixie> (though i really should increase the number of loops quadratically to take into account moore's law)
- # [07:07] <jruderman> Hixie: the spreadsheet says which test it is
- # [07:07] <Hixie> jwalden: k
- # [07:07] <othermaciej> Hixie: is it because the bug it is testing for fails only when a GC happens?
- # [07:07] <Hixie> jruderman: there's a spreadsheet?
- # [07:07] <othermaciej> moore's law does not apply to RAM bandwidth
- # [07:07] <Hixie> othermaciej: yeah
- # [07:07] <jruderman> Hixie: http://spreadsheets.google.com/pub?key=pNgBCwWdyRTT2JeiZn4B2Yw
- # [07:07] <jruderman> Hixie: https://bugzilla.mozilla.org/show_bug.cgi?id=acid3 links to it
- # [07:08] <jwalden> that bug needs another URL field
- # [07:08] <Hixie> jruderman: cool
- # [07:08] <jruderman> jwalden: hah
- # [07:09] <Hixie> jruderman: the tests from 49 to 80 massively changed numbers recently, btw
- # [07:09] <Hixie> basicaly bucket 5 is empty right now
- # [07:09] <Hixie> i merged what was 4 and 5 into 5
- # [07:10] <jruderman> how do you decide how large each test should be? (wrt splitting / merging)
- # [07:11] <jwalden> Hixie: the earlier test numbers changed, too, probably a bit less, but I fixed them in the last hour or so :-)
- # [07:12] <Hixie> jruderman: judgement call, but basically i'd like each test to fail in at least one browser, and the more browsers fail each test the better
- # [07:12] <jruderman> hah
- # [07:12] <jruderman> if we fix a bug too soon, will it be removed from acid3 and replaced by something else?
- # [07:14] <Hixie> you can't fix a bug too soon
- # [07:15] <Hixie> however, if a test ends up not failing in any browser before the test is done, it might get replaced, if i can find something better
- # [07:16] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [07:34] * Quits: gavins (n=gavin@firefox/developer/gavin)
- # [07:49] * Joins: gavins (n=gavin@firefox/developer/gavin)
- # [07:56] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [07:56] * Joins: jruderman (n=jruderma@c-67-180-15-227.hsd1.ca.comcast.net)
- # [07:57] * Quits: gavins (n=gavin@firefox/developer/gavin) (Read error: 104 (Connection reset by peer))
- # [07:57] * Joins: gavins (n=gavin@firefox/developer/gavin)
- # [08:00] * Quits: gavins (n=gavin@firefox/developer/gavin) (Client Quit)
- # [08:20] * Quits: csarven (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca) ("http://www.csarven.ca/")
- # [08:25] * Quits: doublec (n=Chris_Do@203-211-87-226.ue.woosh.co.nz) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [08:26] * Quits: jwalden (n=waldo@STRATTON-SEVEN-THIRTY-SEVEN.MIT.EDU) (Remote closed the connection)
- # [08:26] * Joins: gavins (n=gavin@firefox/developer/gavin)
- # [08:27] * gavins is now known as gavin_
- # [08:39] * Joins: roc (n=roc@121-72-38-48.dsl.telstraclear.net)
- # [08:45] <kig> having written my own isPointInPath is proving to be a clairvoyant decision
- # [08:46] <kig> screw browsers, they can't be trusted anyhow
- # [09:24] * Joins: tndH_ (i=Rob@83.100.249.130)
- # [09:25] * tndH_ is now known as tndH
- # [09:32] * Quits: digx (n=rick@c-76-109-201-140.hsd1.fl.comcast.net)
- # [09:35] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:43] * Quits: roc (n=roc@121-72-38-48.dsl.telstraclear.net)
- # [09:44] * Yudai_ is now known as Yudai
- # [09:46] * Quits: kura[afk] (n=faruk@c-24-6-99-228.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [10:09] * Quits: othermaciej (n=mjs@17.203.15.209)
- # [10:10] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Leaving")
- # [10:14] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [10:15] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [10:22] * Joins: webben (n=benh@nat/yahoo/x-f3c3a277fd25a848)
- # [10:38] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:38] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Read error: 110 (Connection timed out))
- # [10:46] * Quits: webben (n=benh@nat/yahoo/x-f3c3a277fd25a848)
- # [10:53] * Joins: annevk (n=annevk@c529c1b12.cable.wanadoo.nl)
- # [10:56] * Joins: weinig_ (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [10:57] * Joins: othermaciej (n=mjs@17.255.108.35)
- # [10:57] * Quits: othermaciej (n=mjs@17.255.108.35) (Client Quit)
- # [11:12] * Quits: weinig (n=weinig@17.116.197.245) (Read error: 113 (No route to host))
- # [11:13] * Quits: annevk (n=annevk@c529c1b12.cable.wanadoo.nl) (Read error: 110 (Connection timed out))
- # [11:15] * Quits: Lachy (n=Lachlan@cm-84.215.54.100.getinternet.no) ("This computer has gone to sleep")
- # [11:19] * Joins: OmegaJunior (n=ZJr@a82-95-48-162.adsl.xs4all.nl)
- # [11:32] * Joins: roc (n=roc@121-72-38-48.dsl.telstraclear.net)
- # [11:33] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:50] <hsivonen> Hixie: regarding iframe fallback content: should the fallback be expected to be targeted at Netscape 4 or is HTML5 meant to bless Opera-style disabling of iframes?
- # [11:52] <Hixie> i hadn't really thought about it
- # [11:52] <hsivonen> hmm. I wonder if someone should write a spec for Gecko's DTD catalog behavior so that the behavior could be considered grandfathered
- # [11:52] <Hixie> what difference does it make for you?
- # [11:53] <hsivonen> Hixie: If the parser has to treat it as CDATA and the validation layer needs to reparse it as markup, the cost/utility ratio of the whole thing is going to be seriously bad
- # [11:54] <hsivonen> Hixie: it is far easier to either parse it as markup the first time round or to do what is done now: parse as CDATA and not to place any conformance constraints on the text
- # [11:54] <Hixie> yeah i dunno
- # [11:54] <Hixie> i'm tempted to just say it shoul be the empty string
- # [11:55] <Hixie> but i dunno
- # [11:55] <hsivonen> as for the DTD catalog thing, I have long had an idea shelved away about validator support
- # [11:55] <hsivonen> that is, I could add a parser mode with Gecko DTD catalog emulation
- # [11:55] <Hixie> we can't parse as markup the first time around (i.e. we need to have a reparse stage somehow) because otherwise the DOM might not match reality, as it were
- # [11:55] <hsivonen> but I'm not sure if it would be worthwhile and Good for the Web
- # [11:56] <hsivonen> Hixie: OK, in that case, do we really care about checking the iframe contents?
- # [11:56] * Joins: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
- # [11:56] <Hixie> but if we allow <script> in the <iframe> contents, we're screwed in oh so many ways
- # [11:56] <Hixie> i dunno
- # [11:56] <hsivonen> wow. good point
- # [11:56] <Hixie> if we don't care, i'm just gonna require it be blank
- # [11:57] <Hixie> is <iframe> support widespread enough?
- # [11:57] <Hixie> (lynx, etc?)
- # [11:57] <hsivonen> can authors put a <script> in there and annoy Opera users who disable iframes?
- # [11:57] <Hixie> i have no idea what oepra does
- # [11:58] <hsivonen> Hmm. I haven't used Lynx for real browsing in a long time
- # [11:58] <othermaciej> DTD catalog?
- # [11:58] * othermaciej read the logs
- # [11:58] <othermaciej> I guess I should google it
- # [11:58] <Hixie> othermaciej: the list of bugs that microsoft put out has some bugs (things that they claim are bugs but are in fact not)
- # [11:59] <hsivonen> othermaciej: lxr.mozilla.org :-)
- # [11:59] <othermaciej> Hixie: you should wait for their list of bugs, SP1
- # [11:59] <Hixie> hehe
- # [11:59] <hsivonen> othermaciej: Gecko hard-wires certain public IDs to certain bogo-DTDs that only list character entities
- # [12:00] <hsivonen> othermaciej: and real Web content out there depends on it
- # [12:00] <othermaciej> awesome
- # [12:10] <hsivonen> othermaciej: http://lxr.mozilla.org/seamonkey/source/parser/htmlparser/src/nsExpatDriver.cpp#285 that's the magic list
- # [12:11] <hsivonen> FWIW, I don't like the "resource://gre/res/mathml.css" bit at all
- # [12:13] <othermaciej> hsivonen: hey, it's your fault!
- # [12:14] * Quits: kfish (n=conrad@61.194.21.25) ("Pike!")
- # [12:14] <othermaciej> (WebKit has some hardcoded suport for HTML entities in XHTML content, probably because of that)
- # [12:14] <hsivonen> othermaciej: my fault?
- # [12:14] <othermaciej> oh, sorry
- # [12:14] <othermaciej> I saw you listed as the only "Contributor"
- # [12:15] <othermaciej> and forgot that there's also an "Original Code" statement
- # [12:16] <othermaciej> it's heikki's fault (whoever that is, sounds Finnish though)
- # [12:17] <Hixie> http://markus.fischer.name/about/archives/2005/10/17/ie-having-fun-with-js-and-links/
- # [12:18] <Hixie> weirdest IE7 bug ever
- # [12:19] <othermaciej> Hixie: holy toledo
- # [12:20] <Hixie> that's going in acid3 for sure
- # [12:20] <OmegaJunior> Yet another reason to hate MSIE
- # [12:21] * Quits: roc (n=roc@121-72-38-48.dsl.telstraclear.net)
- # [12:22] <othermaciej> I don't even understand how that bug could happen
- # [12:22] <othermaciej> it has to be somehow on purpose
- # [12:23] <Hixie> that's now test 99
- # [12:25] <Hixie> 19 bugs to go
- # [12:35] <Hixie> ok, i have 16 tests to write
- # [12:35] <Hixie> all on one topic
- # [12:35] <Hixie> i could cave and test svg
- # [12:35] <Hixie> or i could test a more modern spec that we really want implemented
- # [12:36] <Hixie> or i could test e4x
- # [12:36] <Hixie> any preferences?
- # [12:36] <Hixie> i could test xbl2 :-)
- # [12:37] <othermaciej> is e4x a desirable thing to have implemented?
- # [12:37] <othermaciej> we don't consider WebKit's lack of support a bug
- # [12:38] * Philip` almost wants DOM3 XPath
- # [12:39] <othermaciej> unfortunately that one is only a Note
- # [12:39] <Philip`> The previous version is a CR, though
- # [12:40] <othermaciej> so Note was just the way to abandon it before REC?
- # [12:40] <othermaciej> I'm actually not sure if WebKit's XPath API is that one or only the nonstandard IE stuff
- # [12:41] <Philip`> "The W3C DOM Working Group participants do not expect to provide two interoperable implementations of this module, /using the same binding/."
- # [12:41] <Philip`> Not quite sure what that means
- # [12:41] <hsivonen> guessing from package names, Xerces2-J has some kind of XPath DOM API
- # [12:41] <othermaciej> I guess they expected one Java one and one JS one
- # [12:41] <hsivonen> I'd expect it to be based on some kind of W3C document
- # [12:42] * Philip` doesn't really care what the API is, as long as it can do "find all elements matching this string" without much effort, and it seems that at least Firefox and Opera can do that in the same way
- # [12:46] <othermaciej> I think every major browser has some kind of XPath API
- # [12:46] <othermaciej> I am not sure to what extent they match
- # [13:01] <Hixie> i like e4x as a compile-time-syntax-checked replacement for innerHTML
- # [13:08] <Hixie> i have no idea what to test with these 16 tests
- # [13:08] <othermaciej> you mean JS-parse-time instead of HTML-parse-time (on actual use of innerHTML) syntax-checked?
- # [13:08] <othermaciej> (cause there is no compile time)
- # [13:08] <Hixie> yeah
- # [13:08] <Hixie> when the JS is compiled
- # [13:09] <othermaciej> JS parse failures tend to be more catastrophic than HTML syntax errors
- # [13:09] <Hixie> right, which is why you want to catch them at compile time
- # [13:10] <Hixie> either the script compiles, or it doesn't
- # [13:10] <othermaciej> if hard failure is desirable, then at least XML's model makes the cause of the failure obvious
- # [13:11] <othermaciej> script parse errors make the page break with no meaningful error message displayed normally
- # [13:11] <Hixie> manipulating markup as strings is a horrible way to work
- # [13:11] <othermaciej> that's true
- # [13:11] <Hixie> manipulating markup as DOM objects is a horrible way to work
- # [13:11] <Hixie> E4X provides a third option, that imho is not quite so horrible
- # [13:12] <Hixie> (however, given its status as quite controversial, it obviously doesn't belong in acid3)
- # [13:12] <Hixie> i don't know what to test in bucket 5 though
- # [13:12] <othermaciej> but using XML literals as part of a language syntax is gross
- # [13:12] <Hixie> eh
- # [13:12] <othermaciej> and no one implements it in a useful way anyway
- # [13:12] <Hixie> no more gross than using numeric literals, imho
- # [13:13] <Hixie> i agree that mozilla's implementation is dumb
- # [13:13] <othermaciej> <, = and " already have meaning in JS
- # [13:13] <Hixie> svg is the only thing i can think of and i really don't want to test the svg dom in acid3
- # [13:13] <Dashiva> heredoc xml next stop?
- # [13:13] <othermaciej> something with a clear delimiter would be better
- # [13:14] <othermaciej> so I'd actually be more excited about heredoc xml
- # [13:14] <othermaciej> Hixie: do you have XML tests?
- # [13:14] <Hixie> othermaciej: like what?
- # [13:14] <othermaciej> (XML DOM on actual XML documents)
- # [13:15] <othermaciej> presence of HTML dom on XHTML documents might be interesting too
- # [13:15] <othermaciej> although that's kind of in the "gratuitously mean to IE" category
- # [13:16] <Hixie> i have some dom2 xml tests
- # [13:17] <Hixie> that use the xhtml namespace
- # [13:17] <Hixie> i'm not sure i can come up with 16 more
- # [13:18] <hsivonen> othermaciej: I don't think it is gratuitously mean
- # [13:19] <othermaciej> ah, shit, Mac IE somehow made itself the default application for XHTML on my new laptop
- # [13:19] <hsivonen> othermaciej: I had a good-faith script that wasn't trying to expose any bugs that failed in WebKit in XHTML, because WebKit didn't do all the HTML DOM stuff on the XHTML side
- # [13:19] <othermaciej> yeah, I'm trying to remember if we fixed that yet in trunk
- # [13:19] <othermaciej> and whether it was broken in Safari 3
- # [13:20] <hsivonen> the great December content model change leads to the deletion of a lot of code...
- # [13:21] <Hixie> well i'll work something out tomorrow for this remaining bucket of 16 tests
- # [13:21] <Hixie> (suggestions welcome)
- # [13:22] <Hixie> nn
- # [13:26] <othermaciej> yeah, HTMLDocument in xhtml works in WebKit trunk (though not in Safari 3)
- # [13:30] <hsivonen> othermaciej: nice. thanks
- # [13:31] <othermaciej> (we did support HTML element interfaces on xhtml elements already)
- # [13:34] <othermaciej> the way the E4X spec is written is weird
- # [13:38] <hsivonen> fun fun fun: fixing all the test cases that testing bimorphic stuff
- # [14:19] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
- # [14:19] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [15:08] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [15:08] <zcorpan> wtf... https://www.tdnam.com/trpItemListing.aspx?miid=10238899
- # [15:10] <othermaciej> did whatwg itself formerly have the .com?
- # [15:11] <zcorpan> don't think so
- # [15:11] * Joins: digx (n=rick@c-76-109-201-140.hsd1.fl.comcast.net)
- # [15:26] <zcorpan> Hixie: please test svg in acid3... not necessarily the weird svg udom parts, but basic support and support for svg in <img> and 'background' would be nice
- # [15:28] <zcorpan> without svg in 'background', svg is basically unusable for layout purposes
- # [15:29] <zcorpan> this is way more requested by authors than e4x
- # [15:29] <zcorpan> (in fact, i think no-one even cares about e4x)
- # [15:30] <zcorpan> see e.g. http://www.sitepoint.com/forums/showthread.php?t=523315
- # [15:33] <othermaciej> zcorpan: using SVG in CSS backgrounds is pretty bleeding-edge and not clearly justified by any spec that has ever reached CR
- # [15:33] <othermaciej> zcorpan: that being said I do think it is a really good feature
- # [15:34] <OmegaJunior> I think internal builds of Opera 9.5 have an implementation of exactly that.
- # [15:35] <othermaciej> WebKit trunk has an implementation of it as well
- # [15:36] * Philip` wondered why his page was using the incorrect font size inside <table>s, and then realised he had written <DOCTYPE HTML>
- # [15:36] <othermaciej> (ain't just internal)
- # [15:36] <Philip`> (so quirks mode is not much fun even when I'm specifically trying to avoid using it)
- # [15:37] <Philip`> OmegaJunior: Non-internal Opera 9.5 alphas/betas have that too
- # [15:39] <othermaciej> WebKit even suports svg images in -webkit-border-image
- # [15:40] <Philip`> Does WebKit support SVG images in canvas drawImage?
- # [15:40] <othermaciej> if they are in an <img> tag I'm sure it does
- # [15:41] <Philip`> Including SVG with foreignContent?
- # [15:41] <othermaciej> I don't think it supports drawImage of an <svg> element
- # [15:41] <othermaciej> foreignObject you mean
- # [15:41] <Philip`> Oops, yes
- # [15:41] <othermaciej> I don't see why that wouldn't work, though I haven't tried it myself
- # [15:42] <othermaciej> it can certainly render svg in an img or as a CSS image if it embeds non-SVG markup
- # [15:42] <othermaciej> I guess you could use that as a very cheesy way to get text rendering in <canvas>
- # [15:43] <Philip`> Does it attempt to avoid security issues, like by preventing toDataURL / getImageData after you've drawn an SVG image?
- # [15:43] <Philip`> If not, that may be a potential problem :-)
- # [15:44] <othermaciej> we don't have toDataURL or getImageData (yet)
- # [15:44] <othermaciej> so not an issue
- # [15:44] <Philip`> Oh, good point
- # [15:44] <othermaciej> I imagine SVG images would be subject to the same security restrictions for those purposes as regular type images
- # [15:46] * Joins: aroben (n=adamrobe@76.111.161.65)
- # [15:46] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Remote closed the connection)
- # [15:48] <Philip`> othermaciej: That might be inadequate, because it'd still let you e.g. move an <input type=file> into a same-origin SVG image and then render it onto a canvas and read the pixels to extract the file path and circumvent the browser's attempts at privacy
- # [15:48] <OmegaJunior> Hmm... can svg be used to draw real 3d objects? or are they mere simulations in 2d? I can imagine a conflict.
- # [15:49] <OmegaJunior> A conflict with getContext()
- # [15:49] <othermaciej> Philip`: you can read the value of <input type="file"> through the DOM
- # [15:50] <othermaciej> noted however that there may be security ieeus
- # [15:51] <othermaciej> OmegaJunior: it doesn't have real 3d, though you can sort of simulate it by moving polygons around in 2d
- # [15:51] <OmegaJunior> Good
- # [15:51] <Philip`> othermaciej: Oh, maybe I'm misremembering - Opera only returns the filename (not the displayed path) but FF and IE6 still seem to return the whole path
- # [15:52] <othermaciej> Safari doesn't even display the full path
- # [15:52] <othermaciej> (it doesn't have a type-in box for <input type="file">)
- # [15:53] <Philip`> (Hmm, Opera 9.2 draws a peculiar button for http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0A%3Cbutton%3ETest%20test_test_test_test%3C%2Fbutton )
- # [15:53] <Philip`> OmegaJunior: I'm not sure what you mean by "a conflict"
- # [15:55] <Philip`> (http://apike.ca/prog_svg_threed.html says "SVG has no 3D support. In fact, it is almost anti-3D.", which sounds possibly true - I don't remember seeing anything more advanced than a 3D cube in SVG)
- # [15:55] <OmegaJunior> Well, the mozilla tutorial I'm reading says only the 2d context is defined. The 3d context is theoretical at best. If SVG is used to display something in a canvas element, it will need to get a context. Following the tutorial, it will be a 2d context. However, if the SVG has 3d, it needs a 3d context. Hence the conflict. Since SVG does not do 3d, the conflict does not exist.
- # [15:57] <Philip`> OmegaJunior: Even if SVG did 3D things, SVG would describe how it's converted into a flat rectangular 2D bitmap, and that bitmap can be drawn onto a 2D canvas, so there wouldn't be a problem
- # [15:57] <OmegaJunior> Exactly.
- # [15:58] <Philip`> (The 3D context isn't really theoretical, given that there's at least two attempted implementations :-) )
- # [15:58] <OmegaJunior> Really? Awesome.
- # [15:58] <Philip`> http://blog.vlad1.com/2007/11/26/canvas-3d-gl-power-web-style/
- # [15:58] <othermaciej> this has some neat pseduo-3d in svg: http://www.lutanho.net/svgvml3d/index.html
- # [15:58] <Philip`> http://my.opera.com/timjoh/blog/2007/11/13/taking-the-canvas-to-another-dimension
- # [15:59] <OmegaJunior> OpenGL did come to mind, yes. Especially for web games.
- # [15:59] <othermaciej> (the rubik's cube one is neat)
- # [16:01] <Philip`> othermaciej: Aha, that looks better than plain cubes :-)
- # [16:01] <Philip`> It flickers a bit nastily in Firefox while redrawing, though
- # [16:01] <othermaciej> http://www.kevlindev.com/geometry/3D/js3d/index.htm
- # [16:02] <Philip`> Bah, wireframe is cheating :-p
- # [16:06] * zcorpan would appriciate feedback about http://simon.html5.org/specs/xml-stylesheet5 from webkit and mozilla people
- # [16:09] <othermaciej> is it substantively different from the current xml-stylesheet PI spec?
- # [16:10] <zcorpan> it is pretty much aligned with firefox/ie/safari, actually
- # [16:11] <zcorpan> the parsing part is aligned mostly with firefox, i think
- # [16:11] <othermaciej> I'm not sure what this means: "When the UA is to stop parsing, it must return pseudo-attributes so that the appropriate semantics can be applied."
- # [16:11] <othermaciej> I think the syntax would be better expressed as a BNF grammar than a state machine
- # [16:12] <zcorpan> yeah, i don't know how to phrase that sentence
- # [16:12] <zcorpan> ok. but can BNF express how to handle error conditions?
- # [16:13] <zcorpan> for some errors you just drop the pseudo-attribute, for others you ignore the rest of the PI
- # [16:15] <zcorpan> stop parsing means basically... stop the state machine and return pseudo-attributes. is that clearer?
- # [16:18] <othermaciej> I'm not sure "return" is the right word
- # [16:18] * Joins: phsiao (n=shawn@nat/ibm/x-9bd0e2265a2e4209)
- # [16:18] <othermaciej> writing this in such an operational style makes it hard for me to follow
- # [16:18] <othermaciej> may review more later but not right now
- # [16:18] <zcorpan> ok
- # [16:18] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) (Read error: 110 (Connection timed out))
- # [16:18] <zcorpan> thanks
- # [16:19] <othermaciej> (gotta admit ?xml-styleshet? PI interop isn't that high on my personal priority list)
- # [16:19] <zcorpan> yeah, but the parsing part also applies to access-control and xbl
- # [16:20] <othermaciej> it would really be better if XML PIs applied XML-style draconian parsing to PI pseudo-attributes, just as if they were XML element attributes
- # [16:21] <othermaciej> that would be more consistent
- # [16:21] <othermaciej> I don't know if that creates compatibility issues for ?xml-stylesheet? specifically
- # [16:22] * Joins: MikeSmith (n=MikeSmit@58.157.21.205)
- # [16:23] <Philip`> Does anyone know how current content relies on PI parsing?
- # [16:24] <othermaciej> I don't think there is that much CSS-styled XML on the web in general
- # [16:24] <othermaciej> (I guess the PI can also request XSLT processing, which may be more common; dunno)
- # [16:25] * Philip` sees things like <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
- # [16:25] <Philip`> (in text/html documents)
- # [16:27] <othermaciej> looks like that syntax might be part of an obsolete version of Namespaces in XML: http://www.w3.org/TR/1998/WD-xml-names-19980518
- # [16:28] <othermaciej> nowadays use of that syntax would not be namespace-well-formed
- # [16:30] <OmegaJunior> Knowing the vendor, that means our parsers and validators have to allow for their kinks.
- # [16:30] <othermaciej> if that's in text/html content I am not sure it has much bearing on what needs to be allowed in XML
- # [16:31] <OmegaJunior> Hopefully none
- # [16:34] <Philip`> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
- # [16:34] <Philip`> <?xml-stylesheet type=\"text/css\" href=\"css/standard.css\"?>
- # [16:34] <Philip`> on http://www.kletterzentrum-badtoelz.de/ though that redirects immediately away from there anyway
- # [16:34] <Philip`> Does xml-stylesheet ever do anything in text/html?
- # [16:35] <OmegaJunior> Yes, it works perfectly in Internet Explorer
- # [16:35] <OmegaJunior> (Tried it)
- # [16:36] <OmegaJunior> Remember that Internet Explorer doesn't do application/xhtml+xml, so anything that resembles html or xhtml will have to be sent as text/html
- # [16:36] <OmegaJunior> Hopefully this will change with MSIE8, but I doubt it.
- # [16:36] <OmegaJunior> As a result, MSIE renders xhtml as tag soup.
- # [16:40] <Philip`> http://philip.html5.org/data/pis.html is everything starting with "<?" in ~15K pages
- # [16:46] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Read error: 110 (Connection timed out))
- # [16:49] <Philip`> http://www.montere.it/ - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//IT" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - hmm, not quite the right idea there
- # [16:56] * Joins: gsnedders (n=gsnedder@host86-137-236-187.range86-137.btcentralplus.com)
- # [17:00] <kig> hmm
- # [17:07] <kig> this'll be either difficult, slow, or a pain
- # [17:08] <Philip`> That's not too bad, if it's 'either' rather than all
- # [17:08] <kig> (drawing and animating a full-screen svg on canvas)
- # [17:09] <kig> difficult: only redraw portions that have changed
- # [17:09] <kig> slow: redraw everything
- # [17:10] <kig> pain: manually split document into layers, render them into images and hope that the html image renderer is faster than the canvas one
- # [17:11] * Joins: aroben (i=aroben@unaffiliated/aroben)
- # [17:11] <Philip`> Given the performance of background-position:fixed, I don't think I'd trust the browser to render layers fast
- # [17:12] <Philip`> (at least when the layers are moving relative to each other)
- # [17:12] <Lachy> wow, what a great example of why RDFa is a bad idea. http://www.w3.org/QA/2008/01/rdfa_and_html_imagemap.html - That's so complex and unnecessary. The SVG effect could be done entirely without the RDFa
- # [17:14] <Philip`> Lachy: The SVG effects *is* done entirely without the RDFa
- # [17:14] <Philip`> (or at least I can't see any RDFa bits in the XSLT code)
- # [17:17] <hsivonen> http://dubinko.info/blog/2008/01/07/yahoo-introduces-mobile-xforms/ is that a multi-UA thing or using a W3C spec as part of a single-UA system (like, e.g., Joost)?
- # [17:19] <Lachy> Philip`, yes, I know. That's why I said the RDFa wasn't necessary. It's just there as useless metadata
- # [17:24] <hsivonen> if a metadatum falls in the forest and there's no one to interpret it, is it a metadatum?
- # [17:25] <Philip`> Yes by definition, sine you already said it was a metadatum :-)
- # [17:25] <Philip`> *since
- # [17:27] <Lachy> hsivonen, I think that should be "if a metadatum falls in the forest and there's no one to interpret it, is it [useful?]"
- # [17:29] <Philip`> I assume the problem comes from saying "I'd like a way to say, "this area of the image depicts the person who is the primaryTopic of http://danbri.org/".", rather than e.g. "I'd like a way to say "who is in this picture?" so that I can stalk people by finding all the photos (on a certain subset of web sites) that are linked to their homepage"
- # [17:30] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:32] <Philip`> but maybe that's just a simple fundamental difference of perspective, about the value of providing data without prior knowledge of how the data will be used
- # [17:33] * Joins: aroben_ (i=aroben@unaffiliated/aroben)
- # [17:34] * Quits: aroben (i=aroben@unaffiliated/aroben) (Read error: 113 (No route to host))
- # [17:35] * aroben_ is now known as aroben
- # [17:39] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [17:39] <zcorpan> othermaciej: opera does drocanian parsing for xml-stylesheet currently
- # [17:39] <zcorpan> but i don't think it makes sense
- # [17:39] <zcorpan> what do you do when you create or update the PI with script?
- # [17:40] * Parts: OmegaJunior (n=ZJr@a82-95-48-162.adsl.xs4all.nl)
- # [17:40] <zcorpan> should the xml processor have to know about xml-stylesheet, access-control and xbl? and other future PIs that might use pseudo-attributes?
- # [17:42] <zcorpan> speaking of which... i think i'll move the requirement about the placement of the PI from the parsing rules to the processing rules... since future PIs with pseudo-attributes might want to allow them in other places than in the prolog
- # [17:42] <hsivonen> zcorpan: by definition, no, but the next layer should
- # [17:43] * Joins: Lachy (n=Lachlan@cm-84.215.54.100.getinternet.no)
- # [17:44] <zcorpan> hsivonen: ok, wrongly phrased... why should the well-formedness of a given document depend on whether the UA supports xml-stylesheet, access-control or xbl?
- # [17:46] <hsivonen> zcorpan: well-formedness shouldn't. but rephrasing: why should YSoD depend on support for a particular PI
- # [17:47] <hsivonen> the Web is probably better off if there are as few YSoD reasons as possible
- # [17:47] <zcorpan> indeed
- # [17:47] <zcorpan> that's why my spec removes fatal errors for PIs
- # [17:47] <hsivonen> zcorpan: you could, though, be Draconian about what causes a PI to be rejected from further processing
- # [17:48] <zcorpan> yes
- # [17:48] <zcorpan> <?xml-stylesheet =="" href="a"?> is the same as <?xml-stylesheet?>
- # [17:49] * MacDome is now known as MacDomeOut
- # [18:03] * Joins: csarven (n=nevrasc@modemcable130.251-202-24.mc.videotron.ca)
- # [18:11] * Quits: gsnedders (n=gsnedder@host86-137-236-187.range86-137.btcentralplus.com) ("Partying in teh intarwebs")
- # [18:15] * Quits: Lfe (n=lfe@bergstroem.nu) (Read error: 104 (Connection reset by peer))
- # [18:36] * Joins: Lfe (n=lfe@bergstroem.nu)
- # [18:37] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) ("Less talk, more pimp walk.")
- # [18:46] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Read error: 110 (Connection timed out))
- # [18:54] * Quits: weinig_ (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [18:55] <kig> Philip`: http://glimr.rubyforge.org/cake/canvas.html#DesignSketching <- the "pain" approach, not that it's much faster than the "slow" approach (20fps vs 10fps. though, if that were 60fps vs 30fps...)
- # [18:59] <Philip`> kig: Opera 9.2 really isn't very good at this :-(
- # [18:59] <kig> i can imagine
- # [18:59] * Joins: phsiao_ (n=shawn@nat/ibm/x-a83d2fdf3e292259)
- # [19:00] * Quits: phsiao_ (n=shawn@nat/ibm/x-a83d2fdf3e292259) (Client Quit)
- # [19:00] * Joins: phsiao_ (n=shawn@nat/ibm/x-76ce79420c0d335d)
- # [19:02] * Quits: phsiao_ (n=shawn@nat/ibm/x-76ce79420c0d335d) (Client Quit)
- # [19:03] * Joins: phsiao_ (n=shawn@nat/ibm/x-1a01136f5f32e7fc)
- # [19:03] <kig> might be easiest to make the site an svg document with html on top and a clipped canvas. but. uh.
- # [19:04] <kig> that's not going to look nice in firefox
- # [19:04] <Philip`> Why not?
- # [19:05] <kig> because firefox doesn't double-buffer svgs
- # [19:06] <Philip`> Ah
- # [19:06] <kig> (and i'd like to stay as far away from the <object>-tag as humanly possible)
- # [19:07] <Philip`> You could just use a PNG ;-)
- # [19:13] * Quits: aroben (i=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [19:15] <kig> or wmv..
- # [19:15] <Philip`> You can use APNG to do things like slowly-fading-out trails, in a not-too-inefficient way
- # [19:16] * Quits: phsiao (n=shawn@nat/ibm/x-9bd0e2265a2e4209) (Read error: 110 (Connection timed out))
- # [19:40] * Quits: jruderman (n=jruderma@c-67-180-15-227.hsd1.ca.comcast.net)
- # [19:47] * Joins: weinig (n=weinig@17.203.15.140)
- # [19:49] * Joins: hober (n=ted@unaffiliated/hober)
- # [19:52] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [19:56] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [20:00] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com) (Client Quit)
- # [20:02] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [20:09] * Joins: roc (n=roc@121-72-38-48.dsl.telstraclear.net)
- # [20:10] * Joins: jgraham (n=james@81-86-223-125.dsl.pipex.com)
- # [20:16] * Quits: roc (n=roc@121-72-38-48.dsl.telstraclear.net)
- # [20:21] * Quits: phsiao_ (n=shawn@nat/ibm/x-1a01136f5f32e7fc) (Remote closed the connection)
- # [20:22] * Joins: phsiao (n=shawn@nat/ibm/x-58db8d15e0fba517)
- # [20:24] * Joins: gsnedders (n=gsnedder@host86-137-236-187.range86-137.btcentralplus.com)
- # [20:27] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [20:30] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [20:37] * Parts: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [20:37] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [20:43] <kig> creating fewer arrays per frame sure reduces GC runs
- # [20:44] <kig> reusing a matrix arrays now..
- # [20:44] <kig> -a
- # [20:48] <Philip`> You should avoid the GC entirely by packing all your data structures into integers
- # [20:49] <Philip`> Store two 10.5 fixed-point values per variable, use three variables per matrix, and it'll work perfectly!
- # [20:49] <kig> ssss
- # [20:49] <kig> sounds like a plan!
- # [20:50] <kig> i thought of writing a temp object allocator
- # [20:50] <Philip`> (How are you detecting the number of GC runs?)
- # [20:51] <kig> by watching the fps histogram when running an animation and "hey, it's 0.5fps now, go GC go!"
- # [20:52] <Philip`> Oh, okay
- # [20:52] <Philip`> Perhaps not quite the most scientific method :-)
- # [20:54] <kig> i could automate the fps-watching and draw pretty graphs titled "fps glitches per minute per browser"
- # [20:54] <kig> or maybe not bother
- # [20:54] <Philip`> I was thinking more of getting the GC system itself to tell you what it's doing
- # [20:54] * Philip` goes away a bit
- # [20:54] <kig> that'd be harder :|
- # [21:00] <kig> temp array allocator: free-stack and reserved-list, alloc : function() { var a = free.pop(); reserved.push(a); }, free : function(a) { reserved.deleteFirst(a); maybeClear(a); free.push(a); }; all the joys of C with none of the performance
- # [21:28] <Philip`> I think I got useful GC numbers out of SpiderMonkey when embedding it into some other application, without too much bother, so perhaps Firefox could be modified a bit to report some numbers
- # [21:28] * Joins: roc (n=roc@202.0.36.64)
- # [21:28] <Philip`> (or maybe it's easier to just use DTrace or something, except I haven't got a clue how to use that)
- # [21:30] * Quits: jgraham (n=james@81-86-223-125.dsl.pipex.com) ("This computer has gone to sleep")
- # [21:35] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [21:37] <gsnedders> Philip`: DTrace for what? JS?
- # [21:37] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [21:38] <Philip`> gsnedders: Yes
- # [21:38] <Philip`> (particulary garbage collection)
- # [21:39] <gsnedders> Philip`: there's a patch for SpiderMonkey out there somewhere, IIRC
- # [21:39] <gsnedders> (which of course requires an OS that supports DTrace)
- # [21:40] <Philip`> (It's not like many people have Solaris desktops, so you might as well just say "OS X" :-p )
- # [21:42] <gsnedders> Only Leopard :P
- # [21:42] <gsnedders> And only OpenSolaris based Solaris builds :P
- # [21:42] <gsnedders> (or is DTrace in Solaris 10?)
- # [21:42] * gsnedders looks up
- # [21:42] <gsnedders> seemingly yes
- # [21:44] <Philip`> Seems it was in Solaris 10 and not in 9
- # [21:45] <Philip`> except http://www.usenix.org/event/usenix04/tech/general/full_papers/cantrill/cantrill_html/ was before Solaris 10 was released, apparently
- # [21:45] <Philip`> (and says it was publicly available at that time)
- # [21:46] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Read error: 110 (Connection timed out))
- # [21:54] * eseidelOut is now known as eseidel
- # [22:02] <kig> Philip`: btw, happen to know a way to do an in_fill check for a bezier path?
- # [22:05] * Joins: doublec (n=doublec@202.0.36.64)
- # [22:08] <eseidel> Philip`: I think http://apike.ca/prog_svg_threed.html is broken. I think it depends on broken ASV behavior (of running all scripts *after* the document fully loads)
- # [22:11] <Philip`> kig: I guess you could do the non-zero-winding thing just with line/Bezier intersections, like http://www.kevlindev.com/gui/math/intersection/Intersection.js intersectBezier3Line, though that sounds a bit inefficient
- # [22:11] <eseidel> Philip`: Opera, FF and Safari all fail with that SVG
- # [22:11] <eseidel> Philip`: if you believe it's a browser error, we'd love to see a bug filed
- # [22:12] <Philip`> eseidel: Hmm, I thought I remembered seeing it working in a sensible browser at some point in the past
- # [22:12] <kig> Philip`: thanks, it isn't really speed-critical as i can ditch most paths with a bbox check
- # [22:14] <Philip`> eseidel: but I can't get it to work in any browser now, so I'll guess the code is just broken
- # [22:14] <eseidel> Philip`: it might work in IE+ASVG
- # [22:14] <eseidel> ASV, rather
- # [22:19] * Quits: mpt (n=mpt@canonical/launchpad/mpt) ("Ex-Chat")
- # [22:33] * Joins: virtuelv (n=virtuelv@65.80-202-82.nextgentel.com)
- # [22:34] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [22:39] * Joins: cgriego (n=cgriego@216.138.69.206)
- # [22:40] * Parts: cgriego (n=cgriego@216.138.69.206)
- # [22:42] * Quits: ROBOd (n=robod@89.122.216.38) ("gute Nacht")
- # [22:59] * Quits: aroben (n=aroben@unaffiliated/aroben) (Connection timed out)
- # [23:03] * Quits: hober (n=ted@unaffiliated/hober) (Remote closed the connection)
- # [23:17] * Quits: gsnedders (n=gsnedder@host86-137-236-187.range86-137.btcentralplus.com)
- # [23:27] * Joins: jgraham (n=james@81-86-223-125.dsl.pipex.com)
- # [23:29] * Parts: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [23:42] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [23:42] * Philip` wonders how best to handle multiple lights in GLSL
- # [23:50] * Quits: virtuelv (n=virtuelv@65.80-202-82.nextgentel.com) ("Leaving")
- # [23:52] * Joins: aroben_ (n=aroben@unaffiliated/aroben)
- # [23:54] * Quits: aroben (n=aroben@unaffiliated/aroben) (Nick collision from services.)
- # [23:54] * aroben_ is now known as aroben
- # [23:57] * jgraham notes the main network in his department is entirely Solaris-on-the-desktop (though I think they are all running Solaris 9)
- # Session Close: Wed Jan 09 00:00:00 2008
The end :)