Skip to content

Commit a85fc57

Browse files
committed
[css-color] Put warning in the code, too.
1 parent fa11ca0 commit a85fc57

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

css-color/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3297,6 +3297,8 @@ Adding New Color Classes</h4>
32973297
"hsl": function(hsv) {
32983298
return hsv.toHSL().toString("hsl");
32993299
}
3300+
/* Don't define an "hsv" stringifier type,
3301+
because CSS won't understand it. */
33003302
}
33013303
</pre>
33023304

css-color/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3404,6 +3404,8 @@ <h4 class="heading settled heading" data-level=15.5.2 id=api-adding-classes><spa
34043404
"hsl": function(hsv) {
34053405
return hsv.toHSL().toString("hsl");
34063406
}
3407+
/* Don’t define an "hsv" stringifier type,
3408+
because CSS won’t understand it. */
34073409
}
34083410
</pre>
34093411

0 commit comments

Comments
 (0)