Options:
- # Session Start: Tue May 01 00:00:00 2007
- # Session Ident: #whatwg
- # [00:29] * Joins: fax_machine (n=fax_mach@74-129-102-1.dhcp.insightbb.com)
- # [00:37] <Hixie> annevk?
- # [00:46] * Joins: tantek (n=tantek@65.160.17.13)
- # [00:49] * Quits: KevinMarks (i=KevinMar@nat/google/x-c236578d04fd4ce1) ("The computer fell asleep")
- # [01:05] * Joins: Lachy_ (n=Lachlan@124-168-27-56.dyn.iinet.net.au)
- # [01:05] * Quits: Lachy (n=Lachlan@124-168-27-56.dyn.iinet.net.au) (Read error: 104 (Connection reset by peer))
- # [01:06] * Joins: aroben (i=adamrobe@nat/apple/x-74f58705432779ac)
- # [01:14] * moeffju[afk] is now known as moeffju
- # [01:15] <Hixie> so i'm thinking of making the parser introduce xml:base attributes as the way to handle stray <base> elements
- # [01:15] <Hixie> anyone see anything wrong with that?
- # [01:16] <Hixie> the alternatives are to have a magical base resolution mechanism and simply ignoring stray <base> tags
- # [01:16] <zcorpan_> ie7 ignores stray <base>s, doesn't it?
- # [01:16] <zcorpan_> (or is that in standards mode only?)
- # [01:16] <Hixie> probably both
- # [01:17] <Hixie> as in, "yes" to both questions, probably
- # [01:17] <zcorpan_> right. and we want to deal with quirks :)
- # [01:17] <zcorpan_> (at least if the web relies on them)
- # [01:17] <Hixie> i wonder if i have some data on <base> elements
- # [01:18] <zcorpan_> it amused me when ms decided to ignore stray <base>s... obviously they based their implementation on document conformance requirements in html4
- # [01:19] * Quits: billmason (n=billmaso@ip156.unival.com) (".")
- # [01:19] <Hixie> about 5% of sites have 1 <base> tag, apparently
- # [01:20] <Hixie> 0.03% have 2
- # [01:20] * bewest uses base
- # [01:20] <Hixie> 0.0017% have 3
- # [01:20] <zcorpan_> but does defining it with xml:base work? i mean if there are multiple <base>s in the same parent
- # [01:20] * Joins: KevinMarks (i=KevinMar@nat/google/x-9a3f7037281da197)
- # [01:20] <Hixie> and a few thousand have more than 3
- # [01:21] <Hixie> zcorpan_: i would make the xml:base be set on every element until the next <base>, i guess
- # [01:21] <zcorpan_> ah. right
- # [01:22] <Hixie> so we're talking about a few million pages here
- # [01:22] * Quits: aroben_ (i=adamrobe@nat/apple/x-1e81120d2f6f9999) (Read error: 110 (Connection timed out))
- # [01:22] <Hixie> with 2 or more <base> elements
- # [01:22] <Hixie> i wonder how many have the same URI in both <base> elements
- # [01:22] <zcorpan_> there might be pages that use only one but have it in the middle
- # [01:23] <zcorpan_> <link href><base href><link href>
- # [01:23] <Hixie> oh actually this was only counting _different_ values for <base>
- # [01:23] <Hixie> so a few million pages use two different values for <base>
- # [01:26] <zcorpan_> so if you serialize to xml, do you drop the <base>s?
- # [01:27] <zcorpan_> afaict browsers don't ignore <base> in xhtml
- # [01:28] <zcorpan_> for some reason i think magical base resolution mechanism would work better
- # [01:30] <zcorpan_> i'm not an implementor though but i'm just observing what browsers are doing today :)
- # [01:33] <Hixie> yeah, dunno
- # [01:33] * Hixie needs to study this more
- # [01:34] <Hixie> my main concern with supporting <base> in XHTML is that it means URI resolution will be different in XHTML UAs than pure XML UAs
- # [01:34] <Hixie> but i guess i can point the topic at myself
- # [01:35] <zcorpan_> ah. so you'd like to drop support for <base> in xhtml5 completely?
- # [01:35] <Hixie> that's what the spec says today iirc
- # [01:35] <Hixie> but people have argued against that
- # [01:36] <bewest> I like base
- # [01:36] <bewest> it makes it easy to develop entire websites and then move the whole thing
- # [01:36] <bewest> only thing you need to change is a variable somewhere
- # [01:36] <Hixie> you like <base>, or you like the concept of having a base URI?
- # [01:36] <bewest> base URI
- # [01:36] <zcorpan_> it says authors must not use it in xml. afaict it doesn't say uas must ignore it in xml
- # [01:36] <Hixie> ok well that's fine, nobody's talking about removing that feature :-)
- # [01:37] <bewest> ah
- # [01:37] <Hixie> we're just talking about the syltax
- # [01:37] * bewest pipes down
- # [01:37] <Hixie> zcorpan_: ah
- # [01:37] <Hixie> hehe
- # [01:38] <zcorpan_> today, browsers don't ignore <base> in xml, but since 0.00% of the web use xml it might not be much of an issue to change that :)
- # [01:39] <Hixie> :-)
- # [01:39] <Hixie> yeah, especially since 95% of pages don't use base stuff at all
- # [01:39] <Hixie> so that'd make it 5% of 0.00% :-)
- # [01:39] <zcorpan_> indeed :)
- # [01:41] <Philip`> I guess a physicist would call that 0.000%
- # [01:42] <zcorpan_> but <base href> changes the #document base uri. xml:base at best changes the root element's base uri
- # [01:42] <zcorpan_> (which makes a difference with xhr iirc)
- # [01:42] <Hixie> yeah
- # [01:44] <Hixie> talking about t-shirts
- # [01:44] <Hixie> here's one
- # [01:44] <Hixie> it just says "XForms is the automobile." on it
- # [01:44] <othermaciej> lol
- # [01:44] <Dashiva> I thought xforms was the lightbulb
- # [01:45] <othermaciej> and HTML forms is LOAD AX, 1000
- # [01:45] <othermaciej> but we really need more declarative syntax for that
- # [01:46] <Dashiva> op="load" ra="ax" rb="1000" ?
- # [01:46] <zcorpan_> we need spreadsheets to make our t-shirts
- # [01:46] <othermaciej> it really should be <instruction><opcode>LOAD</opcode><operand type="register">AX</operand><operand type="integer-constant">1000</operand></instruction>
- # [01:47] <othermaciej> then you can abstract opcode to be a processor-independent operation, and use psuedo-registers for your registers, and allow the author to add a declarative model of their instruction set and pipeline model
- # [01:47] <Hixie> don't forget version="1.0" on the <instruction> element
- # [01:47] <othermaciej> and optimal code can be generated automatically
- # [01:48] <Philip`> You could do all your register allocation using XSLT
- # [01:48] <zcorpan_> most importantly, it can be produced by authoring tools for people who don't know about markup
- # [01:49] <Dashiva> They don't even need to know assembly if we abstract away the commands well enough
- # [01:55] <bewest> yes, we should have declaritive expressions for spreadsheets for people who can't author them, but we should also be sure to leave <font> out of it
- # [01:55] <bewest> 'cause <font> is what those browser-makers want
- # [01:55] <othermaciej> bewest: to be fair, that's two separate groups of crazy people
- # [01:55] <bewest> yeah
- # [01:55] <bewest> but it's all crazy if you ask me
- # [01:57] <othermaciej> I'm just waiting for the "remove all vestiges of presentational markup" people to get in a fight with the "we need more presentational markup" people
- # [01:57] <othermaciej> someone should Cc Tina on the <indent> thread
- # [01:58] <Dashiva> That would probably make the server kneel under the load
- # [02:04] * Quits: jgraham (n=jgraham@81-179-93-10.dsl.pipex.com) (Read error: 110 (Connection timed out))
- # [02:05] * Quits: Toolskyn (n=toolskyn@adsl-dc-266ef.adsl.wanadoo.nl) (Read error: 104 (Connection reset by peer))
- # [02:05] * Quits: tantek (n=tantek@65.160.17.13)
- # [02:10] * moeffju is now known as moeffju[ZzZz]
- # [02:12] * Joins: tantek (n=tantek@65.160.17.13)
- # [02:23] * Quits: aroben (i=adamrobe@nat/apple/x-74f58705432779ac)
- # [02:24] * Quits: inkbase (i=Miranda@nat/ibm/x-99a8745c5ed9eb2e) (Read error: 104 (Connection reset by peer))
- # [02:28] * Quits: tantek (n=tantek@65.160.17.13)
- # [02:41] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [02:48] * Quits: h3h (n=h3h@66-162-32-234.static.twtelecom.net) ("|")
- # [02:49] * Quits: karlUshi (n=karl@124-144-94-185.rev.home.ne.jp) ("Where dwelt Ymir, or wherein did he find sustenance?")
- # [03:08] * Quits: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net)
- # [03:08] * Joins: aroben (i=adamrobe@nat/apple/x-55eac6c21f055fdd)
- # [03:09] * Joins: aroben_ (i=adamrobe@nat/apple/x-e47e0feb11a44c19)
- # [03:14] * Joins: tantek (n=tantek@66.116.112.10)
- # [03:15] <Hixie> so...
- # [03:16] <Hixie> IE only handles <base href=""> on the first <base> element
- # [03:16] <Hixie> but
- # [03:16] <Hixie> it handles <base target> the same way as before
- # [03:17] <othermaciej> that's kinda freaky
- # [03:21] * Quits: aroben_ (i=adamrobe@nat/apple/x-e47e0feb11a44c19)
- # [03:22] <Hixie> so does safari have any bugs about compat regarding your <base target> handling?
- # [03:23] <othermaciej> I'll see if I can find any
- # [03:23] <othermaciej> but it's unlikely I can give a definitive "no"
- # [03:24] <othermaciej> since there could well be unreduced bugs that boil down to that issue
- # [03:26] * Quits: aroben (i=adamrobe@nat/apple/x-55eac6c21f055fdd) (Connection timed out)
- # [03:27] <othermaciej> I have one titled "Documents with multiple base tags handled differently than IE"
- # [03:27] <othermaciej> but it does not appear to involve target
- # [03:27] <othermaciej> and may be obsoleted by IE7
- # [03:28] <Hixie> k
- # [03:30] <othermaciej> Hixie: I couldn't find any that were clearly about <base target>, but I only found very few that were about <base> at all (4 total)
- # [03:30] <othermaciej> there could easily be more lurking in unreduced bugs
- # [03:30] <Hixie> k
- # [03:30] <Hixie> thanks
- # [03:30] <Hixie> do let me know if you spot anything in future
- # [03:34] * Parts: zcorpan_ (n=zcorpan@217-211-77-236-no13.tbcn.telia.com)
- # [03:36] * Joins: zcorpan_ (n=zcorpan@217-211-77-236-no13.tbcn.telia.com)
- # [03:38] <tantek> is there a document.us collection that returns all the base elements?
- # [03:40] * Parts: zcorpan_ (n=zcorpan@217-211-77-236-no13.tbcn.telia.com)
- # [03:47] * Quits: othermaciej (i=mjs@nat/apple/x-a80455da3caef986)
- # [04:07] * Joins: crimson_penguin (n=ben@pem-tcs2-port1.vianet.ca)
- # [04:09] * Joins: hays (n=hays@pool-138-88-199-16.res.east.verizon.net)
- # [04:12] <hays> What should I read to convince me that the current direction of HTML 5 is not insane?
- # [04:18] * Quits: tantek (n=tantek@66.116.112.10) (Read error: 110 (Connection timed out))
- # [04:21] <Hixie> hays: the spec, probably
- # [04:23] <crimson_penguin> Hixie: The spec is what makes him think it's insane, so I doubt reading it again will turn his opinion to the opposite
- # [04:24] <hays> So the C spec, for example, has a document that discusses the "why" of certain decisions that is not normative. Python has PEPs. Is there something like that for HTML 5?
- # [04:24] <Hixie> yeah, hold on, let me get you some links
- # [04:38] <hays> thanks
- # [06:39] * Disconnected
- # Session Close: Wed May 02 00:00:00 2007
The end :)