ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children

OBJECTS_AND_SCRIPTS needs to address <object> with multiple children

State:
CLOSED
Product:
mobileOK Basic tests
Raised by:
Greg Aaron
Opened on:
2008-01-17
Description:
Dom notes that the spec assumes that <object> contains at most one child, when that is not true. This is legal:

<object data="foo" type="video/mpeg">
<object data="bar" type="image/png"></object>
<object data="baz" type="image/gif"></object>
<img src="foobar" />
Hello
</object>

I (Sean) suggested the following rewrite to the test:

Call an object element "usable" if and only if
- Its data attribute refers to a supported image type, OR
- It is empty (but this generates a warning), OR
- Its children are all either
- text nodes not consisting entirely of whitespace
- img elements referring to a supported image type
- "usable" object elements

... and then the test is merely, for each <object> (that's not a child of an <object>), FAIL if it is not "usable"
Related Actions Items:
No related actions
Related emails:
  1. [minutes] Thursday 17 April 2008 Teleconf (from fd@w3.org on 2008-04-17)
  2. RE: mobileOK basic issues (from miguel.garcia@fundacionctic.org on 2008-04-17)
  3. RE: mobileOK basic issues (from jrabin@mtld.mobi on 2008-04-16)
  4. RE: mobileOK basic issues (from k.scheppe@telekom.de on 2008-04-16)
  5. Re: mobileOK basic issues (from srowen@google.com on 2008-04-15)
  6. mobileOK basic issues (from dom@w3.org on 2008-04-14)
  7. RE: Pendings bugs fixed (from miguel.garcia@fundacionctic.org on 2008-04-11)
  8. Re: Pendings bugs fixed (from dom@w3.org on 2008-04-11)
  9. [minutes] Thursday 27 March 2008 Teleconf (from fd@w3.org on 2008-03-27)
  10. Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from chaals@opera.com on 2008-01-25)
  11. [minutes] Thursday 23 January Teleconf (from fd@w3.org on 2008-01-24)
  12. Re: mobileOK spec unclear on nested objects parsing (from srowen@google.com on 2008-01-24)
  13. RE: mobileOK spec unclear on nested objects parsing (from jrabin@mtld.mobi on 2008-01-24)
  14. Re: mobileOK spec unclear on nested objects parsing (from srowen@google.com on 2008-01-24)
  15. Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from dom@w3.org on 2008-01-18)
  16. Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from srowen@google.com on 2008-01-18)
  17. Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from chaals@opera.com on 2008-01-18)
  18. ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from sysbot+tracker@w3.org on 2008-01-17)

Related notes:

This was solved in the latest mobileok draft:
http://www.w3.org/TR/2008/WD-mobileOK-basic10-tests-20080610/

Dominique Hazaël-Massieux, 11 Jun 2008, 19:37:37

Display change log ATOM feed


Jo Rabin <jo@linguafranca.org>, Daniel Appelquist <daniel.appelquist@vodafone.com>, Chairs, Dominique Hazaël-Massieux <dom@w3.org>, François Daoust <fd@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 230.html,v 1.1 2011/01/10 15:19:44 dom Exp $