Skip to content

Commit 89e5017

Browse files
committed
Define overflow directions in terms of block-end and inline-end.
Fixes w3c#1569.
1 parent f58915b commit 89e5017

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

cssom-view-1/Overview.bs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -139,24 +139,7 @@ An element <var>body</var> (which will be <a>the HTML <code>body</code> element<
139139
Note: A <{body}> element that is <a>potentially scrollable</a> might not have a <a>scrolling box</a>.
140140
For instance, it could have a used value of 'overflow' being ''overflow/auto'' but not have its content overflowing its content area.
141141

142-
A <a>scrolling box</a> of a <a>viewport</a> or element has two <dfn>overflow directions</dfn>, depending on the <a>viewport’s</a> or
143-
element's <a>block flow direction</a> and <a>inline base direction</a>, as follows:
144-
145-
<dl class=switch>
146-
<dt>If the <a>block flow direction</a> is top-to-bottom and the <a>inline base direction</a> is left-to-right
147-
<dt>If the <a>block flow direction</a> is left-to-right and the <a>inline base direction</a> is left-to-right
148-
<dd>Rightward and downward.
149-
150-
<dt>If the <a>block flow direction</a> is top-to-bottom and the <a>inline base direction</a> is right-to-left
151-
<dt>If the <a>block flow direction</a> is right-to-left and the <a>inline base direction</a> is left-to-right
152-
<dd>Leftward and downward.
153-
154-
<dt>If the <a>block flow direction</a> is right-to-left and the <a>inline base direction</a> is right-to-left
155-
<dd>Leftward and upward.
156-
157-
<dt>If the <a>block flow direction</a> is left-to-right and the <a>inline base direction</a> is right-to-left
158-
<dd>Rightward and upward.
159-
</dl>
142+
A <a>scrolling box</a> of a <a>viewport</a> or element has two <dfn>overflow directions</dfn>, which are the <a>block-end</a> and <a>inline-end</a> directions for that viewport or element.
160143

161144
The term <dfn>scrolling area</dfn> refers to a box of a <a>viewport</a> or an element that has the following edges, depending on the
162145
<a>viewport’s</a> or element's <a>scrolling box’s</a> <a>overflow directions</a>.

0 commit comments

Comments
 (0)