@@ -922,17 +922,11 @@ Legacy compatibility</h4>
922922 * it sets 'continue' to ''-webkit-discard'' instead of ''discard''
923923 * it unconditionally sets 'block-ellipsis' to ''block-ellipsis/auto''
924924
925- Additionally, for children (including anonymous children)
926- of boxes whose 'display' property computes to ''-webkit-box'' or ''-webkit-inline-box'' ,
927- the used values of the 'max-lines' , 'continue' , and 'block-ellipsis' properties
928- are taken from the computed values of the parent box;
929- the computed values of these properties on the box itself are ignored.
930-
931925 The <dfn value for=continue>-webkit-discard</dfn> value behaves identically to ''discard'' ,
932926 except that it only takes effect
933- if the computed value of the 'display' property on the parent
927+ if the value of the 'display' property
934928 is ''-webkit-box'' or ''-webkit-inline-box''
935- and the computed value of the '-webkit-box-orient' property on the parent
929+ and the value of the '-webkit-box-orient' property
936930 is ''-webkit-box-orient/vertical'' .
937931
938932 Note: Implementations of the legacy '-webkit-line-clamp' property
@@ -1127,6 +1121,22 @@ Fragmentation of Overflow: the 'continue' property</h3>
11271121 if it is laid out above the position
11281122 representing the end of this <a>fragmentation container</a> .
11291123
1124+ Additionaliy,
1125+ for compatibility (see [[#webkit-line-clamp]] ),
1126+ when the [=computed value=] of the 'continue' property is ''discard''
1127+ and the [=computed value=] of the '-webkit-box-orient' property is ''vertical'' :
1128+ * If the [=computed value=] of the 'display' property is ''-webkit-box'' ,
1129+ the box establishes a [=BFC=] as if it had been ''flow-root'' .
1130+ * If the [=computed value=] of the 'display property is ''-webkit-inline-box' ',
1131+ the box establishes a [=BFC=] as if it had been ''inline-block'' .
1132+
1133+ Note: This means that 'line-clamp' will work
1134+ if both or neither of ''-webkit-box-orient: vertical''
1135+ and ''display: -webkit-box'' or ''display: -webkit-inline-box'' are set,
1136+ but not if ''display: -webkit-box'' or ''display: -webkit-inline-box'' is set
1137+ while ''-webkit-box-orient: vertical'' isn't,
1138+ as the box would be a [=flex container=] rather than a [=block container=] ,
1139+ and thus the 'continue' property would not apply.
11301140
11311141<h2 id=sbg-ext class=nonum>
11321142Appendix A: Possible extensions for ''scrollbar-gutter''</h2>
@@ -1445,6 +1455,10 @@ Recent Changes</h3>
14451455 (<a href="https://github.com/w3c/csswg-drafts/issues/9815">Issue 9815</a> )
14461456 <li> Establish an Independent Formatting Context when ''continue: discard'' is used.
14471457 (<a href="https://github.com/w3c/csswg-drafts/issues/10323">Issue 10323</a> )
1458+ <li> Blockify elements with <code> (-webkit-)line-clamp</code> ,
1459+ <code> display: -webkit-(inline-)box</code>
1460+ and <code> -webkit-box-orient: vertical</code> .
1461+ (<a href="https://github.com/w3c/csswg-drafts/issues/10324">Issue 10324</a> )
14481462 </ul>
14491463
14501464<h3 id="changes-l3">
0 commit comments