Skip to content

Commit 63d9268

Browse files
author
Simon Pieters
committed
[cssom] Don't include properties that don't have a cascaded value in cascadedStyle.
1 parent 5a873ff commit 63d9268

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

cssom/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,9 +2816,9 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
28162816
<p class="atrisk">The <dfn id="dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle"><code>cascadedStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration block</a>
28172817
with the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the
28182818
<a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties
2819-
that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> with the value being the <a href="#cascaded-value">cascaded value</a>
2820-
computed for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the style rules associated
2821-
with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#associated-document">associated document</a>.</p>
2819+
that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> that have a <a href="#cascaded-value">cascaded value</a> for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context
2820+
object</a>, with the value being the <a href="#cascaded-value">cascaded value</a> computed for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the style rules
2821+
associated with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#associated-document">associated document</a>.</p>
28222822

28232823
<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
28242824
the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the

cssom/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,9 +2738,9 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
27382738
<p class=atrisk>The <dfn title=dom-GetStyleUtils-cascadedStyle><code>cascadedStyle</code></dfn> attribute must return a <span>CSS declaration block</span>
27392739
with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the
27402740
<span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties
2741-
that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>cascaded value</span>
2742-
computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated
2743-
with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
2741+
that are <span title="supported CSS property">supported CSS properties</span> that have a <span>cascaded value</span> for the <span data-anolis-spec=dom>context
2742+
object</span>, with the value being the <span>cascaded value</span> computed for the <span data-anolis-spec=dom>context object</span> using the style rules
2743+
associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
27442744

27452745
<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
27462746
the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the

0 commit comments

Comments
 (0)