Skip to content

Commit 1abcaaf

Browse files
author
Simon Pieters
committed
[cssom] Remove .defaultStyle in favor of toggling box:none. <http://www.w3.org/mid/CAD1Dv_LwM-YDt75oN_32n-nrBx2T7eZR2G6amPuZRRuK6VLnkg@mail.gmail.com>
1 parent 1e0aeef commit 1abcaaf

2 files changed

Lines changed: 15 additions & 13 deletions

File tree

cssom/Overview.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,8 +2806,8 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
28062806
<pre class="idl">[NoInterfaceObject]
28072807
interface <dfn id="getstyleutils">GetStyleUtils</dfn> {
28082808
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-specifiedstyle" title="dom-GetStyleUtils-specifiedStyle">specifiedStyle</a>;
2809-
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-defaultstyle" title="dom-GetStyleUtils-defaultStyle">defaultStyle</a>;
2810-
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-computedstyle" title="dom-GetStyleUtils-computedStyle">computedStyle</a>;
2809+
<!--readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2810+
-->readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-computedstyle" title="dom-GetStyleUtils-computedStyle">computedStyle</a>;
28112811
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle">usedStyle</a>;
28122812
};</pre>
28132813

@@ -2818,13 +2818,13 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
28182818
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
28192819
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>
28202820

2821-
<p class="atrisk">The <dfn id="dom-getstyleutils-defaultstyle" title="dom-GetStyleUtils-defaultStyle"><code>defaultStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration block</a> with
2822-
the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the
2823-
<a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties that are
2824-
<a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> with the value being the
2825-
<a href="#computed-value">computed 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 user-agent-level style rules and user-level style rules
2826-
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>, ignoring transitions, animations, author-level style
2827-
rules, author-level presentational hints and override-level style rules.</p>
2821+
<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
2822+
the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the
2823+
<span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties that are
2824+
<span title="supported CSS property">supported CSS properties</span> with the value being the
2825+
<span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the user-agent-level style rules and user-level style rules
2826+
associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style
2827+
rules, author-level presentational hints and override-level style rules.</p>-->
28282828

28292829
<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
28302830
the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the
@@ -3062,6 +3062,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
30623062
Ian Hickson,
30633063
John Daggett,
30643064
Lachlan Hunt,
3065+
Mike Sherov,
30653066
Morten Stenshorne,
30663067
Øyvind Stenhaug,
30673068
Philip Taylor,

cssom/Overview.src.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2728,8 +2728,8 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
27282728
<pre class=idl>[NoInterfaceObject]
27292729
interface <dfn>GetStyleUtils</dfn> {
27302730
readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-specifiedStyle>specifiedStyle</span>;
2731-
readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2732-
readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-computedStyle>computedStyle</span>;
2731+
<!--readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>;
2732+
-->readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-computedStyle>computedStyle</span>;
27332733
readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-usedStyle>usedStyle</span>;
27342734
};</pre>
27352735

@@ -2740,13 +2740,13 @@ <h3>The <code title>GetStyleUtils</code> Interface</h3>
27402740
computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated
27412741
with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
27422742

2743-
<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
2743+
<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
27442744
the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the
27452745
<span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties that are
27462746
<span title="supported CSS property">supported CSS properties</span> with the value being the
27472747
<span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the user-agent-level style rules and user-level style rules
27482748
associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style
2749-
rules, author-level presentational hints and override-level style rules.</p>
2749+
rules, author-level presentational hints and override-level style rules.</p>-->
27502750

27512751
<p class=atrisk>The <dfn title=dom-GetStyleUtils-computedStyle><code>computedStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with
27522752
the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the
@@ -2936,6 +2936,7 @@ <h2 class="no-num">Acknowledgments</h2>
29362936
Ian Hickson,
29372937
John Daggett,
29382938
Lachlan Hunt,
2939+
Mike Sherov,
29392940
Morten Stenshorne,
29402941
Øyvind Stenhaug,
29412942
Philip Taylor,

0 commit comments

Comments
 (0)