Skip to content

Commit 5a279fd

Browse files
committed
Add an issue about a link from nested rule to parent.
1 parent a643e79 commit 5a279fd

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

css3-hierarchies/Overview.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,12 @@ <h2 id=cssom><span class=secno>4. </span> CSS Object Model Modifications</h2>
423423
must return a <code>DOMString</code> object containing the same text as
424424
the <code>selectorText</code> attribute.
425425

426+
<p class=issue>The OM here is meant to reflect the OM for &lsquo;<code
427+
class=css>@media</code>&rsquo; rules. In particular, the lack of a link
428+
from a rule to its parent matches rules nested in &lsquo;<code
429+
class=css>@media</code>&rsquo;. Should we add such a property to both of
430+
these?
431+
426432
<h2 id=conformance><span class=secno>5. </span> Conformance</h2>
427433

428434
<h3 id=conventions><span class=secno>5.1. </span> Document Conventions</h3>

css3-hierarchies/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ <h2 id="cssom">
287287

288288
<p>The <code>expandedSelectorText</code> attribute must return a <code>DOMString</code> object containing the result of replacing the ''&amp;'' selector in the <code>selectorText</code> attribute with the <code>expandedSelectorText</code> attribute from the parent rule. If the rule has no parent rule, the <code>expandedSelectorText</code> attribute must return a <code>DOMString</code> object containing the same text as the <code>selectorText</code> attribute.</p>
289289

290+
<p class='issue'>The OM here is meant to reflect the OM for ''@media'' rules. In particular, the lack of a link from a rule to its parent matches rules nested in ''@media''. Should we add such a property to both of these?</p>
291+
290292
<h2 id="conformance">
291293
Conformance</h2>
292294

0 commit comments

Comments
 (0)