Options:
- # Session Start: Tue Aug 25 00:00:00 2009
- # Session Ident: #whatwg
- # [00:00] <TabAtkins> (Actually, I have *got* to finish this page for work today. I'll go to the lists in an hour.)
- # [00:03] * Quits: ttepass- (n=ttepas--@p5B0143D5.dip.t-dialin.net) (Read error: 110 (Connection timed out))
- # [00:04] * Joins: ttepass- (n=ttepas--@p5B015CBE.dip.t-dialin.net)
- # [00:04] * Quits: ttepasse (n=ttepas--@p5B014867.dip.t-dialin.net) (Read error: 60 (Operation timed out))
- # [00:06] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-flxclqcvgddgprpg) (Read error: 104 (Connection reset by peer))
- # [00:06] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-mmdxsikedrphotog)
- # [00:06] * Joins: othermaciej (n=mjs@17.203.15.179)
- # [00:06] * Joins: ttepasse (n=ttepas--@p5B0175C7.dip.t-dialin.net)
- # [00:08] * Joins: seanoshea (n=seanoshe@nat217.eye.fi)
- # [00:10] * Quits: cying (n=cying@70.90.171.153) (Remote closed the connection)
- # [00:10] * Joins: cying (n=cying@70.90.171.153)
- # [00:14] * Quits: ttepass- (n=ttepas--@p5B015CBE.dip.t-dialin.net) (Read error: 60 (Operation timed out))
- # [00:14] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [00:18] * Quits: svl_ (n=me@dslb-084-056-120-137.pools.arcor-ip.net) (Remote closed the connection)
- # [00:18] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-mmdxsikedrphotog) (Read error: 104 (Connection reset by peer))
- # [00:18] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-ihtylgetwhrhcgxp)
- # [00:20] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-ihtylgetwhrhcgxp) (Read error: 104 (Connection reset by peer))
- # [00:20] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-xkimkyavjujymnew)
- # [00:26] * Quits: ttepasse (n=ttepas--@p5B0175C7.dip.t-dialin.net) ("?Q")
- # [00:26] * Joins: ttepasse (n=ttepas--@p5B0175C7.dip.t-dialin.net)
- # [00:28] * Joins: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
- # [00:38] * Quits: BlurstOfTimes (n=blurstof@168.203.117.59) ("Leaving...")
- # [00:40] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-xkimkyavjujymnew) (Read error: 104 (Connection reset by peer))
- # [00:40] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-nwvgiuxisnjvwebr)
- # [00:44] * Quits: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com) ("Nettalk6 - www.ntalk.de")
- # [00:46] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-nwvgiuxisnjvwebr) (Read error: 104 (Connection reset by peer))
- # [00:46] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-vxochxmdetebzuly)
- # [00:49] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-vxochxmdetebzuly) (Read error: 104 (Connection reset by peer))
- # [00:49] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-ebdhfvhxmclrrtbo)
- # [00:51] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-ebdhfvhxmclrrtbo) (Read error: 104 (Connection reset by peer))
- # [00:51] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-okdbrmairphlvnan)
- # [00:52] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-okdbrmairphlvnan) (Read error: 104 (Connection reset by peer))
- # [00:53] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-yqssulsjacznmnxm)
- # [00:54] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [00:57] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [00:59] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-yqssulsjacznmnxm) (Read error: 104 (Connection reset by peer))
- # [00:59] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-docelduujtfmiuxf)
- # [01:01] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) ("Wünsche weiterhin guten Flug")
- # [01:03] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-docelduujtfmiuxf) (Read error: 104 (Connection reset by peer))
- # [01:03] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-icjrpuvaztqcioym)
- # [01:07] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-icjrpuvaztqcioym) (Read error: 104 (Connection reset by peer))
- # [01:07] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-iyqflzllrbstdlbm)
- # [01:08] <AryehGregor> TabAtkins, on reflection, I actually don't think styling of error messages is essential for HTML 5 forms. It's not meant to totally replace script. It lets you declare constraints in a nice, simple, standard, easy-to-use, declarative manner. If the UA supports script, you can use the script interfaces provided to override the default error handling.
- # [01:08] <AryehGregor> If not, or if you can't be bothered or don't care much about aesthetics, you can use the UA defaults.
- # [01:09] <TabAtkins> But that's the two extremes - ignore it entirely, or roll a completely homebrew error message.
- # [01:09] * Joins: aroben (n=aroben@17.246.17.226)
- # [01:09] <TabAtkins> I believe there's a middle area that's still useful to hit.
- # [01:09] <AryehGregor> Hmm. Maybe. But it sounds very complicated.
- # [01:09] <AryehGregor> When you start trying to work out the details, I mean.
- # [01:09] <TabAtkins> Hmm, I think it ends up relatively simple.
- # [01:10] <TabAtkins> At least, if the definitions of the pseudoclasses are modified appropriately.
- # [01:11] <TabAtkins> input:invalid('range-underflow')::error { content: "This is too small."; border: 2px solid red; padding: 5px; background: wheat; color: red; font-weight: bold; }
- # [01:11] <TabAtkins> Or whatever.
- # [01:11] <TabAtkins> That's assuming that all the features are available.
- # [01:11] <AryehGregor> And that box gets put where? Undefined? How do you know if there's enough space, etc.?
- # [01:11] <TabAtkins> If ::error isn't reliably available, then use input::error { display: none; } and input:invalid('range-underflow')::after { --rules-- };
- # [01:12] <TabAtkins> ::error box is generated in a UA-defined location.
- # [01:12] <TabAtkins> UA is expected to ensure that it fits on the page.
- # [01:12] <AryehGregor> And displays when? Also UA-defined?
- # [01:13] <TabAtkins> Yes. Opera does it on submit, but it would probably also be fine to do it whenever the element matches :invalid, assuming :invalid is changed to not match immediately on pageload.
- # [01:13] * Joins: SuperDot_iPod (n=superdot@66-240-27-50.isp.comcastbusiness.net)
- # [01:13] * Quits: webben (n=benh@nat/yahoo/x-kzlxtdntvxqvkwdq) (Read error: 60 (Operation timed out))
- # [01:14] <AryehGregor> If you aim for middle ground, you run the risk of hitting too high to satisfy half the authors and too low to satisfy the other half.
- # [01:14] <TabAtkins> True.
- # [01:14] <TabAtkins> So I'm aiming for something that would satisfy me as an author.
- # [01:14] * Joins: annodomini (n=lambda@wikipedia/lambda)
- # [01:15] <AryehGregor> The proposal is quite rigid. If you want even slightly more control, you have to throw the whole thing out and redo it from scratch.
- # [01:15] <TabAtkins> Indeed, but if you give up any more control, you *explode* in complexity.
- # [01:15] <AryehGregor> Hmm.
- # [01:15] <TabAtkins> To the point that doing it in script is comparable.
- # [01:15] <AryehGregor> Well, yes. Doing it in script isn't so bad.
- # [01:15] <AryehGregor> Not with all the nice APIs that were added.
- # [01:15] <TabAtkins> This is true.
- # [01:15] <AryehGregor> A few lines, really.
- # [01:16] <AryehGregor> Well, depending on what you want to do.
- # [01:16] <TabAtkins> But I dunno the accessibility issue, especially when compared to the native error semantics.
- # [01:16] <Lachy> AryehGregor, I initially thought the same as you, but after speaking with our dev relations person about this, there are apparently a lot of authors who don't want all the complexities of using javascripts just to make error messages look nice
- # [01:17] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-iyqflzllrbstdlbm) (Read error: 104 (Connection reset by peer))
- # [01:17] <AryehGregor> Yeah, I agree that not using JavaScript would be nice.
- # [01:17] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-tnesvtdnlevejqih)
- # [01:17] <AryehGregor> I actually just said on the whatwg list how much I preferred this declarative stuff to even one line of JavaScript.
- # [01:17] <AryehGregor> (in the case of autofocus)
- # [01:17] <TabAtkins> Yeah.
- # [01:18] <JonathanNeal> JS has its place :-)
- # [01:18] <TabAtkins> Especially since there are so many little ways that the simple js solution is wrong.
- # [01:18] <TabAtkins> And by the time you get it right, it's way too big and omigodwhydon'tbrowsersjustdothisformeforgodsakes
- # [01:19] * Quits: SuperDot_iPod (n=superdot@66-240-27-50.isp.comcastbusiness.net) ("Get Colloquy for iPhone! http://mobile.colloquy.info")
- # [01:19] * Joins: SuperDot_iPod (n=superdot@66-240-27-50.isp.comcastbusiness.net)
- # [01:22] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-tnesvtdnlevejqih) (Read error: 104 (Connection reset by peer))
- # [01:22] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-sxhmcgleoncavikh)
- # [01:22] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-sxhmcgleoncavikh) (Read error: 104 (Connection reset by peer))
- # [01:23] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-gpjxmucwhjddarij)
- # [01:29] <AryehGregor> Wouldn't a decent working solution just be (kind of pseudo-codey since my JS is terrible): onchange="if (!this.validity.valid) appendErrorMsg(this)" oninput="if (this.validity.valid) removeErrorMsg(this)", with appendErrorMsg() and removeErrorMsg() being a line or two?
- # [01:29] <AryehGregor> Most of the effort seems like it would go into writing up descriptions for every possible error condition.
- # [01:29] <AryehGregor> Or combinations thereof.
- # [01:29] <TabAtkins> Yes.
- # [01:30] <TabAtkins> That would work just fine.
- # [01:30] <AryehGregor> Oh, there's even an invalid event.
- # [01:30] <AryehGregor> Aha.
- # [01:30] * Quits: myakura (n=myakura@p4118-ipbf6207marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [01:30] <AryehGregor> Just use this.validationMessage.
- # [01:30] <AryehGregor> I was thinking that should exist, and it does. :)
- # [01:31] * Quits: SuperDot_iPod (n=superdot@66-240-27-50.isp.comcastbusiness.net) ("Get Colloquy for iPhone! http://mobile.colloquy.info")
- # [01:32] <AryehGregor> Bah, I really don't know any JavaScript.
- # [01:32] <TabAtkins> can you point me to the invalid event?
- # [01:32] <AryehGregor> I only see one reference to it, actually.
- # [01:32] <AryehGregor> Perhaps it's an error.
- # [01:33] <AryehGregor> "Returns true if the element's value has no validity problems; false otherwise. Fires an invalid event at the element in the latter case."
- # [01:33] <TabAtkins> I do know javascript, though with a jQuery accent.
- # [01:33] <TabAtkins> spec referencee?
- # [01:33] * Quits: cying (n=cying@70.90.171.153)
- # [01:33] <AryehGregor> http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-constraint-validation-api
- # [01:33] <AryehGregor> valid = element . checkValidity()
- # [01:33] <AryehGregor> Under there.
- # [01:34] <AryehGregor> But I don't see it mentioned elsewhere in the spec.
- # [01:34] <AryehGregor> No, I see now.
- # [01:34] <AryehGregor> It's mentioned elsewhere.
- # [01:34] <AryehGregor> Or no, maybe it's not.
- # [01:34] <AryehGregor> Anyway.
- # [01:35] <TabAtkins> Yeah, I don't see it elsewhere. I just see references to firing the invalid event.
- # [01:36] <AryehGregor> Well, I guess that's enough. Events don't really have any properties other than a name.
- # [01:36] * AryehGregor tries to figure out how to say "add some HTML right after the current element" without having to do all this document.createElement(); etc. etc. stuff
- # [01:38] <TabAtkins> $("some html").insertAfter(another element);
- # [01:39] <TabAtkins> Or $(element).after("some html"); if that's more convenient.
- # [01:39] <AryehGregor> Okay, but if I'm trying to come up with a solution that's only a few lines long, it's kind of cheating to use a multi-thousand line library. :)
- # [01:39] <TabAtkins> It's not my fault that stuffs not part of ecma. It should be. ^_^
- # [01:42] <AryehGregor> onchange="this.checkValidity()" oninvalid="err = document.createElement('div'); err.class='error'; err.appendChild(document.createTextNode(this.validationMessage); document.insertBefore(err, this.nextSibling);" oninput="if (this.validity.valid && this.nextSibling.class == 'error') this.nextSibling.removeNode()"
- # [01:42] <AryehGregor> That's one line, technically.
- # [01:42] <AryehGregor> Insofar as a "line" is delimited by "\n" rather than, say, ";".
- # [01:42] <AryehGregor> (It's totally untested and almost certainly wrong.)
- # [01:42] <TabAtkins> Your technical definition is useless and wrong.
- # [01:43] <AryehGregor> Hey, it works great for Unix utilities.
- # [01:43] <AryehGregor> No need to make up different definitions just because it's a programming language.
- # [01:45] <TabAtkins> $(input).change(function(){this.checkValidity();}).invalid(function(){$("<div class='error'>").text(this.validationMessage).insertAfter(this);}).input(function(){if(this.validity.valid){$("+ .error", this).remove();});
- # [01:45] <TabAtkins> That shoudl work.
- # [01:45] <AryehGregor> Hmm.
- # [01:45] <AryehGregor> It looks like checkValidity() in Opera fires its own custom error thingie.
- # [01:45] <AryehGregor> Maybe I need to return false?
- # [01:46] <TabAtkins> If the invalid event isn't cancelled, it triggers the validation stuff.
- # [01:46] <TabAtkins> So return false from oninvalid;
- # [01:46] <AryehGregor> Doesn't seem to help.
- # [01:46] <AryehGregor> "When the checkValidity() method is invoked, if the element is a candidate for constraint validation and does not satisfy its constraints, the user agent must fire a simple event called invalid that is cancelable (but has no default action)"
- # [01:47] <AryehGregor> I'll try using element.validity.valid tactic instead.
- # [01:54] <TabAtkins> Man, as soon as I start writing jQuery I get screwed up on PHP. Too much use of the $ glyph.
- # [01:54] <AryehGregor> Oh, rats. I'm not sure Opera 9.6 supports validationMessage.
- # [01:54] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [01:55] <AryehGregor> Hmm.
- # [01:55] * Parts: fantasai (i=fantasai@connectionreset.info)
- # [01:55] * Joins: aroben (n=aroben@17.246.17.226)
- # [01:58] <AryehGregor> I think I've got this working, except validationMessage seems to always be empty.
- # [01:59] * Joins: webben (n=benh@91.85.213.208)
- # [01:59] <TabAtkins> Sweet. And you got it suppressing the native Opera error display?
- # [02:00] <AryehGregor> Well, not exactly.
- # [02:00] <AryehGregor> I didn't try that.
- # [02:01] <TabAtkins> Well we need that. ^_^ I suppose we can defer to ::error existing and letting us display:none it, but I'd rather not if possible.
- # [02:02] <AryehGregor> Since Opera only triggers on form submit, you should be able to just stop the form submit to override, I'd assume.
- # [02:02] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 110 (Connection timed out))
- # [02:02] <TabAtkins> Hmm, that's true.
- # [02:02] <AryehGregor> How can you dump all an element's attributes to alert()? Or otherwise inspect them?
- # [02:02] <TabAtkins> A quick loop through the form, manually checking validity, and cancelling submit on fail.
- # [02:02] <AryehGregor> There's a method for that.
- # [02:03] <TabAtkins> There is? I don't know.
- # [02:03] <AryehGregor> form.checkValidity()
- # [02:03] <TabAtkins> didn't you say that checkValidity on an element triggers it to display the native messages, though?
- # [02:03] <AryehGregor> Hmm.
- # [02:04] <AryehGregor> The spec doesn't actually say that it does.
- # [02:04] <TabAtkins> Yah, but Opera does so, right?
- # [02:04] <AryehGregor> On inputs, yes. Forms, dunno.
- # [02:04] <TabAtkins> Oh, right. I would *assume* that form.checkValidity just does checkValidity on each element, but I'd need to test.
- # [02:04] <AryehGregor> Probably you're right.
- # [02:04] * Quits: weinig (n=weinig@dan75-7-88-166-184-59.fbx.proxad.net)
- # [02:05] * Quits: doublec_ (n=doublec@nat/mozilla/x-gfqowofgjtldgesj) ("Leaving")
- # [02:05] * Quits: MikeSmith (n=MikeSmit@EM114-48-159-111.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [02:06] * Quits: dglazkov (n=dglazkov@nat/google/x-yfssrypvjlhgqxlx)
- # [02:07] * Joins: doublec (n=doublec@nat/mozilla/x-gocwdbbwsqvuhyqj)
- # [02:08] <AryehGregor> I think I'm odd. Given that I wasn't able to easily figure out from running JavaScript whether validationMessage is supported, my first inclination was to grep the source code for Opera for "validationMessage". Given that's impossible, my second inclination was to grep the binary.
- # [02:08] <AryehGregor> $ grep validationMessage /usr/lib/opera/9.64/opera
- # [02:08] <AryehGregor> Binary file /usr/lib/opera/9.64/opera matches
- # [02:08] <AryehGregor> So I guess it must have some kind of support, huh?
- # [02:08] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) (Read error: 104 (Connection reset by peer))
- # [02:08] <TabAtkins> One would think. But perhaps it's just /* Seriously, put in something for validationMessage when I'm less drunk. */
- # [02:09] <TabAtkins> except maybe in swedish.
- # [02:09] <AryehGregor> Comments don't make it into the binary.
- # [02:09] * Quits: equalsJeffH (n=weechat@209.20.72.172) ("WeeChat 0.2.6")
- # [02:09] <TabAtkins> But you didn't find it in the source... strange.
- # [02:09] <AryehGregor> . . . in what source?
- # [02:09] <TabAtkins> Oh, you *couldn't*.
- # [02:09] <AryehGregor> Opera is closed-source.
- # [02:09] <TabAtkins> Sorry, misread you.
- # [02:09] <AryehGregor> Anyway.
- # [02:10] <AryehGregor> Okay, validationMessage exists on the element, but is just the empty string.
- # [02:10] <AryehGregor> Hmm.
- # [02:10] <TabAtkins> So they just set it up to match the API, but aren't fully conforming yet.
- # [02:10] <AryehGregor> Or I'm doing something wrong.
- # [02:11] <AryehGregor> Maybe it's in 10.00.
- # [02:12] <TabAtkins> Send me a test page, I"ll check it.
- # [02:12] <AryehGregor> onchange="this.checkValidity(); if (!this.validity.valid) { err = document.createElement('div'); err.class='error'; err.appendChild(document.createTextNode(this.validationMessage)); this.parentNode.insertBefore(err, this.nextSibling); } alert(this.validationMessage);" oninput="if (this.validity.valid and this.nextSibling.class == 'error') this.nextSibling.removeNode()"
- # [02:12] <AryehGregor> The alert() is for debugging, of course.
- # [02:12] <TabAtkins> so you just popped that onto an <input>?
- # [02:13] <AryehGregor> A more minimal test case would just be, say: <input pattern=... name=foo onchange="alert(this.validationMessage)">
- # [02:13] <AryehGregor> <!doctype html><title>Test</title><form><input pattern=... name=foo onchange="alert(this.validationMessage)"><input type=submit></form>
- # [02:13] <AryehGregor> Seems to always be the empty string.
- # [02:13] <AryehGregor> (... is the actual pattern here, not a placeholder :P)
- # [02:14] <TabAtkins> Haha, interesting.
- # [02:14] <TabAtkins> Also, awesome.
- # [02:14] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Connection timed out)
- # [02:14] <AryehGregor> Which part?
- # [02:14] <TabAtkins> Anyway, ys, 10b2 also gives me the empty string.
- # [02:15] <TabAtkins> Oh, the part where ... is a valid pattern
- # [02:15] <TabAtkins> even without quotes
- # [02:15] <AryehGregor> I was actually using ....* as my pattern, but ... seemed more natural.
- # [02:15] <AryehGregor> Heh.
- # [02:15] <AryehGregor> I wrote an abstraction layer for MediaWiki that automatically decides whether to add quotes.
- # [02:15] <AryehGregor> It's crazy what you don't have to quote.
- # [02:15] <AryehGregor> Minimum length of 10: pattern=.{10,}
- # [02:15] <AryehGregor> No quotes needed.
- # [02:16] <AryehGregor> The only unintuitive character that needs quotes is =.
- # [02:16] <TabAtkins> I'd probably quote that anyway. I quote anything that goes beyond alphanums and -
- # [02:16] <AryehGregor> Yeah, but my abstraction layer automatically doesn't quote it. :)
- # [02:16] <AryehGregor> (saves two bytes . . .)
- # [02:17] <AryehGregor> That's the funny part. When I saw the HTML output I went "WTF?".
- # [02:17] <AryehGregor> I'd probably quote that too if I did it by hand.
- # [02:17] <TabAtkins> Hehe
- # [02:18] <AryehGregor> Anyway, I think my code is okay proof-of-concept. The only reason it's so long is because DOM methods are so stupidly clumsy.
- # [02:18] <TabAtkins> Nod
- # [02:19] <TabAtkins> I blame Java.
- # [02:19] <AryehGregor> err = document.createElement('div'); err.class='error'; err.appendChild(document.createTextNode(this.validationMessage)); this.parentNode.insertBefore(err, this.nextSibling);
- # [02:19] <AryehGregor> vs. something sane like the jQuery you gave.
- # [02:20] <AryehGregor> $(this).after("<div class=error>" + this.validationMessage + "</div>");
- # [02:20] <TabAtkins> yup
- # [02:20] <AryehGregor> <3 jQuery
- # [02:20] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [02:20] <TabAtkins> I didn't program *any* js before jQuery.
- # [02:21] <AryehGregor> So anyway, the main flexibility I think you get from this is control over the timing and location of the error message.
- # [02:21] <AryehGregor> You're pretty limited in how you style it if you can't control where it will appear, I'd think.
- # [02:21] <AryehGregor> You don't know what a good size is, etc.
- # [02:21] <TabAtkins> If it's abspos floating in an intelligent area determined by the UA, though, I think that'll generally be good enough.
- # [02:22] <TabAtkins> Don't write a novel in the text, of course.
- # [02:23] <AryehGregor> Isn't "abspos floating" an oxymoron?
- # [02:23] <TabAtkins> Bah, stupid CSS eating all the good english terms.
- # [02:23] <TabAtkins> absposed into an intelligent area.
- # [02:24] <AryehGregor> Or mysteriously made to appear there, as the case may be.
- # [02:24] <AryehGregor> Anyway. What about timing?
- # [02:24] <AryehGregor> Neither of us thinks Opera's timing is very good.
- # [02:24] <AryehGregor> It should be onchange instead of onsubmit, where that makes sense.
- # [02:24] <TabAtkins> I think displaying on submit is fine. I just disagree with the timing of :invalid
- # [02:26] <Hixie> jgraham: you should make your script grab the sections from the open bugs too, since they provide IDs
- # [02:27] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [02:31] <TabAtkins> All right, done with work now, only an hour and a half late.e
- # [02:31] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-gpjxmucwhjddarij)
- # [02:31] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [02:36] * Quits: JonathanNeal (n=Jonathan@rrcs-76-79-114-216.west.biz.rr.com) ("Leaving.")
- # [02:38] <TabAtkins> Hixie: would a proposal to change the selectors that match invalid form elements be best in whatwg or www-style?
- # [02:41] <Hixie> which text do you want to change, Selectors, or HTML5?
- # [02:41] <TabAtkins> I don't think that Selectors has any relevant text, so HTML5. So I guess that answers my question.
- # [02:42] <Hixie> pretty much :-)
- # [02:42] <Hixie> HTML5 is intending to do whatever selectors says
- # [02:42] <Hixie> so if you can interpret selectors in a different way than html5 does, then let me know
- # [02:43] <Hixie> oh, do you mean :invalid?
- # [02:43] <TabAtkins> Yeah.
- # [02:43] <Hixie> that might be in CSS3 UI rather than Selectors
- # [02:43] <Hixie> i forget where we drew that line
- # [02:43] <TabAtkins> :invalid, and :out-of-range (and their converses)
- # [02:43] <Hixie> i think they're in css3 ui
- # [02:43] <Hixie> so everything i said, but s/selectors/css3 ui/
- # [02:44] <TabAtkins> Oh yeah, there we go.
- # [02:44] <TabAtkins> Of course, the latest draft here is from *2004*. Is tantek even part of www-style anymore?
- # [02:44] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Read error: 110 (Connection timed out))
- # [02:44] <TabAtkins> Considering he threw a hissy fit a few months ago and claimed to be unsubscribing, perhaps not?
- # [02:47] <TabAtkins> Hrm, looks like I need to raise separate issues in both whatwg *and* www-style.
- # [02:47] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [02:47] <TabAtkins> But I already filed the whatwg issue as a spec bug today, so maybe that's okay?
- # [02:47] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Read error: 104 (Connection reset by peer))
- # [02:48] <Hixie> i haven't been following css at all recently
- # [02:48] <TabAtkins> Eh, that's fine. I don't think we've been doing much relevant to html.
- # [02:48] <Hixie> i look forward to sticking my head into their wg meeting in november and seeing if they made any progress since i stopped going to the meetings
- # [02:48] <TabAtkins> That's the one in the bay area, right?
- # [02:48] <Hixie> yah
- # [02:48] <Hixie> you going?
- # [02:48] <TabAtkins> I might be going then. ^_^ Just got approved as an Invited Expert this morning.
- # [02:49] <Hixie> sweet
- # [02:49] <TabAtkins> Yus.
- # [02:49] <Hixie> if you're an htmlwg member, google's offering to pay the w3c's $150 fee for wed-fri
- # [02:49] <TabAtkins> Oh man, awesome.
- # [02:49] <AryehGregor> Speaking of which, does anyone know what the procedure is for becoming an Invited Expert in the HTML WG? It seems like the bar is pretty low, so I applied, but I don't know when to expect a response.
- # [02:49] <TabAtkins> How do I get up on that.
- # [02:49] <TabAtkins> Aryeh: it's described over on whatwg.org
- # [02:49] <AryehGregor> Or what response to expect.
- # [02:50] <TabAtkins> It takes several days.
- # [02:50] <Hixie> TabAtkins: http://lists.w3.org/Archives/Public/public-html/2009Jul/0937.html
- # [02:50] <Hixie> AryehGregor: look at one of the whatwg blog entries from 2007 or so
- # [02:50] <TabAtkins> Ah, I wasn't part of htmlwg at that point.
- # [02:50] * Quits: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp) ("Ex-Chat")
- # [02:51] <Hixie> TabAtkins: if i don't get up to the 20-person cap, i might be able to swing getting you the $100 for the css side of things too -- remind me in the e-mail
- # [02:51] <AryehGregor> Aha, so I have to e-mail a couple of people in addition to filling out the Invited Expert Application Form?
- # [02:51] <Hixie> AryehGregor: it's a whole Process
- # [02:51] <TabAtkins> Any idea what the cut-off on getting in on that is, Hixie? Whether or not I go depends on whether I can scrape up enough by November to head there. I'll probably have enough in my vacation fund by then to get me and my wfie out there.
- # [02:51] <TabAtkins> Aryeh: I didn't have to email anyone, though the Process says to.
- # [02:51] <TabAtkins> I just waited, and like 10 days later was in.
- # [02:52] <AryehGregor> It's been . . . 7 days.
- # [02:52] <AryehGregor> So I'll wait a few more.
- # [02:52] <AryehGregor> Thanks.
- # [02:52] <Hixie> TabAtkins: http://lists.w3.org/Archives/Public/public-html/2009Aug/0363.html
- # [02:53] <Hixie> TabAtkins: (drop me an e-mail if you think it's possible you might want to go, though, so i can reserve you a spot on my list)
- # [02:53] <TabAtkins> Mid-September, okay.
- # [02:53] <TabAtkins> I'll put the question to the wife tonight, figure out our finances.
- # [02:53] <TabAtkins> Hixie: It's definitely *possible* that I'd want to go. It's just a matter of money, not will. ^_^
- # [02:53] <Hixie> :-)
- # [02:53] <Hixie> i wonder if, if i get enough people to go, i can say that that gets me out of going
- # [02:54] * Hixie hates meetings
- # [02:54] <TabAtkins> Haha
- # [02:54] <TabAtkins> I want a chance to meet people face-to-facee.
- # [02:54] <Hixie> yeah, the social aspect is nice
- # [02:56] <TabAtkins> So, Hixie. I filed a spec bug today (7411) on the selectors matching invalid elements. Should I raise that in an actual email, or is that sufficient?
- # [02:56] <Hixie> spec bug and e-mail are equivalent to me
- # [02:57] <Hixie> the only difference is which line they affect: http://www.whatwg.org/issues/data.html
- # [02:57] <TabAtkins> k. Should I sign up for bugzilla and add more detail?
- # [02:57] <Hixie> only if you think there's not enough detail
- # [02:57] <TabAtkins> Hmm. Eh, it probably is. How can I get Bugzilla to email me when the bug gets its status changed?
- # [02:58] <Hixie> add yourself to the cc list
- # [02:58] <TabAtkins> Gotcha.
- # [02:59] * Quits: ap (n=ap@nat/apple/x-zzbzdwkcnygbohvp)
- # [03:03] <TabAtkins> All right, further detail given, and cc added.
- # [03:05] <cardona507> hixie - are there still 15 seats open? and if so are there qualifications to be involved?
- # [03:06] <Hixie> there's still plenty of open spots, yes
- # [03:06] <Hixie> http://lists.w3.org/Archives/Public/public-html/2009Jul/0937.html and http://lists.w3.org/Archives/Public/public-html/2009Aug/0363.html cover everything there is to know, i think
- # [03:06] <Hixie> ok, i gotta go
- # [03:06] <Hixie> bbiab
- # [03:11] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [03:12] * Quits: dpranke (n=Adium@nat/google/x-jahuzdaxglbjuxed) ("Leaving.")
- # [03:12] * Joins: othermaciej_ (n=mjs@17.246.16.249)
- # [03:14] <othermaciej_> where in teh spec are the UA conformance rules for doctype?
- # [03:15] * Joins: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp)
- # [03:17] <TabAtkins> Is this good enough? http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#the-doctype
- # [03:18] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [03:19] <othermaciej_> that seems to define the syntax for authors, but not the UA processing requirements (such as what doctypes trigger quirks mode)
- # [03:20] * Quits: othermaciej (n=mjs@17.203.15.179) (Read error: 145 (Connection timed out))
- # [03:20] * othermaciej_ is now known as othermaciej
- # [03:25] <othermaciej> TabAtkins: it seems the only place to define quirks behavior is in a weird implicit way in the parsing algorithm
- # [03:25] * Joins: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [03:30] * Quits: othermaciej (n=mjs@17.246.16.249)
- # [03:35] * Joins: Super-Dot (n=Super-Do@adsl-75-61-92-1.dsl.pltn13.sbcglobal.net)
- # [03:37] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [03:42] * Quits: seanoshea (n=seanoshe@nat217.eye.fi) (Read error: 148 (No route to host))
- # [03:44] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
- # [03:45] * Quits: KevinMarks (n=KevinMar@157.22.22.46) ("The computer fell asleep")
- # [03:50] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [03:52] * Quits: doublec (n=doublec@nat/mozilla/x-gocwdbbwsqvuhyqj) ("Leaving")
- # [03:53] * Parts: ojan (n=ojan@72.14.229.81)
- # [04:08] * Quits: dbaron (n=dbaron@nat/mozilla/x-fejgycjazrthgqzi) ("8403864 bytes have been tenured, next gc will be global.")
- # [04:24] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [04:24] * Quits: Super-Dot (n=Super-Do@adsl-75-61-92-1.dsl.pltn13.sbcglobal.net) (Read error: 104 (Connection reset by peer))
- # [04:37] * Quits: ttepasse (n=ttepas--@p5B0175C7.dip.t-dialin.net) ("?Q")
- # [04:38] * Joins: SamerZ_ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [04:39] * Joins: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net)
- # [04:39] <JonathanNeal> Hello!
- # [04:42] * Joins: SamerZ__ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [04:42] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [04:44] <cardona507> hello
- # [04:46] * Joins: SamerZ___ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [04:48] * Joins: SamerZ____ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [04:49] <JonathanNeal> Hey cardona507
- # [04:53] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com) (Read error: 113 (No route to host))
- # [04:53] * SamerZ____ is now known as SamerZ
- # [04:58] * Quits: SamerZ_ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com) (Read error: 113 (No route to host))
- # [04:58] * Quits: k0rnel (n=k0rnel@147.175.167.202) (Read error: 110 (Connection timed out))
- # [04:59] * Joins: Super-Dot (n=Super-Do@adsl-75-61-92-1.dsl.pltn13.sbcglobal.net)
- # [05:01] * Quits: SamerZ__ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com) (Read error: 113 (No route to host))
- # [05:05] * Quits: SamerZ___ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com) (Read error: 113 (No route to host))
- # [05:05] * Quits: tkent (n=tkent@220.109.219.244) ("Leaving...")
- # [05:05] * Quits: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp) ("Ex-Chat")
- # [05:05] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [05:08] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [05:19] <JonathanNeal> <body><header></header><section><h1>Page Title</h1><p>Hello World!</p></section><footer>Copyright © 2009</footer></body> is a basic html5 page, yes?
- # [05:20] <JonathanNeal> Doh, except that I did not put anything in the <header />
- # [05:20] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [05:20] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [05:20] * Quits: dave_levin_ (n=dave_lev@72.14.224.1) (Remote closed the connection)
- # [05:20] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [05:24] <cardona507> shouldn't it be surrounded by <html></html>?
- # [05:24] <JonathanNeal> I meant, within the body.
- # [05:29] <cardona507> looks pretty basic to me
- # [05:38] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
- # [05:38] * dave_levin_ is now known as dave_levin
- # [05:41] * Joins: tkent (n=tkent@220.109.219.244)
- # [05:44] <JonathanNeal> Within the header, that would be the header for the site or the page, right?
- # [05:53] <cardona507> are you asking if what goes between <header> & </header> is what you see on the page as a header?
- # [05:59] * Quits: Super-Dot (n=Super-Do@adsl-75-61-92-1.dsl.pltn13.sbcglobal.net)
- # [05:59] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [05:59] * Joins: Super-Dot (n=Super-Do@adsl-75-61-92-1.dsl.pltn13.sbcglobal.net)
- # [06:07] * Quits: jwalden (n=waldo@nat/mozilla/x-plvpxigecdeezwpg) ("->home")
- # [06:23] * Joins: dpranke (n=Adium@c-24-23-194-221.hsd1.ca.comcast.net)
- # [06:23] * Parts: dpranke (n=Adium@c-24-23-194-221.hsd1.ca.comcast.net)
- # [06:23] * Joins: dpranke (n=Adium@c-24-23-194-221.hsd1.ca.comcast.net)
- # [06:24] * Parts: dpranke (n=Adium@c-24-23-194-221.hsd1.ca.comcast.net)
- # [06:25] <JonathanNeal> cardona, here's a very basic example of a valid html5 page. Is this right? http://pastebin.com/d50828caa
- # [06:29] <cardona507> It looks good to me. But I must confess that I am very new to html5 - anyone else care to weigh in?
- # [06:32] <cardona507> this might help with your header question: http://boblet.tumblr.com/post/134276674/html5-structure2
- # [06:34] <JonathanNeal> Yea, I've heard that the <nav> does not need to be in the header, ah that part still confused me just a little.
- # [06:41] * Joins: harig (n=aparan@59.90.71.35)
- # [06:47] * Joins: harig` (n=aparan@59.90.71.35)
- # [07:02] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [07:02] * Quits: harig (n=aparan@59.90.71.35) (Read error: 110 (Connection timed out))
- # [07:28] * Joins: harig_ (n=aparan@59.90.71.35)
- # [07:36] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Read error: 110 (Connection timed out))
- # [07:36] * Quits: harig` (n=aparan@59.90.71.35) (Read error: 110 (Connection timed out))
- # [07:37] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [07:50] * Quits: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net) (Read error: 110 (Connection timed out))
- # [07:59] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [08:01] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [08:15] * Joins: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
- # [08:17] * Joins: annevk2 (n=annevk@5355732C.cable.casema.nl)
- # [08:18] * Quits: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net) (Client Quit)
- # [08:19] * Joins: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
- # [08:26] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
- # [08:28] * Joins: jacobolu_ (n=jacobolu@adsl-75-36-157-225.dsl.pltn13.sbcglobal.net)
- # [08:38] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [08:39] <othermaciej> good evening everyone
- # [08:40] <foolip> good morning
- # [08:40] <JonathanNeal> good times all
- # [08:41] <annevk2> mornings
- # [08:41] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:43] <JonathanNeal> Is this good, or should the nav be inside the header, http://pastebin.com/d50828caa ?
- # [08:45] * Quits: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [08:45] * Quits: virtuelv (n=virtuelv@084202205021.customer.alfanett.no) (Read error: 110 (Connection timed out))
- # [08:49] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:55] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [09:01] * Quits: danbri (n=danbri@unaffiliated/danbri) (Remote closed the connection)
- # [09:01] * Parts: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
- # [09:06] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 113 (No route to host))
- # [09:06] * othermaciej_ is now known as othermaciej
- # [09:35] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:36] * Quits: erikvold (n=erikvvol@96.49.192.204) (Read error: 110 (Connection timed out))
- # [09:40] * Joins: heycam (n=cam@124-168-62-130.dyn.iinet.net.au)
- # [09:42] * Quits: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
- # [09:50] * Joins: jaket (n=jake@110.32.135.22)
- # [09:59] <hsivonen> https://bugzilla.mozilla.org/show_bug.cgi?id=253346 is INVALID per HTML5, right?
- # [10:00] <annevk2> yes
- # [10:01] <hsivonen> annevk2: ok. WONTFIXed. thanks
- # [10:02] <annevk2> in theory it's INVALID
- # [10:02] <annevk2> well, future-yet-to-be-a-real-standard-theory
- # [10:02] <hsivonen> I'm being generous and marking bugs that are valid per HTML4 as WONTFIX
- # [10:03] * othermaciej hates bugzilla resolutions
- # [10:03] <annevk2> heh
- # [10:04] <othermaciej> although I guess INCOMPLETE is new, and an improvement
- # [10:04] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [10:04] <othermaciej> does REMIND still exist in the latest bugzilla?
- # [10:05] <hsivonen> othermaciej: IIRC, after a decade or so, it was finally buried
- # [10:06] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Client Quit)
- # [10:07] <hsivonen> in a way, I'm glad that Netscape engineers didn't have the cycles to "fix" all the SGML stuff in the Netscape 6 cycle
- # [10:07] <othermaciej> Radar has resolutions including "Software changed", "Feature removed", "Documentation changed", "Duplicate", "Cannot reproduce", "Behaves correctly", "Not to be fixed" and "Insufficient information"
- # [10:07] <othermaciej> I always hated having to say "INVALID" for what might be either "behaves correctly" or "insufficient information"
- # [10:08] <othermaciej> it feels like something the Master Control Program from TRON would say, not a human mode of communication
- # [10:09] <annevk2> spec/docs changed would be a good resolution to have indeed
- # [10:11] <hsivonen> yesterday I realized that Radar should have a resolution "Confusing UI"
- # [10:12] <hsivonen> I finally understood what the keyboard identification dialog wanted me to do
- # [10:12] <hsivonen> I had always misread it.
- # [10:12] <hsivonen> to the point of even borrowing another keyboard to bypass it
- # [10:13] <hsivonen> maybe I should follow up with the Radar bug I filed about it for the wrong reason the last time round
- # [10:16] * Joins: foolip_ (n=philip@pat.se.opera.com)
- # [10:23] <othermaciej> hsivonen: "confusing UI" is more a category of bug than a resolution...
- # [10:23] <othermaciej> specifically the "Usability" classification
- # [10:28] * Quits: webben (n=benh@91.85.213.208) (Read error: 110 (Connection timed out))
- # [10:33] <Hixie> REMIND and LATER are two resolutions i argued long and hard to drop
- # [10:34] <Hixie> i'm amused that i use them now in the w3c bugzilla
- # [10:34] * Quits: Lachy (n=Lachlan@85.196.122.246) (Read error: 104 (Connection reset by peer))
- # [10:35] <foolip_> Hixie: if you're still confused about what microdata syntax I am proposing, I'm here.
- # [10:36] <jgraham> Hixie: Did you see the discussion about microdata formats from yesterday
- # [10:36] <jgraham> ?
- # [10:36] <Hixie> foolip_: your ideas about nested subitems don't seem to fit the use cases we have for them
- # [10:37] <jgraham> Specifically about using selectors to select on an item without fully qualified names
- # [10:37] <Hixie> foolip_: microdata is modelling a nested tree
- # [10:37] <Hixie> foolip_: lists of name-value pairs that can be nested
- # [10:37] <jgraham> s/about using/about not beiung able to use/
- # [10:37] <Hixie> foolip_: so i don't see what an anonymous child would mean, and modelling it compared to the DOM makes no sense, imho
- # [10:37] <Hixie> jgraham: i did not
- # [10:38] <foolip_> Hixie: anonymous as in you don't need to give it an itemprop value
- # [10:38] <Hixie> right, that makes no sense to me
- # [10:38] <Hixie> it's a name-value pair list
- # [10:38] <Hixie> the "name" part is integral to what we're modelling
- # [10:39] <Hixie> look at the vcard vocabulary
- # [10:39] <Hixie> for instance
- # [10:39] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [10:40] <jgraham> Hixie: Right so the point was that if you have <span item="com.example"><span itemprop=foo></span><span item="org.example"><span itemprop="foo"></span></span></span>
- # [10:40] <foolip_> I have looked at it and don't see why named itemprops which are unnamed items is any clearer than just named items
- # [10:40] <Hixie> the current model is <div itemprop="name" item="type"> <span itemprop="subname"> subvalue </span> </div>
- # [10:40] <Hixie> dropping the itemprop="name" part is meaningless imho
- # [10:40] <jgraham> And you want to select org.example.foo but not com.example.foo you can't do it without knowing the structure in advance
- # [10:40] <Hixie> foolip_: i don't understand what you mean
- # [10:41] <Hixie> jgraham: org.example.foo?
- # [10:41] <jgraham> the itemprop foo of type org.example
- # [10:41] * jgraham doesn't remember the right terms
- # [10:42] <Hixie> jgraham: i can't see a use case where you would want a specific _type_'s subproperty directly like that
- # [10:42] <foolip_> Hixie: I'm saying that nested name-value lists are more difficult to understand and use than a simple tree
- # [10:43] <foolip_> it makes the DOM API more confusing
- # [10:43] <jgraham> Hixie: Well if you want to style all the foo properties of a specific item type, for example
- # [10:43] <Hixie> foolip_: oh you're suggesting changing the actual underlying data model structure as well??
- # [10:43] <jgraham> It doesn't seem unreasonable
- # [10:43] <Hixie> foolip_: i wasn't even considering that
- # [10:43] * Quits: jaket (n=jake@110.32.135.22)
- # [10:44] <foolip_> Hixie: yes, but it seems a rather minor change
- # [10:44] <Hixie> jgraham: don't style microdata. it's not intended for use with styling. things will go badly if you start relying on microdata for styling.
- # [10:44] <foolip_> the syntax is largely the same
- # [10:44] <Hixie> foolip_: changing an underlying assumption is never a minor change.
- # [10:44] * Joins: jaket (n=jake@110.32.135.22)
- # [10:44] <Hixie> foolip_: you have to revisit every design decision that was based on the previous assumption and reconsider the decisions to make sure the new design makes sense again.
- # [10:44] <Hixie> foolip_: so what is the data structure you are suggesting?
- # [10:45] <jgraham> Hixie: I'm not sure authors will feel the same way
- # [10:45] <foolip_> Hixie: simply a tree where each node has string properties and subnodes
- # [10:45] <Hixie> foolip_: that doesn't seem to be a good fit for the use cases we have.
- # [10:45] <jgraham> Also many JS libraries are heavily selector based and people are likely to try using selectors to access microdata items through js
- # [10:46] <Hixie> foolip_: and we already have that data model anyway -- the DOM itself
- # [10:46] <Hixie> foolip_: for example, imagine the microdata for a book, which has four vcards associated with it, two for authors, and two for editors.
- # [10:46] <foolip_> Hixie: there are no examples where both the itemprop and item would have a type
- # [10:47] <Hixie> foolip_: how would you express that in your model?
- # [10:47] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [10:47] <Hixie> itemprop doesn't ever have a type
- # [10:47] <Hixie> it has a name
- # [10:47] * othermaciej is now known as om_sleep
- # [10:49] <foolip_> Hixie: I would make author/editor part of the subitem or I would add intermediary "authors" and "editors" items
- # [10:50] <foolip_> if someone is both an author and an editor I would do the former
- # [10:50] <Hixie> could you show the syntax for this?
- # [10:50] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [10:51] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [10:52] <foolip_> if you'll allow me to use the DOM-isomorphism for brevity: <book><person type="author"/><person type="editor"/></book> or <book><authors><person/></authors><editors>...</editors></book>
- # [10:52] <Hixie> i can see how to do it in the DOM
- # [10:52] <Hixie> but how would you do it in your microdata syntax?
- # [10:53] * Joins: k0rnel (n=k0rnel@krtko.org)
- # [10:53] <Hixie> i think your sample markup shows a misunderstanding, btw. "author" is a type of "person", but "person" is the type of that object.
- # [10:54] <foolip_> the first case: <span item="book"><span item="person"><span itemprop="type">author</span></span></span>
- # [10:54] <Hixie> (i don't understand how in your syntax you would say that one "list-of-vcards" is named "authors" and another is named "editors" given that you don't have names for subitems)
- # [10:54] <Hixie> wait, you're saying that you'd add fields to the vcard vocabulary just to be able to integrate vcard into other vocabularies?
- # [10:55] <foolip_> you'll have to be more specific, this isn't a vcard example
- # [10:55] <foolip_> well, we should use <span item="vcard"> instead of person above
- # [10:55] <Hixie> you'd add fields to the "person" vocabulary just to be able to integrate it into other vocabularies
- # [10:56] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 145 (Connection timed out))
- # [10:56] <hsivonen> Hixie: regarding the Google usability study: are you going to test hCalendar vs. vCal-RDF-in-RDFa vs. vCal-in-microdata?
- # [10:56] <hsivonen> Hixie: for expressing an event
- # [10:56] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [10:56] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [10:56] <Hixie> hsivonen: no, we don't really have the resources to do any more than just a straight forward comparison of maybe three microdata variants at most
- # [10:56] <hsivonen> Hixie: ok.
- # [10:58] <Hixie> anyway i really should go to bed
- # [10:58] <Hixie> foolip_: i don't think your proposals are sound, to be honest
- # [10:58] <Hixie> foolip_: i think they confuse "type" and "name" in a way that would seriously compromise the mechanism
- # [10:59] <Hixie> foolip_: maybe we should drop "type" for subitems, though
- # [10:59] * Quits: jaket (n=jake@110.32.135.22)
- # [10:59] <Hixie> foolip_: i'll think about it
- # [10:59] <Hixie> nn
- # [10:59] <foolip_> Hixie: if you're unwilling to test the syntax I can't force you, of course, I'm saying that the DOM API etc are very confusing now and this seems to help
- # [10:59] <foolip_> let's see what others say
- # [11:03] * Joins: webben (n=benh@nat/yahoo/x-bsdadyfoiieldeed)
- # [11:04] * Joins: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [11:09] * Joins: Lachy_ (n=Lachlan@85.196.122.246)
- # [11:15] * Quits: dave_levin (n=dave_lev@72.14.224.1)
- # [11:17] * Quits: Lachy (n=Lachlan@85.196.122.246) (Read error: 110 (Connection timed out))
- # [11:21] * Quits: om_sleep (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [11:24] * Joins: svl_ (n=me@dslb-084-056-088-230.pools.arcor-ip.net)
- # [11:25] * Joins: jaket (n=jake@110.32.135.22)
- # [11:42] * Joins: adactio (n=adactio@host86-156-238-27.range86-156.btcentralplus.com)
- # [11:53] * Joins: pererik (n=pe@unaffiliated/pererik)
- # [12:02] <hsivonen> hmm. 10 billion page views per month through Opera Mini
- # [12:03] * hsivonen wonders if the default search and bookmark placements pay for all that
- # [12:07] * krijnh is now known as krijn
- # [12:07] <jaket> does opera use that usage data for anything else
- # [12:13] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [12:13] * krijn is now known as krijnh
- # [12:13] * krijnh is now known as krijn
- # [12:19] * Quits: jaket (n=jake@110.32.135.22)
- # [12:19] * maikmerten is now known as maik|eat
- # [12:20] * Quits: jacobolu_ (n=jacobolu@adsl-75-36-157-225.dsl.pltn13.sbcglobal.net) ("Leaving...")
- # [12:20] * Joins: jacobolus (n=jacobolu@adsl-75-36-157-225.dsl.pltn13.sbcglobal.net)
- # [12:21] * svl_ is now known as svl
- # [12:31] * Joins: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
- # [12:35] * Joins: jaket (n=jake@110.32.135.22)
- # [12:46] * Joins: jaket_ (n=jake@110.32.135.22)
- # [12:49] * Quits: jaket_ (n=jake@110.32.135.22) (Client Quit)
- # [12:53] * Joins: tndH (n=Rob@77.86.43.45)
- # [13:00] <ray> opera is big brother, they use it for everything else
- # [13:02] * Quits: jaket (n=jake@110.32.135.22) (Read error: 110 (Connection timed out))
- # [13:04] * Joins: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp)
- # [13:11] * maik|eat is now known as maikmerten
- # [13:11] * Parts: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [13:14] * pesla is now known as pesla\afk
- # [13:16] * Quits: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com) (Read error: 60 (Operation timed out))
- # [13:29] * Joins: myakura (n=myakura@p4118-ipbf6207marunouchi.tokyo.ocn.ne.jp)
- # [13:55] * Quits: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Read error: 110 (Connection timed out))
- # [14:00] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
- # [14:05] * Joins: pmuellr (n=pmuellr@129.33.49.251)
- # [14:07] * pesla\afk is now known as pesla
- # [14:14] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Ex-Chat")
- # [14:16] * Quits: Super-Dot (n=Super-Do@adsl-75-61-92-1.dsl.pltn13.sbcglobal.net)
- # [14:18] * Joins: annodomini_ (n=lambda@wikipedia/lambda)
- # [14:34] <hsivonen> is http://dev.w3.org/2006/waf/widgets-vm/Overview.src.html new stuff or a spec for existing behaviors?
- # [14:34] <hsivonen> does e.g. Mobile Safari already support the events when the user turns an iPhone sideways?
- # [14:37] <Rik|work> hsivonen: http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW16
- # [14:38] * Joins: BlurstOfTimes (n=blurstof@168.203.117.59)
- # [14:39] <hsivonen> Hixie: should we have onorientationchange as an attribute in HTML5?
- # [14:41] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [14:48] * Quits: annodomini_ (n=lambda@wikipedia/lambda)
- # [15:05] * gsnedders|work throws a dog at Hixie
- # [15:08] * Joins: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [15:09] * Quits: jgraham (n=jgraham@web22.webfaction.com) (Read error: 104 (Connection reset by peer))
- # [15:10] * Joins: jgraham (n=jgraham@web22.webfaction.com)
- # [15:10] * Joins: annodomini (n=lambda@64.30.3.122)
- # [15:12] * Joins: MikeSmith (n=MikeSmit@EM114-48-249-73.pool.e-mobile.ne.jp)
- # [15:14] * Quits: poe (n=poe@unaffiliated/poe) ("leaving")
- # [15:27] * Joins: wakaba_0 (n=wakaba_@217.63.138.58.dy.bbexcite.jp)
- # [15:27] * Quits: wakaba_0 (n=wakaba_@217.63.138.58.dy.bbexcite.jp) (Client Quit)
- # [15:30] * Joins: ginger (n=nessy@203-206-3-89.dyn.iinet.net.au)
- # [15:35] <annevk3> http://www.jenitennison.com/blog/node/124 and comments is quite a good read
- # [15:38] * Quits: annodomini (n=lambda@wikipedia/lambda) (Read error: 110 (Connection timed out))
- # [15:39] * Joins: annodomini (n=lambda@130.189.179.215)
- # [15:40] * Quits: nessy (n=nessy@124-170-65-89.dyn.iinet.net.au) (Read error: 101 (Network is unreachable))
- # [15:41] <takkaria> yeah
- # [15:42] <takkaria> it's interesting because the author appears to actually like RDFa yet it still saying useful, constructive things
- # [15:44] <jgraham> I guess there is no special reason that some of the RDFa community behaving in unproductive ways means that no one else from the RDFa community is capable of rational discourse
- # [15:48] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [15:50] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [15:59] * Quits: svl (n=me@dslb-084-056-088-230.pools.arcor-ip.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [15:59] * Joins: jacobolu_ (n=jacobolu@adsl-75-36-149-198.dsl.pltn13.sbcglobal.net)
- # [15:59] * Quits: jacobolus (n=jacobolu@adsl-75-36-157-225.dsl.pltn13.sbcglobal.net) (Read error: 104 (Connection reset by peer))
- # [16:00] <adactio> I could do with some help with some examples I've made for the outline algorithm. If anybody has five minutes to run a sanity check, 'twould be much appreciated.
- # [16:00] <adactio> These three document fragments:
- # [16:00] <adactio> http://pastebin.com/d4e7dca13
- # [16:00] <adactio> http://pastebin.com/d6a71719d
- # [16:00] <adactio> http://pastebin.com/d1dfc8ac0
- # [16:00] <adactio> *should* have the same outline (I believe).
- # [16:00] <adactio> Can anyone confirm/deny?
- # [16:01] <annevk2> did you check with the outline checker?
- # [16:02] <adactio> annevk2: I did not. Where is this outline checker of which you speak?
- # [16:02] <zcorpan> http://gsnedders.html5.org/outliner/
- # [16:02] <adactio> Many thanks.
- # [16:02] <zcorpan> bug gsnedders|work if you want a textarea
- # [16:03] <adactio> Superb. That worked a treat.
- # [16:03] <adactio> Great resource.
- # [16:06] * gsnedders|work grumbles
- # [16:06] <gsnedders|work> That's the fourth time or so today people have said to bug me for new features in public web services…
- # [16:06] <jgraham> gsnedders|work: I asked for a textarea months ago
- # [16:06] <gsnedders|work> jgraham: So did zcorpan, and he did it first.
- # [16:07] <jgraham> You can't claim you don't have time whilst simultanously wanting to play minigolf
- # [16:07] <gsnedders|work> Obviously, you can tell from the fact I haven't done it that I don't like zcorpan
- # [16:07] <gsnedders|work> jgraham: But minigolf is more fun than sitting around coding, and I can pretend to like zcorpan then :P
- # [16:09] * jgraham is reasonably sure that gsnedders|work is overestimating the amusment of trying to get a small ball into a distant hole that is situatued atop a minature windmill
- # [16:09] <gsnedders|work> jgraham: You obviously haven't been to the Himalayas!
- # [16:10] <jgraham> ?
- # [16:11] <gsnedders|work> jgraham: http://www.flickr.com/photos/erase/1270935046/
- # [16:12] <gsnedders|work> http://www.flickr.com/photos/29781620@N00/3061425628/
- # [16:14] <jcranmer> on those kinds of courses
- # [16:14] <jcranmer> I prefer the strong powerful lob
- # [16:15] <jcranmer> the last time I played minigolf, my ball flew out of the course, hit a lamppost, and landed in the green right next to the hole
- # [16:15] <jcranmer> I wondered whether or not that should be considered an out-of-bounds penalty
- # [16:15] <jcranmer> as it didn't *stop* out of bounds
- # [16:15] <gsnedders|work> Well, from memory, it is only where it comes to rest that matters
- # [16:16] <gsnedders|work> (YMMV, I'm only a guy from St Andrews)
- # [16:20] * Quits: ginger (n=nessy@203-206-3-89.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [16:22] * Quits: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net) ("Leaving.")
- # [16:27] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) ("Wünsche weiterhin guten Flug")
- # [16:28] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [16:36] * Joins: dave_levin (n=dave_lev@72.14.224.1)
- # [16:37] * Joins: miketaylr (n=mtaylor@38.117.156.163)
- # [16:39] * Joins: poe (n=poe@unaffiliated/poe)
- # [16:45] * Joins: matijsb (n=matijsb@hotfusion.demon.nl)
- # [16:51] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [16:58] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [16:59] * Joins: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net)
- # [17:09] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:15] * Joins: danbri (n=danbri@unaffiliated/danbri)
- # [17:17] * Quits: annevk3 (n=annevk@5355732C.cable.casema.nl) (Read error: 60 (Operation timed out))
- # [17:18] * Quits: annevk2 (n=annevk@5355732C.cable.casema.nl) (Read error: 60 (Operation timed out))
- # [17:23] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [17:24] * Joins: dglazkov (n=dglazkov@nat/google/x-uxhzmrbljkqkvvon)
- # [17:32] * Joins: sbublava (n=stephan@77.116.105.181.wireless.dyn.drei.com)
- # [17:35] * Quits: dave_levin (n=dave_lev@72.14.224.1)
- # [17:38] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) ("Wünsche weiterhin guten Flug")
- # [17:40] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [17:40] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [17:41] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [17:43] * Joins: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net)
- # [17:44] * Joins: ttepasse (n=ttepas--@p5B0137B3.dip.t-dialin.net)
- # [17:47] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [17:53] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [17:53] * Joins: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [17:54] * Parts: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [17:55] * Joins: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [17:56] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:57] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [17:59] * Quits: harig_ (n=aparan@59.90.71.35) (Read error: 110 (Connection timed out))
- # [17:59] * Quits: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net) ("Leaving.")
- # [18:01] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [18:01] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [18:01] * Joins: ROBOd (n=robod@89.122.216.38)
- # [18:05] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [18:08] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-dapwpblomzsjvvzh)
- # [18:11] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-dapwpblomzsjvvzh) (Read error: 104 (Connection reset by peer))
- # [18:12] * Joins: bgalbraith_ (n=bgalbrai@nat/mozilla/x-islqnnbwoaqurzvp)
- # [18:14] * weinig is now known as weinig|away
- # [18:14] * Joins: ap (n=ap@nat/apple/x-gwzvqhzyhjlswzbr)
- # [18:21] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:25] * Quits: foolip_ (n=philip@pat.se.opera.com) (Read error: 60 (Operation timed out))
- # [18:43] * Joins: ttepass- (n=ttepas--@p5B016157.dip.t-dialin.net)
- # [18:46] * Joins: cying (n=cying@70.90.171.153)
- # [18:46] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
- # [18:47] * Quits: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [18:47] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [18:53] * Quits: ttepasse (n=ttepas--@p5B0137B3.dip.t-dialin.net) (Read error: 60 (Operation timed out))
- # [18:57] * Joins: doublec (n=doublec@nat/mozilla/x-rekugnlkfnemmsza)
- # [18:57] * Quits: myakura (n=myakura@p4118-ipbf6207marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [19:00] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [19:03] * Joins: svl (n=me@84.57.96.73)
- # [19:09] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [19:13] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [19:15] * Quits: mat_t (n=mattomas@91.189.88.12) (Remote closed the connection)
- # [19:17] * Joins: aroben (n=aroben@17.203.14.197)
- # [19:18] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 131 (Connection reset by peer))
- # [19:18] * Joins: aroben (n=aroben@nat/apple/x-zqnnhrkshnpyzepu)
- # [19:31] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [19:37] * Joins: cying_ (n=cying@70.90.171.153)
- # [19:38] * Joins: dbaron (n=dbaron@nat/mozilla/x-bgckhdvldjdqugzo)
- # [19:42] * Quits: dbaron (n=dbaron@nat/mozilla/x-bgckhdvldjdqugzo) (Read error: 104 (Connection reset by peer))
- # [19:46] * Joins: dbaron (n=dbaron@nat/mozilla/x-lnyjtuybodnsyzhw)
- # [19:46] <dbaron> _sheriff
- # [19:50] * Quits: svl (n=me@84.57.96.73) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [19:50] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [19:53] * Joins: maikmerten (n=maikmert@BAE18bc.bae.pppool.de)
- # [19:53] * Quits: cying (n=cying@70.90.171.153) (Connection timed out)
- # [19:53] * cying_ is now known as cying
- # [19:54] * Parts: adactio (n=adactio@host86-156-238-27.range86-156.btcentralplus.com)
- # [19:55] * Joins: franksalim (n=frank@adsl-75-61-85-210.dsl.pltn13.sbcglobal.net)
- # [19:57] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [19:58] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [20:04] * Quits: Creap (n=Creap@vemod.brg.sgsnet.se) (Remote closed the connection)
- # [20:06] * Joins: jlebar (n=jlebar@nat/mozilla/x-daqlmgelvkbxeawo)
- # [20:06] * Joins: Creap (n=Creap@vemod.brg.sgsnet.se)
- # [20:07] * Joins: ttepasse (n=ttepas--@p5B01635A.dip.t-dialin.net)
- # [20:10] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [20:12] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [20:13] * Joins: aroben_ (n=aroben@nat/apple/x-pejczxvpfffxsuih)
- # [20:14] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [20:16] * Quits: ttepass- (n=ttepas--@p5B016157.dip.t-dialin.net) (Read error: 60 (Operation timed out))
- # [20:17] * Quits: jlebar_ (n=jlebar@nat/mozilla/x-cefaklqupusjuxsn) (Read error: 110 (Connection timed out))
- # [20:18] * Quits: doublec (n=doublec@nat/mozilla/x-rekugnlkfnemmsza) (Read error: 110 (Connection timed out))
- # [20:20] * Joins: virtuelv (n=virtuelv@084202205021.customer.alfanett.no)
- # [20:24] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [20:24] * Joins: jwalden (n=waldo@nat/mozilla/x-wzzotizdmvvnddvw)
- # [20:26] * aroben_ is now known as aroben
- # [20:27] * Joins: ojan (n=ojan@nat/google/x-xbehvbpaxgcetsrp)
- # [20:33] * Joins: JonathanNeal1 (n=Jonathan@rrcs-76-79-114-216.west.biz.rr.com)
- # [20:38] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [20:38] * JonathanNeal1 is now known as JonathanNeal
- # [20:43] * Quits: JonathanNeal (n=Jonathan@rrcs-76-79-114-216.west.biz.rr.com) (Nick collision from services.)
- # [20:44] * Joins: doublec (n=doublec@nat/mozilla/x-umkmrxfladrvuohw)
- # [21:10] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [21:11] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
- # [21:11] * Joins: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
- # [21:12] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [21:12] * Joins: aroben (n=aroben@nat/apple/x-evyspkuyzmqzatxr)
- # [21:13] * Joins: billyjackass (n=MikeSmit@EM114-48-0-204.pool.e-mobile.ne.jp)
- # [21:15] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [21:20] * Quits: virtuelv (n=virtuelv@084202205021.customer.alfanett.no) (Remote closed the connection)
- # [21:23] * Quits: cying (n=cying@70.90.171.153)
- # [21:24] * weinig|away is now known as weinig
- # [21:26] * Joins: dpranke (n=Adium@nat/google/x-vkrklxvfxyayrxai)
- # [21:27] * Quits: webben (n=benh@nat/yahoo/x-bsdadyfoiieldeed) (Read error: 110 (Connection timed out))
- # [21:31] * Quits: sicking (n=chatzill@nat/mozilla/x-vcsecbzqntyaftep) (Remote closed the connection)
- # [21:33] * Quits: MikeSmith (n=MikeSmit@EM114-48-249-73.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [21:46] * Quits: sbublava (n=stephan@77.116.105.181.wireless.dyn.drei.com)
- # [21:50] * Joins: virtuelv (n=virtuelv@084202205021.customer.alfanett.no)
- # [21:52] * Quits: doublec (n=doublec@nat/mozilla/x-umkmrxfladrvuohw) (Read error: 110 (Connection timed out))
- # [21:52] * Joins: hallvors (n=hallvord@cm-84.208.127.109.getinternet.no)
- # [21:53] <hallvors> who broke the wonderful http://www.whatwg.org/HTML5 shortcut? :-p
- # [21:53] <hallvors> ..or did I just make it up?
- # [21:53] <gsnedders> hallvors: Lowercase html5
- # [21:55] <Dashiva> And you can skip the www. for a shortercut
- # [21:56] <gsnedders> And most browsers let you omit the http://
- # [21:57] <hallvors> LOL. thanks, gsnedders. the site added www and the browser added http:// indeed
- # [21:57] <hallvors> (looking at the textarea maxlength issue btw)
- # [21:58] <gsnedders> Ah
- # [21:58] * Joins: KevinMarks (n=KevinMar@157.22.22.46)
- # [21:58] <gsnedders> hallvors: I dunno if there are still sites broken by that, as the one in the URL field had gone when I tried it earlier.
- # [21:58] <hallvors> it's funny how jQuery.validate explicitly detects some presumably bogus values
- # [21:58] <gsnedders> jQuery.validate works now
- # [21:59] <hallvors> hm, IRC isn't JavaScript-friendly..
- # [21:59] <hallvors> maxlength may be returned as -1, 2147483647 (IE) and 524288 (safari) for text inputs
- # [21:59] <hallvors> it says
- # [21:59] <gsnedders> Yeah, I saw
- # [21:59] <gsnedders> We return -1
- # [22:00] <gsnedders> Which is interesting, as I'd expect it is undefined
- # [22:00] <gsnedders> (whereas maxLength is 0)
- # [22:00] <annevk3> they support maxlength in addition to maxLength?
- # [22:00] <gsnedders> No, they only use maxlength now
- # [22:01] <gsnedders> They used to use maxLength, which breaks Opera 9+
- # [22:01] <annevk3> I was replying to what hallvors was suggesting
- # [22:01] <annevk3> if it returns something in those browsers...
- # [22:01] <gsnedders> I don't think it's that simple :)
- # [22:05] * Quits: maikmerten (n=maikmert@BAE18bc.bae.pppool.de) (Remote closed the connection)
- # [22:05] <hallvors> as far as I can see, the spec doesn't say what the browser should return for element.maxLength if there is no maxlength attribute
- # [22:05] <gsnedders> hallvors: 0
- # [22:06] <gsnedders> hallvors: Follow xref for 'reflects'
- # [22:06] <gsnedders> (This is one horrible bit of how HTML5 is spec'd)
- # [22:06] <hallvors> it also doesn't say what the implementation should do if the value attribute contains too many characters (more than maxlength allows) - or?
- # [22:07] <hallvors> gsnedders: thanks but I don't even find the "reflects" link . Looking here: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-maxlength-attribute
- # [22:07] * gsnedders hopes he doesn't hit the crashing bug
- # [22:07] * Joins: annevk2 (n=annevk@5355732C.cable.casema.nl)
- # [22:08] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [22:08] <gsnedders> hallvors: That's the HTML attribute
- # [22:09] <gsnedders> hallvors: You want #dom-textarea-maxlength
- # [22:09] <gsnedders> hallvors: And that's the dfn for input anyway
- # [22:10] <gsnedders> hallvors: "…if the attribute is absent, the default value must be returned instead, or 0 if there is no default value."
- # [22:11] * Joins: webben (n=benh@91.85.213.208)
- # [22:11] <hallvors> found it now, thanks. Also found the fix in jQuery's code I think.
- # [22:12] * Quits: virtuelv (n=virtuelv@084202205021.customer.alfanett.no) (Read error: 110 (Connection timed out))
- # [22:12] <gsnedders> hallvors: jQuery.validate gets maxlength from DOM not maxLength (note case)
- # [22:12] <hallvors> gsnedders: you could be a bit more detailed in your BTS comments :)
- # [22:12] <gsnedders> Did I not explain this all, just concisely? :P
- # [22:13] <gsnedders> (Which issue is it anyway?)
- # [22:13] <hallvors> CORE-23563
- # [22:13] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:14] <hallvors> and I think the spec should make the default return value for maxLength -1 when the attribute isn't specified
- # [22:14] <gsnedders> If it changes, it'd need to change for all things using unsigned long
- # [22:14] <hallvors> otherwise we break all sites using jQuery.validate 1.3
- # [22:15] <hallvors> why can't it just be added as a special case in #dom-textarea-maxlength rather than it pointing to reflect?
- # [22:15] * Joins: othermaciej (n=mjs@17.246.16.249)
- # [22:15] <gsnedders> hallvors: If seems ugly to change it in one place
- # [22:15] <gsnedders> hallvors: http://www.theplace.org.uk/codelib/js/jquery/jquery.validate.js uses maxLength and maxlength, the maxLength case is gone now
- # [22:15] <hallvors> gsnedders: compatibility is all about being ugly :-o
- # [22:16] <gsnedders> hallvors: I want to try and get an idea of how much breaks with it as zero, if it's one site…
- # [22:16] <annevk2> or generalizing things into a new datatype :-o
- # [22:16] * Joins: ttepass- (n=ttepas--@p5B015CD2.dip.t-dialin.net)
- # [22:16] <hallvors> if we follow the spec, we'll have to do it for <input>.maxLength too
- # [22:16] <gsnedders> I mean, we've been shipping it since Opera 9, and AFAIK that's the only site we ever got the issue reported on
- # [22:17] <othermaciej> h everybody
- # [22:17] <hallvors> so it would break on all <input> validation too
- # [22:17] <annevk2> hey othermaciej
- # [22:18] <hallvors> even a few sites using 1.3 (+ other versions?) would cause some trouble there
- # [22:18] <annevk2> hallvors, so when the attribute is not specified you want it to return -1 rather than 0?
- # [22:18] <annevk2> hallvors, and this is what other browsers are already doing?
- # [22:18] <gsnedders> annevk2: Nothing else already does. Only we support WF2, remember? :P
- # [22:19] <gsnedders> annevk2: (They all return undefined, therefore)
- # [22:19] <hallvors> annevk2: exactly. We're still shipping <input>.maxLength = -1, seems to be the default for other browsers too. textarea.maxLength should be consistent
- # [22:19] <annevk2> I thought we were talking about <input>.maxLength as well gsnedders
- # [22:19] <gsnedders> Is that not WF2?
- # [22:19] <annevk2> no
- # [22:19] <gsnedders> Oh, duh, true
- # [22:19] * gsnedders is half asleep
- # [22:20] * Quits: pmuellr (n=pmuellr@129.33.49.251)
- # [22:20] <annevk2> well me too, but I'm right :p
- # [22:21] <othermaciej> hi annevk2
- # [22:21] <gsnedders> Hmm, spec says input.maxLength should give 0, I guess if everything gives -1 the spec needs changing
- # [22:21] <gsnedders> And then it'd be nice for textarea.maxLength to be consistent with that
- # [22:21] <hallvors> Certainly. Changing <input>.maxLength to 0 by default might break stuff.
- # [22:21] <gsnedders> It will, almost certainly
- # [22:21] <hallvors> - *will* break jQuery.validate version 1.3
- # [22:22] <gsnedders> Because there's far more deployed content using input.maxLength than textarea.maxLength
- # [22:22] <annevk2> so Opera and Firefox are -1
- # [22:22] <annevk2> WebKit defaults to maxvalue
- # [22:22] <annevk2> I'll file a bug on HTML5
- # [22:22] <hallvors> (I need a quick course in how the HTML5 spec is structured by the way #-) )
- # [22:22] <gsnedders> hallvors: That's a dark art :)
- # [22:22] <hallvors> it keeps confusing me :-p
- # [22:23] <annevk2> hallvors, maybe I should do one of those for QA when I'm in Oslo...
- # [22:23] * Quits: ttepasse (n=ttepas--@p5B01635A.dip.t-dialin.net) (Read error: 60 (Operation timed out))
- # [22:23] <gsnedders> Or maybe Engineering Seminar?
- # [22:23] * hallvors thinks Google should pay Hixie for hitting the road with a spec-reading course
- # [22:24] <jgraham> Maybe Hixie should give "Enterprise" spec-reading courses and charge $1500+ per person
- # [22:27] <annevk2> hallvors, http://www.w3.org/Bugs/Public/show_bug.cgi?id=7427
- # [22:28] <hallvors> Thanks Anne :)
- # [22:39] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [22:41] * Quits: KevinMarks (n=KevinMar@157.22.22.46) (Read error: 60 (Operation timed out))
- # [22:42] * Joins: KevinMarks (n=KevinMar@157.22.22.46)
- # [22:44] * Joins: aroben (n=aroben@nat/apple/x-kwzinppdropvzbim)
- # [22:54] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Connection timed out)
- # [22:55] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:55] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Excess Flood)
- # [22:55] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:56] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Excess Flood)
- # [22:56] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:56] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Excess Flood)
- # [22:56] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:56] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Excess Flood)
- # [22:57] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:57] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Excess Flood)
- # [22:58] * Quits: jacobolu_ (n=jacobolu@adsl-75-36-149-198.dsl.pltn13.sbcglobal.net) (Remote closed the connection)
- # [22:58] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:59] * annevk2 takes some time to read http://blog.foolip.org/2009/08/23/microformats-vs-rdfa-vs-microdata/ (finally...)
- # [23:03] * Quits: miketaylr (n=mtaylor@38.117.156.163)
- # [23:04] <Dashiva> "Following James Graham’s suggestion, I have registered mantic.se for fun reverse DNS identifiers like se.mantic.banana. Mostly for fun, don’t take it too seriously…"
- # [23:04] <Dashiva> Darn, I'm too late
- # [23:09] * Quits: othermaciej (n=mjs@17.246.16.249) (Remote closed the connection)
- # [23:09] * Joins: othermaciej (n=mjs@17.203.15.179)
- # [23:14] <foolip> Dashiva: hehe, there will be others
- # [23:14] <foolip> plus I'll give it to you if you find a use for it
- # [23:15] <annevk2> ne.an is apparently too hard to get and might be expired in 2010 :)
- # [23:16] <foolip> with the microdata2 proposal hidden in SVN it looks like short names won't be THAT important anyway
- # [23:16] <Dashiva> Haiti!
- # [23:16] <foolip> but fun domain names are still fun :)
- # [23:17] <Dashiva> foolip: Well, that proposal seems to be flirting with prefixes
- # [23:18] <foolip> some kind of namespaces or scoping anyway
- # [23:18] <foolip> no prefix though, more like a C++ using statement
- # [23:18] * Quits: othermaciej (n=mjs@17.203.15.179) (Read error: 54 (Connection reset by peer))
- # [23:19] * Joins: othermaciej (n=mjs@17.203.15.179)
- # [23:19] <foolip> or the with keyword in visual basic (I think)
- # [23:19] <Dashiva> Yeah
- # [23:19] * Joins: jlebar_ (n=jlebar@nat/mozilla/x-ldgyrpjtbpbzzeak)
- # [23:23] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [23:25] <annevk2> can someone pm me the password (again) for @whatwg?
- # [23:33] * Joins: paulirish (n=paul_iri@12.33.239.250)
- # [23:34] <Dashiva> Did someone run the topic through translationparty?
- # [23:35] * Quits: jlebar (n=jlebar@nat/mozilla/x-daqlmgelvkbxeawo) (Read error: 110 (Connection timed out))
- # [23:38] <annevk2> yes
- # [23:39] <TabAtkins> Actually through translationparty?
- # [23:39] <TabAtkins> http://www.translationparty.com/#3406620
- # [23:39] <annevk2> yes
- # [23:39] <Dashiva> You could use translationparty as a hash function
- # [23:40] <paulirish> "Google recently improved their translation service. That's great news for people who need to translate something accurately, but bad news for hilariousness. Rest assured, we're looking into alternative methods for mangling language."
- # [23:40] <Dashiva> It's one-way most of the time
- # [23:40] <TabAtkins> Heehee
- # [23:41] * Quits: dbaron (n=dbaron@nat/mozilla/x-lnyjtuybodnsyzhw) (Read error: 110 (Connection timed out))
- # [23:42] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
- # [23:42] <TabAtkins> Google has recently been translated into service improvements. To translate all the bad news is good news for people Hilariousness. Security second one language, and other qualifications.
- # [23:43] * Quits: paulirish (n=paul_iri@12.33.239.250)
- # [23:44] <jcranmer> http://www.translationparty.com/#3407079
- # [23:44] * Joins: dbaron (n=dbaron@nat/mozilla/x-lniavxfjzbbyrqos)
- # [23:44] <jcranmer> damn it
- # [23:45] <jcranmer> "Wikipedia is God" no long equilibriums at something like "God is not Wikipedia"
- # [23:46] <TabAtkins> I need to go install a japanese font so I can actually view the text rather than just little unicode boxes.
- # [23:47] <jcranmer> "Sir, I would like to inform you that your credit card is no longer valid." manages to drop the `no longer' part
- # [23:47] <jcranmer> ooh, infinite loop!
- # [23:49] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [23:50] <TabAtkins> Yeah, the translation I posted above was infinite-looping with "for" and "to" swapping each time.
- # Session Close: Wed Aug 26 00:00:00 2009
The end :)