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:
- [minutes] Thursday 17 April 2008 Teleconf (from fd@w3.org on 2008-04-17)
- RE: mobileOK basic issues (from miguel.garcia@fundacionctic.org on 2008-04-17)
- RE: mobileOK basic issues (from jrabin@mtld.mobi on 2008-04-16)
- RE: mobileOK basic issues (from k.scheppe@telekom.de on 2008-04-16)
- Re: mobileOK basic issues (from srowen@google.com on 2008-04-15)
- mobileOK basic issues (from dom@w3.org on 2008-04-14)
- RE: Pendings bugs fixed (from miguel.garcia@fundacionctic.org on 2008-04-11)
- Re: Pendings bugs fixed (from dom@w3.org on 2008-04-11)
- [minutes] Thursday 27 March 2008 Teleconf (from fd@w3.org on 2008-03-27)
- Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from chaals@opera.com on 2008-01-25)
- [minutes] Thursday 23 January Teleconf (from fd@w3.org on 2008-01-24)
- Re: mobileOK spec unclear on nested objects parsing (from srowen@google.com on 2008-01-24)
- RE: mobileOK spec unclear on nested objects parsing (from jrabin@mtld.mobi on 2008-01-24)
- Re: mobileOK spec unclear on nested objects parsing (from srowen@google.com on 2008-01-24)
- Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from dom@w3.org on 2008-01-18)
- Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from srowen@google.com on 2008-01-18)
- Re: ISSUE-230: OBJECTS_AND_SCRIPTS needs to address <object> with multiple children [mobileOK Basic tests] (from chaals@opera.com on 2008-01-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/
Display change log