Skip to content

Commit 0b4ea69

Browse files
author
Simon Pieters
committed
[cssom] Make 'parse a CSS value' work for case-sensitive properties
1 parent 2aa16c2 commit 0b4ea69

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

cssom/Overview.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,9 +2119,11 @@ <h4 id="parsing-css-values"><span class="secno">6.6.1 </span>Parsing CSS Values<
21192119
<var>property</var> means to a parse the given value according to
21202120
the definition of the property that is an
21212121
<a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for
2122-
<var>property</var> in the CSS specification. If the given value
2123-
is <span>ignored</span> return <code>null</code>. Otherwise return the CSS value for
2124-
the given <var>property</var>.</p>
2122+
<var>property</var> in the CSS specification, if <var>property</var> is defined to be
2123+
case-insensitive, or otherwise that is a
2124+
<a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for <var>property</var> in the
2125+
CSS specification. If the given value is <span>ignored</span> return <code>null</code>.
2126+
Otherwise return the CSS value for the given <var>property</var>.</p>
21252127

21262128
<p class="note">"<code>!important</code>" declarations are not
21272129
part of the property value space and will therefore cause

cssom/cssom-source

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,9 +1675,11 @@
16751675
<var>property</var> means to a parse the given value according to
16761676
the definition of the property that is an
16771677
<span data-anolis-spec=dom>ASCII case-insensitive</span> match for
1678-
<var>property</var> in the CSS specification. If the given value
1679-
is <span>ignored</span> return <code>null</code>. Otherwise return the CSS value for
1680-
the given <var>property</var>.</p>
1678+
<var>property</var> in the CSS specification, if <var>property</var> is defined to be
1679+
case-insensitive, or otherwise that is a
1680+
<span data-anolis-spec=dom>case-sensitive</span> match for <var>property</var> in the
1681+
CSS specification. If the given value is <span>ignored</span> return <code>null</code>.
1682+
Otherwise return the CSS value for the given <var>property</var>.</p>
16811683

16821684
<p class="note">"<code>!important</code>" declarations are not
16831685
part of the property value space and will therefore cause

0 commit comments

Comments
 (0)