Skip to content

Commit ca31a0d

Browse files
committed
[css-overflow-3][css-overflow-4][editorial] Fixed Bikeshed warnings
1 parent 636a545 commit ca31a0d

2 files changed

Lines changed: 34 additions & 21 deletions

File tree

css-overflow-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Scrollable Overflow</h3>
287287
outside the conceptual “content edge” of the [=scroll container=]’s content.
288288

289289
<figure>
290-
<img src="images/scroll-align-padding.jpg">
290+
<img src="images/scroll-align-padding.jpg" width="917" height="404" alt="">
291291
<figcaption>
292292
Issue: Replace this image with a proper SVG.
293293
</figcaption>

css-overflow-4/Overview.bs

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,8 @@ Handling of Excess Content: the 'continue' property</h3>
13771377
different renderings are possible based on the combination of the 'overflow' and 'continue' property.
13781378

13791379
<figure>
1380-
<img src="images/continue-flow.png" alt="article with one excessively long line and four more that can fit in the block direction">
1380+
<img src="images/continue-flow.png" width="100" height="109"
1381+
alt="article with one excessively long line and four more that can fit in the block direction">
13811382
</figure>
13821383

13831384

@@ -1397,21 +1398,29 @@ Handling of Excess Content: the 'continue' property</h3>
13971398
<tr>
13981399
<th>''overflow: visible''
13991400

1400-
<td style=vertical-align:top><img src="images/continue-discard-visible.png" alt=
1401-
"rendering with continue:discard and overflow:visible"></td>
1401+
<td style=vertical-align:top>
1402+
<img src="images/continue-discard-visible.png" width="88" height="90"
1403+
alt="rendering with continue:discard and overflow:visible">
1404+
</td>
14021405

1403-
<td><img src="images/continue-auto-visible.png"
1404-
alt="rendering with continue:auto and overflow:visible"></td>
1406+
<td>
1407+
<img src="images/continue-auto-visible.png" width="89" height="116"
1408+
alt="rendering with continue:auto and overflow:visible">
1409+
</td>
14051410
</tr>
14061411

14071412
<tr>
14081413
<th>''overflow: hidden''
14091414

1410-
<td><img src="images/continue-discard-hidden.png" alt=
1411-
"rendering with continue:discard and overflow:hidden"></td>
1415+
<td>
1416+
<img src="images/continue-discard-hidden.png" width="78" height="90"
1417+
alt="rendering with continue:discard and overflow:hidden">
1418+
</td>
14121419

1413-
<td><img src="images/continue-auto-hidden.png"
1414-
alt="rendering with continue:auto and overflow:hidden"></td>
1420+
<td>
1421+
<img src="images/continue-auto-hidden.png" width="78" height="90"
1422+
alt="rendering with continue:auto and overflow:hidden">
1423+
</td>
14151424
</tr>
14161425
</table>
14171426

@@ -1860,11 +1869,11 @@ but non-experimental implementation is not recommended.
18601869

18611870
<figure>
18621871
<figcaption>With classic scrollbars</figcaption>
1863-
<img srcset="images/scrollbar-gutter-complex-classic.png 2x">
1872+
<img srcset="images/scrollbar-gutter-complex-classic.png 2x" width="318" height="201">
18641873
</figure>
18651874
<figure>
18661875
<figcaption>With overlay scrollbars</figcaption>
1867-
<img srcset="images/scrollbar-gutter-complex-overlay.png 2x">
1876+
<img srcset="images/scrollbar-gutter-complex-overlay.png 2x" width="318" height="201">
18681877
</figure>
18691878
</div>
18701879

