Skip to content

Commit 6b0b0d1

Browse files
committed
[css-color-5] consistent heading syntax
1 parent 09bc009 commit 6b0b0d1

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

css-color-4/Overview.bs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4353,8 +4353,8 @@ Simple alpha compositing</h3>
43534353
When drawing, implementations must handle alpha
43544354
according to the rules in <a href="https://www.w3.org/TR/compositing-1/#simplealphacompositing">Section 5.1 Simple alpha compositing</a> of [[!Compositing]].
43554355

4356-
Interpolation {#interpolation}
4357-
===================================
4356+
<h2 id="interpolation">
4357+
Interpolation</h2>
43584358

43594359
Color interpolation happens with
43604360
gradients,
@@ -4381,8 +4381,8 @@ Simple alpha compositing</h3>
43814381
em { color: red; }</code>
43824382
See <a href="https://github.com/w3c/csswg-drafts/issues/445">Issue 445</a>.
43834383

4384-
Color space for interpolation {#interpolation-space}
4385-
------------------------------
4384+
<h3 id="interpolation-space">
4385+
Color space for interpolation</h3>
43864386

43874387
Issue: Should gamut mapping occur before or after interpolation?
43884388

@@ -4392,9 +4392,8 @@ Simple alpha compositing</h3>
43924392
Host syntax can override the interpolation color space and specify which color space is used for interpolation.
43934393
For example, 'color-mix' and 'color-adjust' override the default to LCH.
43944394

4395-
4396-
Interpolating with alpha {#interpolation-alpha}
4397-
------------------------
4395+
<h3 id="interpolation-alpha">
4396+
Interpolating with alpha</h3>
43984397

43994398
When the colors to be interpolated are not fully opaque,
44004399
they are transformed into <dfn export>premultiplied color values</dfn>
@@ -4450,8 +4449,8 @@ Simple alpha compositing</h3>
44504449

44514450
Issue(445):
44524451

4453-
Hue interpolation {#hue-interpolation}
4454-
-------------------
4452+
<h3 id="hue-interpolation">
4453+
Hue interpolation</h3>
44554454

44564455
Issue(4928): How to handle achromatic interpolation?
44574456

0 commit comments

Comments
 (0)