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 1bb7f98 commit f884aa8
Show file tree
Hide file tree
Showing 6 changed files with 377 additions and 160 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 f884aa8

Please sign in to comment.