Skip to content

Commit 1f4fc96

Browse files
committed
[css-cascade-5] Clarify that style rules are separately cascaded whether important or normal.
1 parent 8c1f13f commit 1f4fc96

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

css-cascade-5/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,9 +860,13 @@ Cascade Sorting Order</h3>
860860

861861
<dt id='style-attr'>The Style Attribute
862862
<dd>
863-
Declarations that do not belong to a style rule
863+
Separately for [=normal=] and [=important=] declarations,
864+
declarations that are attached directly to an element
864865
(such as the <a href="https://www.w3.org/TR/css-style-attr/#interpret">contents of a style attribute</a>)
865-
take precedence over declarations that do belong to a style rule.
866+
rather than indirectly mapped by means of a style rule selector
867+
take precedence over declarations the same [=importance=]
868+
that are mapped via style rule.
869+
866870
<dt id='cascade-layering'>Layers
867871
<dd>
868872
Declarations can be explicitly assigned to a [=cascade layer=].

0 commit comments

Comments
 (0)