W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

[Bug 28353] New: [Shadow]: Use a parent/child relationship in the composed tree for some elements, i.e. <ol>/<li>

From: <bugzilla@jessica.w3.org>
Date: Fri, 27 Mar 2015 06:07:11 +0000
To: public-webapps@w3.org
Message-ID: <bug-28353-2927@http.www.w3.org/Bugs/Public/>

            Bug ID: 28353
           Summary: [Shadow]: Use a parent/child relationship in the
                    composed tree for some elements, i.e. <ol>/<li>
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: hayato@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 14978

For example, suppose the following case:

<div id="shadow-host">


Unfortunately, this should not be rendered as intended, if we interpret the
spec [1] strictly.

[1]: https://html.spec.whatwg.org/multipage/forms.html#the-summary-element

The spec says:

> Contexts in which this element, <summary>, can be used:
>   As the first child of a details element.

The same discussion might be also applied to the following elements, including,
but not limited to:

- <tr>/<td>
- <ol>/<li>

I've not investigated carefully yet. We have to investigate further.

In Blink, AFAIR, we've spent some efforts to support these elements so that
they are rendered correctly as intended even though they form a parent/child
relationship in the composed tree, rather than in a node tree. However, I'm
afraid that no one has a clear idea what behavior is correct.

If we are to support these cases, the spec must specify that somehow.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 27 March 2015 06:07:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:44 UTC