- From: Hayato Ito <notifications@github.com>
- Date: Mon, 25 May 2015 01:51:19 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Message-ID: <w3c/webcomponents/issues/95@github.com>
Title: [Shadow]: <content> 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, <content> 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>
<table> and <tr> have special content model like <ul>, so if <content> appears
directly under these elements, they become non-conformant (which should be
unexpected).
The definition of <shadow> 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.
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/95
Received on Monday, 25 May 2015 08:51:46 UTC