@@ -1905,7 +1914,7 @@ The new values of this property have the following meaning:
19051914
<figure>
19061915
<figcaption>Checkboxes adjacent to a classic scrollbar</figcaption>
19071916
<img
1908-
src=images/todo-classic.png
1917+
src="images/todo-classic.png" width="208" height="153"
19091918
alt="
19101919
A scrollable todo list with checkboxes on the right edge,
19111920
adjacent to the scrollbar.
@@ -1914,7 +1923,7 @@ The new values of this property have the following meaning:
19141923
<figure>
19151924
<figcaption>Checkboxes and an overlay scrollbar</figcaption>
19161925
<img
1917-
src=images/todo-overlay.png
1926+
src="images/todo-overlay.png" width="418" height="154"
19181927
alt="
19191928
A scrollable todo list with checkboxes on the right edge.
19201929
When the overlay scrollbar is hidden,
@@ -1938,7 +1947,7 @@ The new values of this property have the following meaning:
19381947
<figure>
19391948
<figcaption>Checkboxes and an overlay scrollbar and ''scrollbar-gutter: always''</figcaption>
19401949
<img
1941-
src=images/todo-overlay-always.png
1950+
src="images/todo-overlay-always.png" width="419" height="153"
19421951
alt="
19431952
A scrollable todo list with checkboxes on the right edge,
19441953
shifted left by a gutter.
@@ -1994,7 +2003,7 @@ The new values of this property have the following meaning:
19942003

19952004
<figure>
19962005
<img
1997-
srcset="images/match-parent.png 2x"
2006+
srcset="images/match-parent.png 2x" width="288" height="272"
19982007
alt="The gutter of a ''scrollbar-gutter: match-parent'' box overlaps with that of its parent.">
19992008
</figure>
20002009

@@ -2014,23 +2023,27 @@ The new values of this property have the following meaning:
20142023
<div class=example>
20152024
<figure>
20162025
<figcaption>A scroller with an child whose background intrudes into the gutter, thanks to ''scrollbar-gutter/match-parent''</figcaption>
2017-
<img srcset="images/match-parent-ex1.png 4x">
2026+
<img srcset="images/match-parent-ex1.png 4x" width="272" height="288" alt="">
20182027
</figure>
20192028
<figure>
20202029
<figcaption>A ''scrollbar-gutter/match-parent'' box inside a scroll container with classic scrollbars, ''overflow: auto'', and ''scrollbar-gutter: stable''</figcaption>
2021-
<img srcset="images/match-parent-classic.png 2x" alt="The background of the match-parent element is visible in the gutter when the scrollbar isn't there.">
2030+
<img srcset="images/match-parent-classic.png 2x" width="428" height="206"
2031+
alt="The background of the match-parent element is visible in the gutter when the scrollbar isn't there.">
20222032
</figure>
20232033
<figure>
20242034
<figcaption>A scrollable box with ''scrollbar-gutter/match-parent'' inside another scroll container</figcaption>
2025-
<img srcset="images/match-parent-nested.png 2x" alt="The element has a double gutter, one for its own scrollbar, one to match its parent's.">
2035+
<img srcset="images/match-parent-nested.png 2x" width="630" height="630"
2036+
alt="The element has a double gutter, one for its own scrollbar, one to match its parent's.">
20262037
</figure>
20272038
<figure>
20282039
<figcaption>A scrollable box with ''scrollbar-gutter/match-parent'' inside another scroll container, with bidi</figcaption>
2029-
<img srcset="images/match-parent-bidi.png 2x" alt="The element has a two gutters, one for its own scrollbar, one to match its parent's, on opposite sides.">
2040+
<img srcset="images/match-parent-bidi.png 2x" width="630" height="273"
2041+
alt="The element has a two gutters, one for its own scrollbar, one to match its parent's, on opposite sides.">
20302042
</figure>
20312043
<figure>
20322044
<figcaption>A scrollable box with ''scrollbar-gutter:match-parent stable'' inside another scroll container, with bidi</figcaption>
2033-
<img srcset="images/match-parent-stable.png 2x" alt="The element has a two gutters, one for its own scrollbar (not shown, as it's not overflowing), one to match its parent's, on opposite sides.">
2045+
<img srcset="images/match-parent-stable.png 2x" width="630" height="273"
2046+
alt="The element has a two gutters, one for its own scrollbar (not shown, as it's not overflowing), one to match its parent's, on opposite sides.">
20342047
</figure>
20352048
</div>
20362049
</dl>

0 commit comments

Comments
 (0)