Skip to content

Commit 27de337

Browse files
committed
[css-cascade] Add to the Filtering Declarations step that a declaration must be syntactically valid.
--HG-- extra : rebase_source : f99cc001b1e04a8894bfa310d0b21f1b000f0a6c
1 parent 6051375 commit 27de337

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

css-cascade/Overview.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,10 @@ <h3 id=filter-declarations><span class=secno>4.1. </span> Filtering
504504
href="#SELECT" rel=biblioentry>[SELECT]<!--{{!SELECT}}--></a> (Taking <a
505505
href="http://www.w3.org/TR/selectors4/#scoping">scoping</a> into account,
506506
if necessary.)
507+
508+
<li> It is syntactically valid: the declaration's property is a known
509+
property name, and the declaration's value matches the syntax for that
510+
property.
507511
</ul>
508512

509513
<p> The declarations that apply form, for each property on each element, a

css-cascade/Overview.src.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,11 @@ <h3 id='filter-declarations'>
299299
<li>
300300
It belongs to a style rule whose selector matches the element. [[!SELECT]]
301301
(Taking <a href="http://www.w3.org/TR/selectors4/#scoping">scoping</a> into account, if necessary.)
302+
303+
<li>
304+
It is syntactically valid:
305+
the declaration's property is a known property name,
306+
and the declaration's value matches the syntax for that property.
302307
</ul>
303308

304309
<p>

0 commit comments

Comments
 (0)