Skip to content

Commit 5fa12e0

Browse files
committed
add some notes; comment out shorthand properties so they are treated like any other property
1 parent 6725e51 commit 5fa12e0

2 files changed

Lines changed: 40 additions & 33 deletions

File tree

cssom/Overview.html

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3779,11 +3779,14 @@ <h3 id=the-elementcssinlinestyle-interface><span class=secno>6.1.
37793779
href="#elementcssinlinestyle">ElementCSSInlineStyle</a></code> Interface</h3>
37803780

37813781
<pre
3782-
class=idl>interface <dfn id=elementcssinlinestyle>ElementCSSInlineStyle</dfn> {
3782+
class=idl>[NoInterfaceObject] interface <dfn id=elementcssinlinestyle>ElementCSSInlineStyle</dfn> {
37833783
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <span>style</span>;
37843784
};</pre>
37853785

3786-
<p class=XXX>...
3786+
<p class=XXX>...</p>
3787+
<!-- XXX
3788+
how does this interact with the markup attribute
3789+
-->
37873790

37883791
<h3 id=extensions-to-the-window-interface><span class=secno>6.2.
37893792
</span>Extensions to the <code title="">Window</code> Interface</h3>
@@ -3801,7 +3804,13 @@ <h3 id=extensions-to-the-window-interface><span class=secno>6.2.
38013804
title=dom-Window-getComputedStyle><code>getComputedStyle(<var
38023805
title="">elt</var>, <var title="">pseudoElt</var>)</code></dfn> method <em
38033806
class=ct>must</em> ...</p>
3804-
<!-- XXX -->
3807+
<!-- XXX
3808+
3809+
element not in rendered document
3810+
element in subtree
3811+
element moved out of document
3812+
element moved into document
3813+
-->
38053814

38063815
<p class=note>Because of IDL limitations the <code
38073816
title=dom-Window-getComputedStyle><a
@@ -3824,46 +3833,31 @@ <h2 id=resolved-values><span class=secno>7. </span>Resolved Values</h2>
38243833
<p>The <a href="#resolved-value">resolved value</a> for a given property
38253834
can be determined as follows:
38263835

3827-
<dl>
3836+
<dl><!--
3837+
We want to treat shorthand properties like any other value basically.
3838+
38283839
<dt>'<code>background</code>'
3829-
38303840
<dt>'<code>border</code>'
3831-
38323841
<dt>'<code>border-collapse</code>'
3833-
38343842
<dt>'<code>border-color</code>'
3835-
38363843
<dt>'<code>border-spacing</code>'
3837-
38383844
<dt>'<code>border-style</code>'
3839-
38403845
<dt>'<code>border-top</code>'
3841-
38423846
<dt>'<code>border-right</code>'
3843-
38443847
<dt>'<code>border-bottom</code>'
3845-
38463848
<dt>'<code>border-left</code>'
3847-
38483849
<dt>'<code>border-width</code>'
3849-
38503850
<dt>'<code>font</code>'
3851-
38523851
<dt>'<code>list-style</code>'
3853-
38543852
<dt>'<code>margin</code>'
3855-
3856-
<dt>'<code>outline</code>' <!-- overflow is not -->
3857-
3853+
<dt>'<code>outline</code>'
3854+
<!- - overflow is not - ->
38583855
<dt>'<code>padding</code>'
3859-
38603856
<dt>'<code>pause</code>'
3861-
38623857
<dd>
3863-
<p>There is no <a href="#resolved-value">resolved value</a>.</p>
3864-
3865-
<p class=XXX>The idea is to treat these like "any other property" because
3866-
whether a property is a shorthand property changes over time.</p>
3858+
<p>There is no <span>resolved value</span>.</p>
3859+
</dd>
3860+
-->
38673861

38683862
<dt>'<code>line-height</code>'
38693863

cssom/Overview.src.html

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2375,13 +2375,15 @@ <h2>DOM Access to CSS Declaration Blocks</h2>
23752375

23762376
<h3>The <code>ElementCSSInlineStyle</code> Interface</h3>
23772377

2378-
<pre class="idl">interface <dfn>ElementCSSInlineStyle</dfn> {
2378+
<pre class="idl">[NoInterfaceObject] interface <dfn>ElementCSSInlineStyle</dfn> {
23792379
readonly attribute <span>CSSStyleDeclaration</span> <span>style</span>;
23802380
};</pre>
23812381

23822382
<p class="XXX">...</p>
23832383

2384-
2384+
<!-- XXX
2385+
how does this interact with the markup attribute
2386+
-->
23852387

23862388

23872389

@@ -2401,7 +2403,13 @@ <h3>Extensions to the <code title="">Window</code> Interface</h3>
24012403
<dfn id="dom-window-getcomputedstyle" title="dom-Window-getComputedStyle"><code>getComputedStyle(<var title="">elt</var>, <var title="">pseudoElt</var>)</code></dfn>
24022404
method <em class="ct">must</em> ...</p>
24032405

2404-
<!-- XXX -->
2406+
<!-- XXX
2407+
2408+
element not in rendered document
2409+
element in subtree
2410+
element moved out of document
2411+
element moved into document
2412+
-->
24052413

24062414
<p class="note">Because of IDL limitations the
24072415
<code title="dom-Window-getComputedStyle">getComputedStyle()</code> method
@@ -2424,6 +2432,9 @@ <h2>Resolved Values</h2>
24242432
as follows:</p>
24252433

24262434
<dl>
2435+
<!--
2436+
We want to treat shorthand properties like any other value basically.
2437+
24272438
<dt>'<code>background</code>'
24282439
<dt>'<code>border</code>'
24292440
<dt>'<code>border-collapse</code>'
@@ -2439,15 +2450,13 @@ <h2>Resolved Values</h2>
24392450
<dt>'<code>list-style</code>'
24402451
<dt>'<code>margin</code>'
24412452
<dt>'<code>outline</code>'
2442-
<!-- overflow is not -->
2453+
<!- - overflow is not - ->
24432454
<dt>'<code>padding</code>'
24442455
<dt>'<code>pause</code>'
24452456
<dd>
24462457
<p>There is no <span>resolved value</span>.</p>
2447-
<p class="XXX">The idea is to treat these like "any other property"
2448-
because whether a property is a shorthand property changes over
2449-
time.</p>
24502458
</dd>
2459+
-->
24512460

24522461
<dt>'<code>line-height</code>'</dt>
24532462
<dd><p>The <span>resolved value</span> is the used value.</p></dd>
@@ -2473,6 +2482,8 @@ <h2>Resolved Values</h2>
24732482
</dl>
24742483

24752484

2485+
2486+
24762487
<h2 id="iana-considerations">IANA Considerations</h2>
24772488

24782489
<h3><dfn title="http-default-style"><code>Default-Style</code></dfn></h5>
@@ -2505,6 +2516,8 @@ <h2 class="no-num" id="references">References</h2>
25052516
that state please ask the author whenever a reference is unclear.</p>
25062517

25072518

2519+
2520+
25082521
<h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
25092522

25102523
<p>The editor would like to thank

0 commit comments

Comments
 (0)