Skip to content

Commit e2dd336

Browse files
committed
[css-text-4] fix wrap-* applies-to
1 parent 24fe0fe commit e2dd336

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

css-text-4/Overview.bs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Inline breaks between boxes: the 'wrap-before'/'wrap-after' properties</h3>
259259
Name: wrap-before, wrap-after
260260
Value: auto | avoid | avoid-line | avoid-flex | line | flex
261261
Initial: auto
262-
Applies to: all elements
262+
Applies to: <a>inline-level</a> boxes and <a>flex items</a>
263263
Inherited: no
264264
Percentages: n/a
265265
Computed value: as specified
@@ -300,13 +300,12 @@ Inline breaks between boxes: the 'wrap-before'/'wrap-after' properties</h3>
300300
<dt><dfn>line</dfn>
301301
<dd>
302302
Force a line break before/after the element
303-
if this is a valid line break point.
303+
if the element is an inline-level box.
304304

305305
<dt><dfn>flex</dfn>
306306
<dd>
307-
Force a flex line break before/after the element
308-
if this is a valid flex line break point
309-
and the element is a flex item
307+
Force a <a>flex line</a> break before/after the element
308+
if the element is a flex item
310309
in a multi-line flex container.
311310
</dl>
312311

@@ -317,7 +316,7 @@ Line breaks within boxes: the 'wrap-inside' property</h3>
317316
Name: wrap-inside
318317
Value: auto | avoid
319318
Initial: auto
320-
Applies to: all elements
319+
Applies to: <a>inline boxes</a>
321320
Inherited: no
322321
Percentages: n/a
323322
Computed value: as specified

0 commit comments

Comments
 (0)