Skip to content

Commit 527f17f

Browse files
author
Simon Pieters
committed
[cssom] Rename computedStyle to rawComputedStyle. https://www.w3.org/Bugs/Public/show_bug.cgi?id=22528
1 parent 63d9268 commit 527f17f

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

cssom/Overview.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,7 +2809,7 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
28092809
interface <dfn id="getstyleutils">GetStyleUtils</dfn> {
28102810
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle">cascadedStyle</a>;
28112811
<!--readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2812-
-->readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-computedstyle" title="dom-GetStyleUtils-computedStyle">computedStyle</a>;
2812+
-->readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle">rawComputedStyle</a>;
28132813
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle">usedStyle</a>;
28142814
};</pre>
28152815

@@ -2828,8 +2828,8 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
28282828
associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style
28292829
rules, author-level presentational hints and override-level style rules.</p>-->
28302830

2831-
<p class="atrisk">The <dfn id="dom-getstyleutils-computedstyle" title="dom-GetStyleUtils-computedStyle"><code>computedStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration block</a> with
2832-
the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the
2831+
<p class="atrisk">The <dfn id="dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle"><code>rawComputedStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration block</a>
2832+
with the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the
28332833
<a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties
28342834
that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> with the value being the <a href="#computed-value">computed value</a>
28352835
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
@@ -2842,8 +2842,8 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
28422842
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
28432843
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>
28442844

2845-
<p class="warning">The <code title="dom-GetStyleUtils-cascadedStyle"><a href="#dom-getstyleutils-cascadedstyle">cascadedStyle</a></code>, <code title="dom-GetStyleUtils-computedStyle"><a href="#dom-getstyleutils-computedstyle">computedStyle</a></code> and
2846-
<code title="dom-GetStyleUtils-usedStyle"><a href="#dom-getstyleutils-usedstyle">usedStyle</a></code> methods expose information from <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> with the
2845+
<p class="warning">The <code title="dom-GetStyleUtils-cascadedStyle"><a href="#dom-getstyleutils-cascadedstyle">cascadedStyle</a></code>, <code title="dom-GetStyleUtils-rawComputedStyle"><a href="#dom-getstyleutils-rawcomputedstyle">rawComputedStyle</a></code>
2846+
and <code title="dom-GetStyleUtils-usedStyle"><a href="#dom-getstyleutils-usedstyle">usedStyle</a></code> methods expose information from <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> with the
28472847
<a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> unset.
28482848

28492849

cssom/Overview.src.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2731,7 +2731,7 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
27312731
interface <dfn>GetStyleUtils</dfn> {
27322732
readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-cascadedStyle>cascadedStyle</span>;
27332733
<!--readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2734-
-->readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-computedStyle>computedStyle</span>;
2734+
-->readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-rawComputedStyle>rawComputedStyle</span>;
27352735
readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-usedStyle>usedStyle</span>;
27362736
};</pre>
27372737

@@ -2750,8 +2750,8 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
27502750
associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style
27512751
rules, author-level presentational hints and override-level style rules.</p>-->
27522752

2753-
<p class=atrisk>The <dfn title=dom-GetStyleUtils-computedStyle><code>computedStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
2754-
the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the
2753+
<p class=atrisk>The <dfn title=dom-GetStyleUtils-rawComputedStyle><code>rawComputedStyle</code></dfn> attribute must return a <span>CSS declaration block</span>
2754+
with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the
27552755
<span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties
27562756
that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>computed value</span>
27572757
computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated
@@ -2764,8 +2764,8 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
27642764
computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated
27652765
with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
27662766

2767-
<p class=warning>The <code title=dom-GetStyleUtils-cascadedStyle>cascadedStyle</code>, <code title=dom-GetStyleUtils-computedStyle>computedStyle</code> and
2768-
<code title=dom-GetStyleUtils-usedStyle>usedStyle</code> methods expose information from <span title="CSS style sheet">CSS style sheets</span> with the
2767+
<p class=warning>The <code title=dom-GetStyleUtils-cascadedStyle>cascadedStyle</code>, <code title=dom-GetStyleUtils-rawComputedStyle>rawComputedStyle</code>
2768+
and <code title=dom-GetStyleUtils-usedStyle>usedStyle</code> methods expose information from <span title="CSS style sheet">CSS style sheets</span> with the
27692769
<span title=concept-css-style-sheet-origin-clean-flag>origin-clean flag</span> unset.
27702770

27712771

0 commit comments

Comments
 (0)