Options:
- # Session Start: Tue Sep 22 00:00:00 2009
- # Session Ident: #whatwg
- # [00:00] * Joins: ttepass- (n=ttepas--@p5B013F8F.dip.t-dialin.net)
- # [00:00] <masinter> that was the idea, W3C and WhatWG working together in this process is an experiment for W3C?
- # [00:00] <masinter> the posting was in the middle of a conversation of W3C members about how the W3C management should spend the W3C member's money
- # [00:00] <masinter> at the time, I was Adobe's AC representative, I'm not now
- # [00:01] <masinter> well, when you do an experiment, you try to figure out whether things are working
- # [00:01] * fishd__ is now known as fishd
- # [00:01] <mpilgrim> i am aware of the context
- # [00:02] <mpilgrim> i read the entire archives, not just selected ones
- # [00:02] <masinter> so i don't really want to debate whether the 'experiment' has 'failed' now, things seem to be working better
- # [00:02] <mpilgrim> i've also read the w3c's financial group's report
- # [00:02] <masinter> in general, standards really only work when the implementors of the specification participate in the process
- # [00:02] * Joins: sicking (n=chatzill@nat/mozilla/x-bmlbmtwtqvswjwhh)
- # [00:02] <masinter> and more of that seems to be happening, so that's good
- # [00:03] <masinter> the IETF has different process -- all mailing lists are open, there are no dues, i've done more work in IETF than in W3C
- # [00:04] <masinter> i've been chair of two IETF working groups (URI and HTTP), editor of lots of IETF documents, and member of dozens of other working groups; so I think I can have an opinion -- which is really all i was saying -- about how well the experiment was going
- # [00:05] <masinter> the merger of the open mailing list anyone can chat with the formal W3C meeting/voting/representative methods still is really in conflict, and i'm still not sure how it will work out
- # [00:05] <masinter> as for whether the mailing list is open or secret -- well, you read it and you're talking about it, so either it's not really secret, or you're violating the membership agreement, since this conversation is public
- # [00:06] <masinter> i don't care if you want to repost my old message, but i think it's old news
- # [00:06] <masinter> i'd rather just see if we can fix the spec and get on with it.
- # [00:06] <masinter> OK?
- # [00:07] <mpilgrim> i prefer to judge working groups by their results
- # [00:07] <masinter> that's always the best, but i'm not sure everyone agrees on 'results'
- # [00:07] <mpilgrim> rather than their adherence to some process document
- # [00:07] <masinter> i think it would be bad if IRIs in HTML and IRIs in instant messaging worked differently
- # [00:08] <mpilgrim> i'm sure the document is quite well-written and all that
- # [00:08] <mpilgrim> in fact, i've read it, and i can confirm that it is well-written
- # [00:08] <masinter> i think it's bad that there are 6
- # [00:08] <mpilgrim> but w3c process is what caused the WHATWG in the first place
- # [00:09] <masinter> i don't think 'well-written' is well-defined actually
- # [00:09] <masinter> there are various things you want a spec to do, and the question is whether the spec actually does that
- # [00:09] * Quits: heycam (n=cam@210-84-32-112.dyn.iinet.net.au) ("bye")
- # [00:09] <masinter> you write a specification that implementors agree to implement
- # [00:09] <masinter> and how "well written" it is may depend on how broad that agreement is
- # [00:10] * ap|away is now known as ap
- # [00:10] * Quits: Steve^ (n=steve@92.40.247.106.sub.mbb.three.co.uk) ("Leaving")
- # [00:11] <masinter> anyway, have we handled your "failed experiment" and "secret AC mailing list" posting issues?
- # [00:11] <masinter> i'm not sure if you wanted me to blog about it more publicly, or use nicer words, or what? Were you offended by what I said?
- # [00:13] * sicking is just happy to have an IETF spec that matches reality
- # [00:14] <masinter> well, I'm not sure 'matches reality' is always the most important goal
- # [00:14] <mpilgrim> the fact that you bring up w3c membership agreements just highlights how broken the w3c really is
- # [00:14] <sicking> masinter: well, at *some* point reality and the spec is going to match i hope?
- # [00:15] <sicking> be that reality changing, or spec changing, or both
- # [00:15] <masinter> yes, a good specification leads the community to uniformly implement something that improves their mutual benefit
- # [00:15] <mpilgrim> but sure, i guess i'd done talking about it
- # [00:15] <masinter> it's a "tragedy of the commons" situation
- # [00:15] <mpilgrim> did you want to talk about the other points?
- # [00:16] <masinter> anything you want, I can't do this the rest of this week
- # [00:16] <masinter> I'm secretly meeting with 8 other men over beer to work out the future of the web, without the hoi polloi having a say
- # [00:17] <mpilgrim> well, i retract the part about the beer
- # [00:17] <mpilgrim> apparently there is no beer
- # [00:17] <masinter> http://www.w3.org/2001/tag/2009/09/23-agenda
- # [00:17] * Joins: taf2 (n=taf2@216-15-54-105.c3-0.grg-ubr3.lnh-grg.md.cable.rcn.com)
- # [00:17] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [00:17] <masinter> last F2F we definitely had beer
- # [00:17] <masinter> not during the meetings tho
- # [00:18] <masinter> i dunno, "false dichotomy" and "logical fallacy"
- # [00:19] <masinter> sound like ways of saying that you disagree with me
- # [00:20] <masinter> i'm willing to have a discussion and listen to arguments, hope you are too
- # [00:20] <mpilgrim> "[16:01] <masinter> sigh, definitely private meetings should be outlawed, and private conversations too"
- # [00:20] <masinter> well, i explained again, i was being ironic
- # [00:20] <mpilgrim> yes
- # [00:20] <mpilgrim> my irc client must have dropped your smiley
- # [00:20] <masinter> i think sam covered this already, someone complained that Ian had a private meeting and Sam defended it saying private meetings were ok
- # [00:21] * Quits: ttepasse (n=ttepas--@p5B015B39.dip.t-dialin.net) (Read error: 110 (Connection timed out))
- # [00:21] <mpilgrim> private meetings are great
- # [00:21] * Joins: carlocci (n=nes@93.37.209.208)
- # [00:21] <mpilgrim> making decisions in private meetings is not
- # [00:21] <masinter> i know of no standards group that has a process for making decisions in private meetings
- # [00:21] <mpilgrim> (unless the entire process is private, of course)
- # [00:21] <masinter> well, wait
- # [00:21] <masinter> i take it bak
- # [00:22] <masinter> sure, there are private meetings
- # [00:22] <masinter> the W3C process was modeled after the X consortium
- # [00:22] <masinter> at least as the starting point. Not sure that was the best model
- # [00:23] * Quits: taf2 (n=taf2@216-15-54-105.c3-0.grg-ubr3.lnh-grg.md.cable.rcn.com)
- # [00:23] <masinter> in my view, W3C was started in the first place because the IETF process wasn't converging
- # [00:23] * Quits: matijsb (n=matijsb@hotfusion.demon.nl)
- # [00:23] * jre wonders how to get Mark P. to fix http://code.google.com/p/doctype/wiki/APingAttribute, as editing the Wiki does not work (and hasn't worked since last year)
- # [00:23] <masinter> I was in the HTML working group in IETF, with open meetings and postings and mailing lists, and there was an irreconcilable gulf between "inline <font>" and style sheets
- # [00:25] <masinter> and people thought "this kind of open consensus process doesn't work for HTML, we need a working group with representatives who can *vote* and use *majority voting* to resolve these kinds of things
- # [00:25] <masinter> so this seems to me to be repeating history -- the more things change, the more they stay the same
- # [00:26] <mpilgrim> jre: we're migrating the site to a different backend CMS
- # [00:27] <mpilgrim> masinter: yeah, and the first thing the w3c did when they took html under their wing was to create html 3.0
- # [00:27] <masinter> well, you know, you talk about 'the w3c' as if Opera, Apple, Google, and Mozilla aren't members
- # [00:27] <mpilgrim> backtracked in 3.2, produced something halfway usable in 4.0, then abandoned it altogether
- # [00:27] <mpilgrim> not the greatest track record
- # [00:28] <jre> mpilgrim, good to known; it would be even nicer if people's bug reports would be replied to; at least now I know what may be going on
- # [00:28] <masinter> the problem with HTML in W3C is that neither Netscape nor Microsoft wanted to play
- # [00:30] <masinter> I can't say W3C HTML working group was the most effective working group I'd seen (I was on the committee as the rep from Xerox in the late 90s) but if the browser vendors didn't want to play, there was no way of making them
- # [00:30] * aboodman2 is now known as aboodman
- # [00:33] <masinter> standards groups like IETF and W3C are more like convention centers: they provide the meeting rooms and projectors and some process management, but no work gets actually done except by the people who come. Talking about it as "the W3C" vs. "Opera & Mozilla & Apple & Microsoft & Google" seems to leave out the fact that (well, maybe not Google at the time?) they were that those who needed to play weren't willing to play at the W3C
- # [00:33] <masinter> so it's not clear who you are blaming for the failure, mpilgrim?
- # [00:33] <masinter> some staff members?
- # [00:34] * Quits: fishd (n=darin@nat/google/x-uhnmeisermowtpyb) (Read error: 110 (Connection timed out))
- # [00:34] <masinter> why didn't Apple or Opera or Microsoft send people to the W3C HTML working group meetings to actually create a useful standard way back then?
- # [00:35] * Joins: fishd (n=darin@nat/google/x-fjewkvfquvdudtyv)
- # [00:36] <masinter> s/useful/better/
- # [00:38] * mpilgrim wonders if masinter was present at the 2004 workshop on web applications
- # [00:38] <mpilgrim> or knows the history of said workshop
- # [00:39] <masinter> i wasn't there
- # [00:39] <masinter> i know the history
- # [00:39] <hober> http://www.w3.org/2004/04/webapps-cdf-ws/ and http://www.w3.org/2004/04/webapps-cdf-ws/papers/opera.html for those reading the archives who don't know the history
- # [00:39] <othermaciej> the W3C voted to reject further work on HTML in favor of XHTML2, SVG and compound documents
- # [00:39] <masinter> my impression is that WhatWG was already started months before, the legal agreement for copyright between Opera and Mozilla already in place. The WhatWG was *announced* a few days after, but the spec had been in preparation for months before in private email
- # [00:40] <Hixie> the legal agreement for copyright between Opera and Mozilla and Apple happened about 6 months after the workshop
- # [00:40] <mpilgrim> actually i think the archives are down at the moment, but thanks hober for the links
- # [00:40] <Hixie> and the spec had been public the whole time since the xforms PR vote
- # [00:41] <othermaciej> my recollection is that originally the only spec being worked on was Web Forms 2 as a reaction to XForms
- # [00:41] <masinter> ah ok
- # [00:41] <masinter> so there were no plans to fork a separate group before that workshop?
- # [00:41] <Hixie> there were backup plans
- # [00:41] <Hixie> but the whatwg site was only announced because the w3c said that the browser vendors weren't welcome
- # [00:41] <Hixie> we were hoping to not use it
- # [00:41] <Hixie> and we didn't threaten with it or anything
- # [00:42] <masinter> no i'm sure
- # [00:42] <othermaciej> I can't speak for anyone else, but Hyatt and I were the ones involved in this from Apple's end and we had no prior intent to make a breakaway group or interest in doing so
- # [00:42] <masinter> i'm just saying talking about "the W3C" as if it were someone else doesn't make a lot of sense if you're a member company
- # [00:42] <masinter> or from a member company
- # [00:42] <Hixie> it makes a lot of sense when the W3C staff are the ones who tell you (a member company) to go elsewhere
- # [00:42] <Hixie> which actually happened at that meeting
- # [00:42] * Quits: webben (n=benh@dip5-fw.corp.ukl.yahoo.com) (Client Quit)
- # [00:42] <masinter> well, the staff isn't in charge, the members are
- # [00:43] <othermaciej> it makes sense in the same way as it makes sense to complain about US policy even when one is an American voter
- # [00:43] <mpilgrim> and i'm just saying that there were w3c member companies at a w3c workshop who were told in no uncertain terms that html was dead and that they were not permitted to work on it further within the w3c
- # [00:43] <masinter> well, how many members are there who vote?
- # [00:43] <othermaciej> members get to vote on very few things
- # [00:43] * Joins: taf2 (n=taf2@98.218.77.43)
- # [00:43] <Hixie> anyway that's all in the past, the future is what matters. the w3c said that they were sorry and we were right and xhtml2 was wrong and so we can move on to more important things now
- # [00:43] <othermaciej> mostly their input is advisory and the decision is made by w3c staff
- # [00:43] <masinter> yes, exactly
- # [00:43] <masinter> i didn't bring up this past stuff
- # [00:44] * mpilgrim wonders why masinter, author of the w3c process document, doesn't know the answers to these questions
- # [00:44] <masinter> sorry, which questions?
- # [00:44] * Hixie goes back to actually improving html
- # [00:44] <othermaciej> I think it's relevant to why W3C Member organizations may have valid reason to complain about the actions of "the W3C"
- # [00:44] <othermaciej> but yes, it's also water under the bridge
- # [00:44] * Quits: dbaron (n=dbaron@nat/mozilla/x-ohqupwwzhsbbckwd) (Read error: 104 (Connection reset by peer))
- # [00:45] * Joins: dbaron (n=dbaron@nat/mozilla/x-caleijfflnnswjvd)
- # [00:45] <othermaciej> I think HTML is on a good course now, and despite the flamewars and process wrangling I am happy with where things are going
- # [00:46] <masinter> i think there's a lot of work to be done, and my estimate of what needs to be done is probably a lot more than you think needs to be done, but fixing things does seem like the right direction
- # [00:46] * mpilgrim thinks HTML was on a good course before the W3C came back into the picture
- # [00:46] <masinter> do i get to ignore mpilgrim's flaming or what?
- # [00:46] <hober> masinter: it's IRC. you get to /ignore whomever you please.
- # [00:46] <othermaciej> this channel has been more entertaining today than it has been in months
- # [00:47] <Lachy> from what I can tell from my archives, the spec's current copyright licence was sorted out around November 2004, and it took the 6 months since June 2004 for the lawyers to finally sort it out.
- # [00:47] <masinter> people were saying there was some "cultural difference" so i thought "nah, i can speak that language"
- # [00:47] <Hixie> Lachy: that's what i said :-)
- # [00:48] <mpilgrim> i realize there was a desire to get MS to agree to a patent policy, but i think that has come at too high a price
- # [00:48] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [00:48] <Lachy> ok. I only skimmed the logs. Didn't see you mention the dates
- # [00:48] <othermaciej> the conversation here is at times messy and rambunctious and not always 100% serious
- # [00:48] <Hixie> (Lachy: i only said 6 months)
- # [00:48] <Hixie> "not always" is putting it mildly
- # [00:49] <masinter> well, i think the arguments about process really are dead, but wish mpilgrim would stop bringing them up
- # [00:49] * masinter wants the topic to be renamed to 'den of trolls'
- # [00:49] <mpilgrim> that topic has certainly been apropos today, but not for the reason you think
- # [00:49] <othermaciej> I think the reason people reading the logs sometimes get very upset is lack of context and missing the tone, rather than a cultural barrier
- # [00:50] <Hixie> mpilgrim: i think we should have tried harder to get a patent policy outside the w3c, but i think microsoft's involvement is important
- # [00:50] <masinter> the patent policy is held up way too much, and isn't really very effective here anyway
- # [00:50] <masinter> but IANAL so i'll shut up
- # [00:50] <mpilgrim> microsoft's involvement was relatively... minimal... before august 7
- # [00:50] <mpilgrim> so i'm not sure that argument holds up either
- # [00:51] <othermaciej> having a patent policy and having microsoft's participation are both valuable
- # [00:51] <mpilgrim> agreed
- # [00:51] <mpilgrim> but at what price?
- # [00:51] <Hixie> mpilgrim: oh i think we failed to get any significant useful input from them, but that doesn't mean it wasn't worth trying to get it
- # [00:51] <Hixie> mpilgrim: it was the Right Thing To Do
- # [00:51] <Hixie> mpilgrim: even if it had a high cost
- # [00:51] <Hixie> mpilgrim: however, we should have done it outside the w3c
- # [00:51] <Philip`> Does implementing and shipping HTML5 features in IE8 not count as involvement?
- # [00:51] * masinter isn't going to talk about process any more
- # [00:52] <mpilgrim> hixie: i disagree, but i've never been known as a bridge-builder
- # [00:52] <mpilgrim> ;)
- # [00:52] <masinter> on the text/html mime type registration? i'm not happy obsoleting http://www.ietf.org/rfc/rfc2854.txt with the text you have
- # [00:52] * Joins: GarethAdams_ (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [00:53] <mpilgrim> bbiab, dinner
- # [00:53] <masinter> i could see adding stuff, sure, but don't know why anything in that document is wrong
- # [00:53] <Hixie> masinter: please send e-mail or file a bug; i don't track feedback from irc (due to the difficulty in doing so)
- # [00:53] <masinter> i thought there might be a difference of opinion about what a MIME type registration is for?
- # [00:54] * Joins: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
- # [00:55] <masinter> the issue was open and got closed in HTML-WG and i didn't want to try to repoen it in HTML-WG without a discussion
- # [00:55] <Hixie> masinter: possibly, but right now my brain is looking at how to determine what exceptions should be raised when a negative integer is given as the new value of an unsigned long IDL attribute, and I don't really have the bandwidth to do both
- # [00:56] <masinter> ok
- # [00:56] <Hixie> speaking of which, what exceptions should be raised when a negative integer is given as the new value of an unsigned long IDL attribute?
- # [00:56] <Hixie> WebIDL doesn't seem to define it
- # [00:56] <Hixie> heycam: yt?
- # [00:56] <heycam> hi Hixie
- # [00:56] <Hixie> so i have a stupid case to deal with
- # [00:56] <Hixie> maxLength on <textarea> and <input>
- # [00:57] <Hixie> has to return -1 when the content attribute is missing
- # [00:57] <Hixie> but has to only accept non-negative new values on setting
- # [00:57] <Hixie> what exception shoul i throw?
- # [00:57] <heycam> ok
- # [00:57] <heycam> does it have to accept values >2**31
- # [00:57] <heycam> ?
- # [00:57] <Hixie> no
- # [00:57] <heycam> so you'll be giving an unsigned long type?
- # [00:57] <heycam> s/an/it an/
- # [00:58] <Hixie> the IDL attribute will be just long, i think
- # [00:58] <heycam> oops
- # [00:58] <Philip`> What if I want to copy-and-paste a DVD into a text input box? :-(
- # [00:58] <heycam> sorry
- # [00:58] <Hixie> since it needs to return -1
- # [00:58] <heycam> i thought signed but typed unsigned :)
- # [00:58] * Quits: weinig (n=weinig@17.246.16.129)
- # [00:58] <Hixie> Philip`: don't set maxlength then :-P
- # [00:58] <Hixie> heycam: heh
- # [00:58] <masinter> bye, i'll probably not be back until next Sunday so save up your darts
- # [00:58] <Philip`> Hixie: Oh, that sounds good enough
- # [00:58] * Quits: masinter (n=user@76.102.104.162) ("ERC Version 5.2 (IRC client for Emacs)")
- # [00:58] <Hixie> heycam: basically it's a long, but i want it to pretend to be unsigned long when the new value is negative
- # [00:58] <heycam> silly question then, what exceptions do impls throw currently?
- # [00:59] <heycam> but if you don't need values >2**31 it seems like it really is signed
- # [00:59] <Hixie> interoperability is not a strong point of this area of the platform
- # [00:59] <heycam> just you can't assign all values to it
- # [00:59] <heycam> which isn't an uncommon thing
- # [00:59] <Hixie> i seem to use INDEX_SIZE_ERR in similar cases
- # [00:59] <heycam> well i would suggest a DOMException of some kinda, rather than an ES exception
- # [00:59] <Hixie> k
- # [01:00] <Hixie> i'll use INDEX_SIZE_ERR
- # [01:00] <Hixie> thanks
- # [01:00] <heycam> yeah, though poorly named, it's probably the closest
- # [01:00] * Quits: jre (n=chatzill@mail.greenbytes.de) ("ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]")
- # [01:00] <othermaciej> Hixie: DOM APIs have historically given INDEX_SIZE_ERR in such cases
- # [01:01] <othermaciej> (the language around this is a little wacky, since in the DOM's model of IDL, there should be no such thing as assigning a negative number to an unsigned attribute)
- # [01:01] * Quits: mpilgrim (n=mark@96.10.240.189) (Read error: 148 (No route to host))
- # [01:02] <othermaciej> I don't remember what happens for out-of-range magnitude or non-integer values (that would be in range if truncated)
- # [01:02] <Hixie> yeah there isn't in webidl+html5 now either, the exception for that case will be in webidl
- # [01:02] <Hixie> but sadly this is one of those special cases
- # [01:02] <Hixie> ...like almost everything else in html5
- # [01:02] <heycam> Hixie, i don't think it's such a special case really. i don't see it as problematic or inconsistent at all.
- # [01:03] <heycam> if it did accept assigning values >2**31 then it would be
- # [01:03] <othermaciej> so if you find something in HTML5 that's *not* a special case... then wouldn't that be a particularly special case?
- # [01:03] * Joins: weinig (n=weinig@17.244.2.244)
- # [01:03] * weinig is now known as weinig|away
- # [01:04] * Joins: doublec (n=doublec@203-97-204-82.dsl.clear.net.nz)
- # [01:06] * Quits: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net) ("Colloquy more like Coolloquy")
- # [01:06] * Joins: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
- # [01:07] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [01:09] * Quits: ap (n=ap@17.246.19.174) (Remote closed the connection)
- # [01:10] * Joins: ap (n=ap@17.203.15.201)
- # [01:14] * Quits: dglazkov (n=dglazkov@nat/google/x-objgfpxkwcatdzla) (Remote closed the connection)
- # [01:14] * Joins: dglazkov (n=dglazkov@nat/google/x-fowrkyowsteboerl)
- # [01:15] * Joins: cmrn (n=cmrn@ppp59-167-44-170.lns2.cbr1.internode.on.net)
- # [01:28] * GarethAdams_ is now known as GarethAdams|Home
- # [01:29] * GarethAdams|Home is now known as GarethAdams|Work
- # [01:29] * GarethAdams|Work is now known as GarethAdams|Home
- # [01:31] * Quits: dglazkov (n=dglazkov@nat/google/x-fowrkyowsteboerl)
- # [01:32] * Quits: jianli (n=jianli@74.125.59.73) (Read error: 110 (Connection timed out))
- # [01:36] * Quits: taf2 (n=taf2@98.218.77.43)
- # [01:36] * Joins: tantek (n=tantek@67.180.202.79)
- # [01:38] * Joins: jianli (n=jianli@74.125.59.73)
- # [01:46] * Joins: nessy (n=nessy@115.128.43.191)
- # [01:46] * Joins: seanoshea (n=seanoshe@nat217.eye.fi)
- # [01:48] * Quits: gunderwonder (n=gunderwo@172.80-202-84.nextgentel.com)
- # [01:49] * Quits: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) ("ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [01:49] * Quits: nessy (n=nessy@115.128.43.191) (Client Quit)
- # [01:52] * Quits: weinig|away (n=weinig@17.244.2.244)
- # [01:56] * Joins: tantekc (n=tantek@67.180.202.79)
- # [01:57] * Joins: weinig (n=weinig@17.246.19.21)
- # [01:58] <tantekc> I'm exploring ways of "properly" or "ideally" marking up ASCII art, and there seems to be very few existing discussions of the topic.
- # [01:59] <tantekc> WCAG 1.0 has some techniques: http://www.w3.org/TR/WCAG10-HTML-TECHS/#ascii-art
- # [02:00] <tantekc> the "skip over " links always seem like a hack
- # [02:00] <tantekc> anyone have any data on what ATs do with <pre> marked up ASCII art?
- # [02:02] * tantekc wonders if anyone considered making a MIME type for ASCII art, e.g. image/ascii
- # [02:02] * Quits: tantek (n=tantek@67.180.202.79) (Read error: 110 (Connection timed out))
- # [02:02] * tantekc is now known as tantek
- # [02:02] <hober> text/art
- # [02:03] <tantek> there is this test case (for supposedly accessibly marked up ASCII art) http://www.bentoweb.org/ts/XHTML1_TestSuite3/testfiles/sc1.1.1_l1_038.html
- # [02:03] <tantek> linked from http://www.bentoweb.org/ts/XHTML1_TestSuite2/metadata/sc1.1.1_l1_038
- # [02:04] <tantek> hober I was thinking text/art as well, until I realized that text is merely the stream format, not the general type of thing
- # [02:04] <tantek> image/text would be more accurate than text/image
- # [02:07] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [02:09] <Hixie> woah, xmlns has no definition of an XML namespace-well-formed internal general parsed entity
- # [02:10] <Hixie> bummer
- # [02:11] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Client Quit)
- # [02:11] <othermaciej> tantek: what would be the right way to provide accessibility for ASCII art?
- # [02:11] <othermaciej> text equivalent?
- # [02:11] <othermaciej> <pre> would be right layout-wise but I don't think it has an obvious way to provide a text equivalent, other than ARIA
- # [02:11] <tantek> othermaciej - yes, a *visible* text equivalent/alt/explanation is what WCAG suggests
- # [02:11] <tantek> I would like a way to say <pre art>
- # [02:12] <othermaciej> visible - sounds good
- # [02:12] <tantek> (not an actual proposal)
- # [02:12] <tantek> just to illustrate the concept
- # [02:12] <tantek> I don't want ATs to attempt to speak/pronounce the ASCII art
- # [02:12] <Hixie> it really does appear that there's no way to use namespaces with internal general parsed entities
- # [02:12] <othermaciej> if the goal is to just stop AT from reading it, then <pre role=presentation> would do it
- # [02:12] <Hixie> how the heck do i define the XML serialisation of a DocumentFragment then
- # [02:13] <othermaciej> what's an internal general parsed entity?
- # [02:13] <othermaciej> is that a fancypants way to say document fragment?
- # [02:13] <tantek> othermaciej - ok I'll look at role=presentation. thanks.
- # [02:13] <Hixie> it a fancypants way of referring to the kind of stuff you'd find inside an element in XML
- # [02:13] * Quits: fishd (n=darin@nat/google/x-fjewkvfquvdudtyv) (Read error: 110 (Connection timed out))
- # [02:13] <Hixie> i.e. the string forming the text, comments, other elements, etc in an element
- # [02:14] <othermaciej> would it be sufficient to define it by saying if you surround the fragment with an element, that must produce a namespace-well-formed document?
- # [02:15] <Hixie> yeah that's what i'm doing
- # [02:15] <Hixie> but that's a hack
- # [02:16] <Hixie> <p>For the purposes of this section, an internal general parsed entity is considered XML namespace-well-formed if a document consisting of an element whose contents are the internal general parsed entity would itself be XML namespace-well-formed.</p>
- # [02:18] * Joins: yutak_home (n=kee@M006079.ppp.dion.ne.jp)
- # [02:18] <othermaciej> perhaps you should specify that the hypothetical element does not itself have any namespace declarations
- # [02:20] <Hixie> yeah
- # [02:20] <Hixie> <p>For the purposes of this section, an internal general parsed entity is considered XML namespace-well-formed if a document consisting of an element with no namespace declarations whose contents are the internal general parsed entity would itself be XML namespace-well-formed.</p>
- # [02:22] * Joins: crow (n=miketayl@user-0cdf5gs.cable.mindspring.com)
- # [02:23] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [02:23] * crow is now known as miketaylrr
- # [02:27] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [02:29] * Joins: gsnedders (n=gsnedder@host217-44-35-222.range217-44.btcentralplus.com)
- # [02:31] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [02:32] <tantek> Hixie - how can anyone expect web authors to understand something like that?
- # [02:32] <Hixie> web authors aren't expected to even see that
- # [02:33] <Hixie> it's in a class="impl" section
- # [02:33] <Hixie> so it would be hidden from the author view
- # [02:41] <tantek> ah ok, thanks.
- # [02:48] * Joins: jcranmer_ (n=jcranmer@ltsp2.csl.tjhsst.edu)
- # [02:48] * Quits: slightlyoff (n=slightly@nat/google/x-gqdafjgyolfbggqv) (verne.freenode.net irc.freenode.net)
- # [02:48] * Quits: jcranmer (n=jcranmer@ltsp2.csl.tjhsst.edu) (verne.freenode.net irc.freenode.net)
- # [02:48] * Quits: broquaint (i=4776acbc@spc2-brig11-0-0-cust222.asfd.cable.virginmedia.com) (verne.freenode.net irc.freenode.net)
- # [02:48] * Quits: Hixie (i=ianh@trivini.no) (verne.freenode.net irc.freenode.net)
- # [02:49] * Joins: cying (n=cying@70.90.171.153)
- # [02:50] * Quits: ojan (n=ojan@72.14.229.81)
- # [02:51] <roc> even if Microsoft doesn't contribute anything to HTML5, it's still really valuable for them to *say* they're contributing
- # [02:54] * Joins: ojan (n=ojan@72.14.229.81)
- # [02:55] * Parts: ojan (n=ojan@72.14.229.81)
- # [02:58] * Quits: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
- # [02:58] * Joins: slightlyoff (n=slightly@nat/google/x-gqdafjgyolfbggqv)
- # [02:58] * Joins: jcranmer (n=jcranmer@ltsp2.csl.tjhsst.edu)
- # [02:58] * Joins: broquaint (i=4776acbc@spc2-brig11-0-0-cust222.asfd.cable.virginmedia.com)
- # [02:58] * Joins: Hixie (i=ianh@trivini.no)
- # [02:58] * Quits: jcranmer (n=jcranmer@ltsp2.csl.tjhsst.edu) (Read error: 104 (Connection reset by peer))
- # [03:01] * Quits: othermaciej (n=mjs@nat/apple/x-tikjfvebsdsktstf)
- # [03:03] * Quits: benward (n=benward@nat/yahoo/x-nhfzvaihzrmguogz) (Read error: 110 (Connection timed out))
- # [03:04] * Quits: dave_levin (n=dave_lev@74.125.59.65)
- # [03:09] * Quits: tantek (n=tantek@67.180.202.79)
- # [03:09] * Quits: sicking (n=chatzill@nat/mozilla/x-bmlbmtwtqvswjwhh) (Read error: 110 (Connection timed out))
- # [03:20] * Quits: cying (n=cying@70.90.171.153)
- # [03:25] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [03:26] * jcranmer_ is now known as jcranmer
- # [03:26] * Quits: ttepass- (n=ttepas--@p5B013F8F.dip.t-dialin.net) ("?Q")
- # [03:27] * Quits: dbaron (n=dbaron@nat/mozilla/x-caleijfflnnswjvd) ("8403864 bytes have been tenured, next gc will be global.")
- # [03:31] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [03:32] * Quits: ap (n=ap@17.203.15.201)
- # [03:35] * Joins: lazni (n=lazni@113.22.65.47)
- # [03:36] * Quits: lazni (n=lazni@113.22.65.47) (Remote closed the connection)
- # [03:37] * Joins: lazni (n=lazni@113.22.65.47)
- # [03:44] * Quits: seanoshea (n=seanoshe@nat217.eye.fi) (Read error: 113 (No route to host))
- # [03:45] * Joins: ombzzz (n=omz@host59.190-229-0.telecom.net.ar)
- # [03:51] * Quits: lazni (n=lazni@113.22.65.47) (Remote closed the connection)
- # [03:52] * Joins: lazni (n=lazni@113.22.65.47)
- # [03:52] * Parts: ombzzz (n=omz@host59.190-229-0.telecom.net.ar)
- # [04:06] * Joins: othermaciej (n=mjs@69.181.42.237)
- # [04:34] * Quits: weinig (n=weinig@17.246.19.21)
- # [04:38] * Quits: lazni (n=lazni@113.22.65.47) ("Leaving.")
- # [04:40] * Quits: jianli (n=jianli@74.125.59.73) (Read error: 110 (Connection timed out))
- # [04:40] * Joins: lazni (n=lazni@113.22.65.47)
- # [04:43] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [04:47] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [04:47] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [04:49] * Joins: tantek (n=tantek@70.36.139.108)
- # [04:56] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [05:00] * Quits: carlocci (n=nes@93.37.209.208) ("eventually IE will rot and die")
- # [05:21] * Joins: fishd (n=darin@c-67-180-164-209.hsd1.ca.comcast.net)
- # [05:25] * Joins: benward (n=benward@98.210.154.133)
- # [05:33] * Quits: tantek (n=tantek@70.36.139.108) (Read error: 104 (Connection reset by peer))
- # [05:33] * Joins: tantek (n=tantek@70.36.139.108)
- # [05:40] * Quits: miketaylrr (n=miketayl@user-0cdf5gs.cable.mindspring.com) (Remote closed the connection)
- # [05:53] * Quits: dpranke (n=Adium@nat/google/x-ayhejjdvrlbciggf) ("Leaving.")
- # [06:16] * Joins: jorlow (n=jorlow@72.14.224.1)
- # [06:16] * Quits: lazni (n=lazni@113.22.65.47) (Remote closed the connection)
- # [06:17] * Joins: lazni (n=lazni@123.24.190.24)
- # [06:21] * Joins: fishd_ (n=darin@72.14.224.1)
- # [06:31] * Quits: lazni (n=lazni@123.24.190.24) ("Leaving.")
- # [06:38] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) (Remote closed the connection)
- # [06:40] * Quits: fishd (n=darin@c-67-180-164-209.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [06:46] * Joins: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [06:47] * Joins: zdobersek (n=zan@cpe-92-37-79-128.dynamic.amis.net)
- # [06:52] * Joins: wakaba_ (n=wakaba_@221.157.197.113.dy.bbexcite.jp)
- # [07:00] * Joins: Super-Dot (n=Super-Do@adsl-75-61-92-172.dsl.pltn13.sbcglobal.net)
- # [07:06] * Joins: sicking (n=chatzill@c-69-181-197-163.hsd1.ca.comcast.net)
- # [07:09] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [07:14] <hsivonen> for the record, Jena having six or so URL-like things is a spec problem: URI, IRI, XLink, XML system ID, etc.
- # [07:16] * Quits: slightlyoff (n=slightly@nat/google/x-gqdafjgyolfbggqv)
- # [07:19] * Quits: zdobersek (n=zan@cpe-92-37-79-128.dynamic.amis.net) ("Leaving.")
- # [07:41] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [07:45] * Joins: doublec_ (n=doublec@203-97-204-82.dsl.clear.net.nz)
- # [07:47] * Quits: roc (n=roc@203-97-204-82.dsl.clear.net.nz) (Read error: 110 (Connection timed out))
- # [07:47] * Quits: doublec (n=doublec@203-97-204-82.dsl.clear.net.nz) (Read error: 110 (Connection timed out))
- # [07:54] * Quits: fishd_ (n=darin@72.14.224.1) (Read error: 110 (Connection timed out))
- # [07:54] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [08:03] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [08:03] * Quits: doublec_ (n=doublec@203-97-204-82.dsl.clear.net.nz) (Success)
- # [08:12] <othermaciej> why do things like XLink and XML System ID have their own syntax?
- # [08:12] * Joins: matijsb (n=matijsb@83.161.2.155)
- # [08:12] <othermaciej> hsivonen: ^
- # [08:12] <othermaciej> (curious)
- # [08:17] * Joins: lazni (n=lazni@113.22.65.47)
- # [08:25] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [08:25] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [08:27] * Quits: Super-Dot (n=Super-Do@adsl-75-61-92-172.dsl.pltn13.sbcglobal.net)
- # [08:33] * Joins: gunderwonder (n=gunderwo@172.80-202-84.nextgentel.com)
- # [08:34] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [08:43] * Joins: Maurice (n=ano@80.101.46.164)
- # [08:44] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [08:52] * Quits: lazni (n=lazni@113.22.65.47) (Read error: 110 (Connection timed out))
- # [08:54] * Joins: lazni (n=lazni@123.24.190.24)
- # [09:00] <hsivonen> othermaciej: they tried to anticipate IRIs when IRIs weren't ready, so they defined their own ways of turning a Unicode string into something you can give to an ASCII-only URI resolver
- # [09:01] <othermaciej> I see
- # [09:01] <othermaciej> fun
- # [09:02] <hsivonen> as for XML Schema anyURI, IIRC, they didn't get it right the first time
- # [09:02] <hsivonen> and not the second time
- # [09:02] * Joins: izico2 (n=izico@113.113.9.164)
- # [09:03] <hsivonen> and the third attempt turned out to be permissive enough to allow any string
- # [09:03] * Parts: izico2 (n=izico@113.113.9.164)
- # [09:04] <othermaciej> resource identifiers are so simple compared to stuff like HTML and HTTP, I wonder why we have all these divergent slightly different specs
- # [09:04] <hsivonen> I can think of 2 reasons
- # [09:05] <hsivonen> 1) People wanted to mark some cases as erroneous instead of making all possible strings resource identifiers
- # [09:05] <hsivonen> 2) The identifiers weren't Unicode from the beginning
- # [09:07] <othermaciej> I guess in the very beginning it wasn't clear that unicode was the answer
- # [09:10] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [09:11] * Quits: gunderwonder (n=gunderwo@172.80-202-84.nextgentel.com)
- # [09:12] * Joins: izico2 (n=izico@113.113.9.164)
- # [09:13] <izico2> nick
- # [09:13] * Parts: izico2 (n=izico@113.113.9.164)
- # [09:15] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [09:15] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [09:19] * Joins: izico (n=izico@113.113.9.164)
- # [09:19] <izico> test
- # [09:20] * Parts: izico (n=izico@113.113.9.164)
- # [09:27] * Joins: zalan (n=zalan@192.100.124.156)
- # [09:32] * Joins: heycam (n=cam@210-84-32-112.dyn.iinet.net.au)
- # [09:39] * Joins: virtuelv (n=virtuelv@213.236.208.247)
- # [09:43] * Joins: roc (n=roc@121.74.129.216)
- # [09:47] * Quits: hober (n=ted@unaffiliated/hober) (Remote closed the connection)
- # [09:48] * Joins: BARTdG (n=BARTdG@5ED43020.cable.ziggo.nl)
- # [09:48] * Joins: hober (n=ted@unaffiliated/hober)
- # [09:49] * Quits: eighty4 (n=eighty4@eighty4.se) ("ZNC - http://znc.sourceforge.net")
- # [09:50] * Joins: eighty4 (n=eighty4@eighty4.se)
- # [09:53] * Joins: gunderwonder (n=gunderwo@garage.upstruct.com)
- # [10:05] * Quits: benward (n=benward@98.210.154.133) (Read error: 110 (Connection timed out))
- # [10:11] * Quits: tantek (n=tantek@70.36.139.108)
- # [10:17] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) ("ChatZilla 0.9.85 [Firefox 3.5.4pre/20090921030837]")
- # [10:18] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [10:24] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [10:26] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:26] * jgraham resists the urge to say that RDFa isn't so much a cow path as a bunch of people pointing through a marsh and saying "let's go that way"
- # [10:27] <annevk2> that's not quite resisting
- # [10:27] <annevk2> but nice try
- # [10:27] <annevk2> :)
- # [10:27] <jgraham> Damn, foiled again
- # [10:29] * Quits: othermaciej (n=mjs@69.181.42.237) (Read error: 145 (Connection timed out))
- # [10:30] * Joins: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [10:31] <Philip`> Regardless of cowpathiness, the principle just says "When a practice is already widespread among authors, consider adopting it rather than forbidding it or inventing something new.", and RDFa was indeed considered (and rejected)
- # [10:32] <Philip`> and the whole Design Principles document doesn't become useless just because one principle in one situation did not override all other considerations
- # [10:34] <jgraham> Stop trying to counter my desire to construct grandisoe metaphors involing waders by pointing out that simple fact based arguments are more effective
- # [10:40] <Philip`> Rather than a bunch of people pointing through a marsh, perhaps the bunch of people has carefully navigated a complex path safely through the marsh, and then said "come on over here", and the hordes rush towards them in a straight line and sink, and then the bunch of people say "what's the problem? ignore the sinking hordes, we got here fine"
- # [10:43] * Joins: jorlow_ (n=jorlow@c-67-180-199-19.hsd1.ca.comcast.net)
- # [10:44] <Hixie> that's quite a good metaphor
- # [10:44] * Joins: mpt (n=mpt@canonical/mpt)
- # [10:44] <Philip`> jgraham: (I'm not sure I agree that facts are more effective than metaphors)
- # [10:45] * Joins: roc_ (n=roc@121-72-164-167.dsl.telstraclear.net)
- # [10:47] * Quits: mpt (n=mpt@canonical/mpt) (Remote closed the connection)
- # [10:49] * Philip` can't work out whether RDFa is meant to be defined in terms of syntax (which Shane seems to say) or in terms of a tree model (which Manu seems to say)
- # [10:52] * Joins: virtuelv_ (n=virtuelv@pat-tdc.opera.com)
- # [10:54] * Joins: mpt (n=mpt@canonical/mpt)
- # [10:54] * Joins: arve__ (n=virtuelv@213.236.208.247)
- # [10:54] * Quits: roc (n=roc@121.74.129.216) (Read error: 110 (Connection timed out))
- # [10:54] * roc_ is now known as roc
- # [10:55] * Joins: brucel (n=brucel@92-236-144-120.cable.ubr10.smal.blueyonder.co.uk)
- # [11:00] * Joins: maikmerten (n=maikmert@Zb307.z.pppool.de)
- # [11:00] * Quits: jorlow (n=jorlow@72.14.224.1) (Read error: 110 (Connection timed out))
- # [11:00] * jorlow_ is now known as jorlow
- # [11:02] * Joins: webben (n=benh@nat/yahoo/x-rvgdajvkrtopredu)
- # [11:03] * Quits: jorlow (n=jorlow@c-67-180-199-19.hsd1.ca.comcast.net)
- # [11:06] * Joins: jorlow (n=jorlow@c-67-180-199-19.hsd1.ca.comcast.net)
- # [11:07] * Quits: jorlow (n=jorlow@c-67-180-199-19.hsd1.ca.comcast.net) (Client Quit)
- # [11:08] * Joins: adactio (n=adactio@host86-138-101-27.range86-138.btcentralplus.com)
- # [11:09] * Quits: virtuelv (n=virtuelv@213.236.208.247) (Read error: 113 (No route to host))
- # [11:09] * Quits: virtuelv_ (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [11:10] * Quits: lazni (n=lazni@123.24.190.24) (Remote closed the connection)
- # [11:17] * Joins: hachque (n=jrhodes@59.167.198.201)
- # [11:17] <hachque> how can i disallow the user from bolding or making new lines in a contentEditable element?
- # [11:20] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:25] <annevk2> hachque, by using scripting in one way or another
- # [11:25] * Quits: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp) (Read error: 104 (Connection reset by peer))
- # [11:25] * annevk2 isn't sure what the best way would be for this particular issue
- # [11:25] * Joins: mookid (i=mookid@ROFL.name)
- # [11:26] * Joins: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp)
- # [11:26] <mookid> If I specify a type on a link - does the browser set the Accept header accordingly?
- # [11:27] <mookid> <a type="application/pdf" href="/document">
- # [11:28] <mookid> is that part of the HTML5 spec?
- # [11:28] <Philip`> No
- # [11:28] <Philip`> s/ //
- # [11:29] <Philip`> unless I'm horribly mistaken
- # [11:29] <mookid> Is there any reason that could not be ammended in the spec?
- # [11:30] <mookid> because that is how the type attribute works for style elements
- # [11:30] <hsivonen> here we go again...
- # [11:31] <mookid> I'm not asking for a new attribute I'm asking to ammend the existing attribute
- # [11:32] <annevk2> hsivonen, yeah...
- # [11:32] <Philip`> mookid: Yes
- # [11:32] <mookid> yes?
- # [11:32] <Philip`> It would break pages that currently use <a type> and also do browser sniffing based on Accept headers
- # [11:32] <mookid> those pages would presumably not upgrade to HTML5
- # [11:33] <mookid> and if they did they would test before they transitioned?
- # [11:33] <Philip`> Pages don't have a choice, because browsers aren't willing to implement separate modes for HTML4 and HTML5
- # [11:33] <Philip`> All pages get processed according to HTML5's processing rules
- # [11:34] <mookid> what's the point in the document definition jibberish then?
- # [11:35] <mookid> if that is the case, I'm pretty sure any change you make will break something somewhere
- # [11:35] <Philip`> In HTML5, the only point is to make browsers go into standards mode instead of quirks mode
- # [11:35] <mookid> ok so that could be incorporated into quirks mode?
- # [11:36] <Philip`> Things will break, but we want to minimise that, by not making changes that we know will break things
- # [11:36] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [11:36] <mookid> ok..
- # [11:36] <Philip`> Lots of current pages render in standards mode (and lots in quirks mode), and HTML5 browsers ought to be compatible with all of them
- # [11:36] <Philip`> Also, quirks are evil and we don't want more of them
- # [11:37] <Hixie> s/evil/expensive/
- # [11:37] <mookid> lol..
- # [11:37] <mookid> :)
- # [11:37] <mookid> clutching at straws here a bit eh?
- # [11:38] <mookid> so can someone please explain why style and script tags use the type attribute to set the accept header
- # [11:38] <mookid> but not in link elements
- # [11:38] <mookid> and where in the spec that is specified
- # [11:39] * Philip` didn't think they did set the Accept header
- # [11:39] <mookid> firefox does
- # [11:39] <mookid> unless firebug lies
- # [11:39] <mookid> Hixie: you want to clear that up for me?
- # [11:40] <mookid> please
- # [11:40] <Hixie> not especially, but i would suggest testing the difference between <script src="x">, <script src="x" type="text/javascript">, and <script src="x" type="application/ecmascript"> and seeing if the type="" attribute really has any effect
- # [11:41] * Quits: sicking (n=chatzill@c-69-181-197-163.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [11:44] <mookid> well either way it is pretty clear that the Accept header should change depending on the semantics of the hyperlink
- # [11:44] * Joins: erlehmann (n=erlehman@tmo-109-85.customers.d1-online.com)
- # [11:45] <Hixie> Accept is a hold-over from a pie-in-the-sky idea that never panned out and which should be dropped altogether
- # [11:45] <mookid> as it stands there is no way of linking to a specific representation if the URI leverages (HTTP compliant) conneg
- # [11:45] <mookid> Hixie: that is your opinion
- # [11:45] <Hixie> indeed
- # [11:46] <mookid> did it ever occur to you
- # [11:46] <mookid> that might be because the hypermedia we have in circulation
- # [11:46] <mookid> doesn't provide the mechanism to leverage it
- # [11:46] <mookid> ?
- # [11:46] <Hixie> it's not because you can't leverage it, it's because it's useless
- # [11:46] <mookid> maybe we should just ignore PUT DELETE and OPTIONS aswell
- # [11:46] <mookid> nobody uses those 'in practice' either?
- # [11:47] <mookid> oh no wait
- # [11:47] <Hixie> if you have different resources, just name them different things
- # [11:47] <mookid> you're added them
- # [11:47] <mookid> that makes perfect sense.
- # [11:47] <mookid> Hixie: they aren't different resources
- # [11:47] <Hixie> that is your opinion
- # [11:47] <mookid> yes it is.
- # [11:47] <Hixie> did it ever occur to you
- # [11:47] <mookid> which is why an optional type attribute would do nobody any damage
- # [11:47] <mookid> and me a lot of good
- # [11:48] <Hixie> that since they aren't the same resource, they might in fact deserve different names?
- # [11:48] <mookid> and anyone else who's actually read and understood the HTTP spec
- # [11:48] <mookid> (i.e. not you)
- # [11:48] <jgraham> mookid: Please
- # [11:48] <Hixie> yeah ok i'm kinda tired of you insulting me
- # [11:48] <Hixie> so this conversation is over
- # [11:48] * Joins: remysharp (n=remyshar@remysharp.plus.com)
- # [11:48] <mookid> yeah ok well you repeat yourself and ignore what I'm saying to you
- # [11:48] <Hixie> stop coming here every other week asking for this feature
- # [11:48] <mookid> what do you expect?
- # [11:48] <Hixie> it's not going to happen
- # [11:49] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:49] <Hixie> we have a process for adding new features: http://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specification.3F
- # [11:49] <Hixie> and no part of that process involves you insulting people on IRC
- # [11:49] <Philip`> I suggest insulting people on blogs instead
- # [11:49] <mookid> :)
- # [11:49] <mookid> ignoring people and not listening to them is rude
- # [11:50] <mookid> I don't think you understand the significance of the term 'resource' or 'representation'
- # [11:50] <mookid> they are important terms
- # [11:50] <mookid> so when you tell me two representations are two resources
- # [11:50] <Philip`> If you were being ignored, you wouldn't have generated so much conversation on IRC
- # [11:50] <mookid> and argue based on that (wrong) assumption
- # [11:50] <Philip`> You're just being disagreed with, which is a different issue
- # [11:50] <mookid> it's kind of galling Ian.
- # [11:51] <mookid> I'm not being ignored because deep down you know I'm right
- # [11:51] <mookid> :P
- # [11:51] <mookid> this is Ian's subjective opinion that URIs are Uniform Representation Identifiers
- # [11:51] <mookid> and HTTP conneg is 'useless'
- # [11:52] <jgraham> mookid: You have ignored the fact that everyone else disagrees with you. You have ignored the fact that you are using the wrong procedure to ask for what you want. And you seem to have ignored the life leson that insulting people doesn't make them more sympathetic to your cause
- # [11:52] <mookid> ok so the majority of people don't understand what a resource is
- # [11:52] <mookid> not many people read specs properly
- # [11:52] <mookid> that doesn't make me wrong
- # [11:53] <Philip`> It seems kind of like you're fixated on some specific HTTP syntax, and saying that it's impossible to implement the REST architecture without it, but that seems unrelated because there's not a 1:1 mapping between HTTP and REST anyway, so you can just implement the architecture with different syntax
- # [11:53] <Philip`> jgraham: But insulting people can be funny
- # [11:54] <mookid> I really didn't say anything that bad
- # [11:54] <Philip`> I guess that's why mpilgrim's blog is popular
- # [11:54] <mookid> get a grip. :/
- # [11:54] * Parts: BARTdG (n=BARTdG@5ED43020.cable.ziggo.nl)
- # [11:55] <mookid> this is crazy - I can implement a prefectly valid HTTP resource with multiple representations but you won't provide the mechanism to use it properly
- # [11:55] <mookid> on the basis that you don't think that part of HTTP should be there
- # [11:56] <mookid> and 'quirks are evil'
- # [11:56] <mookid> it's not even like this change actually causes any issues for 'your way'
- # [11:57] <mookid> even if the accept header changes - why does it matter if you aren't doing HTTP conneg?
- # [11:57] <mookid> it doesn't.
- # [11:57] <mookid> infact, it'll reduce the length of the header, make the HTTP message smaller - and save some trees
- # [11:57] <mookid> maaaaaaan.
- # [11:58] <Philip`> (Hmm, even http://www.ics.uci.edu/~fielding/pubs/dissertation/evaluation.htm#sec_6_3_2_7 doesn't seem to like Accept much - "In short, a server is rarely able to make effective use of preemptive negotiation")
- # [12:00] <mookid> the main barrier to that is lack of effective hypermedia
- # [12:00] <Philip`> I don't think HTTP messages are made out of trees, unless you're using a very outdated protocol
- # [12:00] <mookid> no but HTTP messages are routed and processed
- # [12:00] <mookid> if they're smaller less energy will be used to transmit them
- # [12:01] * Quits: remysharp (n=remyshar@remysharp.plus.com) ("Gotta shoot - peeyaow!")
- # [12:02] <mookid> that's irrelevant anyway - it's not an incompatible change, you have quirks mode incase some muppet is doing something super weird with the accept header
- # [12:03] <mookid> the *only* reason I've been given so far is Ian's opinion that HTTP coneg is 'wrong' and 'doesnt work'
- # [12:03] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:03] <mookid> which he justifies by clearly misinterpreting the meaning of the term 'resource'
- # [12:03] <Philip`> It takes like a microsecond for a router to process a hundred bytes of HTTP header, and if you have a trillion HTTP requests per day then that's only 10 days of processing time, so it's like 10 computers dedicated to processing the extra header for the entire world
- # [12:03] <Philip`> which isn't much
- # [12:04] <mookid> that wasn't a serious point.
- # [12:04] <Philip`> It's more interesting than serious points, though
- # [12:04] <mookid> yeah well
- # [12:05] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:05] <mookid> don't think there's any doubt about that here
- # [12:05] * Philip` wonders how many HTTP requests per day there are in the world
- # [12:05] <mookid> "resources are made of cheese - you're argument is invalid"
- # [12:06] <mookid> oh ok thanks Ian
- # [12:06] <mookid> Protector of Internet Citizens from the evils of HTTP Application develoeprs
- # [12:07] <mookid> I think I'll file a bug report in the spec where you're adding PUT/DELETE to the method attribute - it's not used in practice so it's broken
- # [12:07] <mookid> when is it being added?
- # [12:07] <mookid> why^
- # [12:08] <Philip`> Hmm, http://www.thepicky.com/software/google-handles-235-million-searches-per-day/ says Google only has hundreds of millions of searches per day, which is billions of requests, and I suppose it's reasonable to imagine people do hundreds or thousands of requests before searching again
- # [12:10] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:10] <mookid> http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-09.html#accept
- # [12:10] <erlehmann> Philip`, mandatory data retention laws may solve this question as soon as a sizable set leaks
- # [12:10] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:10] <Lachy> I finally got approval for TPAC. :-)
- # [12:11] <Lachy> I'll be attending
- # [12:11] <Hixie> yay
- # [12:11] <Philip`> erlehmann: Okay, I'll watch the torrent sites for a file with a petabyte of leaked daily internet traffic
- # [12:11] <Hixie> i mean, i'm sorry for you that you'll be there, but i'm glad for me that you'll be there :-P
- # [12:11] <erlehmann> Philip`, data retention is only connections, not content, so …
- # [12:12] <Lachy> haha :-D
- # [12:12] <mookid> Hixie: I apologise if I offended you by inferring you didn't understand the HTTP spec. Do you want to first have a discussion on wha tthe meaning of 'resource' is?
- # [12:13] <mookid> I didn't intend to offend you btw, I just assumed that was a correct accusation given your interpretation of 'resource'
- # [12:14] <Philip`> erlehmann: That won't help answer my question then, if it doesn't keep enough content to identify HTTP requests :-(
- # [12:14] <Philip`> (including in keepalive sessions)
- # [12:15] <erlehmann> i have not read the data retention specs, so i'm afraid i cannot answer that
- # [12:16] <Philip`> Maybe I could just ask the internet to use my computer as a proxy for a day, so I can measure the traffic accurately
- # [12:18] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:20] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:20] <erlehmann> I hereby pronounce tomorrow, the 23.09.2009 the first annuary Philip Taylor Proxy Day \o/
- # [12:21] <erlehmann> The cabal sure can help you with that, Philip` ;)
- # [12:21] <hsivonen> Hixie: has an "unselectable" attribute been considered for inclusion in HTML5?
- # [12:21] <Hixie> no
- # [12:21] <Hixie> not as far as i recall
- # [12:21] <Philip`> erlehmann: Excellent!
- # [12:21] <erlehmann> hsivonen, unse-what ? you mean not being able to get focus?
- # [12:22] <Philip`> erlehmann: I'll tell you my IP address tomorrow (it's dynamic so I'm not sure what it'll be)
- # [12:22] * Quits: zalan (n=zalan@192.100.124.156) (Success)
- # [12:22] <hsivonen> erlehmann: I gather it's an IE thing for restricting contenteditable and/or designmode
- # [12:25] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:25] <mookid> I'm pretty sure if there was a floor in my reasoning you wouldn't hesitate to point it out :)
- # [12:26] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:26] * erlehmann snickers with glee
- # [12:26] <Philip`> Hixie: "The HTML syntax does not support namespace declarations, even in foreign elements" - doesn't it support xmlns:xlink in foreign elements?
- # [12:27] <Philip`> which counts as (partial) support for namespace declarations
- # [12:27] <hsivonen> Philip`: it supports creating a namespace declaration but it doesn't support making the declaration affect processing in the parser
- # [12:27] <Philip`> plus plain xmlns in foreign elements, which is also a namespace declaration
- # [12:28] <hsivonen> so the cause and effect are reversed compared to XML
- # [12:28] <Philip`> hsivonen: That sounds like it still supports (some) namespace declarations, it just doesn't support the use of declared namespaces
- # [12:28] <hsivonen> Philip`: indeed
- # [12:28] <hsivonen> three declarations to be exact
- # [12:38] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 110 (Connection timed out))
- # [12:38] * Joins: vvv (n=vvv@213.181.10.212)
- # [12:39] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:40] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:42] <Lachy> Hixie, this bug isn't fixed, despite you marking it resolved http://www.w3.org/Bugs/Public/show_bug.cgi?id=7506
- # [12:42] <Hixie> Philip`: it doesn't support namespace declarations in any meanginful sense
- # [12:43] <Lachy> Hixie, I wanted you to update the spec where it says "The presence of an obsolete permitted DOCTYPE." in the implementation requirements of section 12.1.1 Warnings for obsolete but conforming features.
- # [12:43] <Hixie> oh, in the implementation section
- # [12:43] <Lachy> I suggest it be ammended to say something like "The presence of an obsolete permitted DOCTYPE. (HTML only)"
- # [12:44] <Hixie> ok, doing that now
- # [12:44] <Hixie> sorry i thought you meant the previous section
- # [12:45] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:46] * Joins: erlehmann_ (n=erlehman@tmo-108-92.customers.d1-online.com)
- # [12:47] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:52] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:52] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:53] * Quits: erlehmann (n=erlehman@tmo-109-85.customers.d1-online.com) (Read error: 60 (Operation timed out))
- # [12:53] * Parts: hachque (n=jrhodes@59.167.198.201)
- # [12:57] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [12:58] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [12:58] <mookid> is there going to be an API for doing javascript includes?
- # [12:59] <mookid> so you can have a one line script tag that boostraps a page
- # [13:00] <Creap> http://www.spicywebdesign.com/first-html-example-page-html-5-code/
- # [13:00] <Creap> heh
- # [13:01] * Quits: roc (n=roc@121-72-164-167.dsl.telstraclear.net)
- # [13:03] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [13:03] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [13:06] <erlehmann_> Creap, wat
- # [13:07] <Creap> I wonder how you'd come to the conclusion that you can make up your own elements
- # [13:08] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [13:13] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [13:14] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [13:15] * Joins: erlehmann__ (n=erlehman@tmo-104-162.customers.d1-online.com)
- # [13:18] <annevk2> so I just read up on the RDFa discussion and was a bit surprised that we're still not passed xmlns being in a namespace in XML and not in HTML not being considered any kind of issue phase
- # [13:20] * Quits: erlehmann__ (n=erlehman@tmo-104-162.customers.d1-online.com) ("Ex-Chat")
- # [13:21] * Joins: erlehmann__ (n=erlehman@80.187.104.162)
- # [13:23] <Hixie> hah, bug 7594's section is #_firebugConsole
- # [13:23] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [13:24] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [13:29] * erlehmann__ is now known as erlehmann
- # [13:31] * Joins: zalan (n=zalan@192.100.124.156)
- # [13:33] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [13:34] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [13:34] * Quits: erlehmann_ (n=erlehman@tmo-108-92.customers.d1-online.com) (Read error: 110 (Connection timed out))
- # [13:34] <Philip`> Hixie: The syntax supports (some) namespace declarations in as meaningful a way as XML does, by parsing them into the same DOM
- # [13:34] <Hixie> i guess
- # [13:35] <Hixie> how would you phrase it?
- # [13:36] <jgraham> The key difference is that HTML doesn't support arbitary namespace declarations
- # [13:36] <jgraham> I guess
- # [13:37] <Philip`> That's like asking me for constructive comments, which is not fair
- # [13:37] <jgraham> But I don't really know which bit of the spec you are talking about
- # [13:37] <Lachy> Hixie, you're making too many checkins! I barely have enough time to reload and review the changes before the notification pops up telling me to do it again.
- # [13:38] <Hixie> hehe
- # [13:40] <Philip`> Hixie: I might just phrase it exactly like how it's phrased now, and tell people to not be pointlessly pedantic about it
- # [13:41] <Hixie> works for me!
- # [13:41] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [13:43] * Joins: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se)
- # [13:47] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [13:49] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [13:54] <Hixie> well, we're back to e-mails being the highest line, so i guess tomorrow i'll return to bashing on them
- # [13:54] <Hixie> nn
- # [13:54] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [13:55] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [13:57] <annevk2> we need a higher resolution graph to actually see the details of recent months :)
- # [13:57] <annevk2> on http://www.whatwg.org/issues/data.html that is
- # [13:58] * Joins: zdobersek (n=zan@cpe-92-37-74-199.dynamic.amis.net)
- # [13:58] <Philip`> annevk2: Use Safari and increase your desktop scaling factor and then it'll be higher resolution :-)
- # [13:58] <zcorpan> annevk2: doesn't http://www.whatwg.org/issues/data.html?period=1 work?
- # [13:59] <hsivonen> zcorpan: cool. thanks
- # [14:00] <hsivonen> the whole point of vector graphics in defeated when one zooms the page in Firefox
- # [14:00] <erlehmann> D;
- # [14:00] <hsivonen> (yes, I realize it's not really vector graphics)
- # [14:00] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [14:00] * hsivonen thinks the graph should be in SVG
- # [14:00] <annevk2> zcorpan, ah, the feature is already present
- # [14:01] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [14:01] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [14:01] <annevk2> hsivonen, or Firefox should get a better zooming algo
- # [14:02] * Quits: zalan (n=zalan@192.100.124.156) (Connection timed out)
- # [14:02] <hsivonen> annevk2: a better zooming algo doesn't help here
- # [14:02] <hsivonen> annevk2: either all canvases should have a hires backing buffer in case the user zooms
- # [14:03] <hsivonen> annevk2: or there should be a way to asks the page to repaint canvas to a new hires backing buffer after zooming
- # [14:03] <Philip`> Or you should use SVG if you want scalable vector graphics
- # [14:04] * Quits: arve__ (n=virtuelv@213.236.208.247) ("Ex-Chat")
- # [14:04] <hsivonen> do we have a non-game use case for <canvas> yet that shouldn't have been addressed by using a non-<canvas> solution?
- # [14:04] * Joins: virtuelv (n=virtuelv@213.236.208.247)
- # [14:05] <ROBOd> hello everyone
- # [14:05] <hsivonen> hello
- # [14:05] <zcorpan> it seems Hixie has beaten the high score on revision activity last week
- # [14:05] <ROBOd> is there any user agent which implements <style scoped>?
- # [14:05] <Philip`> hsivonen: Maybe the Paint clone
- # [14:05] <zcorpan> v.nu implements it i think
- # [14:05] <Philip`> and things that apply custom JS filters to images/videos
- # [14:06] <zcorpan> though maybe it's not the kind if user agent you're looking for :)
- # [14:06] * Joins: zdobersek1 (n=zan@cpe-92-37-79-18.dynamic.amis.net)
- # [14:06] <ROBOd> zcorpan: indeed
- # [14:06] <zcorpan> i don't think any browser has implemented it
- # [14:06] <ROBOd> i am thinking more along the lines of gecko, webkit, presto or even trident
- # [14:07] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [14:07] <ROBOd> zcorpan: do you know if there are plans for it? like in dev builds of gecko/webkit/etc
- # [14:07] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [14:08] <zcorpan> don't know
- # [14:08] <ROBOd> oky, thanks anyway ;)
- # [14:09] <zcorpan> if you want it, file bugs
- # [14:10] <ROBOd> hm, not really sure if it fits the use-case scenario i want it for
- # [14:13] * zcorpan notes that http://www.whatwg.org/issues/data.html is invalid after scripts have run
- # [14:16] * Joins: pmuellr (n=pmuellr@nat/ibm/x-pzzbeoylqwjqytum)
- # [14:18] * Quits: mat_t (n=mattomas@91.189.88.12) (Read error: 113 (No route to host))
- # [14:18] <mookid> Hixie: am I allowed to comment on that bug?
- # [14:21] * Quits: zdobersek (n=zan@cpe-92-37-74-199.dynamic.amis.net) (Read error: 110 (Connection timed out))
- # [14:21] * Quits: virtuelv (n=virtuelv@213.236.208.247) ("Ex-Chat")
- # [14:21] <Lachy> mookid, yes. Anyone is allowed to
- # [14:21] * Joins: virtuelv (n=virtuelv@213.236.208.247)
- # [14:22] * Quits: maikmerten (n=maikmert@Zb307.z.pppool.de) (Remote closed the connection)
- # [14:24] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [14:31] * Joins: virtuelv_ (n=virtuelv@pat-tdc.opera.com)
- # [14:36] * Quits: gunderwonder (n=gunderwo@garage.upstruct.com) (Read error: 104 (Connection reset by peer))
- # [14:38] * Joins: wakaba_0 (n=wakaba_@221.157.197.113.dy.bbexcite.jp)
- # [14:41] * Quits: virtuelv_ (n=virtuelv@pat-tdc.opera.com) ("Ex-Chat")
- # [14:41] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [14:46] * Quits: virtuelv (n=virtuelv@213.236.208.247) (Read error: 113 (No route to host))
- # [14:48] * Joins: mitsuhiko (n=mitsuhik@ubuntu/member/mitsuhiko)
- # [14:48] <mitsuhiko> heyho everybody
- # [14:48] <mitsuhiko> does anyone know a html5 parser written in c that is reusable?
- # [14:49] <mitsuhiko> ideally one that can emit errors and warnings and as such used for validation
- # [14:49] <mookid> err
- # [14:49] <mookid> how do you determine if a bug is resolved or not
- # [14:49] <mookid> I didn't even get a chance to respond to that and it's already closed..
- # [14:49] <mookid> http://www.w3.org/Bugs/Public/show_bug.cgi?id=7697
- # [14:50] <annevk2> mitsuhiko, there's no standalone c implementation yet
- # [14:50] <mitsuhiko> annevk2: is anyone working on that?
- # [14:50] <mitsuhiko> and are there estimations about how complex that would be?
- # [14:50] * Quits: wakaba_ (n=wakaba_@221.157.197.113.dy.bbexcite.jp) (Read error: 110 (Connection timed out))
- # [14:50] <hsivonen> there's hubbub, but I'm not sure how up-to-date it is
- # [14:51] <hsivonen> mitsuhiko: I'm working on a C++ implementation that is Gecko-specific
- # [14:51] <mitsuhiko> basically i would love to see a live-html5 validator for firefox
- # [14:51] <mitsuhiko> there is a sgml validator already, but that one of course does not do the trick with html5 :)
- # [14:51] <annevk2> mitsuhiko, did you look into Validator.nu?
- # [14:51] * Quits: cmrn (n=cmrn@unaffiliated/cmrn) ("Leaving...")
- # [14:52] <mitsuhiko> annevk2: that is quite complex to setup and requires java as far as i know
- # [14:52] <mookid> how do you guys decide whether or not an issue in the bug tracking system should be closed or not?
- # [14:52] <mitsuhiko> and sending http requests there for everything does not sound like a good idea
- # [14:52] <mitsuhiko> i'm already using validator.nu as part of my testsuite though
- # [14:52] <hsivonen> mitsuhiko: I plan to add parse error reporting eventually, but adding error reporting is at the bottom of the priority list, because it isn't needed for parity with the old parser
- # [14:52] <mitsuhiko> hsivonen: makes sense
- # [14:53] <hsivonen> the bugzilla entry is https://bugzilla.mozilla.org/show_bug.cgi?id=512229
- # [14:53] <hsivonen> also that stuff is localization-sensitive and so forth
- # [14:54] <annevk2> mitsuhiko, yeah, though hsivonen wrote a To-Mozilla-C translator of some sorts
- # [14:54] <mitsuhiko> hsivonen: i will monitor that
- # [14:54] <annevk2> mitsuhiko, and the idea is to use that new parser in Gecko in due course
- # [14:55] <mitsuhiko> isn't that one already in the nightlies?
- # [14:55] <mitsuhiko> at least there is a setting to enable a html5 parser
- # [14:55] <hsivonen> mitsuhiko: yes
- # [14:55] <mitsuhiko> guess i looked at that one yesterday then
- # [14:55] <hsivonen> mitsuhiko: the ground work of making tokenizer error reporting Gecko-friendly has been done but doesn't have Java-to-C++ translations support yet
- # [14:55] <mitsuhiko> unfortunately mozilla code still makes my eyes bleed. i don't understand that com stuff at all :(
- # [14:56] <hsivonen> mitsuhiko: the ground work for tree builder error reporting isn't done
- # [14:56] <mitsuhiko> yeah. saw that
- # [14:56] <mitsuhiko> it's not doing anything with errors currently
- # [14:58] <mitsuhiko> the sgml validator extension for firefox was the only way i could keep the pages validated, because i just don't have the time to submit all pages to an external validator website
- # [14:59] * Quits: zdobersek1 (n=zan@cpe-92-37-79-18.dynamic.amis.net) (Read error: 110 (Connection timed out))
- # [15:01] <Philip`> You could have an extension that automatically submits them to an external site and gives you the result almost immediately - would that be adequate?
- # [15:02] * Joins: zdobersek (n=zan@cpe-92-37-70-81.dynamic.amis.net)
- # [15:03] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Read error: 104 (Connection reset by peer))
- # [15:03] <hsivonen> mitsuhiko: having just an HTML5 parser doesn't give you validation
- # [15:04] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [15:04] <mitsuhiko> hsivonen: yes, but it's a good start for writing a validator
- # [15:05] <mitsuhiko> Philip`: would require a network connection and would slow down the whole thing a lot
- # [15:05] <hsivonen> mitsuhiko: I suggest using http://code.google.com/p/jsrelaxngvalidator/ with the schemas Validator.nu uses and porting the rest over using GWT
- # [15:06] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [15:09] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [15:09] * Joins: othree_ (n=othree@admin39.ct.ntust.edu.tw)
- # [15:16] * Quits: miketaylr (n=mtaylor@38.117.156.163)
- # [15:20] * Quits: othree_ (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [15:21] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [15:26] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [15:27] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [15:37] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [15:38] * Joins: miketaylr (n=mtaylor@38.117.156.163)
- # [15:43] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 54 (Connection reset by peer))
- # [15:44] <annevk2> http://groups.google.com/group/openweb-group is the openweb.org thing I mentioned a while back
- # [15:45] * annevk2 found the reference again in his email
- # [15:45] <Dashiva> http://lists.w3.org/Archives/Public/www-archive/2009Sep/0056.html
- # [15:45] <Dashiva> What's going on there?
- # [15:49] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [15:54] * Joins: BlurstOfTimes (n=blurstof@168.203.117.59)
- # [15:54] * Joins: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no)
- # [15:55] <Philip`> Dashiva: Given that it says "shaped regions for text", maybe the idea is that authors really think it's important to write pages with text wrapped inside a triangle that is morphing into a balloon over time in synchronisation with a video
- # [15:55] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [15:56] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [15:58] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [15:59] * Joins: fishd_ (n=darin@c-67-180-164-209.hsd1.ca.comcast.net)
- # [16:02] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [16:04] * Joins: ttepasse (n=ttepas--@p5B0143BE.dip.t-dialin.net)
- # [16:04] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [16:05] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [16:11] * annevk2 starts noble attempt to clean up <basefont> mess further: https://bugzilla.mozilla.org/show_bug.cgi?id=518110 & https://bugs.webkit.org/show_bug.cgi?id=29641
- # [16:13] * Joins: TabAtkins (n=chatzill@adsl-76-195-204-109.dsl.hstntx.sbcglobal.net)
- # [16:13] <zcorpan> annevk2: why?
- # [16:14] <TabAtkins> Mornin', all. (Day 11 of no internet at home ;_;)
- # [16:16] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:16] <Philip`> (If it's bad enough to make commas fall out of your eyes, surely it'd be worth finding some alternative access mechanism :-) )
- # [16:19] * Joins: lazni (n=lazni@118.71.2.236)
- # [16:19] <TabAtkins> Still not worth it. I'm absolutely certain that the day I buy a cellular dongle they will repair the line.
- # [16:19] <beowulf> if that's within 30 days of buying the dongle, you can return the dongle, no?
- # [16:20] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [16:20] <TabAtkins> Not if I've opened it.
- # [16:20] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [16:20] <beowulf> I think you can return it even if you've opened it, but meh
- # [16:21] <TabAtkins> omg so many emails. This is the real tragedy of not having home internet - I don't get to clear my inbox every few hours.
- # [16:22] * Joins: Midler (n=midler@212.37.124.233)
- # [16:22] * Quits: lazni (n=lazni@118.71.2.236) (Read error: 104 (Connection reset by peer))
- # [16:22] * Joins: annodomini (n=lambda@130.189.179.215)
- # [16:23] <Philip`> Indeed, missing out on days of public-html mail is a tragedy comparable in scope to Hamlet
- # [16:24] <beowulf> :)
- # [16:25] * Joins: paul_irish (n=paul_iri@12.33.239.250)
- # [16:26] * Quits: fishd_ (n=darin@c-67-180-164-209.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [16:27] <annevk2> zcorpan, because it bugs me?
- # [16:28] <annevk2> future generations blaming us for not cleaning up enough of the mess of our elders haunts me :)
- # [16:29] <Philip`> They're much more likely to blame us for the new messes we're creating
- # [16:29] <Philip`> and in those cases there's nobody to shift the blame to
- # [16:30] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [16:31] <mitsuhiko> does html5 allow empty <ul>/<ol> tags?
- # [16:31] <annevk2> yes
- # [16:31] <mitsuhiko> \o/
- # [16:31] <annevk2> Philip`, those are harder to fix for us because we do not have the benefit of hindsight
- # [16:32] <Philip`> annevk2: Experience suggests that won't stop them blaming us for it
- # [16:33] <Philip`> so it's even more important to try to fix them :-)
- # [16:39] <zcorpan> why are light dimmers noisy?
- # [16:39] <zcorpan> that's something that bugs me
- # [16:41] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [16:44] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [16:44] <zcorpan> hmm, why can't we use data: urls for workers
- # [16:45] <TabAtkins> Do data urls have an origin?
- # [16:45] <Philip`> zcorpan: They've got to do something with the photons that are not coming out of the light, so the dimmers have a little pool of black ink for the spare photons to fall into, which causes the noise
- # [16:47] <zcorpan> Philip`: still, the noise bugs me and i'd like it if someone invented a silent dimmer
- # [16:47] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [16:47] <Philip`> Maybe they should make a dimmer that controls two lightbulbs in opposition, so one is bright while the other is dark
- # [16:47] <Philip`> and then there wouldn't be the problem with the spare photons
- # [16:48] <Philip`> (Is it the dimmer itself that's noisy, or the bulb?)
- # [16:48] <zcorpan> TabAtkins: yeah, they do
- # [16:49] <TabAtkins> zcorpan: Interesting. Is it the originating page? Everything I know about data urls I learned from wikipedia.
- # [16:49] <zcorpan> Philip`: the dimmer
- # [16:50] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:50] <Philip`> zcorpan: Okay - not sure what would actually cause that
- # [16:50] <zcorpan> TabAtkins: http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin-0
- # [16:50] * Philip` doesn't think he's ever experienced that problem himself
- # [16:51] <zcorpan> Philip`: i've had several dimmers and all of them have been noisy
- # [16:52] <TabAtkins> zcorpan: Ah, so the origin is just a guid, if I'm reading correctly. Makes sense.
- # [16:52] <zcorpan> TabAtkins: yeah
- # [16:52] <zcorpan> but i don't want to have to use another file for workers
- # [16:53] <zcorpan> maybe i can put the script in a comment at the top of the html and use new Worker('')
- # [16:53] <TabAtkins> Is workers a separate spec now?
- # [16:53] * Joins: erlehmann_ (n=erlehman@tmo-108-235.customers.d1-online.com)
- # [16:53] * TabAtkins is trying to find it.
- # [16:53] <zcorpan> always been
- # [16:53] <zcorpan> whatwg.org/ww
- # [16:54] <TabAtkins> Man, I'm all kinds of behind. I've been keeping up with workers, but only in an abstract sense - I don't expect to be using them for a while still.
- # [16:55] <TabAtkins> Oh, so it's what I thought - the restriction on data: workers is indeed origin-based.
- # [16:55] <zcorpan> yes
- # [16:55] <TabAtkins> Ok, so now I'm caught up to your question. ^_^
- # [16:56] <TabAtkins> I'd like a data: worker too. While the origin is officially different, in practice it should have the same level of trust as the page itself.
- # [16:57] * Quits: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp) (Read error: 104 (Connection reset by peer))
- # [16:57] <zcorpan> yeah
- # [16:57] * Quits: wakaba_0 (n=wakaba_@221.157.197.113.dy.bbexcite.jp) (Read error: 104 (Connection reset by peer))
- # [16:57] <zcorpan> or maybe...
- # [16:57] * Joins: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp)
- # [16:58] <zcorpan> <script type=text/x-worker id=worker>...</script> <script>var w = new Worker('#worker')</script>
- # [16:58] <TabAtkins> Interesting.
- # [16:58] <TabAtkins> Can you do an importScripts with a data url?
- # [16:58] * Quits: erlehmann_ (n=erlehman@tmo-108-235.customers.d1-online.com) (Read error: 104 (Connection reset by peer))
- # [16:58] * Joins: wakaba_ (n=wakaba_@221.157.197.113.dy.bbexcite.jp)
- # [16:59] * TabAtkins isn't sure that would be useful.
- # [16:59] <Philip`> If data URLs have a unique origin, does that mean ctx.drawImage(Image with src = canvas.toDataURL()) should now mark the canvas as tainted?
- # [16:59] * Philip` doesn't remember what data URL origins were defined to be when he last checked this, and concluded that it shouldn't taint the canvas
- # [17:00] <zcorpan> Philip`: no
- # [17:00] <zcorpan> Philip`: origin for images and documents special-case data:
- # [17:00] <Philip`> Oh, okay
- # [17:01] * Quits: erlehmann (n=erlehman@80.187.104.162) (Read error: 145 (Connection timed out))
- # [17:01] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [17:02] * Joins: erlehmann_ (n=erlehman@tmo-108-235.customers.d1-online.com)
- # [17:02] * Parts: Midler (n=midler@212.37.124.233) ("Leaving.")
- # [17:03] * Quits: Maurice (n=ano@80.101.46.164) ("Disconnected...")
- # [17:07] <brucel> Hey cabal: a repeat question and a[nother] stupid question.
- # [17:07] * Quits: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp) (Read error: 104 (Connection reset by peer))
- # [17:08] * Joins: Midler (n=midler@212.37.124.233)
- # [17:08] <brucel> 1: is there a friendly explanationn of the new content types anywhere (am not relishing trying to write one for html5doctor)
- # [17:08] * Joins: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp)
- # [17:08] <brucel> 2: got an example of svg in html5 that works and is valid? I want to reassure some people that you haven't killed SVG
- # [17:09] * aroben is now known as aroben|lunch
- # [17:09] <Philip`> Do you mean all new content-types defined/used by HTML5, or just text/html vs application/xhtml+xml?
- # [17:10] <brucel> Philip had an email asking for explanation of flow, interactive, embedded etc
- # [17:11] <Philip`> brucel: http://hsivonen.iki.fi/test/svg-and-mathml-in-html.html has SVG in text/html, and if the validator says it's invalid then hsivonen should fix something
- # [17:11] <Philip`> brucel: Oh, I thought you meant HTTP content-types
- # [17:11] <Philip`> rather than what HTML5 seemingly calls content models
- # [17:12] <Philip`> Does http://www.whatwg.org/specs/web-apps/current-work/multipage/images/content-venn.svg not make it trivially obvious?
- # [17:12] <Philip`> Clearly content models are like an amoeba
- # [17:13] <Philip`> brucel: (Any SVG in application/xhtml+xml should be just as valid as it always has been)
- # [17:13] <brucel> Philip, well, of course it's trivially obvious to *me* (ahem...)
- # [17:14] <brucel> Philip, but SVG in an html5 doc , served as text/html
- # [17:18] * Joins: dglazkov (n=dglazkov@nat/google/x-oiiawxistvbeyabc)
- # [17:18] * Quits: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp) (Read error: 104 (Connection reset by peer))
- # [17:18] <hsivonen> brucel: Validator.nu says SVG-in-text/html is invalid in order to discourage authors from using it before browsers are ready.
- # [17:18] * Joins: wakaba (n=wakaba@221.157.197.113.dy.bbexcite.jp)
- # [17:19] <hsivonen> brucel: yes, it would be better to have a message that says so instead of having a message that says SVG isn't allowed
- # [17:19] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:19] <hsivonen> brucel: (and also, it's spec-wise proper for a validator to say it's invalid if the validator developer opted not to invoke the "other relevant specifications" clause for SVG)
- # [17:19] <brucel> hsivonen wasn't gonna nag you; am simply looking for an example of how to do it. Do I just take my conforming SVG (without doctype) and put it into an html5 page?
- # [17:21] <hsivonen> brucel: as it stands, you also need to zap the foreign-namespace cruft from Inkscape or Illustrator (which is totally inconvenient)
- # [17:21] <hsivonen> brucel: and zap Illustrator-emitted namespace-URIs-as-entities
- # [17:25] <Philip`> You can always put the SVG in an <object> if you want
- # [17:25] <Philip`> which is probably the best approach unless you have a good reason for wanting it to be inline
- # [17:26] * Quits: markhuot (n=markhuot@64.3.245.34)
- # [17:29] * erlehmann_ is now known as erlehmann
- # [17:32] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:33] <brucel> Ta all. Not sure I'm any the wiser about an html5 doc with svg inside it, tho
- # [17:35] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [17:36] * Joins: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com)
- # [17:37] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
- # [17:39] * Quits: pesla (n=retep@procurios.xs4all.nl) (Read error: 104 (Connection reset by peer))
- # [17:43] <Philip`> Hmm, I think html5lib might have broken pyRdfa
- # [17:44] <Philip`> because it seems pyRdfa no longer recognises xmlns:* attributes
- # [17:48] <Philip`> because html5lib passes it xmlnsU0003A attributes instead
- # [17:49] <gsnedders> With what treebuilder?
- # [17:51] * Philip` shrugs
- # [17:52] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote closed the connection)
- # [17:52] <Philip`> parser = html5lib.HTMLParser(tree=treebuilders.getTreeBuilder("dom"))
- # [17:52] <zcorpan> does html5lib apply the coercion rules by default?
- # [17:52] <gsnedders> IIRC no
- # [17:53] <jgraham> In DOM I think it does
- # [17:53] <jgraham> For some reason
- # [17:53] <jgraham> Possibly because of gsnedders
- # [17:53] <gsnedders> minidom b0rkedness, I bet
- # [17:53] * gsnedders claims innocence
- # [17:53] <jgraham> That might be the wrong thing to do
- # [17:54] * Joins: dave_levin (n=dave_lev@74.125.59.65)
- # [17:55] <gsnedders> jgraham: How many test failures do you get?
- # [17:56] <jgraham> Me? None, I;m not running the tests right now
- # [17:56] <gsnedders> jgraham: When you run them…
- # [17:56] <gsnedders> jgraham: And with what tree-builders/walkers?
- # [17:57] <jgraham> gsnedders: I can't actually run all the tests on this computer because it has too new a simplejson
- # [17:57] <gsnedders> We need to fix that somehow.
- # [17:57] <jgraham> I could just run the parser tests if that would help
- # [17:58] <TabAtkins> Man, why do people keep letting Reschke derail technical conversations with arguments about process?
- # [17:58] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [17:58] * Joins: tantek (n=tantek@70.36.139.108)
- # [17:59] <gsnedders> test_parser.py gives no output here :\
- # [18:00] <jgraham> gsnedders: I get 20 failures from test_parser.py
- # [18:00] <jgraham> But I don't have bs installed or I would get more
- # [18:01] <Philip`> TabAtkins: Maybe we need to discuss a process to stop people from talking about process
- # [18:01] <TabAtkins> Philip`, don't even dare suggest that.
- # [18:02] <jgraham> gsnedders: So that is 5 tests that fail. One I think might be a wrong test. One seems to be a change to <xmp> parsing. The rest (I think) are to do with whitespace in the AAA
- # [18:02] <gsnedders> jgraham: I don't have BS either
- # [18:03] <gsnedders> http://pastebin.ca/1575346
- # [18:05] <gsnedders> jgraham: I get 20 with simpletree cElementTree ElementTree lxml DOM
- # [18:05] <jgraham> gsnedders: Yeah I'm not sure what the deal is there. I *think* it's generic setuptools suckiness
- # [18:05] <jgraham> I tend to just delete the systemwide copy
- # [18:06] <jgraham> If there is a proper solution, I would like to know what it is...
- # [18:06] <jgraham> gsnedders: OK, same as me. And I guess that is 4 actual test fails
- # [18:06] <gsnedders> jgraham: What do you get with treewalkers?
- # [18:07] <jgraham> The test <body><frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes> I remember thinking had a bug
- # [18:07] <jgraham> Do you have a moment to check?
- # [18:07] <gsnedders> Not really
- # [18:08] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:08] <gsnedders> Ah, it's the tokenizer tests where I get tons of failures
- # [18:08] <gsnedders> Oh well, back to things I actually need to do
- # [18:09] <jgraham> gsnedders: I get a bunch of fails (50) but 20 of those are the same fails as the treebuilder tests
- # [18:09] <jgraham> and the rest look to be DOM using magic encoding
- # [18:09] <gsnedders> jgraham: For which tree walker? I get 24
- # [18:09] <gsnedders> *which?
- # [18:10] <jgraham> Er, the same ones that I had treebuilders for
- # [18:10] <jgraham> + genshi
- # [18:10] <gsnedders> For runtests, I get FAILED (failures=153, errors=1)
- # [18:10] <gsnedders> +PullDOM?
- # [18:11] <jgraham> YEs
- # [18:11] <jgraham> (actually there are a bunch of fails with Genshi too)
- # [18:12] <jgraham> gsnedders: Using an old simplejson?
- # [18:12] <gsnedders> jgraham: Yeah
- # [18:12] <jgraham> gsnedders: Also, what else fails? I think I have some fixes at home...
- # [18:13] * Quits: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se)
- # [18:14] <gsnedders> We could go for U[0-9A-F]{6} within JSON for surrogates char to get it working…
- # [18:15] <jgraham> gsnedders: Talk to hsivonen. I don't want to break his test harness
- # [18:15] <gsnedders> jgraham: That was my conclusion last time I thought about it.
- # [18:15] <jgraham> So I will do basically whatever he is happy with since almost anything is easier to do in Python than in Java
- # [18:16] <gsnedders> http://pastebin.ca/1575365
- # [18:16] * Joins: ap (n=ap@17.203.15.201)
- # [18:16] * gsnedders grumbles something about the PHP impl passing all the tests
- # [18:17] <gsnedders> Surely if you can pass them in PHP, it should be easier in Python :P
- # [18:17] <jgraham> gsnedders: Don't they disable the mixed namespace stuff or something?
- # [18:17] <jgraham> Also, we have more tests
- # [18:17] <gsnedders> (Well, we fail some invalid UTF-8 tests for the inputstream, but that's all)
- # [18:17] <jgraham> (probably)
- # [18:18] <gsnedders> jgraham: I think that's all enabled now.
- # [18:19] <gsnedders> Yeah, mixed namespace stuff works
- # [18:19] * Joins: fishd_ (n=darin@nat/google/x-jnabtbixapumvxqg)
- # [18:20] <jgraham> gsnedders: It seems like there aren't actually many issues. They just need to be fixed
- # [18:21] <jgraham> Then the option to not namespace HTML elements needs to work
- # [18:21] <jgraham> Those are the showstoppers
- # [18:21] <gsnedders> We need something good to parse into in PHP.
- # [18:23] * Quits: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com) (Read error: 104 (Connection reset by peer))
- # [18:24] * Joins: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com)
- # [18:25] * Joins: sicking (n=chatzill@nat/mozilla/x-cfblrotudkdiqhet)
- # [18:28] * Quits: Midler (n=midler@212.37.124.233) (Read error: 113 (No route to host))
- # [18:29] * Quits: tantek (n=tantek@70.36.139.108)
- # [18:30] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) (Read error: 104 (Connection reset by peer))
- # [18:34] <Philip`> Oh, hmm, I was using the latest SVN revision of html5lib
- # [18:35] <Philip`> Wonder if that makes much difference...
- # [18:36] <jgraham> Philip`: I think it does. I recall there was some reason to change the DOM stuff but I entirely forget what it was
- # [18:37] * jgraham wonders if it was minidom or pyxdom
- # [18:37] <jgraham> or something else I guess
- # [18:41] * Joins: Maurice (n=copyman@5ED548D4.cable.ziggo.nl)
- # [18:41] <Philip`> Grabbing the hg version would be easier if my wireless connection didn't drop after about three seconds of sustained usage, and/or if hg clone automatically resumed instead of freezing when the network connection drops
- # [18:41] * Quits: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [18:44] * Parts: brucel (n=brucel@92-236-144-120.cable.ubr10.smal.blueyonder.co.uk)
- # [18:44] * Joins: Super-Dot (n=Super-Do@66-240-26-6.isp.comcastbusiness.net)
- # [18:44] * Joins: Midler (n=midler@212.37.124.243)
- # [18:47] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) ("Wünsche weiterhin guten Flug")
- # [18:48] <miketaylr> in html5, can and id begin with an underscore? i.e., "_foo"?
- # [18:49] * Joins: tantek (n=tantek@70.36.139.108)
- # [18:50] <miketaylr> all i see in the spec is "The value must be unique amongst all the IDs in the element's home subtree and must contain at least one character. The value must not contain any space characters."
- # [18:51] <miketaylr> but i might be missing something
- # [18:51] <Lachy> miketaylr, I don't believe there are any special restrictions on what the ID attribute can contain
- # [18:52] <miketaylr> Lachy: ok, thanks.
- # [18:52] <miketaylr> i know that was verboten in html4, just double checking.
- # [18:52] <miketaylr> since "_foo" still validates as html4, but the spec clearly says it must begin with a letter.
- # [18:53] <sicking> annevk2: you coming to TPAC?
- # [18:54] <Lachy> sicking, yes, both annevk2 and I are
- # [18:54] <sicking> Lachy: Anne wasn't listed as attending the webapps last i looked. I think
- # [18:54] * Joins: ap_ (n=ap@17.246.19.174)
- # [18:54] <Lachy> we only got given approval to go earlier today
- # [18:55] <Lachy> do we have to sign up somewhere to say that we're going to the webapps meeting?
- # [18:55] <sicking> you have to register for TPAC. As you're doing that the page will ask you what you're attending each day
- # [18:56] * Joins: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [18:56] <annevk2> sicking, registered myself today
- # [18:56] <Lachy> ok
- # [18:57] <sicking> Lachy: also, just today? That's really late. You should get efficient, like swedes: http://www.osoyou.com/items/14780.publisha
- # [18:57] <annevk2> sicking, management was a bit slow
- # [18:58] <sicking> annevk2: ah, you're listed now
- # [18:59] * Quits: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 104 (Connection reset by peer))
- # [19:00] * Joins: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [19:00] * Quits: Super-Dot (n=Super-Do@66-240-26-6.isp.comcastbusiness.net) (Read error: 104 (Connection reset by peer))
- # [19:05] * Joins: Super-Dot (n=Super-Do@66-240-26-6.isp.comcastbusiness.net)
- # [19:05] <Philip`> miketaylr: In HTML4 that's just a limitation of the DTD validation technology
- # [19:05] <miketaylr> Philip`: ah. that makes sense now. thanks.
- # [19:06] <Philip`> validator.nu does a better job for HTML5, since it can check the content of attribute values
- # [19:06] <Philip`> (but HTML5 removes the unnecessary and frequently-ignored restrictions on id values)
- # [19:08] <sicking> Lachy: btw, wasn't there talk about a level 2 selectors spec that specified a matchesSelector function?
- # [19:09] <sicking> Lachy: i think we're going to implement that for next version of firefox, would be nice to do it without prefixing it with 'moz'
- # [19:10] <tantek> sicking if you mean the W3C Selectors spec, there have been many :matches like proposals, but none of them have made it into a working draft AFAIK
- # [19:10] <tantek> due to implementation performance problem (expectations)
- # [19:10] * Quits: ap (n=ap@17.203.15.201) (Read error: 110 (Connection timed out))
- # [19:10] <sicking> tantek: no, i mean a spec that specifies an API where you can test is a node matches a selector
- # [19:10] * Joins: cying (n=cying@70.90.171.153)
- # [19:10] <sicking> tantek: a scripting API that is
- # [19:10] <tantek> oh SelectorsOM
- # [19:10] <sicking> right
- # [19:11] <Lachy> sicking, yeah, it's being planned. I intend to begin working on that spec soon
- # [19:11] <tantek> Lachy, which spec? Is it a DOM spec or a CSS spec?
- # [19:11] <sicking> (not sure if "OM" is correct, since we don't expose the internals of a parsed selector, but)
- # [19:12] <sicking> Lachy: i think we might have a implementation and a test suite available already :)
- # [19:12] * Joins: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net)
- # [19:12] <Philip`> Hmm, what happens if (for example) we define an API that can play music in the style of various composers, so you call .bach() and .handel() and .mozart() etc, and then Mozilla wants a vendor-specific extension to play music like somebody called Art?
- # [19:12] <Lachy> tantek, Selectors API 2
- # [19:12] * Quits: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com) (Connection timed out)
- # [19:12] <sicking> Lachy: https://bugzilla.mozilla.org/show_bug.cgi?id=518003
- # [19:12] <tantek> Lachy, wondering which working group is doing it (CSS WG, HTML WG, DOM WG?)
- # [19:12] * Quits: webben (n=benh@nat/yahoo/x-rvgdajvkrtopredu) (Read error: 113 (No route to host))
- # [19:13] <Lachy> webapps
- # [19:13] <sicking> Philip`: haha
- # [19:13] <sicking> Philip`: funny thing is that when i read 'mozart' i was reading it as moz-art :)
- # [19:13] <sicking> tantek: DOM WG is dead, long live WebApps WG
- # [19:14] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
- # [19:14] * Rik`_ is now known as Rik`
- # [19:14] <sicking> Philip`: but to answer your question, we'd call it mozArt()
- # [19:14] * Joins: weinig (n=weinig@17.246.19.21)
- # [19:14] <tantek> thanks for the update sicking. somehow I knew that and had somehow forgotten.
- # [19:15] <Lachy> sicking, this is the bug I'm using to track the feature for the spec http://www.w3.org/Bugs/Public/show_bug.cgi?id=5865
- # [19:16] <Lachy> sicking, is the Moz implementation essentially compatible with the JQuery impl.?
- # [19:16] <Lachy> http://docs.jquery.com/Traversing/is#expr
- # [19:16] * Parts: adactio (n=adactio@host86-138-101-27.range86-138.btcentralplus.com)
- # [19:17] <sicking> Lachy: will look
- # [19:17] <sicking> Lachy: what does jquery do when .is is called on a textnode?
- # [19:18] <Lachy> I don't know. Ask JohnResig
- # [19:18] <Lachy> sicking, which interfaces is the API implemented on?
- # [19:18] <Lachy> Is it just the Element interface?
- # [19:18] <sicking> "returns true, if at least one element of the selection fits the given expression". So i guess it can be called on some set in jquery
- # [19:18] <Lachy> I hope it's not Node.matchesSelector
- # [19:19] <sicking> the current patch just exposes it on elements
- # [19:19] <Lachy> good
- # [19:19] <Lachy> that makes things sensible
- # [19:19] <Lachy> how does it work with pseudo-elemenets?
- # [19:19] <sicking> *possibly* you could expose it on textnodes/comments/etc and have it always return false
- # [19:19] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [19:20] <sicking> Lachy: works the same way querySelectorAll does. However that is
- # [19:20] <Lachy> that would be silly, since querySelector() is only on Document, Element and DocumentFragment
- # [19:20] <Lachy> ok, that's good
- # [19:20] <Lachy> seems fairly simple to define then
- # [19:20] <sicking> there was also talk about exposing it on NodeList
- # [19:20] <Lachy> yeah, that's a separate issue
- # [19:21] <sicking> and have it return a filtered nodelist
- # [19:21] * ap_ is now known as ap
- # [19:21] <sicking> dunno what it should be called there though
- # [19:21] <Lachy> http://www.w3.org/Bugs/Public/show_bug.cgi?id=5864
- # [19:21] <Lachy> I was just going to define NodeList.querySelectorAll()
- # [19:21] * Joins: tantekc (n=tantek@70.36.139.108)
- # [19:21] <sicking> Lachy: that looks different
- # [19:21] <Lachy> Not sure if we'd need NodeList.querySelector() too
- # [19:22] <Lachy> how?
- # [19:22] <sicking> Lachy: i was talking abotu NodeList.matchesSelector
- # [19:22] <sicking> (probably needs some other name)
- # [19:22] * Joins: JonathanNeal (n=Jonathan@rrcs-76-79-114-216.west.biz.rr.com)
- # [19:22] <sicking> which returns a nde NodeList which is a subset of the first NodeList
- # [19:22] <Lachy> how can a NodeList match a selector?
- # [19:22] <sicking> containing just the nodes that matches the selector
- # [19:23] <Lachy> yeah, that's what NodeList.querySelectorAll() would do
- # [19:23] <sicking> match each node individually, return the ones that matches
- # [19:23] <sicking> really?
- # [19:23] <Lachy> yes. What else would it do?
- # [19:23] <annevk2> sicking, for CORS btw I had a thought of making redirects work for simple requests but not allowing the for stuff that involves the cache (i.e. complex requests)
- # [19:23] <sicking> i would have expected NodeList.querySelectorAll to call .querySelectorAll on each node in the nodelist and return a union of the resulting nodelists
- # [19:23] <Lachy> wow, that seems crazy
- # [19:24] <sicking> annevk2: yeah, i think we might want to go that way for v1
- # [19:24] <annevk2> my main use case has always been simple requests
- # [19:24] <sicking> Lachy: that's what john resig suggested last i talked to him a few days ago
- # [19:24] <annevk2> because i'd like this to work nicely for e.g. eventsource; cross-origin images that do not have to taint <canvas>, etc.
- # [19:24] <Lachy> woah. That would be doing like what Array.forEach() does
- # [19:25] <annevk2> for those cases you need redirects to work just fine, especially for <img>, because cross-origin redirects already work fine :)
- # [19:25] <sicking> Lachy: in any event i would not expect querySelectorAll to work as a list "generator" in some cases and a filter in others, that seems very surprising
- # [19:26] <Lachy> it makes sense to do that, so that it's consistent with Element.querySelectorAll().
- # [19:26] <Lachy> maybe it could be called filterSelector or something
- # [19:27] <sicking> right, with that name it makes much more sense
- # [19:27] <sicking> annevk2: not fully following you
- # [19:27] <sicking> annevk2: oh
- # [19:27] <sicking> annevk2: yeah, i agree, simple requests are the most important
- # [19:27] <Lachy> what's the use case for the other alternative, of invoking querySelector() on all nodes in the list and returning one collection?
- # [19:27] <Lachy> JohnResig, yt?
- # [19:28] <sicking> Lachy: don't know. But based on the name that's what i'd expect
- # [19:28] <Lachy> it's absolutely not what I'd expect
- # [19:29] <sicking> you'd expect it to be building lists when called on elements, but filtering them when called on NodeLists?
- # [19:29] <TabAtkins> Lachy: All of the direct traversal functions (children(), parent(), etc.) will operate on each individual element if called on a list of elements.
- # [19:29] <sicking> what about if the NodeList just contains one element?
- # [19:29] <TabAtkins> So, frex, $("p").parent() will give you a list of the parents of all <p>s.
- # [19:30] <Lachy> sicking, no difference
- # [19:30] <TabAtkins> There is not currently a direct way to do this with an arbitrary selector, though.
- # [19:30] <Lachy> TabAtkins, what traversal functions apply to NodeLists?
- # [19:30] <sicking> Lachy: so calling it on an element vs. calling it on a NodeList with that element would do two totally opposite things?
- # [19:31] <TabAtkins> Lachy: None of them. They only apply to jQuery objects. ^_^
- # [19:31] <TabAtkins> Which can be both a single element or a list of elements.
- # [19:32] <annevk2> sicking, got to go now, will follow up on this tomorrow
- # [19:32] <sicking> annevk2: sounds good
- # [19:32] * Philip` wonders if some mail system somewhere broke
- # [19:32] <annevk2> sicking, today I spent most of my time in my inbox, hopefully tomorrow I can actually get some work done :)
- # [19:32] <Philip`> I posted to public-html ~30 minutes ago and it's still not there :-(
- # [19:32] * Joins: jianli (n=jianli@74.125.59.73)
- # [19:32] <Lachy> sicking, no. On Elements, it says, return all the matching elements contained within it, and on NodeLists, it says return all the matching elements contained within that
- # [19:33] <TabAtkins> Lachy: But the notion of "elements contained within it" is different for the two.
- # [19:33] <Lachy> so?
- # [19:34] <Lachy> but anyway, it doesn't matter. I can accept calling it something with a clearer name
- # [19:34] <TabAtkins> So it feels weird (if you're trying to justify the behavior where it filters the NodeList).
- # [19:34] <TabAtkins> kk
- # [19:35] <sicking> Lachy: agreed. The element object doesn't represent a list of nodes contained within it
- # [19:35] <sicking> (agree with TabAtkins that is)
- # [19:36] <TabAtkins> From my own experience in jquery, though, the most natural behavior for NodeList.querySelectorAll is to return a single collection that is the union of calling querySelectorAll on each Element in the NodeList.
- # [19:36] <sicking> well.. i *think* there might be a usecase for querySelectorAll on NodeList, which does the foreach thing. But I don't know what the use cases are so i'd ahve to refer to JohnResig
- # [19:36] <sicking> *defer to
- # [19:37] <TabAtkins> Actually...
- # [19:37] * TabAtkins goes off to check the behavior of giving a context to $ that is multiple elements.
- # [19:37] <TabAtkins> jQuery *may* already have a behavior for this.
- # [19:38] * Quits: tantek (n=tantek@70.36.139.108) (Read error: 110 (Connection timed out))
- # [19:38] * tantekc is now known as tantek
- # [19:40] <TabAtkins> !_! FF is suddenly interpreting my jquery file as something crazy in chinese. wtf?
- # [19:41] <Dashiva> Go go charset detection
- # [19:41] <TabAtkins> It's acting like it suddenly swapped over to UTF-16 parsing.
- # [19:41] <TabAtkins> Not certain about that, of course.
- # [19:42] * Joins: roc (n=roc@121-72-164-167.dsl.telstraclear.net)
- # [19:43] <Philip`> Maybe it's displaying a gzipped version?
- # [19:44] <TabAtkins> Ah, no. For some reason my *text editor* was in utf-16LE mode, and so Windows was correctly sending the charset over to ff.
- # [19:44] <TabAtkins> And then ff was interpreting the jquery file in the same charset, since I didn't have one specified.
- # [19:45] <TabAtkins> k, fixed.
- # [19:45] <TabAtkins> Anyway! Lachy, jquery *does* have such a behavior already defined.
- # [19:46] * aroben|lunch is now known as aroben
- # [19:47] <Lachy> ok
- # [19:49] <TabAtkins> $("i", $("div")) returns a jquery object containing all the <i>s contained in all the <div>s.
- # [19:49] <Lachy> how is that different from $("div i")
- # [19:50] <TabAtkins> Oh, duh, I am also dumb. The most direct analog is just find(). $("div").find("i") would do it.
- # [19:50] <TabAtkins> Lachy: The difference is that it's in two steps, producing a list and then running a selector over that list.
- # [19:50] <Lachy> but how is the result different?
- # [19:50] <TabAtkins> It's not.
- # [19:50] <Lachy> so what's the point?
- # [19:50] * Joins: remysharp (n=remyshar@remysharp.plus.com)
- # [19:51] <TabAtkins> ?_? So you can run the first query, possibly alter the list, then run the second query.
- # [19:51] <Lachy> mine would be more efficient
- # [19:51] <Lachy> ok, so you were just using it to illustrate the concept, not a practical example.
- # [19:51] <TabAtkins> $("div").find("i") is the same as $("div i"). But $elems.find("i") may not have an equivalent selector.
- # [19:51] <Philip`> TabAtkins: Like $("div").filter(some arbitrary js code).find("i") ?
- # [19:51] <TabAtkins> Philip`, yeah.
- # [19:52] <JonathanNeal> I have a question about proper element usage. I've translated the folllowing image into the following HTML @ http://madison.thewikies.com/html5test/question.html (both on that page)
- # [19:52] <JonathanNeal> There are three elements in each row on that page, time, title, and location - I'm using time for time, h1 for title, and p for location, but would there be a better element to use than p?
- # [19:53] <TabAtkins> JonathanNeal, no, I don't think so.
- # [19:54] <TabAtkins> It doesn't seem to fit into any of the particular semantics that html5 cares about, so it's just generic content as far as the language is concerned.
- # [19:54] <JonathanNeal> Just making sure this wasn't a time to use the address tag, or if it didn't matter either way.
- # [19:54] <gsnedders> JonathanNeal: No, address is for contact details.
- # [19:54] * Joins: roc_ (n=roc@121-72-164-167.dsl.telstraclear.net)
- # [19:55] <hober> JonathanNeal: hCalendar would be a very good fit
- # [19:55] <JonathanNeal> So my <time> element usage generally considered acceptable, or should it be a generic div or p?
- # [19:56] * Joins: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net)
- # [19:56] <TabAtkins> <time> is great. Why wouldn't it be?
- # [19:57] <hober> I'm not crazy about having <time> and <h1> as siblings, personally
- # [19:58] <JonathanNeal> hober, when using hCalendar markup in html5, do certain things change, does class="dtstart" title="2007-10-05" become dtstart="2007-10-05"
- # [19:58] * gsnedders would use a table for that
- # [19:58] <hober> (but that's just personal preference)
- # [19:58] <gsnedders> (and probably use th for the title)
- # [19:58] <TabAtkins> hober: Luckily it doesn't mess with sectioning, since the <h1> is heading the parent <article>.
- # [19:58] <hober> JonathanNeal: <time class="dtstart" ...>...</time>
- # [19:59] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) (Remote closed the connection)
- # [20:00] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [20:00] * Quits: roc (n=roc@121-72-164-167.dsl.telstraclear.net) (Read error: 110 (Connection timed out))
- # [20:00] * roc_ is now known as roc
- # [20:01] * Joins: dimich__ (n=dimich@72.14.224.1)
- # [20:01] <JonathanNeal> If I don't need to specify a start and end time, is just dtstart okay?
- # [20:01] * Joins: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se)
- # [20:03] <hsivonen> http://norman.walsh.name/2009/09/22/RDFaForDocBook
- # [20:04] <hober> JonathanNeal: http://microformats.org/wiki/hcalendar#Property_List says dtstart is required but dtend is optional. You might want to look into what it means to leave dtend off though.
- # [20:05] <JonathanNeal> I updated the html syntax @ http://madison.thewikies.com/html5test/question.html : temporary css withstanding.
- # [20:05] <hober> hsivonen: you could s/DocBook/HTML/ and most of that would hold up
- # [20:05] * Joins: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [20:07] <hober> JonathanNeal: where you have title="" I think you mean datetime=""
- # [20:07] <TabAtkins> JonathanNeal: Any reason you've wrapped a span around the title, rather than just putting the class on <h1>?
- # [20:07] <hober> also, what's with the <a href="javascript:;">?
- # [20:07] <hober> why use span for summary? you could just put class="summary" on the h1
- # [20:08] <JonathanNeal> Yea, you're totally right, that was pretty crappy of me..
- # [20:09] <JonathanNeal> hober, the javascript:; is just to create totally empty links.
- # [20:09] <hober> <p class="location adr"><span class="locality">Orlando</span>, <abbr title="Florida" class="region">FL</abbr></p>
- # [20:10] <hober> why do you want totally empty links?
- # [20:10] * Joins: webben (n=benh@82.152.36.121)
- # [20:10] <JonathanNeal> Well, before I implement it, I may just put an alert or something in there to test them, whatever.
- # [20:11] <TabAtkins> You can't just omit the href?
- # [20:11] <TabAtkins> Or, the standard way to handle that is href="#"
- # [20:13] <JonathanNeal> If it's a deal, I'll change it to # while I show you guys :D
- # [20:13] <Philip`> HTML5 allows <a> without href
- # [20:13] <JonathanNeal> I wonder if I'm using the <time> element (typically inline) incorrectly as a sibling there with the h1 as someone pointed out
- # [20:13] <Philip`> as a placeholder for elements that are sort of links without the link
- # [20:14] <Philip`> if I remember correctly
- # [20:14] <TabAtkins> Nah, it's just as conforming as <i> or <span> there, JonathanNeal
- # [20:14] <JonathanNeal> All right, I've updated the example.
- # [20:15] <TabAtkins> (content model of <article> is "flow content", which includes <time>)
- # [20:15] <hober> JonathanNeal: block and inline are CSS concepts, and no longer directly correspond to HTML's content models
- # [20:16] <JonathanNeal> Oh, groovy.
- # [20:16] * Quits: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se) (Read error: 60 (Operation timed out))
- # [20:16] * Quits: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
- # [20:17] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [20:17] * Quits: tantek (n=tantek@70.36.139.108)
- # [20:19] * Joins: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [20:19] <TabAtkins> :headdesk: The difference between if and elseif is important.
- # [20:20] <Philip`> What language has elseif?
- # [20:20] * Philip` can only remember elif (Python), elsif (Perl) and else if (C/JS/Java)
- # [20:20] <TabAtkins> php
- # [20:20] <Philip`> Oh, okay
- # [20:20] <TabAtkins> "else if" is of course also allowed, and is equivalent.
- # [20:21] * Philip` aims to know as little as possible about PHP
- # [20:21] <Philip`> That seems pointlessly redundant
- # [20:21] <TabAtkins> That's php for you.
- # [20:22] * Joins: ttepass- (n=ttepas--@p5B01374B.dip.t-dialin.net)
- # [20:23] <AryehGregor> elif and elsif in Python/Perl actually serve logical purposes. PHP probably copied them in a cargo-cult fashion.
- # [20:23] <AryehGregor> Since PHP uses C-style ifs, so "else if" makes sense without special definitions.
- # [20:23] <TabAtkins> That's almost certainly what happened.
- # [20:23] <TabAtkins> We loves us some cargo-cultism.
- # [20:25] * TabAtkins is happy that he finally has a Hindi translation for his company's app again.
- # [20:26] <TabAtkins> It mysteriously corrupted itself some time ago into jibberish, and nobody had backups going back far enough to fix them.
- # [20:28] * Joins: bijan (n=bparsia@rpc312.cs.man.ac.uk)
- # [20:28] * Quits: bijan (n=bparsia@rpc312.cs.man.ac.uk) (Client Quit)
- # [20:29] <AryehGregor> Do you have many Hindi users?
- # [20:30] <Philip`> sicking: Your option 5 would cause unusual behaviour in text/html content like <svg xmlns:xlink="foo"><foreignObject><p property="xlink:bar"></foreignObject></svg>
- # [20:30] <Philip`> (because xmlns:xlink (and only xmlns:xlink) on foreign objects goes in the XMLNS namespace)
- # [20:30] <TabAtkins> Dunno the exact number, but we have some at least. It's just a "member language", though, so this only affects customer-facing stuff like receipts and reports, not the app interface itself.
- # [20:31] * Philip` refrains from saying that on the list, because it's an irrelevant distraction
- # [20:31] <TabAtkins> We cover very nearly every language used by our customers.
- # [20:32] <sicking> Philip`: ah, interesting
- # [20:33] <AryehGregor> "Copy-and-paste from sites that didn't understand the spec, for example copying from w3schools.com" Zing.
- # [20:33] * Quits: webben (n=benh@82.152.36.121) (Connection timed out)
- # [20:34] <Philip`> TabAtkins: That sounds like a challenge for someone to learn many obscure languages and then become a customer of you
- # [20:34] <TabAtkins> Thus the "very nearly" weasel.
- # [20:35] <Philip`> If I learn a hundred obscure languages, then you'll only support maybe half the languages used by your customers, which is not "very nearly every language"
- # [20:36] <Philip`> no matter how weaselly you try to be
- # [20:36] <AryehGregor> Hurrah, Chromium on Linux has progressed from "don't display Flash at all" to "display Flash but it instantly crashes every time".
- # [20:36] <jgraham> Philip`: Only if you "used" all 100 languages
- # [20:36] <TabAtkins> Only if you aggregate purely by language. I prefer to aggregate by language-instance, in which case you'd represent less than .1%.
- # [20:37] <jgraham> AryehGregor: That sems like the right pnalty for using flash
- # [20:37] <jgraham> *penalty
- # [20:37] <AryehGregor> jgraham, I wish I never had reason to. :(
- # [20:37] <AryehGregor> Why doesn't YouTube roll out HTML5 video already? :/
- # [20:37] <Philip`> Because they hate standards
- # [20:38] <AryehGregor> What, Google hates HTML5 and they're paying the editor?
- # [20:38] <Philip`> Just see what they're doing to RDFa for evidence!
- # [20:38] <Philip`> AryehGregor: That gives them a great cover story
- # [20:38] <AryehGregor> Well, the fact that Google employs Hixie certainly supports the hypothesis that they hate RDFa specifically. :P
- # [20:38] <TabAtkins> Hahaha
- # [20:39] <Philip`> Pay one person to give the impression of supporting HTML5, and then you've got an excuse no matter what your zillion other employees do
- # [20:39] <AryehGregor> Well, they also paid people to implement <video> in Chrome.
- # [20:39] <AryehGregor> I think that's even released in the stable channel now.
- # [20:39] <Philip`> Oh, okay
- # [20:40] <Philip`> They must be trying to hide something *really* important if they're going to such lengths to give a false impression
- # [20:41] * Joins: ojan (n=ojan@nat/google/x-cumcunegjkxigfjx)
- # [20:43] * Quits: mpt (n=mpt@canonical/mpt) (Read error: 113 (No route to host))
- # [20:44] * Quits: ttepasse (n=ttepas--@p5B0143BE.dip.t-dialin.net) (Read error: 110 (Connection timed out))
- # [20:45] <AryehGregor> This would be much awesomer if some sample results were provided: http://wondermark.com/554/
- # [20:48] * Parts: Midler (n=midler@212.37.124.243) ("Leaving.")
- # [20:53] * Joins: Midler (n=midler@212.37.124.243)
- # [20:53] * Joins: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com)
- # [20:55] * Quits: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com) (Read error: 104 (Connection reset by peer))
- # [20:56] * Joins: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com)
- # [20:59] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) ("inbound momentarily")
- # [21:00] <TabAtkins> AryehGregor: I've got lunch now. Gimme 10 minutes.
- # [21:01] * Joins: dbaron (n=dbaron@nat/mozilla/session)
- # [21:02] * Joins: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se)
- # [21:04] <TabAtkins> Actually, gonna go actually grab lunch first. Then programming.
- # [21:05] * Joins: franksalim (n=frank@adsl-75-61-85-210.dsl.pltn13.sbcglobal.net)
- # [21:05] * Joins: benward (n=benward@nat/yahoo/x-ugjrinbtfeujnoor)
- # [21:10] * Quits: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se) (Read error: 104 (Connection reset by peer))
- # [21:14] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) (Read error: 110 (Connection timed out))
- # [21:15] * Joins: slightlyoff (n=slightly@216.239.45.4)
- # [21:15] <annevk2> well look at that, I wasn't the only one to look into CORS redirects today
- # [21:15] * annevk2 is back for a bit
- # [21:26] * Quits: slightlyoff (n=slightly@216.239.45.4) (Remote closed the connection)
- # [21:26] * Joins: slightlyoff (n=slightly@nat/google/x-gasiyxfqgctiyiko)
- # [21:27] * Quits: Super-Dot (n=Super-Do@66-240-26-6.isp.comcastbusiness.net)
- # [21:28] * Joins: jwalden (n=waldo@nat/mozilla/x-zmghnprzrfgpudnx)
- # [21:28] * Joins: Super-Dot (n=Super-Do@66-240-26-6.isp.comcastbusiness.net)
- # [21:32] <annodomini> So, is anyone working on speccing X-UA-Compatible (or the non prefixed version) now that we have two implementations of it?
- # [21:32] <annodomini> http://blog.chromium.org/2009/09/introducing-google-chrome-frame.html
- # [21:33] * aroben is now known as aroben|afk
- # [21:34] <AryehGregor> TabAtkins, http://dpaste.com/96903/
- # [21:34] <AryehGregor> That totally wasn't worth the effort.
- # [21:35] <TabAtkins> However, your work enables me to use it more easily. ^_^
- # [21:35] <AryehGregor> Wow, so Google makes an IE plugin that basically just replaces the entire guts of the browser with Chrome? Cool stuff.
- # [21:36] <remysharp> But if the user had a choice to actually install the plugin, surely they'd be savvy enough to install chrome (or any other browser) in the first instance? Doesn't it?
- # [21:37] <AryehGregor> No, because they won't notice a real difference between the plugin and the normal browser.
- # [21:37] <AryehGregor> They use the same icon and same interface and so on.
- # [21:37] <Philip`> remysharp: Then the user would have to actively choose which browser to use, based on whether they want a decent browser or they want compatibility with IE-only sites
- # [21:37] <AryehGregor> That too.
- # [21:37] <Philip`> whereas this way they get the rubbish browser for almost all sites, and Google can make its own sites render faster for users with the plugin
- # [21:37] <AryehGregor> TabAtkins, you get to find the bugs for yourself where I forgot a trailing comma and Python helpfully combined the strings.
- # [21:38] <AryehGregor> (I used to think PHP was stupid for requiring a . to concatenate string literals, now I'm not so sure)
- # [21:38] <TabAtkins> Using + for concat is dumb. >_<
- # [21:38] <remysharp> right, but the problem is that "older " browser are in high circulation because either the user or the sysadmins can't move the users on to new browsers - so equally they won't be able to install a plugin that tweaks their browser
- # [21:38] * Quits: pmuellr (n=pmuellr@nat/ibm/x-pzzbeoylqwjqytum) (Read error: 104 (Connection reset by peer))
- # [21:39] <miketaylr> right, but the new plugin won't break their vbscript-laden internal apps.
- # [21:39] <AryehGregor> remysharp, 1) Is installing a plugin really as hard as installing a new browser? Does IE require admin privileges to install a plug-in, for instance? 2) A lot of places haven't switched because they need IE for internal sites. This rendering engine is opt-in, so not an issue.
- # [21:40] * Joins: pmuellr (n=pmuellr@nat/ibm/x-uuubhlihxbkwqgvd)
- # [21:40] <Philip`> Using chrome=1 to trigger behaviour in IE seems like a violation of how I expect x-ua-compatible to work - it'd make more sense to me if it said ie=chrome
- # [21:40] <remysharp> AryehGregor: The video of Hilton being asked why they couldn't use Firefox was responding with the cost of support
- # [21:40] <remysharp> and the related support when they do image installs of machines
- # [21:40] <remysharp> (or something to that nature)
- # [21:41] <AryehGregor> Not an issue if the users can install plugins when the site asks them without sysadmin approval, now, is it? :)
- # [21:41] <remysharp> sure
- # [21:41] <remysharp> but they're not the problem
- # [21:41] <TabAtkins> Philip`, I agree with you. This isn't recognizing a version of Chrome, it's recognizing a version of IE.
- # [21:41] <remysharp> Also - I'm not sure how good this looks: http://www.grabup.com/uploads/1c33a86d16fc998ee6ae5b531f32e211.png?direct
- # [21:43] <AryehGregor> remysharp, they are if you get to the point where you're willing to say "If you use IE, you have to install this plugin to continue."
- # [21:43] <paul_irish> remysharp: i should point out that was from ie4osx which, who knows what sort of userAgent it reports..
- # [21:43] <paul_irish> but i think the install flow could be a lot better.
- # [21:43] <remysharp> paul_irish: hi! :-)
- # [21:43] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [21:44] <remysharp> paul_irish: right, and since when was reading the userAgent the right way to do detection?
- # [21:44] <remysharp> well - since a while back, but not today!
- # [21:44] <AryehGregor> "True, but IE handles legacy compatibility by versioning." Interesting, I didn't know that would be the official policy forever going forward. That's what that sounds like.
- # [21:44] <remysharp> and equally, what about the whole X-UA... IE=edge - can we comma separate them, to read: "IE=edge,chrome=1"?
- # [21:44] <AryehGregor> (from travil@microsoft.com on www-style, FWIW)
- # [21:44] <remysharp> or is one going to overwrite the other?
- # [21:45] <remysharp> sorry, I've hijacked the #whatwg discussion for something that's pretty off topic. I shouldn't rant off too much :-)
- # [21:48] * Joins: dpranke (n=Adium@nat/google/x-eztrtpuapcovvtbv)
- # [21:50] <Lachy> sicking, the NodeList.querySelector() proposal, where it returns the collective result from all elements, seems a little more complicated to define than I first thought.
- # [21:51] <Lachy> it would have to return the union of all results, but then it gets complicated if the same node is matched twice
- # [21:51] * slightlyoff is now known as slightlyoff_afk
- # [21:52] <Lachy> so it would have to somehow say that each node is included in the list only once
- # [21:52] <Lachy> but it makes it hard to guarantee the order in which nodes are returned
- # [21:53] <miketaylr> Lachy: but isn't union defined as the set of all unique elements in a collection?
- # [21:53] <Philip`> remysharp: It seems much more on-topic than many other things here :-)
- # [21:53] <miketaylr> (at least in linguistics, i believe it is)
- # [21:53] <Lachy> the problem is more the order of the elements indexed in the NodeList
- # [21:53] <miketaylr> ah
- # [21:53] <AryehGregor> In set theory it is. Not in, for instance, SQL.
- # [21:54] <AryehGregor> (UNION ALL vs. UNION DISTINCT)
- # [21:54] <Philip`> http://philip.html5.org/data/ua-compatible-contents.txt is fun to see how many people blindly copy-and-paste
- # [21:54] <Lachy> right. I think we'd want the equivalent of UNION DISTINCT
- # [21:54] <remysharp> Philip`: I love the last one
- # [21:55] <miketaylr> AryehGregor: yeah, thanks for the distinction.
- # [21:55] <Philip`> http://philip.html5.org/data/ua-compatible-headers.txt too
- # [21:55] <remysharp> "IE=7" <- this /really/ worries me long term.
- # [21:56] <AryehGregor> Why?
- # [21:57] <Lachy> AryehGregor, why what?
- # [21:57] <hsivonen> the chrome frame trigger is amusing
- # [21:57] <AryehGregor> [090922 15:55:40] <remysharp> "IE=7" <- this /really/ worries me long term. <-- Why?
- # [21:57] <remysharp> It's there because "MS want to support those sites who can't change to support IE8" - so instead you stick "IE=7" and in another 5 years, we're stuck with IE7 rendering pages
- # [21:58] <remysharp> and it's ie6 all over again
- # [21:58] <AryehGregor> It's Microsoft's problem, surely, not anyone else's.
- # [21:58] <AryehGregor> The point is to encourage users to upgrade.
- # [21:58] <AryehGregor> Since they can keep the old way of rendering.
- # [21:59] <AryehGregor> (for their sites)
- # [21:59] <roc> hsivonen needs to update his "IE rendering modes chart" now!
- # [21:59] <remysharp> Sure, but they also happen to be the dominant browser still - and could remain that way
- # [21:59] * gsnedders remembers this debate before
- # [21:59] <Philip`> AryehGregor: It discourages authors from updating their sites to work in standards-compliant browsers, and therefore it harms users of standards-compliant browsers
- # [21:59] <remysharp> so if they say we're focusing on support the shit around the web instead of this fancy new stuff.
- # [21:59] <remysharp> ....
- # [21:59] <Lachy> haha, which site is using IE=4, and the one beginning "Dear M$..."
- # [21:59] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [21:59] <hsivonen> roc: yeah. more community service coming up for me
- # [22:00] <roc> it's just going to get more and more exciting over time
- # [22:00] <AryehGregor> Philip`, no, it encourages users to upgrade to more standards-compliant browsers (higher versions of IE), and therefore allows authors to update their sites to work in more standards-compliant browsers without special-casing IE everywhere.
- # [22:01] <remysharp> but that's not a realistic approach. Users can't upgrade, often those ones stuck, it's not their choice. And then our clients ask us to, rightly, support IE6 because it's a browser with significant dominance.
- # [22:01] <Lachy> AryehGregor, it's a questionable technique designed to allow Microsoft to play catch up without causing too much pain for developers now, at the expense of causing themselves pain in the long run
- # [22:01] <remysharp> anyway, this is an old argument that goes round in circles.
- # [22:02] <AryehGregor> Yes, so it's arguably a bad idea on Microsoft's part, but I think for authors it's generally a positive thing.
- # [22:02] <AryehGregor> I don't know why they'd need it beyond IE8 or so.
- # [22:02] <AryehGregor> The problem was surely that they painted themselves into a corner with totally broken CSS support in IE6 and IE7.
- # [22:02] <AryehGregor> (especially IE6)
- # [22:02] <AryehGregor> Well, CSS and a fairly long list of other things.
- # [22:03] <AryehGregor> But I think CSS was the biggest problem.
- # [22:03] <gsnedders> AryehGregor: I'd say that wouldn't have been such a problem if IE6 didn't have such a long release cycle
- # [22:03] <AryehGregor> Yes, that's true too.
- # [22:03] <AryehGregor> Although then authors would have to do three times as many hacks to get *all* the versions of IE to work, of course.
- # [22:04] <gsnedders> Someone from MS (Chris, maybe) said they would've probably fixed more bugs and delayed IE6 if they knew it was going to have such a long release cycle
- # [22:04] <Lachy> there's a small chance Microsoft could, if they tried hard enough, phase out support for it over the long term, as old sites relying on it now eventually get rebuilt to not rely on it.
- # [22:08] <Philip`> Lachy: http://www.ecan.govt.nz/Plans+and+Reports/Air/RoadsideMonitoring.htm had IE=4
- # [22:09] <Philip`> Lachy: http://forum.pcekspert.com/member.php?u=14720 had the letter
- # [22:09] <jgraham> Lachy: NodeList.querySelectorAll should return the document-ordered union of the results of querySelectorAll applied to each Node in NodeList
- # [22:09] * Quits: pmuellr (n=pmuellr@nat/ibm/x-uuubhlihxbkwqgvd)
- # [22:10] <jgraham> NodeList.matchAll or whatever should return the elements of the NodeList that match in the original order of the nodelist
- # [22:10] * Quits: franksalim (n=frank@adsl-75-61-85-210.dsl.pltn13.sbcglobal.net) ("Leaving")
- # [22:11] * jgraham is waiting for the day that hsivonen has to convert his flowchart to a 3D flythrough
- # [22:12] * Quits: paul_irish (n=paul_iri@12.33.239.250)
- # [22:14] * Joins: taf2 (n=taf2@38.99.201.242)
- # [22:17] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 54 (Connection reset by peer))
- # [22:18] * Joins: kinetik (n=kinetik@121.98.132.55)
- # [22:19] <jgraham> OK html5lib testcase: <body><frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>
- # [22:20] <jgraham> There is an explicit <body> tag so in after-head mode we set the frameset-ok flag to not ok
- # [22:22] * Joins: zdobersek1 (n=zan@cpe-92-37-69-6.dynamic.amis.net)
- # [22:22] <jgraham> Then we switch to in-body and ignore all the <frame></frame> junk
- # [22:23] <jgraham> Then when we hit the <frameset> tag frameset-ok is still not OK
- # [22:24] <jgraham> So we ignore the token
- # [22:24] * Quits: Super-Dot (n=Super-Do@66-240-26-6.isp.comcastbusiness.net)
- # [22:24] <jgraham> The first token that is inserted is that corressponding to the noframes element
- # [22:25] <jgraham> and the final tree should be
- # [22:25] <jgraham> <html>
- # [22:25] <jgraham> <head>
- # [22:25] <jgraham> <body>
- # [22:25] <jgraham> <noframes>
- # [22:25] <jgraham> "</frameset><noframes>"
- # [22:25] <jgraham> What did I miss?
- # [22:26] <jgraham> I think the testcase output is right for the situation where there is no explicit <body> tag because then you rest the frameset-ok flag to OK in after-head mode
- # [22:26] <jgraham> after inserting the body element
- # [22:30] * Quits: roc (n=roc@121-72-164-167.dsl.telstraclear.net)
- # [22:33] <TabAtkins> Hmm, anybody know if it's documented just how IE is *supposed* to react to a conditional comment started in the <head> which contains a </head>? It looks like it implicitly closes the comment.
- # [22:33] * Quits: zdobersek1 (n=zan@cpe-92-37-69-6.dynamic.amis.net) ("Leaving.")
- # [22:34] <TabAtkins> Never mind, I'm probably crazy.
- # [22:34] * aroben|afk is now known as aroben
- # [22:37] * slightlyoff_afk is now known as slightlyoff
- # [22:38] <TabAtkins> So, <dt>/<dd> within <figure>/<details> is back to being on the table, since there's a small hack (smaller than document.createElement()) that fixes IE<8 parsing.
- # [22:38] * Quits: zdobersek (n=zan@cpe-92-37-70-81.dynamic.amis.net) (Read error: 110 (Connection timed out))
- # [22:39] <TabAtkins> Unfortunately I can't just pass this off to a js file. I'm actually going to have to carry around a copypasta talisman to put into all of my pages.
- # [22:39] <gsnedders> fail.
- # [22:52] * Quits: erlehmann (n=erlehman@tmo-108-235.customers.d1-online.com) (Read error: 110 (Connection timed out))
- # [22:55] * drunknbass_work is now known as drunknbass_work|
- # [22:56] * Parts: ojan (n=ojan@nat/google/x-cumcunegjkxigfjx)
- # [22:58] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [23:00] * Joins: jacobolus (n=jacobolu@dhcp-0059871802-99-6d.client.student.harvard.edu)
- # [23:00] * Quits: jacobolus (n=jacobolu@dhcp-0059871802-99-6d.client.student.harvard.edu) (Client Quit)
- # [23:03] * Joins: roc (n=roc@203-97-204-82.dsl.clear.net.nz)
- # [23:04] * Joins: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net)
- # [23:04] * Quits: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net) (Remote closed the connection)
- # [23:06] * Joins: maikmerten (n=maikmert@BAE387a.bae.pppool.de)
- # [23:06] * Joins: maikmerten_ (n=maikmert@BAE387a.bae.pppool.de)
- # [23:07] <mookid> Hixie: did you just make that up? :P
- # [23:09] * Quits: matijsb (n=matijsb@83.161.2.155)
- # [23:10] * Quits: remysharp (n=remyshar@remysharp.plus.com) ("Gotta shoot - "peeyaow"")
- # [23:15] <Hixie> AryehGregor: http://youtube.com/html5
- # [23:15] * Quits: miketaylr (n=mtaylor@38.117.156.163) ("adios.")
- # [23:20] <cardona507> chrome frame - oh thank god
- # [23:20] * Quits: dimich__ (n=dimich@72.14.224.1) (Read error: 110 (Connection timed out))
- # [23:21] * Quits: BlurstOfTimes (n=blurstof@168.203.117.59) ("Leaving...")
- # [23:22] * Quits: fishd_ (n=darin@nat/google/x-jnabtbixapumvxqg) (Read error: 110 (Connection timed out))
- # [23:28] * Quits: drunknbass_work| (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net) ("Leaving...")
- # [23:29] * Quits: Maurice (n=copyman@5ED548D4.cable.ziggo.nl)
- # [23:31] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [23:31] * Philip` tests librdfa
- # [23:31] <Philip`> Hmm, it doesn't even seem to support <p XMLNS:EX="..." property="ex:...">
- # [23:31] <Philip`> That's not very conforming
- # [23:32] <Philip`> It also seems to abort and return an empty document (instead of an RDF response) with certain inputs like xmlns:0
- # [23:32] <Philip`> It does something really weird with xmlns:_
- # [23:33] <Philip`> <p xmlns:ex="" property="ex:http://example.com/test">Test</p> turns into <> <file:////http> "Test" . which is crazy
- # [23:35] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [23:36] * Quits: taf2 (n=taf2@38.99.201.242)
- # [23:37] <Philip`> s/RDF/RDF\/XML/
- # [23:39] * Quits: dbaron (n=dbaron@nat/mozilla/x-jreyiwnlihdbudrj) (Read error: 104 (Connection reset by peer))
- # [23:39] <sicking> annevk2: ping
- # [23:39] * Joins: dbaron (n=dbaron@nat/mozilla/x-opvrizgpfqwfcnyk)
- # [23:41] <Hixie> Philip`: i believe you're missing the point... all that's necessary is for someone to _claim_ that they support rdfa, that's enough to indicate rdfa is a success
- # [23:44] <sicking> Hixie: so what's the reason for the itemfor attribute?
- # [23:44] <sicking> Hixie: that's pretty new, right?
- # [23:45] <Hixie> sicking: used to be called subject=""
- # [23:45] <sicking> Hixie: another thing, it would be great with more examples in the microdata section. Right now there's only extremely primitive examples, and huge examples
- # [23:45] <Hixie> sicking: i'll be adding a bunch once the study's results are in
- # [23:45] <Hixie> didn't want to change the spec until i got hte results back
- # [23:45] <sicking> Hixie: i tried to see how to define an item with a sub-item the other day, the only examples of that are huge
- # [23:46] <Hixie> http://damowmow.com/playground/microdata/001/ has examples and stuff that might help
- # [23:46] <sicking> Hixie: cool
- # [23:46] <Hixie> review-annotated.html shows itemfor="" iirc
- # [23:47] <sicking> Hixie: so what's the use case for itemfor/subject?
- # [23:47] <Hixie> review-annotated.html shows the use case
- # [23:48] <sicking> so one fairly big problem with it is that the reference goes in an unexpected direction
- # [23:48] <sicking> Hixie: which means that in order to extract microdata from anywhere, you need to scan the whole document
- # [23:50] <Hixie> yes
- # [23:50] <sicking> why not make the reference go the other way?
- # [23:50] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [23:50] * Quits: maikmerten_ (n=maikmert@BAE387a.bae.pppool.de) ("Leaving")
- # [23:50] <sicking> using a <meta> or something
- # [23:51] <sicking> Hixie: on an unrelated subject. Why does HTMLMediaElement expose the errorcode as an object? Rather than as a integer
- # [23:52] * Philip` notes that <meta> doesn't actually work in practice today because some browsers move it into <head>
- # [23:52] <Philip`> (unless that was <link>? or both?)
- # [23:52] <jgraham> (I think <meta> doesn't work indeed)
- # [23:52] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [23:52] <sicking> Hixie: forcing you to go through media.error.code, rather than just media.error
- # [23:52] <jgraham> (I would bring it up as a problem but I feel like I complain too much already)
- # [23:52] <sicking> Hixie: trying to figure out if we should copy this pattern for FileRequest
- # [23:53] <Hixie> sicking: yeah we could go the other way... I'll ponder it once the study's results are in next week
- # [23:53] <sicking> Hixie: cool
- # [23:53] <Hixie> media.error is intended for future extension, so you can find out exactly what frame the error happened at, etc
- # [23:53] <Hixie> iirc
- # [23:55] <TabAtkins> sicking: The nice thing about itemfor's directionality is precisely that the Microdata parent doesn't need to know about its children explicitly, which matches the model when they are DOM children as well.
- # [23:56] <TabAtkins> It would suck if you had some vocab that could contain an unbounded number of some property, and you could just automagically associate all of the DOM children of the vocab root, but had to explicitly list the ones that weren't children.
- # [23:56] <sicking> Hixie: ok
- # [23:57] <Hixie> TabAtkins: we could do it in a way that linked to another node that acted as parent
- # [23:57] <Hixie> i did actually design a feature to do this, <ref>
- # [23:57] <Hixie> but i didn't want to add a new element to do it
- # [23:58] <TabAtkins> Interesting. Would the real parent refer to the ref, or the ref refer to the real parent?
- # Session Close: Wed Sep 23 00:00:00 2009
The end :)