Skip to content

Commit 25c4de1

Browse files
committed
[css-overflow-3] Whitespace
1 parent e7fd1b8 commit 25c4de1

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

css-overflow-3/Overview.bs

+17-13
Original file line numberDiff line numberDiff line change
@@ -149,21 +149,25 @@ Scrollable overflow</h3>
149149

150150
The <a>scrollable overflow region</a> is the union of:
151151
<ul>
152-
<li>the box’s own content and padding areas
153-
<li>all line boxes directly contained by the box
154-
<li>the margin boxes <em>unioned with</em> the border boxes
155-
of all boxes for which it is the containing block
156-
(accounting for transforms as described below).
157-
Issue: Only Blink (and presumably WebKit) use the margin box for abspos; other browsers use the border box.
158-
Can we convince everyone else to change? Because using the border box is kindof hostile.
152+
<li>
153+
the box’s own content and padding areas
154+
<li>
155+
all line boxes directly contained by the box
156+
<li>
157+
the margin boxes <em>unioned with</em> the border boxes
158+
of all boxes for which it is the containing block
159+
(accounting for transforms as described below).
160+
Issue: Only Blink (and presumably WebKit) use the margin box for abspos; other browsers use the border box.
161+
Can we convince everyone else to change? Because using the border box is kindof hostile.
159162
<!-- testcase: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0A%20%20div%20%7B%20height%3A%2050px%3B%20overflow%3A%20scroll%3B%20border%3A%20solid%3B%20position%3A%20relative%3B%7D%0A%20%20p%20%7B%20margin%3A%2025px%3B%20background%3A%20red%3B%20%7D%0A%20%20q%20%7B%20position%3A%20absolute%3B%20background%3A%20blue%3B%20top%3A%2025px%3B%20margin%3A%2025px%3B%20%7D%0A%3C%2Fstyle%3E%0A%3Cdiv%3E%0A%20%20%3Cp%3ETest%20%3Cq%3ETest2%0A%3C%2Fdiv%3E -->
160163

161-
<li>the <a>scrollable overflow regions</a> of all of the above boxes
162-
(accounting for transforms as described below),
163-
provided they themselves have ''overflow: visible''
164-
(i.e. do not themselves trap the overflow)
165-
and that overflow is not already clipped
166-
by the 'clip' property.
164+
<li>
165+
the <a>scrollable overflow regions</a> of all of the above boxes
166+
(accounting for transforms as described below),
167+
provided they themselves have ''overflow: visible''
168+
(i.e. do not themselves trap the overflow)
169+
and that overflow is not already clipped
170+
by the 'clip' property.
167171

168172
Note: The 'masking' properties do not affect the <a>scrollable overflow region</a>.
169173

0 commit comments

Comments
 (0)