Skip to content

Commit d998236

Browse files
committed
[css-color] bikeshed update
--HG-- extra : rebase_source : e5ad46708719071780e0515b01e57cb9ba1a62a8
1 parent 4fa1661 commit d998236

File tree

2 files changed

+147
-147
lines changed

2 files changed

+147
-147
lines changed

css-color/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2507,7 +2507,7 @@ APIs for Parsing and Manipulating Colors</h2>
25072507

25082508
<li>
25092509
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]]).
25112511
</ul>
25122512

25132513
<h3 id='api-RGBColor'>
@@ -2518,7 +2518,7 @@ The RGBColor Object</h3>
25182518
(that is, capable of being converted into a roughly equivalent RGB color).
25192519
As a result, it's always possible to convert a UA-defined color class
25202520
(and any properly-designed author-defined color classes,
2521-
see <a section href="#api-extending"></a>)
2521+
see [[#api-extending]])
25222522
into an equivalent <a idl>RGBColor</a> instance.
25232523
This fact is used to aid in automatic handling of several methods common to all color classes.
25242524

@@ -3022,7 +3022,7 @@ The CMYKColor Class</h3>
30223022
construct an instance of the <a idl>CMYKColor</a> class
30233023
with attributes initialized to represent that color
30243024
converted to CMYK,
3025-
per <a section href="#cmyk-rgb"></a>.
3025+
per [[#cmyk-rgb]].
30263026

30273027
Otherwise, throw an XXXError.
30283028

@@ -3052,7 +3052,7 @@ The CMYKColor Class</h3>
30523052
that the <a idl for>CMYKColor</a> instance represents.
30533053

30543054
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]]).
30563056

30573057
<dt><dfn attribute>stringifiers</dfn> <span attribute-info for="CMYKColor/stringifiers"></span>
30583058
<dd>
@@ -3452,7 +3452,7 @@ The CSSColor Object</h3>
34523452
representing that value;
34533453
and <a idl>forward()</a>,
34543454
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).
34563456

34573457
<div class='example'>
34583458
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>
35633563

35643564
Note: For this to work correctly,
35653565
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]].
35673567
If an author-defined class violates these expectations,
35683568
defaulted methods might work incorrectly
35693569
or throw errors.

0 commit comments

Comments
 (0)