Skip to content

Commit 479983f

Browse files
committed
fix a link bug; mark getComputedStyle broken
1 parent a47c484 commit 479983f

2 files changed

Lines changed: 9 additions & 19 deletions

File tree

cssom/Overview.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,7 @@ <h4 id=css-style-rule-rule-set><span class=secno>6.4.3. </span>CSS Style
20922092
<pre
20932093
class=idl>interface <dfn id=cssstylerule>CSSStyleRule</dfn> : <a href="#cssrule">CSSRule</a> {
20942094
attribute DOMString <a href="#dom-cssstylerule-selectortext" title=dom-CSSStyleRule-selectorText>selectorText</a>;
2095-
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <span title=dom-CSSStyleRule-style>style</span>;
2095+
readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-cssstylerule-style" title=dom-CSSStyleRule-style>style</a>;
20962096
};</pre>
20972097

20982098
<p>The <dfn id=dom-cssstylerule-selectortext
@@ -2118,8 +2118,8 @@ <h4 id=css-style-rule-rule-set><span class=secno>6.4.3. </span>CSS Style
21182118
<p>Otherwise, if the algorithm returns a null value, do nothing.
21192119
</ol>
21202120

2121-
<p>The <dfn id=cssstylerule-style
2122-
title=cssstylerule-style><code>style</code></dfn> attribute <em
2121+
<p>The <dfn id=dom-cssstylerule-style
2122+
title=dom-CSSStyleRule-style><code>style</code></dfn> attribute <em
21232123
class=ct>must</em> return a <code><a
21242124
href="#cssstyledeclaration">CSSStyleDeclaration</a></code> object for the
21252125
rule set.
@@ -3814,15 +3814,10 @@ <h3 id=extensions-to-the-window-interface><span class=secno>7.2.
38143814
<a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-window-getcomputedstyle" title=dom-Window-getComputedStyle>getComputedStyle</a>(Element <var title="">elt</var>, DOMString <var title="">pseudoElt</var>);
38153815
};</pre>
38163816

3817-
<p>The <dfn id=dom-window-getcomputedstyle
3817+
<p class=XXX>The <dfn id=dom-window-getcomputedstyle
38183818
title=dom-Window-getComputedStyle><code>getComputedStyle(<var
38193819
title="">elt</var>, <var title="">pseudoElt</var>)</code></dfn> method <em
3820-
class=ct>must</em> return a <code><a
3821-
href="#cssstyledeclaration">CSSStyleDeclaration</a></code> object that
3822-
contains the computed style declaration block for <var title="">elt</var>,
3823-
when the <var title="">pseudoElt</var> argument is null, the empty string
3824-
or omitted. Otherwise, for the pseudo-element <var
3825-
title="">pseudoElt</var> of <var title="">elt</var>.</p>
3820+
class=ct>must</em> ...</p>
38263821
<!-- XXX -->
38273822

38283823
<p class=note>Because of IDL limitations the <code

cssom/Overview.src.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ <h4>The <code title="">CSSRule</code> Interface</h4>
16401640

16411641
<ol>
16421642
<li><p><span title="Parse a CSS rule">Parse</span> the value.</p></li>
1643-
1643+
16441644
<li><p>If parsing failed terminate this algorithm.</p></li>
16451645

16461646
<li><p>If the <code title="dom-CSSRule-type">type</code> of the new
@@ -1714,7 +1714,7 @@ <h4>CSS Style Rule (Rule Set)</h4>
17141714
</ol>
17151715

17161716
<p>The
1717-
<dfn id="cssstylerule-style" title="cssstylerule-style"><code>style</code></dfn>
1717+
<dfn id="dom-cssstylerule-style" title="dom-CSSStyleRule-style"><code>style</code></dfn>
17181718
attribute <em class="ct">must</em> return a
17191719
<code>CSSStyleDeclaration</code> object for the rule set.</p>
17201720

@@ -2433,14 +2433,9 @@ <h3>Extensions to the <code title="">Window</code> Interface</h3>
24332433
<span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(Element <var title="">elt</var>, DOMString <var title="">pseudoElt</var>);
24342434
};</pre>
24352435

2436-
<p>The
2436+
<p class="XXX">The
24372437
<dfn id="dom-window-getcomputedstyle" title="dom-Window-getComputedStyle"><code>getComputedStyle(<var title="">elt</var>, <var title="">pseudoElt</var>)</code></dfn>
2438-
method <em class="ct">must</em> return a
2439-
<code>CSSStyleDeclaration</code> object that contains the computed style
2440-
declaration block for <var title="">elt</var>, when the
2441-
<var title="">pseudoElt</var> argument is null, the empty string
2442-
or omitted. Otherwise, for the pseudo-element <var title="">pseudoElt</var>
2443-
of <var title="">elt</var>.</p>
2438+
method <em class="ct">must</em> ...</p>
24442439

24452440
<!-- XXX -->
24462441

0 commit comments

Comments
 (0)