Skip to content

Commit

Permalink
Bug 1791226 - Don't paint line-clamped lines. r=layout-reviewers,dshin
Browse files Browse the repository at this point in the history
This matches the proposal in
w3c/csswg-drafts#10816, and creates much better
behavior.

Differential Revision: https://phabricator.services.mozilla.com/D157578

UltraBlame original commit: c6ce92301ca11292a5dd25f07a80243592c94e5a
  • Loading branch information
marco-c committed Oct 22, 2024
1 parent 3000410 commit c58451b
Show file tree
Hide file tree
Showing 6 changed files with 296 additions and 108 deletions.
6 changes: 2 additions & 4 deletions layout/generic/TextOverflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4719,9 +4719,8 @@ f
f
-
>
HasAnyStateBits
HasLineClampEllipsis
(
NS_BLOCK_HAS_LINE_CLAMP_ELLIPSIS
)
;
}
Expand Down Expand Up @@ -4754,9 +4753,8 @@ return
aBlockFrame
-
>
HasAnyStateBits
HasLineClampEllipsis
(
NS_BLOCK_HAS_LINE_CLAMP_ELLIPSIS
)
;
}
Expand Down
Loading

0 comments on commit c58451b

Please sign in to comment.