Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shadow]: <content> usage in a place where non-flow content is expected (bugzilla: 22107) #95

Closed
hayatoito opened this issue May 25, 2015 · 1 comment

Comments

@hayatoito
Copy link
Contributor

Title: [Shadow]: usage in a place where non-flow content is expected (bugzilla: 22107)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22107


comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22107#c0
Yuta Kitamura wrote on 2013-05-21 08:06:43 +0000.

Probably related to bug 15616.

In Section 10.4, "Context" of content element reads:
"Where flow content is expected."

However, element should be able to appear in a place where non-flow
content is expected. Actually, an example in Section 11 illustrates such cases:

<div class="breaking">
    <ul>
        <!-- The content model of <ul> is "zero or more li elements",
             which is NOT flow content. Therefore, the <content> below
             is non-conformant. -->
        <content select=".breaking"></content>
    </ul>
</div>
and have special content model like
    , so if appears directly under these elements, they become non-conformant (which should be unexpected).

    The definition of element (in Section 10.5) has the exact same issue.


    comment: 1
    comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22107#c1
    Dimitri Glazkov wrote on 2015-04-23 18:54:48 +0000.

    Doesn't need to block v1, nice-to-have.

@hayatoito
Copy link
Contributor Author

Closing. We can use #59 for shadow dom v1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants