Skip to content

Commit 19f59d1

Browse files
committed
[css-page-floats] map left/right to line-left/right for inline elements and clarify position of anchor
1 parent d652f0e commit 19f59d1

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

css-page-floats/Overview.bs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ Terminology</h2>
6060
<dt><dfn>Float anchor</dfn>
6161
<dd>
6262
The float anchor is the point in the flow where the float had appeared had
63-
it not been a float.
63+
it not been a float and instead had been a zero-width and zero-height
64+
inline element with no margins, borders or padding.
6465
<dt><dfn>Float containing block formatting context</dfn>
6566
<dd>
6667
The block formatting context inside of which the float is embedded.
@@ -334,13 +335,19 @@ And some more text&lt;/p>
334335
<dt><dfn>left</dfn>
335336

336337
<dd>
337-
Behave like block-end, inline-start or inline-end depending on the float
338+
If the <a>float reference</a> is a line box, behaves like inline-start or
339+
inline-end, whichever corresponds to line-left for the float reference.
340+
341+
Otherwise, behaves like block-end, inline-start or inline-end depending on the float
338342
containing block’s 'direction' and 'writing-mode'.
339343

340344
<dt><dfn>right</dfn>
341345

342346
<dd>
343-
Behave like block-start, inline-start or inline-end depending on the float
347+
If the <a>float reference</a> is a line box, behaves like inline-start or
348+
inline-end, whichever corresponds to line-right for the float reference.
349+
350+
Otherwise, behaves like block-start, inline-start or inline-end depending on the float
344351
containing block’s 'direction' and 'writing-mode'.
345352

346353
<dt><dfn>top</dfn>

0 commit comments

Comments
 (0)