Skip to content

Commit a7a5838

Browse files
committed
[css-overflow-4] blockification of -webkit-box happens at computed value time
See #10435
1 parent b44e794 commit a7a5838

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

css-overflow-4/Overview.bs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ Legacy compatibility</h4>
924924

925925
The <dfn value for=continue>-webkit-discard</dfn> value behaves identically to ''discard'',
926926
except that it only takes effect
927-
if the value of the 'display' property
927+
if the [=specified value=] of the 'display' property
928928
is ''-webkit-box'' or ''-webkit-inline-box''
929929
and the value of the '-webkit-box-orient' property
930930
is ''-webkit-box-orient/vertical''.
@@ -1125,9 +1125,11 @@ Fragmentation of Overflow: the 'continue' property</h3>
11251125
for compatibility (see [[#webkit-line-clamp]]),
11261126
when the [=computed value=] of the 'continue' property is ''discard''
11271127
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'',
1128+
* If the [=specified value=] of the 'display' property is ''-webkit-box'',
1129+
the [=computed value=] is becomes ''flow-root'' and
1130+
the box establishes a [=BFC=].
1131+
* If the [=specified value=] of the 'display property is ''-webkit-inline-box'',
1132+
the [=computed value=] is becomes ''flow-root'' and
11311133
the box establishes a [=BFC=] as if it had been ''inline-block''.
11321134

11331135
Note: This means that 'line-clamp' will work

0 commit comments

Comments
 (0)