Skip to content

Commit 6e3f0c0

Browse files
committed
Bug 1791226 - Don't paint line-clamped lines. r=layout-reviewers,dshin
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
1 parent 463a5fc commit 6e3f0c0

File tree

6 files changed

+293
-118
lines changed

6 files changed

+293
-118
lines changed

layout/generic/TextOverflow.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4719,9 +4719,8 @@ f
47194719
f
47204720
-
47214721
>
4722-
HasAnyStateBits
4722+
HasLineClampEllipsis
47234723
(
4724-
NS_BLOCK_HAS_LINE_CLAMP_ELLIPSIS
47254724
)
47264725
;
47274726
}
@@ -4754,9 +4753,8 @@ return
47544753
aBlockFrame
47554754
-
47564755
>
4757-
HasAnyStateBits
4756+
HasLineClampEllipsis
47584757
(
4759-
NS_BLOCK_HAS_LINE_CLAMP_ELLIPSIS
47604758
)
47614759
;
47624760
}

0 commit comments

Comments
 (0)