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 7cf14c7 commit b39198d
Show file tree
Hide file tree
Showing 6 changed files with 399 additions and 203 deletions.
6 changes: 2 additions & 4 deletions layout/generic/TextOverflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5602,9 +5602,8 @@ f
f
-
>
HasAnyStateBits
HasLineClampEllipsis
(
NS_BLOCK_HAS_LINE_CLAMP_ELLIPSIS
)
;
}
Expand Down Expand Up @@ -5637,9 +5636,8 @@ return
aBlockFrame
-
>
HasAnyStateBits
HasLineClampEllipsis
(
NS_BLOCK_HAS_LINE_CLAMP_ELLIPSIS
)
;
}
Expand Down
Loading

0 comments on commit b39198d

Please sign in to comment.