Skip to content

Commit 9b290fa

Browse files
authored
[css-contain] Remove 'text-overflow' from paint-containment optimizations (#13973)
1 parent 55be96e commit 9b290fa

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎css-contain-1/Overview.bs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ Possible Paint-Containment Optimizations</h4>
10991099
and could otherwise be skipped.
11001100

11011101
2. Unless the clipped content is made accessible via a separate mechanism
1102-
such as the 'overflow', 'resize', or 'text-overflow' properties,
1102+
such as the 'overflow' or 'resize' properties,
11031103
the UA can reserve "canvas" space for the box exactly the box's size.
11041104
(In similar, scrollable, situations, like ''overflow: hidden'',
11051105
it's possible to scroll to the currently-clipped content,
@@ -1135,7 +1135,7 @@ This appendix is <em>informative</em>.
11351135
<h3 id="2024-06-25-changes">Changes from the
11361136
<a href="https://www.w3.org/TR/2024/REC-css-contain-1-20240625/">Recommendation of 25 June 2024</a></h3>
11371137

1138-
No change yet.
1138+
* Removed 'text-overflow' from the non-normative list of properties that are claimed to be able to reserve "canvas" space in section [[#containment-paint-opt]].
11391139

11401140
<h3 id=old-changes oldids="2022-10-25-changes, 2020-12-22-changes, 2019-11-21-changes, 2019-04-30-changes, 2018-11-08-changes,2018-05-24-changes, 2017-08-08-changes, 2017-04-19-changes, fpwd-changes">
11411141
Earlier Changes</h3>

‎css-contain-2/Overview.bs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ Possible Paint-Containment Optimizations</h4>
15351535
and could otherwise be skipped.
15361536

15371537
2. Unless the clipped content is made accessible via a separate mechanism
1538-
such as the 'overflow', 'resize', or 'text-overflow' properties,
1538+
such as the 'overflow' or 'resize' properties,
15391539
the UA can reserve "canvas" space for the box exactly the box's size.
15401540
(In similar, scrollable, situations, like ''overflow: hidden'',
15411541
it's possible to scroll to the currently-clipped content,
@@ -2692,6 +2692,7 @@ Changes from <a href="https://www.w3.org/TR/2022/WD-css-contain-2-20220917/">202
26922692
(<a href="https://github.com/w3c/csswg-drafts/issues/10433">Issue 10433</a>)
26932693
* Make the 'content-visibility' property animatable.
26942694
(<a href="https://github.com/w3c/csswg-drafts/issues/8627">Issue 8627</a>)
2695+
* Removed 'text-overflow' from the non-normative list of properties that are claimed to be able to reserve "canvas" space in section [[#containment-paint-opt]].
26952696

26962697
<h3 id="changes-since-2020-12-16">
26972698
Changes from <a href="https://www.w3.org/TR/2020/WD-css-contain-2-20201216/">2020-12-16 Working Draft</a>

0 commit comments

Comments
 (0)