From laura.lee.carlson at gmail.com Thu Aug 7 16:58:28 2008 From: laura.lee.carlson at gmail.com (Laura Carlson) Date: Thu, 7 Aug 2008 18:58:28 -0500 Subject: [html4all] Blog Post: This Week in HTML 5 - Episode 1 By Mark Pilgrim Message-ID: <1c8dbcaa0808071658v737924c8g75d81e0466f204f9@mail.gmail.com> This Week in HTML 5 - Episode 1 By Mark Pilgrim "Welcome to a new semi-regular column, 'This Week in HTML 5,' where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group..." http://blog.whatwg.org/this-week-in-html5-episode-1 -- Laura L. Carlson From rob at robburns.com Sat Aug 16 02:08:12 2008 From: rob at robburns.com (Robert J Burns) Date: Sat, 16 Aug 2008 12:08:12 +0300 Subject: [html4all] Object element support Message-ID: Hell 4all, In another email, Leif raised the issue of OBJECT element support. I've brought the conversation here to the public list for this topic. I think the object element support is further along than most appreciate. Last year I had put together some informal test pages to see where the current state of support is: * Test of sane default presentation of OBJECT element with no attributes [1] (the closest to commonly available IMG use) * Test of sane default presentation of OBJECT element with height and width set explicitly [[2] (not necessary for IMG, but not really a large burden for authoring with OBJECT) My sense is that the second form (providing explicit pixel dimensions either through the OBJECT height and width attribute or through CSS) works in all current browsers, and probably goes back some distance for historical browsers too (please correct me on that assumption if I'm wrong). Safari (even in its current form) has a problem with Quicktime handled content that requires another otherwise needless complication from authors (the addition of one parameter element with name/value pair set to the same URL as the object element's data attribute). Maciej says its a QuickTIme bug (Steve Jobs would be so proud of an Apple employee passing the buck like that :-), but all the other browsers handle this fine without the extra markup. Unfortunately I didn't provide an example of this last document for testing, but I don't think it breaks anything in other browsers and it definitely works in Safari with the extra parameter element markup (the sample video and audio files have been deleted from the archives I think). Take care, Rob [1]: [2]: From lhs at malform.no Tue Aug 19 03:35:33 2008 From: lhs at malform.no (Leif Halvard Silli) Date: Tue, 19 Aug 2008 12:35:33 +0200 Subject: [html4all] Object element support In-Reply-To: References: Message-ID: <48AAA1F5.80501@malform.no> Robert J Burns 2008-08-16 11.08: > [...] I think the object element support is further along than > most appreciate. Last year I had put together some informal > test pages to see where the current state of support is: [...] > [1]: [2]: is not parsed in a cross-browser compatible way (parsing stops at the OBJECT, whereas other browsers continue parsing all the fallback content and make it available. No support for this parsing behavior is planned for IE8; I'll take this opportunity to ask for real-world scenarios that can help me prioritize this feature." Some of your tests demonstrate how to use OBJECT with images, and many have recommended OBJECT to be used even for plain images. For a semantical comparison of those tests, let's look at an IMG with @alt and @longdesc. It strikes me that @alt and @longdesc represents *augementative* authoring. The reader, if he wants, can opt for the more full description in @longdesc. He is served a minimum, but can opt for more if he wants. [2. See Jukka Korpela] Whereas the OBJECT element, in its current shape and form, represents the concept of 'graceful degradation'. Or if you wish; The YGWYG = You Get What You Get principle. As Joshue has said, it is *important* to be able to hide things for screen readers. But this is close to impossile with the OBJECT. Examples: To use Alt text does not, unlike the @alt, close to guarantee that the text equivalent is short. And if you do ShortLong then how is the user able to (a) know that the long text exists, or to (b) select the long text if he knows it exists? [I don't know, are screen reader software in general able to, technically select the different nested OBJECTs? Ideas and proposals: I would like to know what the community think about this: alt [markup]Long [/markup] The image would be displayed by default in all browsers (it works fine, even in IE6). However, even the long text will by default (in current User Agents) be displayed. I think such a method could replace the proposed element. [3. HTML 5 Wiki.] Because, the proposed ALT element is also, by default, visible, though most authors would of course hide it. (Hiding the second OBJECT is difficult in IE6, but there are workarounds, such as wrapping.) I also think @longdesc could be allowed as a boolean. And that it should be allowed in the OBJECT element. The meaning, as a boolean, should be that the next OBJECT contains a long text equivalent. (How @longdesc as boolean should work, needs to be fleshed out more.) I think @longdesc is the most important thing to ask for if we really want OBJECT to be used. For example then one could do this: In the prolongment of this proposal, I could imagine that all elements for replaced content (video, audio, img) could contain short text equivalents directly, like this: Short text equivalent. For example . And that the presence of a boolean @longdesc would indicate the presence of an OBJECT with fallback content. For example like this: