Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 91ceda7

Browse files
mstenshomoz-wptsync-bot
authored andcommitted
Bug 1956588 [wpt PR 51607] - Printing: Fix counter crash when using containment., a=testonly
Automatic update from web-platform-tests Printing: Fix counter crash when using containment. Containment boundaries are expressed as nullptr in the counter stack. Bug: 400087471, 400087476 Change-Id: I499f5bbeabfae59424618c8001ad1ba3d74f3761 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6395508 Reviewed-by: Daniil Sakhapov <[email protected]> Commit-Queue: Morten Stenshorne <[email protected]> Cr-Commit-Position: refs/heads/main@{#1438176} -- wpt-commits: bdcb4d7c81855dcc162009d0495c8c2d18802ea9 wpt-pr: 51607
1 parent c5b35e4 commit 91ceda7

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
3+
<link rel="help" href="https://issues.chromium.org/issues/400087471">
4+
<style>
5+
:root {
6+
counter-increment: a1 9;
7+
container-type: inline-size;
8+
}
9+
</style>
10+
<script>
11+
window.print();
12+
</script>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
3+
<link rel="help" href="https://issues.chromium.org/issues/400087476">
4+
<style>
5+
:root {
6+
contain: style;
7+
counter-increment: a1;
8+
}
9+
</style>
10+
<script>
11+
window.print();
12+
</script>

0 commit comments

Comments
 (0)