Skip to content

Commit

Permalink
[css-overflow-4] blockification of -webkit-box happens at computed va…
Browse files Browse the repository at this point in the history
…lue time

See #10435
  • Loading branch information
frivoal committed Aug 30, 2024
1 parent b44e794 commit a7a5838
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions css-overflow-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ Legacy compatibility</h4>

The <dfn value for=continue>-webkit-discard</dfn> value behaves identically to ''discard'',
except that it only takes effect
if the value of the 'display' property
if the [=specified value=] of the 'display' property
is ''-webkit-box'' or ''-webkit-inline-box''
and the value of the '-webkit-box-orient' property
is ''-webkit-box-orient/vertical''.
Expand Down Expand Up @@ -1125,9 +1125,11 @@ Fragmentation of Overflow: the 'continue' property</h3>
for compatibility (see [[#webkit-line-clamp]]),
when the [=computed value=] of the 'continue' property is ''discard''
and the [=computed value=] of the '-webkit-box-orient' property is ''vertical'':
* If the [=computed value=] of the 'display' property is ''-webkit-box'',
the box establishes a [=BFC=] as if it had been ''flow-root''.
* If the [=computed value=] of the 'display property is ''-webkit-inline-box'',
* If the [=specified value=] of the 'display' property is ''-webkit-box'',
the [=computed value=] is becomes ''flow-root'' and

This comment has been minimized.

Copy link
@MrHBS

MrHBS Aug 30, 2024

Contributor

there is an extra is here

This comment has been minimized.

Copy link
@frivoal

frivoal Sep 10, 2024

Author Collaborator

Fixed in 1fa6a42

the box establishes a [=BFC=].
* If the [=specified value=] of the 'display property is ''-webkit-inline-box'',
the [=computed value=] is becomes ''flow-root'' and
the box establishes a [=BFC=] as if it had been ''inline-block''.

Note: This means that 'line-clamp' will work
Expand Down

0 comments on commit a7a5838

Please sign in to comment.