2009-02-01 [17:12:00.0000] I managed to write a simple python script using html5lib to read the spec source and find all the element summaries. Tomorrow, I should be able to extend the script to generate element summaries for the authoring guide [17:13:00.0000] neat [17:13:01.0000] let me know if you want me to do a POST to a particular url every time i do a commit [17:13:02.0000] that way you could have your spec autoregenerate when i update the spec [17:13:03.0000] yeah, it's a lot better than I had been doing, which involved a lot more manual work. This should at least spead up progress a lot [17:15:00.0000] you check in so frequently compared with me, and most of your changes won't affect the element summaries, so that wouldn't be worth the effort [17:16:00.0000] I would like some way to know that element summaries have changed, though, if possible, so I know I should regenerate that section. [17:17:00.0000] what do you think about the template design I linked above? [17:17:01.0000] any suggestions for improvement? [17:39:00.0000] the DOM interface part is going to be huge for some elements [17:40:00.0000] i dunno [17:40:01.0000] are the categories and suchlike going to be links? [17:41:00.0000] maybe the attributes and IDL should both just be
s with name/definition pairs [17:42:00.0000] Lachy: feel free to share it somewhere ;) I mean the script [17:42:01.0000] yeah, they will all be linked once anolis generates them [17:42:02.0000] karlcow, it will be checked into CVS once it's finished [17:42:03.0000] cool [17:43:00.0000] Hixie, do you mean
Attributes
attr1
attr2 ...
DOM Interfaces
prop1
prop2 ...
? [17:43:01.0000] no [17:43:02.0000] or do you mean each attribute
Attr
description of attr [17:43:03.0000] the latter [17:44:00.0000] i was about to type an example but you got there first :-) [17:45:00.0000] if each attribute was to have a description, I was considering using a table instead. [17:45:01.0000] that's fine too [17:45:02.0000] But then I'd need to write short summary descriptions for each attribute, though I wanted to avoid cluttering the summary boxes with too much information [17:46:00.0000] hmm, maybe something like the comments for each attr in the HTML4 DTD would be ok. e.g. http://www.w3.org/TR/html401/struct/links.html#edef-A [17:48:00.0000] just have the full descriptions there [17:49:00.0000] you'll probably have to split the attribute descriptions from the more meaty "how to use the element" text anyway [17:51:00.0000] maybe. it depends how much I need to write for each attribute description [17:51:01.0000] if it's a lot, then it's not really going to fit in the space too well [17:51:02.0000] on the web the space is infinite :-) [17:52:00.0000] i wouldn't worry too much about having the right template [17:52:01.0000] once you've got descriptions for a dozen elements or two, you'll have a much better idea of what you have to put in the template [17:54:00.0000] reload the template and take a look now [18:05:00.0000] /me wonders if the HTTP spec will ever sanction use of Set-Cookie, WWW-Authenticate, and Proxy-Authenticate as they are actually used [18:06:00.0000] wtf? Sam incorrectly defined the meaning of a strawman http://lists.w3.org/Archives/Public/public-html/2009Jan/0688.html and then Leif incorrectly pointed out something isn't a strawman, either by it's real definition, nor Sam's http://lists.w3.org/Archives/Public/public-html/2009Feb/0000.html [18:06:01.0000] /me suspects not, based on http://trac.tools.ietf.org/wg/httpbis/trac/ticket/129 [21:11:00.0000] Lachy: i was surprised to see sam's suggestion of actually having people call each other out; it'll be interesting to see how such an approach fares [21:11:01.0000] Lachy: the attribute side looks good; i still think the idl side should use a similar technique instead of webidl [21:26:00.0000] hey Hixie i'm here for a bit [21:26:01.0000] hey [21:26:02.0000] two things [21:27:00.0000] 1 - when you have a moment, i would appreciate your feedback on the WindowProxy section in the spec [21:27:01.0000] k i'll have a look during the week [21:27:02.0000] (it's very short) [21:28:00.0000] 2 - we have to say that the "this" keyword in JS at the global scope returns the WindowProxy object instead of the actual global object [21:28:01.0000] uh oh [21:28:02.0000] i'm unsure whether it's best to say this in WebIDL, with the JS binding stuff, or if we should say it in HTML5, in a JS-specific section [21:28:03.0000] (or in ES 3.x, but they probably don't want a forward dependency on html5) [21:29:00.0000] so it's a violation of es3? [21:29:01.0000] i haven't looked much into the whole split window thing: is it that "this" at the global scope returns one object, while a different object is in the scope chain? [21:33:00.0000] as to whether it's more appropriate in web idl or html5, dunno [21:33:01.0000] guess i'll need to look at what exactly it entails [21:34:00.0000] yeah it's a violation of es 3.1 [21:34:01.0000] yes, the top object in the scope chain is the global object (the Window object for that script's Document) [21:34:02.0000] and the .window, this, etc, attributes all return a WindowProxy object [21:37:00.0000] so perhaps it needn't be a violation, it's just that evaluating the contents of a occurs is OK, keeping it for many token boundaries is less so [02:10:00.0000] hsivonen: that's pretty much how i feel about your alternative suggestion :-) [02:10:01.0000] hsivonen: you want everyone to keep this state instead of just you, to be able to do something that doesn't seem particularly useful in the first place :-) [02:11:00.0000] Hixie: I agree that it probably doesn't make sense to spec it without there being a demo implementation showing benefit [02:12:00.0000] Lachy: It moves a bunch of the punctuation around compared to the standard en-GB keyboard [02:12:01.0000] it's not like you have to keep much state to rewind anyway [02:12:02.0000] just the position in the input stream, and what data was inserted into the stream after the assertion (which can be done by annotating insertions with an age) [02:13:00.0000] just include that information with the assertion [02:13:01.0000] and have the main thread include it when it complains [02:35:00.0000] Hixie, HTMLInputElement still does not have width and height DOM attributes [02:40:00.0000] fixed [02:54:00.0000] so it's not legal to write in HTML or it is and I'm misunderstanding the writing section? [03:00:00.0000] annevk5, it is legal because the tbody element's start tag is optional [03:41:00.0000] funny [03:41:01.0000] "the tools will save us" on google gives "XML.com: XML on the Web Has Failed" as top 3 result [03:45:00.0000] hah [04:14:00.0000] The Scroll Lock key toggles the Scroll Lock mode. [04:14:01.0000] A fictional language cannot be invented; art is not an invention. [04:15:00.0000] And a fictional language cannot be used, except by fictional characters; once it is used, it stops being fictional. [04:17:00.0000] I hope non-interactive documents will be readable and have a similar organization in various browsers. [04:17:01.0000] (organisation = visual layout) [04:18:00.0000] Otherwise, HTML cannot be used for publishing and authors will have to stay with PDF. [04:19:00.0000] (I admit it is far from the Web Applications trend) [04:21:00.0000] /me wonders if there is already a tool to split up a large HTML file into seperate HTML files (with next/prev). Want to chunk an HTML book. [04:22:00.0000] Split on H2 or what? [04:23:00.0000] yecril71: split on 1000 lines or something I was thinking [04:23:01.0000] hendry: Philip` just wrote a custom script for splitting the HTML5 spec [04:23:02.0000] 1000 lines no good, the user will be lost. [04:24:00.0000] jgraham: ah cool, could you point me to the source? or Philip` ? [04:24:01.0000] yecril71: these are project Gutenberg ebooks. HTML formatting is not great. I think I am probably better off with text. [04:25:00.0000] yecril71: and using `split` and wrap it in some HTML. [04:27:00.0000] hendry: I guess I can do something like [04:27:01.0000] If they are in HTML, I would count top-level elements, not lines [04:27:02.0000] Philip`: ^ [04:27:03.0000] hendry: I'm curious: what kind of reading environment needs splitting? A device with 64 MB of RAM handles unsplit Gutenberg ebooks unsplit [04:28:00.0000] I think, whatever the hardware is, the software should be smart enough to handle that somehow. [04:28:01.0000] hsivonen: this HTC device running Pocket IE seems to have issues with 200K files. [04:28:02.0000] hendry: you need a better browser :-) [04:30:00.0000] hsivonen: i don't have too much choice as this widget runtime uses that browser control. :-) so you read ebooks eh? How do you 'bookmark' the page you're on? [04:30:01.0000] The bookmarks should already be there. [04:31:00.0000] yecril71: explain? [04:31:01.0000] hendry: I try to avoid quitting the browser and failing that, remembering which chapter I was in [04:31:02.0000] Headers have identifiers, these identifiers constitute bookmarks you can use. [04:31:03.0000] You can discover them by looking at the table of contents. [04:32:00.0000] Failing that, remember a key phrase and perform a text search. [04:32:01.0000] hendry: http://code.google.com/p/html5/source/browse/trunk/spec-splitter/spec-splitter.py [04:33:00.0000] hello [04:33:01.0000] hendry: but that's very much designed for HTML5, not for general-purpose use [04:33:02.0000] hendry: (and it splits on

s and a custom list of elements IDs, not on page size) [04:33:03.0000] The assignment is trivial once you have the DOM. [04:33:04.0000] A good ebook reader would allow you to easilly resume from an arbitary point [04:33:05.0000] Philip`: thanks and understood [04:34:00.0000] i'd like to know who can read localStorage. Is access domain based, and if such, what about ISP which give you names like: http://www.ispdomain.com/~mysite/ [04:35:00.0000] I keep my place in ebooks by printing them out and using a scrap of paper as a bookmark [04:35:01.0000] killerboy, http://www.whatwg.org/specs/web-apps/current-work/multipage/structured-client-side-storage.html#cross-directory-attacks [04:37:00.0000] hmm, isn't path based access possible? [04:37:01.0000] no [04:37:02.0000] and why not ;-) [04:37:03.0000] because you can circumvent it as the spec says [04:37:04.0000] how is it possible to circumvent it? [04:37:05.0000] some examples? [04:38:00.0000] e.g. inserting an