@@ -2507,7 +2507,7 @@ APIs for Parsing and Manipulating Colors</h2>
2507
2507
2508
2508
<li>
2509
2509
It's explicitly designed to be easy to extend with new methods and new color types,
2510
- and gives guidance to help you do it correctly (see <a section href=" #api-extending"></a> ).
2510
+ and gives guidance to help you do it correctly (see [[ #api-extending]] ).
2511
2511
</ul>
2512
2512
2513
2513
<h3 id='api-RGBColor'>
@@ -2518,7 +2518,7 @@ The RGBColor Object</h3>
2518
2518
(that is, capable of being converted into a roughly equivalent RGB color).
2519
2519
As a result, it's always possible to convert a UA-defined color class
2520
2520
(and any properly-designed author-defined color classes,
2521
- see <a section href=" #api-extending"></a> )
2521
+ see [[ #api-extending]] )
2522
2522
into an equivalent <a idl>RGBColor</a> instance.
2523
2523
This fact is used to aid in automatic handling of several methods common to all color classes.
2524
2524
@@ -3022,7 +3022,7 @@ The CMYKColor Class</h3>
3022
3022
construct an instance of the <a idl>CMYKColor</a> class
3023
3023
with attributes initialized to represent that color
3024
3024
converted to CMYK,
3025
- per <a section href=" #cmyk-rgb"></a> .
3025
+ per [[ #cmyk-rgb]] .
3026
3026
3027
3027
Otherwise, throw an XXXError.
3028
3028
@@ -3052,7 +3052,7 @@ The CMYKColor Class</h3>
3052
3052
that the <a idl for>CMYKColor</a> instance represents.
3053
3053
3054
3054
Note: The <a idl for>CMYKColor</a> class's c, m, y, k, and a attributes have a normal range of 0 to 1.
3055
- Its fallback attribute is always an RGBColor, or null (indicating it should convert itself to an RGBColor per <a section href=" #cmyk-rgb"></a> ).
3055
+ Its fallback attribute is always an RGBColor, or null (indicating it should convert itself to an RGBColor per [[ #cmyk-rgb]] ).
3056
3056
3057
3057
<dt> <dfn attribute>stringifiers</dfn> <span attribute-info for="CMYKColor/stringifiers"></span>
3058
3058
<dd>
@@ -3452,7 +3452,7 @@ The CSSColor Object</h3>
3452
3452
representing that value;
3453
3453
and <a idl>forward()</a> ,
3454
3454
which is a helper function for adding new methods to all color classes
3455
- (see <a section href=" #api-adding-methods"></a> for more detail on using this function).
3455
+ (see [[ #api-adding-methods]] for more detail on using this function).
3456
3456
3457
3457
<div class='example'>
3458
3458
The most common use of this interface is to parse color strings into an appropriate color object.
@@ -3563,7 +3563,7 @@ The CSSColor Object</h3>
3563
3563
3564
3564
Note: For this to work correctly,
3565
3565
author-defined color classes must have certain methods and behavior,
3566
- as defined in <a section href=" #api-extending"></a> .
3566
+ as defined in [[ #api-extending]] .
3567
3567
If an author-defined class violates these expectations,
3568
3568
defaulted methods might work incorrectly
3569
3569
or throw errors.
0 commit comments