Skip to content

Commit d2b0872

Browse files
committed
[css-color-4][editorial] Add width/height attributes to all the SVG <img>s, and add an opaque backdrop and explicit width/height to the SVG files.
1 parent b430ee2 commit d2b0872

12 files changed

+29
-21
lines changed

css-color-4/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,7 +2791,7 @@ Device-independent Colors: Lab and LCH</h2>
27912791
the Lab color space is intended to be <em>perceptually uniform</em>.
27922792

27932793
<figure>
2794-
<img src="images/L-axis.svg" style="width: 30vmin">
2794+
<img src="images/L-axis.svg" width=240 height=575>
27952795
<figcaption>
27962796
This figure shows the Lightness axis of the CIE Lab colorspace.
27972797
Twenty neutral swatches are shown (L=0%, L=5%, to L=100%).
@@ -2832,7 +2832,7 @@ Device-independent Colors: Lab and LCH</h2>
28322832
towards the positive b axis.
28332833

28342834
<figure>
2835-
<img src="images/CH-plane-wheel.svg">
2835+
<img src="images/CH-plane-wheel.svg" width="500" height="500">
28362836
<figcaption>
28372837
This figure shows the L=50 plane of the CIE Lab colorspace.
28382838
20 degree increments in CIE LCH are displayed as circles
@@ -3341,7 +3341,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
33413341
Cl is the corresponding linear-light component.
33423342

33433343
<figure>
3344-
<img src="images/sRGB-prim-sec.svg" style="width: 53.8vmin"
3344+
<img src="images/sRGB-prim-sec.svg" width=540 height=520
33453345
alt="diagram of sRGB primaries and secondaries in LCH">
33463346
<figcaption>Visualization of the sRGB colorspace in LCH. The primaries and secondaries are shown.</figcaption>
33473347
</figure>
@@ -3382,7 +3382,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
33823382
</table>
33833383

33843384
<figure>
3385-
<img src="images/P3-prim-sec.svg" style="width: 60vmin"
3385+
<img src="images/P3-prim-sec.svg" width=580 height=560
33863386
alt="diagram of P3 primaries and secondaries in LCH">
33873387
<figcaption>Visualization of the P3 colorspace in LCH.
33883388
The primaries and secondaries are shown
@@ -3426,7 +3426,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
34263426
</table>
34273427

34283428
<figure>
3429-
<img src="images/a98-prim-sec.svg" style="width: 66.2vmin"
3429+
<img src="images/a98-prim-sec.svg" width=640 height=560
34303430
alt="diagram of a98 primaries and secondaries in LCH">
34313431
<figcaption>Visualization of the a98 colorspace in LCH.
34323432
The primaries and secondaries are shown
@@ -3500,7 +3500,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
35003500
C is the red, green or blue component.
35013501

35023502
<figure>
3503-
<img src="images/prophoto-prim-sec.svg" style="width: 80.68vmin"
3503+
<img src="images/prophoto-prim-sec.svg" width=780 height=760
35043504
alt="diagram of prophoto primaries and secondaries in LCH">
35053505
<figcaption>Visualization of the prophoto-rgb colorspace in LCH. The primaries and secondaries are shown
35063506
(but in sRGB, not in the correct colors).
@@ -3563,7 +3563,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
35633563
Cl is the corresponding linear-light component.
35643564

35653565
<figure>
3566-
<img src="images/2020-prim-sec.svg" style="width: 69.3vmin"
3566+
<img src="images/2020-prim-sec.svg" width=670 height=580
35673567
alt="diagram of rec2020 primaries and secondaries in LCH">
35683568
<figcaption>Visualization of the rec2020 colorspace in LCH. The primaries and secondaries are shown
35693569
(but in sRGB, not in the correct colors).
@@ -3884,7 +3884,7 @@ Also, procedures that rely on knowing the color
38843884
can proceed as normal.
38853885

38863886
<figure>
3887-
<img src="images/macbeth-roundtrip.svg" style="width: 60vmin">
3887+
<img src="images/macbeth-roundtrip.svg" width=670 height=450>
38883888
<figcaption>
38893889
<p>A color checker, used for ensuring color fidelity
38903890
in the print and photographic industries.
@@ -4191,7 +4191,7 @@ Device-dependent CMYK Colors: the ''device-cmyk()'' function</h2>
41914191
the colorimetry of the RGB space, and so on.
41924192

41934193
<figure>
4194-
<img src="images/macbeth-naive.svg" style="width: 60vmin">
4194+
<img src="images/macbeth-naive.svg" width=670 height=450>
41954195
<figcaption>
41964196
<p>A color checker, used for ensuring color fidelity
41974197
in the print and photographic industries.
@@ -4313,7 +4313,7 @@ Transparency: the 'opacity' property</h2>
43134313
any overlapping portions do not increase the opacity.
43144314

43154315
<figure id="arabic-opacity-rendering">
4316-
<img src="images/joining-and-transparency.svg"
4316+
<img src="images/joining-and-transparency.svg" width=713 height=156
43174317
alt="overlapping glyphs rendered correctly, and incorrectly">
43184318
<figcaption>
43194319
Correct and incorrect rendering of text

css-color-4/images/2020-prim-sec.svg

Lines changed: 2 additions & 1 deletion
Loading

css-color-4/images/CH-plane-wheel.svg

Lines changed: 2 additions & 1 deletion
Loading

css-color-4/images/L-axis.svg

Lines changed: 3 additions & 1 deletion
Loading

css-color-4/images/P3-prim-sec.svg

Lines changed: 2 additions & 1 deletion
Loading

css-color-4/images/a98-prim-sec.svg

Lines changed: 2 additions & 1 deletion
Loading

css-color-4/images/joining-and-transparency.svg

Lines changed: 1 addition & 1 deletion
Loading

css-color-4/images/macbeth-naive.svg

Lines changed: 1 addition & 1 deletion
Loading

css-color-4/images/macbeth-pdfium.svg

Lines changed: 1 addition & 1 deletion
Loading

css-color-4/images/macbeth-roundtrip.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)