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: cf9f54eef33465d089f850a55da5734a911fdac4
  • Loading branch information
marco-c committed Oct 22, 2024
1 parent 463a5fc commit 6e3f0c0
Show file tree
Hide file tree
Showing 6 changed files with 293 additions and 118 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 6e3f0c0

Please sign in to comment.