2007-06-01 [18:16:00.0000] Hixie: http://www.ietf.org/rfc/rfc4329.txt [18:21:00.0000] oh is that what he was referring to [18:21:01.0000] interesting [19:02:00.0000] is "01/01/1970 00:00:00" any sort of standard date format? [19:05:00.0000] mysql DATETIME? [19:05:01.0000] hm [19:05:02.0000] hmm, no I guess that uses dashes, not slashes [19:05:03.0000] i was hoping for some RFC or something [19:05:04.0000] oh well [19:05:05.0000] it's not a format i recognise as being standard [19:05:06.0000] (it's the format document.lastModified uses) [19:13:00.0000] new Date() return slightly different things in opera vs firefox/ie7 [19:13:01.0000] opera has a comma after the weekday [19:14:00.0000] firefox/ie7 don't [19:14:01.0000] nice [19:14:02.0000] or well, there are more differences actually [19:15:00.0000] Fri Jun 1 03:23:36 UTC+0200 2007 (ie7) [19:16:00.0000] hmm, we changed the format for lastModified Firefox 1.5 [19:16:01.0000] https://bugzilla.mozilla.org/show_bug.cgi?id=99224 [19:16:02.0000] does it match what i put in teh spec? [19:16:03.0000] - CopyASCIItoUCS2(NS_LITERAL_CSTRING("January 1, 1970 GMT"), aLastModified); [19:16:04.0000] + aLastModified.Assign(NS_LITERAL_STRING("01/01/1970 00:00:00")); [19:16:05.0000] Fri Jun 01 2007 03:23:44 GMT+0200 (firefox) [19:16:06.0000] Fri, 01 Jun 2007 03:23:47 GMT+0200 (opera) [19:16:07.0000] the person who changed it didn't change the comment that said "match what ns4.x returned", though :( [19:17:00.0000] so yes [19:19:00.0000] it looks like they were just trying to match IE [19:20:00.0000] yeah. opera returns January 1, 1970 GMT [19:20:01.0000] https://bugzilla.mozilla.org/show_bug.cgi?id=107445#c6 [19:22:00.0000] # # [03:23] it's so sad seeing the w3c validator team try to make itself irrelevant [19:22:01.0000] how is listening to the decision of the WG in charge "making itself irrelevant"? [19:22:02.0000] or maybe the problem is that this WG is disagreeing with you? [19:23:00.0000] thinking like GW Bush is not making the web a favour, you know... [19:23:01.0000] the problem is the WG agreeing with the rest of the planet, and the validation team following them blindly [19:24:00.0000] but luckily we have the html wg now, and the html wg is defining this sanely, so the issue is moot [19:24:01.0000] then why the insulting comment? [19:24:02.0000] which part is insulting? [19:25:00.0000] "try to make itself irrelevant" [19:25:01.0000] that's not insulting, that's descriptive [19:25:02.0000] olivier decided to not fix a bug, because the htmlwg contradicted itself and olivier thought it wiser to follow them than to help the validator's users [19:26:00.0000] I'm olivier, BTW :) [19:26:01.0000] oh. well then i spoke to you just the other day on #html-wg about this. [19:26:02.0000] and I agreed with you [19:26:03.0000] on some of the issues [19:27:00.0000] but it doesn't change the fact that the xhtml WG is in charge of xhtml, and that the validator is supposed to follow what rules they set [19:27:01.0000] they haven't set any actual rules here. they have just made two contradictory non-normative statements. [19:27:02.0000] the xhtml2 WG is not in charge of the text/html MIME type [19:28:00.0000] but I'll agree the text/html media type is currently quite poorly specified [19:28:01.0000] othermaciej: the validator is claiming (as i understand it) that its not a text/html validator, it's an html4 and xhtml1 validator [19:28:02.0000] over which the xhtml2 wg does claim ownership [19:30:00.0000] does anyone have a pointer to any of this? [19:31:00.0000] /me doesn't follow what is being discussed [19:32:00.0000] http://krijnhoetmer.nl/irc-logs/whatwg/20070531#l-82 [19:33:00.0000] /me thinks that some people would have better behavior in physical meetings than other IRC. [19:43:00.0000] Hixie: "Note: The dir attribute on the HTMLDocument interface is defined along with the dom content attribute." -- there is a "dom" content attribute? [19:44:00.0000] oops [19:51:00.0000] Hixie: btw, you may need to spec document.embeds too [19:52:00.0000] you know the drill -- send mails ;-) [19:53:00.0000] yup :) [23:23:00.0000] Hixie: where do you keep your character encoding tests? [23:23:01.0000] Hixie: are they somewhere on damowmow? can't find them on hixie.ch [23:25:00.0000] which ones? [23:25:01.0000] you mean smontagu's? [23:25:02.0000] smontagu.damowmow.com? [23:25:03.0000] Hixie: IIRC you had some tests when you wrote the encoding sniffing section [23:26:00.0000] that'll be in hixie.ch/tests somewhere [23:26:01.0000] Hixie: looks like smontagu's tests are what I was about to write. thanks [23:27:00.0000] http://www.hixie.ch/tests/adhoc/html/parsing/encoding/ looks like it [23:28:00.0000] nah. smontagu's tests lack the C1 range which is what I am interested in [01:42:00.0000] am I right in claiming that in some Web designs, that if the font the Web designer used in his design isn't availible and another one is substituted the design can really mess up? [01:42:01.0000] like overlapping text et al? [01:42:02.0000] overlapping text shouldn't happen unless the designer in question didn't use 'em' units (e.g. setting line-height in px) [01:43:00.0000] Hixie: right [01:43:01.0000] though pixel based designs are all too common [01:43:02.0000] http://flickr.com/photos/hendry/521334985/ # e.g. of overlapping text [01:51:00.0000] just means you need to install as many fonts as possible, starting with the Microsoft ones [01:52:00.0000] mikeday: ah that's a solution I'm trying to avoid :) [01:53:00.0000] http://natalian.org/archives/2007/05/31/chinese-font/ [01:53:01.0000] for example the ms corefonts don't quite exist in CJK markets [01:54:00.0000] the other option is to hire a typographer to design fonts that match the metrics of the Microsoft fonts [01:54:01.0000] just as the Microsoft fonts were designed to match Times/Helvetica/Courier :) [01:55:00.0000] by the way, DejaVu looks likes Vera 'cos it's designed from Vera [01:55:01.0000] part of the license agreement for Vera is that you have to change the name if you modify it. [01:57:00.0000] Oops, looks like Red Hat is already doing that [01:57:01.0000] "Red Hat contracted with Ascender Corp., one of the leading commercial developers of fonts, to develop a set of fonts that are metrically equivalent to the key Microsoft fonts." [01:58:00.0000] https://www.redhat.com/promo/fonts/ [02:01:00.0000] hendry: in the case of DejaVu, adding glyphs to Vera as an open source project seems to work [02:03:00.0000] hsivonen: could you add that as a comment? Or should I re-edit my rant? :) [02:04:00.0000] mikeday: aha [02:04:01.0000] mikeday: i also must add that info to the blog entry [02:07:00.0000] i hope that isn't a font called "Serif". that would screw with http://www.w3.org/TR/CSS21/fonts.html#serif-def [02:07:01.0000] hsivonen: ok, i have updated the blog entry, so no need to comment [02:27:00.0000] Having a font called "Serif" is a bit silly, but I think in this case it is supposed to be "Liberation Serif" [02:27:01.0000] "Libre" would be a better name I think, but you'd need an accent on the e and that might confuse people :) [02:31:00.0000] Hixie: scrollIntoView says scrolling the document into view (instead of the element) in r852, parameter=true case [06:11:00.0000] Hixie: why deus the meta charset algorithm continue if the charset name is unsupported? That seems weird. Is it what browsers do? [06:11:01.0000] s/deus/does/ [08:23:00.0000] annevk: verslaafde ;) [08:28:00.0000] hehe [12:51:00.0000] Questions today: does HTML5 provide more trivial shorthands for doing asynchronous requests (I showed the Google suggest code)? [12:52:00.0000] Others have been asked before: how does
work combined with

