Skip to content

Commit 87f3670

Browse files
committed
[cssom] Remove cascadedStyle/defaultStyle/rawComputedStyle/usedStyle
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29465.
1 parent 4cfc9f5 commit 87f3670

1 file changed

Lines changed: 3 additions & 90 deletions

File tree

cssom/Overview.bs

Lines changed: 3 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,90 +2933,6 @@ a separate interface, <code>ViewCSS</code>.
29332933
<p class=warning>The {{Window/getComputedStyle()}} method exposes information from <a lt="CSS style sheet">CSS style
29342934
sheets</a> with the <a>origin-clean flag</a> unset.
29352935

2936-
The {{GetStyleUtils}} Interface {#the-getstyleutils-interface}
2937-
--------------------------------------------------------------
2938-
2939-
The <dfn>associated document</dfn> of an object <var>obj</var> is <var>obj</var>'s <a>node
2940-
document</a> if <var>obj</var> is an <code>Element</code> object, or <var>obj</var>'s associated
2941-
<code>Element</code> object's <a>node document</a> if <var>obj</var> is a
2942-
{{PseudoElement}} object.
2943-
2944-
<pre class=idl>
2945-
[NoInterfaceObject]
2946-
interface GetStyleUtils {
2947-
[SameObject] readonly attribute CSSStyleDeclaration cascadedStyle;
2948-
[SameObject] readonly attribute CSSStyleDeclaration defaultStyle;
2949-
[SameObject] readonly attribute CSSStyleDeclaration rawComputedStyle;
2950-
[SameObject] readonly attribute CSSStyleDeclaration usedStyle;
2951-
};
2952-
</pre>
2953-
2954-
<p class=atrisk>The <dfn attribute for=GetStyleUtils>cascadedStyle</dfn> attribute must return a live <a>CSS declaration block</a>
2955-
with the following properties:
2956-
<dl>
2957-
<dt><a for="CSSStyleDeclaration">readonly flag</a>
2958-
<dd>Set.
2959-
<dt><a for="CSSStyleDeclaration">declarations</a>
2960-
<dd>All longhand properties that are <a lt="supported CSS property">supported CSS properties</a>, in lexicographical order, that have a
2961-
<a>cascaded value</a> for the <a>context object</a>, with the value being the <a>cascaded value</a> computed for the
2962-
<a>context object</a> using the style rules associated with the <a>context object</a>'s <a>associated
2963-
document</a>.
2964-
<dt><a for="CSSStyleDeclaration">parent CSS rule</a>
2965-
<dd>Null.
2966-
<dt><a for="CSSStyleDeclaration">owner node</a>
2967-
<dd>The <a>context object</a>.
2968-
</dl>
2969-
2970-
<p class=atrisk>The <dfn attribute for=GetStyleUtils>defaultStyle</dfn> attribute must return a live <a>CSS declaration block</a>
2971-
with the following properties:
2972-
<dl>
2973-
<dt><a for="CSSStyleDeclaration">readonly flag</a>
2974-
<dd>Set.
2975-
<dt><a for="CSSStyleDeclaration">declarations</a>
2976-
<dd>All longhand properties that are <a lt="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
2977-
the <a>computed value</a> computed for the <a>context object</a> using the user-agent-level style rules and user-level style
2978-
rules associated with the <a>context object</a>'s <a>associated document</a>, ignoring transitions, animations, author-level
2979-
style rules, author-level presentational hints and override-level style rules.
2980-
<dt><a for="CSSStyleDeclaration">parent CSS rule</a>
2981-
<dd>Null.
2982-
<dt><a for="CSSStyleDeclaration">owner node</a>
2983-
<dd>The <a>context object</a>.
2984-
</dl>
2985-
2986-
<p class=atrisk>The <dfn attribute for=GetStyleUtils>rawComputedStyle</dfn> attribute must return a live <a>CSS declaration
2987-
block</a> with the following properties:
2988-
<dl>
2989-
<dt><a for="CSSStyleDeclaration">readonly flag</a>
2990-
<dd>Set.
2991-
<dt><a for="CSSStyleDeclaration">declarations</a>
2992-
<dd>All longhand properties that are <a lt="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
2993-
the <a>computed value</a> computed for the <a>context object</a> using the style rules associated with the
2994-
<a>context object</a>'s <a>associated document</a>.
2995-
<dt><a for="CSSStyleDeclaration">parent CSS rule</a>
2996-
<dd>Null.
2997-
<dt><a for="CSSStyleDeclaration">owner node</a>
2998-
<dd>The <a>context object</a>.
2999-
</dl>
3000-
3001-
<p class=atrisk>The <dfn attribute for=GetStyleUtils>usedStyle</dfn> attribute must return a live <a>CSS declaration block</a> with the
3002-
following properties:
3003-
<dl>
3004-
<dt><a for="CSSStyleDeclaration">readonly flag</a>
3005-
<dd>Set.
3006-
<dt><a for="CSSStyleDeclaration">declarations</a>
3007-
<dd>All longhand properties that are <a lt="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
3008-
the <a>used value</a> computed for the <a>context object</a> using the style rules associated with the
3009-
<a>context object</a>'s <a>associated document</a>.
3010-
<dt><a for="CSSStyleDeclaration">parent CSS rule</a>
3011-
<dd>Null.
3012-
<dt><a for="CSSStyleDeclaration">owner node</a>
3013-
<dd>The <a>context object</a>.
3014-
</dl>
3015-
3016-
<p class=warning>The {{GetStyleUtils/cascadedStyle}}, {{GetStyleUtils/rawComputedStyle}}
3017-
and {{GetStyleUtils/usedStyle}} methods expose information from <a>CSS style sheets</a> with the
3018-
<a>origin-clean flag</a> unset.
3019-
30202936

30212937
Extensions to the {{Element}} Interface {#extensions-to-the-element-interface}
30222938
------------------------------------------------------------------------------
@@ -3025,8 +2941,6 @@ Extensions to the {{Element}} Interface {#extensions-to-the-element-interface}
30252941
partial interface Element {
30262942
PseudoElement? pseudo(DOMString pseudoElt);
30272943
};
3028-
3029-
Element implements GetStyleUtils;
30302944
</pre>
30312945

30322946
<p class=atrisk>The <dfn method for=Element>pseudo(<var>pseudoElt</var>)</dfn> method, when invoked, must run the following steps:
@@ -3062,8 +2976,6 @@ interface PseudoElement {
30622976
// Extend Event to expose PseudoElement?
30632977
-->
30642978
};
3065-
3066-
PseudoElement implements GetStyleUtils;
30672979
</pre>
30682980

30692981

@@ -3211,6 +3123,7 @@ generally not listed.
32113123
<!--
32123124

32133125
CSSCharsetRule is re-dropped.
3126+
GetStyleUtils is dropped.
32143127

32153128
-->
32163129

@@ -3242,8 +3155,8 @@ Changes From 12 July 2011 To 5 December 2013 {#changes-from-12-july-2011-to-5-de
32423155

32433156
<li>The {{PseudoElement}} interface is introduced.
32443157

3245-
<li>The {{GetStyleUtils/cascadedStyle}}, .{{GetStyleUtils/rawComputedStyle}} and
3246-
{{GetStyleUtils/usedStyle}} attributes on <code>Element</code> and {{PseudoElement}} are introduced.
3158+
<li>The <code lt>cascadedStyle</code>, <code lt>rawComputedStyle</code> and
3159+
<code lt>usedStyle</code> attributes on <code>Element</code> and {{PseudoElement}} are introduced.
32473160

32483161
<li>The <code method for=CSS>CSS.escape()</code> static method is introduced.
32493162
</ul>

0 commit comments

Comments
 (0)