Skip to content

Commit 6f2dc0f

Browse files
committed
[css-variables] Fix some concept links in the API section.
1 parent b27775c commit 6f2dc0f

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

css-variables/Overview.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -763,17 +763,19 @@ <h3 id=the-cssvariablesdeclaration-interface><span class=secno>4.2. </span>
763763
property names</a> on a CSSStyleDeclaration object are the property names
764764
of all the <a href="#custom-property"><i>custom properties</i></a> in the
765765
<a
766-
href="http://dev.w3.org/csswg/cssom/#css-declaration-block-declarations">CSS
767-
declaration block declarations</a>, with the "var-" prefix removed.
766+
href="http://dev.w3.org/csswg/cssom/#css-declaration-block-declarations"><dfn
767+
id=css-declaration-block-declarations>CSS declaration block
768+
declarations</dfn></a>, with the "var-" prefix removed.
768769

769770
<p> Before running any of the algorithms in this section, prepend "var-" to
770771
<var>varName</var>&apos;s value.
771772

772773
<p> When asked to <dfn id=cssvariablesdeclaration-getter title=getter>get
773-
the value of a variable</dfn>, if <var>varName</var> is in the <i>CSS
774-
declaration block declarations</i>, invoke <code>getPropertyValue()</code>
775-
by passing <var>varName</var> as its argument, and return the returned
776-
value. Otherwise, return the empty string.
774+
the value of a variable</dfn>, if <var>varName</var> is in the <a
775+
href="#css-declaration-block-declarations"><i>CSS declaration block
776+
declarations</i></a>, invoke <code>getPropertyValue()</code> by passing
777+
<var>varName</var> as its argument, and return the returned value.
778+
Otherwise, return the empty string.
777779

778780
<p> When asked to <dfn id=cssvariablesdeclaration-setter
779781
title=setter>set</dfn> or <dfn id=cssvariablesdeclaration-creator
@@ -1047,6 +1049,10 @@ <h2 class=no-num id=index>Index</h2>
10471049
<li>creator, <a href="#cssvariablesdeclaration-creator"
10481050
title="section 4.2."><strong>4.2.</strong></a>
10491051

1052+
<li>CSS declaration block declarations, <a
1053+
href="#css-declaration-block-declarations"
1054+
title="section 4.2."><strong>4.2.</strong></a>
1055+
10501056
<li><a href="#cssstyledeclaration"><code>CSSStyleDeclaration</code></a>,
10511057
<a href="#cssstyledeclaration"
10521058
title="section 4.1."><strong>4.1.</strong></a>

css-variables/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ <h3 id='the-cssvariablesdeclaration-interface'>
594594
<p>
595595
The <a href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-names">supported property names</a>
596596
on a CSSStyleDeclaration object
597-
are the property names of all the <i>custom properties</i> in the <a href="http://dev.w3.org/csswg/cssom/#css-declaration-block-declarations">CSS declaration block declarations</a>,
597+
are the property names of all the <i>custom properties</i> in the <a href="http://dev.w3.org/csswg/cssom/#css-declaration-block-declarations"><dfn>CSS declaration block declarations</dfn></a>,
598598
with the "var-" prefix removed.
599599

600600
<p>

0 commit comments

Comments
 (0)