-

, when will it be done, when will it be implemented, etc. [12:57:00.0000] http://www.webdevout.net/tidings/2007/05/22/self-contradictions-in-the-html-wg/ [13:08:00.0000] annevk: did you see my datalist trick for doing an "ajax combobox" with basically two lines of html5 code? [13:09:00.0000] (not sure if these are your questions or someone else's) [13:10:00.0000] ? [13:10:01.0000] yes [13:10:02.0000] yeah, I showed that one [13:10:03.0000] the template thing Hixie and hyatt are working on would be even more general [13:10:04.0000] I think people want more of where that came from :) [13:11:00.0000] kk [13:11:01.0000] and I think can also have an external data source [13:56:00.0000] /me wonders why the charset meta sniffing algorithm bothers to upper-case attribute values [14:11:00.0000] lower-case that is [14:15:00.0000] it compares one of the attribute values, no? [14:18:00.0000] gotta love people who admit that the use cases are extremely rare but STILL want the feature [14:21:00.0000] can we have every accessibility feature possible, regardless of the size of the use case? [14:27:00.0000] What if we have invisible aliens who interact through sandpaper rasping sounds [14:28:00.0000] There are probably simpler cases that are not addressed :) [14:32:00.0000] Hixie: yeah, it says "If the next six characters are not 'charset'" [14:33:00.0000] Hixie: is continuing when the tentative encoding is unknown the current browser behavior? [14:34:00.0000] (sorry if you answered already and the answer slipped by my scrollback) [14:35:00.0000] Hixie: is it intentional that the sniffing algorithm talks about supported encodings and not supported *rough ASCII superset* encodings? [14:38:00.0000] one quirk in Safari is that if there's a meta tag claiming the source is utf-16, we treat it as utf-8 [14:38:01.0000] is that a bug or actually needed? [14:38:02.0000] othermaciej: is that a bug that stuck or is it needed by content out there? [14:39:00.0000] (that's assuming there was no content-type header claiming otherwise) [14:39:01.0000] If it's utf-16, it wouldn't be able to decode using the ascii process, right? [14:39:02.0000] hsivonen: there is content that needs it [14:39:03.0000] and if it was really utf-16, you wouldn't have found the meta tag [14:39:04.0000] got to love the web [14:40:00.0000] othermaciej: ok. what about UTF-32? :-) [14:41:00.0000] The new scrollIntoView says to scroll the -document- into view for the true case. Am I right in seeing that as an error? [14:42:00.0000] hsivonen: dunno, haven't really looked into it recently. probably need to fix things up in the spec. [14:43:00.0000] fyi: I heard lots of people complain about the charset finding byte algorithm [14:43:01.0000] hsivonen: I think we may treat any claimed unicode charset in a tag as utf-8 [14:44:00.0000] othermaciej: ok [14:44:01.0000] /me sends an email to get this on record [14:44:02.0000] (I think maybe same for xml declarations) [14:44:03.0000] Why would people write UTF-8 and then claim it's UTF-32?! [14:45:00.0000] othermaciej: that would be dirty and very un-XML :-) [14:45:01.0000] annevk: because Win IE handles it? [14:45:02.0000] hsivonen: maybe we just reject such cases for XML, I dunno [14:45:03.0000] annevk: any specific complaints? [14:47:00.0000] actually we do hack it for xml declarations [14:47:01.0000] if (source == EncodingFromMetaTag || source == EncodingFromXMLHeader || source == EncodingFromCSSCharset) [14:47:02.0000] m_decoder.reset(encoding.closest8BitEquivalent()); [14:47:03.0000] Hixie, the English algorithm was more complex than the implementation, for one [14:48:00.0000] Hixie, hsivonen mentioned earlier that the algorithm "encouraged" look-ahead [14:48:01.0000] closest8BitEquivalent currently only translates UTF16 (including BE and LE variants) to UTF-8 [14:48:02.0000] I believe jgraham had some thoughts about it as well, but I don't recall them [14:48:03.0000] annevk: ah, yeah, it's not as close to an implementation as the parser [14:49:00.0000] annevk: mostly because i didn't implement it :-) [16:22:00.0000] "If the next six characters are not 'charset'" - isn't that seven characters? [16:38:00.0000] arguably, yes [16:38:01.0000] i mean, if you insist on precise numerical counting accuracy [16:38:02.0000] send mail :-) [16:38:03.0000] Hixie: you were counting from 0, right? [16:39:00.0000] kingryan: i think even i would have trouble arguing that "charset" has length 6. :-) [16:39:01.0000] kingryan: otherwise, how long is the empty string? :-) [16:39:02.0000] there is no empty string [16:39:03.0000] /me waves hands [16:39:04.0000] hah [16:40:00.0000] Math5 [16:40:01.0000] to go with HTML5 2007-06-02 [17:23:00.0000] annevk: did you get your t-shirt? [19:50:00.0000] moin [19:50:01.0000] is there any way to specify the authorship / authority of subparts of a web page? [19:51:00.0000] s/is there/are there any proposals for/ [19:51:01.0000]
? [19:51:02.0000] eg. if i wanted to say that the comments section of a web page was not authored by the site, could contain public comments ie. spam [19:52:00.0000] basically, to set a nofollow attribute to an element [19:52:01.0000] use rel=nofollow on the links [19:53:00.0000] cheers :-) [19:54:00.0000] using an outer
for the main post and nested
s for the comments would indicate that the inner articles were actually comments [20:18:00.0000] kfish - you on mixi? [20:18:01.0000] http://mixi.jp/show_friend.pl?id=299825 is me [20:20:00.0000] MikeSmith, nice taste in music :-) [20:20:01.0000] yeah cool, just sent you an invite [20:23:00.0000] you can join my 全日本酔払い連合 community [20:23:01.0000] All Japan Drunkard Association [20:27:00.0000] hahaha :-) [01:25:00.0000] zcorpan_, yeah [01:26:00.0000] annevk: did you wear it at reboot? [01:26:01.0000] no :( [01:27:00.0000] ok [01:45:00.0000] lol [01:45:01.0000] the last e-mail about headers= is so confused [01:45:02.0000] trying to read all kinds of silly meaning out of the HTML4 specification... [02:02:00.0000] annevk: FWIW, in angels-on-heads-of-SGML-pins discussions one might claim that #IMPLIED attributes are magically there. In Web reality, of course, an attribute can be present or not present in the DOM. [02:06:00.0000] hmm, I was afraid of that [02:07:00.0000] I think it makes more sense to distinguish absent attribute from attribute set to default value [02:07:01.0000] (not that my opinion has much relevance) [02:07:02.0000] yeah, you're an implementor [02:07:03.0000] go away! [02:07:04.0000] oh wait [02:08:00.0000] part of the problem is that SGML and Web have a different notion of what a default value is [02:09:00.0000] in SGML the parser reports it. on the Web, the default isn't in the DOM but the implementation reading the DOM uses the defaults if stuff isn't in the DOM [02:09:01.0000] if people could just accept that "the Web" and not "SGML-based HTML4" is the where we are starting from... [02:09:02.0000] my opinion on what works or doesn't may be well-informed, my opinion on what makes sense is as arbitrary as anybody's [02:09:03.0000]
and
are quite different for instance [02:10:00.0000] empty vs. null [02:11:00.0000] yeah, in the new-world getAttribute() terms :) [02:11:01.0000] annevk: is there a new-world getAttribute() now? the old-world getAttribute() is definitely influenced by SGML thinking [02:12:00.0000] /me hasn't done enough JS DOM work lately: world view influenced by Java DOM [02:12:01.0000] someone needs to make a DOM Core spec that's useful for browsers [02:12:02.0000] getAttribute() returns null if no attribute is specified [02:12:03.0000] as opposed to the empty string which is required by the DOM spec [02:13:00.0000] annevk: cool. [02:13:01.0000] /me has written a bug in Java assuming the intuitive behavior when the library implemented the spec [02:15:00.0000] /me wonders why the Java API designers assume that for character decoding I want to either recover from errors silently or treat them in a Draconian way but they don't offer reported recovery [02:31:00.0000] i just found out about navigator.onLine.. it will work out quite nicely with google gears :) [02:32:00.0000] Lfe, yeah, in due course the ideas of Google Gears should be integrated with the rest of the APIs I think [02:33:00.0000] annevk: i agree. that's the kind of thing that needs to be "standardized" in order to work nicely [02:33:01.0000] there's already a SQL API in the spec, but the offline caching API needs to be worked out [02:33:02.0000] and reconciled with what Mozilla did [02:33:03.0000] and there are these worker thread APIs [02:33:04.0000] /me is a bit disappointed in Moz for not going to standards with their stuff sooner [02:33:05.0000] the worker thread APIs are the simplest part [02:33:06.0000] but also kinda the least useful [02:34:00.0000] and you had some ideas about integrating persistent storage with the SQL stuff right? [02:34:01.0000] well, just a throwaway suggestion [02:34:02.0000] maybe there is a better way to integrate [02:35:00.0000] but it bugs me that in the spec they are completely separate [02:35:01.0000] otoh, the globalStorage stuff can go from key / value to key / object [02:35:02.0000] so you can store arbitrary DOM objects and such [02:37:00.0000] I suppose SVGDocument.title can just be dropped... [02:37:01.0000] I don't see how storing an arbitrary DOM node could possibly give sensible results [02:37:02.0000] or even storing a function [02:37:03.0000] (you could stringify, then they it's just a dumb key / value pair) [02:38:00.0000] you could store E4X objects or a Document which you can use as XML database [02:39:00.0000] storing a Node can't preserve identity, which in the case of DOM objects makes a difference [02:39:01.0000] unlike strings [02:39:02.0000] if you store an element that's in the document and has children, when you come back to that doc later and retrieve it, it won't still be in the document [02:40:00.0000] so if you save nodes, you get the equivalent of serializing / deserializing markup anyway [02:41:00.0000] oh, you mean they become detached? [02:41:01.0000] well, it can't preserve identity across document reloads [02:41:02.0000] that seems fine [02:41:03.0000] that just can't work [02:41:04.0000] it's just that the browser does the serializing for you [02:41:05.0000] yeah but it's also not any more useful than storing strings [02:42:00.0000] annevk: considering how the DOM is implemented, storing DOM nodes seems like a huge pain [02:42:01.0000] basically you're asking it to store .innerHTML instead of .toString() [02:42:02.0000] regarding the ManagedResourceStore.checkForUpdate() (how one should attain updated data) - gears seems to do a HTTP GET and compare mydata.currentVersion to the localized version string. Why not use HTTP HEAD / etag for this? [02:42:03.0000] (or similar techniques) [02:42:04.0000] HTTP HEAD is broken enough to be useless in practice [02:42:05.0000] annevk: if I stick some random function objects onto a C++-backed DOM node, what would you store? [02:43:00.0000] hmm [02:43:01.0000] at some point Hixie defined it [02:44:00.0000] but removed it based on feedback from Mozilla (too much work iirc) [02:44:01.0000] annevk: doing an XHR-like save operation to a local store would be a lot simpler that JS/C++ object serialization [02:44:02.0000] serliazing JavaScript functions in a way that round trips properly is nearly impossible [02:44:03.0000] othermaciej: isn't that up to the host to "solve"? a head/etag would save lots of potential kb's [02:45:00.0000] othermaciej: mmap :-) [02:46:00.0000] hsivonen: the hard part is handling captured scope - there's no clearly right way to restore it across exit and subsequent reload [02:47:00.0000] ah, manifestUrl != resourceUrl [02:55:00.0000] othermaciej: powernap? [02:56:00.0000] Lfe: no, saw something on another channel that caught my eye [03:43:00.0000] Shouldn't dir= default to something at some point? [03:43:01.0000] Say, ltr for the root element... [08:09:00.0000] apparently unit tests can avoid the need for an XML serialiser. [08:09:01.0000] (when it comes to creating well-formed XML) [09:00:00.0000] question: when the input stream is just "", how are, according to the tree construction algorithm, the and elements created? [09:01:00.0000] the current tree construction algorithm is not entirely correct as far as that goes [09:02:00.0000] ah i see [09:02:01.0000] html5lib is :) [09:02:02.0000] so html5lib does stuff that isn't in the spec ATM to create those two elements?? [09:02:03.0000] ok :p [09:03:00.0000] and do you think those steps will eventually be added to the spec? [09:03:01.0000] we also removed the insertion mode switch [09:03:02.0000] or is it just temporarily? [09:03:03.0000] and made it all phases [09:03:04.0000] the spec will be fixed, yes [09:04:00.0000] some sites depend on it, so it does need to be fixed [09:05:00.0000] annevk: yeah, I noticed html5lib does it differently than the spec [09:05:01.0000] will that also be changed in the spec? [09:05:02.0000] the spec has a note to that effect at the moment [09:05:03.0000] Jero: html5lib's deviations are for compatibility with the web, so yes [09:06:00.0000] but if Hixie decides to write the same thing down in some other way... so be it [09:09:00.0000] okay, but the output of html5lib is still compatible with the spec i assume, even though it changed the steps to process the token? [09:09:01.0000] it's mostly equivalent [09:09:02.0000] oh ok, than it doesn't really matter [09:09:03.0000] bedankt :) [16:05:00.0000] annevk: is the diff between the spec and html5lib documented? 2007-06-03 [01:22:00.0000] hsivonen, a little bit [01:38:00.0000] hsivonen: found 2 years old czech validator (or conformance checker) based on relax schema, if you are intrested http://relaxed.vse.cz/relaxed/validate [01:39:00.0000] there is whole thesis available, but only in czech http://relaxed.sourceforge.net/thesis_cz.html [01:40:00.0000] see http://relaxed.sourceforge.net/ [01:47:00.0000] oh quoted it in your thesis, ok 8-) [05:06:00.0000] apparently you can't use SAX for a serialiser now. 2007-06-04 [04:36:00.0000] meh, Firefox hates me and won't load http://www.whatwg.org/specs/web-apps/current-work/#video [04:36:01.0000] you can always try http://www.whatwg.org/specs/web-apps/current-work/multipage/section-video.html#video [04:40:00.0000] hmmm... that works [04:41:00.0000] somehow my Firefox 2 (plain vanilla what comes with Ubuntu 7.04 plus a few extensions) is picky at times. It often gets into a "no, I won't load pages for you anymore until you kill and restart me" state [04:42:00.0000] could be a profile issue, this profile may date back into Firefox alpha days ;) [04:42:01.0000] err.. Phoenix alpha builds of course [04:44:00.0000] I'm going to propose that http://wiki.xiph.org/index.php/OggPlayJavascriptAPI perhaps should be as close to the WHATWG API as possible [04:45:00.0000] annevk: what are reasons for XML5? [04:45:01.0000] it's only academic project or something more? [04:46:00.0000] oh www.xml5.com [04:48:00.0000] http://code.google.com/p/xml5/ [04:48:01.0000] it might be worth something actually [04:48:02.0000] ah, Phoenix! [04:49:00.0000] /me wondered about the third name for some time [04:49:01.0000] was it phoenix -> firebird -> firefox? [04:49:02.0000] maikmerten, they are already implementing support for Ogg and
still seems quite verbose (and non-backward-compatible) [07:13:00.0000] zcorpan: video [07:13:01.0000] ok [07:13:02.0000] /me guesses that wouldn't work because the contents of