Skip to content

Commit 0e32eb9

Browse files
committed
[css-overflow-3] More precisely define impact of scrollbars on layout (and backgrounds). w3c#3348
1 parent 278c91c commit 0e32eb9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

css-overflow-3/Overview.bs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,15 @@ Overflow in Print and Other Static Media</h3>
484484
<h3 id="scrollbar-layout">
485485
Scrollbars and Layout</h3>
486486

487-
In the case of a scrollbar being placed on an edge of the element's box,
488-
it should be inserted between the inner border edge
487+
When reserving space for a scrollar placed at the edge of an element's box,
488+
the reserved space is inserted between the inner border edge
489489
and the outer padding edge.
490-
Any space taken up by the scrollbars should be
491-
taken out of (subtracted from the dimensions of)
492-
the containing block formed by the element with the scrollbars.
490+
For the purpose of the [=background positioning area=] and [=background painting area=], however,
491+
this reserved space is considered to be part of the [=padding box=].
492+
493+
When the box is sized to fit its contents,
494+
this reserved space is added to the size of its contents.
495+
It is otherwise subtracted from space alotted to the [=content area=].
493496

494497
Issue: import examples from [[CSS3-BOX]].
495498

0 commit comments

Comments
 (0)