Skip to content

Commit d472d42

Browse files
vmpstrchromium-wpt-export-bot
authored andcommitted
VT: Remove containment requirement.
This patch removes the containment requirement from view-transitions. This is to align with proposed resolution w3c/csswg-drafts#7882 [email protected], [email protected] Fixed: 1409491 Change-Id: Iad0eb54c8d2de503f209a58a9f438e586fcd6a36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4188811 Reviewed-by: David Bokan <[email protected]> Reviewed-by: Khushal Sagar <[email protected]> Commit-Queue: Vladimir Levin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1096187}
1 parent 36365cf commit d472d42

32 files changed

+0
-211
lines changed

css/css-view-transitions/3d-transform-incoming-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
background: blue;
1616
}
1717
.shared {
18-
contain: layout;
1918
width: 100px;
2019
height: 100px;
2120
}

css/css-view-transitions/3d-transform-incoming.html

-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
}
2626
.shared {
2727
view-transition-name: shared;
28-
contain: layout;
2928
width: 100px;
3029
height: 100px;
3130
}
@@ -34,7 +33,6 @@
3433
width: 10px;
3534
height: 10px;
3635
background: red;
37-
contain: layout;
3836
}
3937

4038
::view-transition-group(hidden) { animation-duration: 300s; }

css/css-view-transitions/3d-transform-outgoing-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
background: green;
1010
}
1111
.shared {
12-
contain: layout;
1312
width: 100px;
1413
height: 100px;
1514
}

css/css-view-transitions/3d-transform-outgoing.html

-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
}
2727
.shared {
2828
view-transition-name: shared;
29-
contain: layout;
3029
width: 100px;
3130
height: 100px;
3231
}
@@ -35,7 +34,6 @@
3534
width: 10px;
3635
height: 10px;
3736
background: red;
38-
contain: layout;
3937
}
4038

4139
::view-transition-group(hidden) { animation-duration: 300s; }

css/css-view-transitions/css-tags-paint-order-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
<style>
77
div {
8-
contain: layout;
98
position: absolute;
109
top: 50px;
1110
width: 100px;

css/css-view-transitions/css-tags-paint-order.html

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<script src="/common/reftest-wait.js"></script>
99
<style>
10-
div { contain: layout; }
1110
#one {
1211
background: green;
1312
width: 100px;

css/css-view-transitions/dialog-in-top-layer-during-transition-new.html

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
padding: 0;
1818

1919
view-transition-name: dialog;
20-
contain: layout;
2120
}
2221

2322
#target::backdrop {
@@ -26,7 +25,6 @@
2625
background: grey;
2726

2827
view-transition-name: backdrop;
29-
contain: layout;
3028
}
3129

3230
.hidden {

css/css-view-transitions/dialog-in-top-layer-during-transition-old.html

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
padding: 0;
1818

1919
view-transition-name: dialog;
20-
contain: layout;
2120
}
2221

2322
#target::backdrop {
@@ -26,7 +25,6 @@
2625
background: grey;
2726

2827
view-transition-name: backdrop;
29-
contain: layout;
3028
}
3129

3230
.hidden {

css/css-view-transitions/element-with-overflow.html

-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@
1212
height: 10px;
1313
view-transition-name: hidden;
1414
background: green;
15-
contain: layout;
1615
}
1716

1817
.target {
1918
width: 100px;
2019
height: 100px;
2120
background: lightblue;
22-
contain: layout;
2321
view-transition-name: target;
2422
}
2523
.inner {

css/css-view-transitions/new-content-element-writing-modes.html

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
contain: paint;
2828
border: 1px solid black;
2929
}
30-
.source {
31-
contain: layout;
32-
}
3330
#target {
3431
background: red;
3532
position: absolute;

css/css-view-transitions/new-content-object-fit-fill.html

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
width: 10px;
3030
height: 10px;
3131
view-transition-name: hidden;
32-
contain: layout;
3332
}
3433

3534
html::view-transition-group(target) {

css/css-view-transitions/new-content-object-fit-none.html

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
width: 10px;
2222
height: 10px;
2323
view-transition-name: hidden;
24-
contain: layout;
2524
}
2625

2726
html::view-transition-group(target) {

css/css-view-transitions/no-containment-on-new-element-mid-transition.html

-38
This file was deleted.

css/css-view-transitions/no-containment-on-new-element.html

-47
This file was deleted.

css/css-view-transitions/no-containment-on-old-element.html

-46
This file was deleted.

css/css-view-transitions/old-content-object-fit-fill.html

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
width: 10px;
3030
height: 10px;
3131
view-transition-name: hidden;
32-
contain: layout;
3332
}
3433

3534
html::view-transition-group(target) {

css/css-view-transitions/old-content-object-fit-none.html

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
width: 10px;
2222
height: 10px;
2323
view-transition-name: hidden;
24-
contain: layout;
2524
}
2625

2726
html::view-transition-group(target) {

css/css-view-transitions/only-child-group.html

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
color: red;
2929
}
3030

31-
div {
32-
contain: layout;
33-
}
3431
</style>
3532
<div id="target"></div>
3633
<div id="target2"></div>

css/css-view-transitions/only-child-new.html

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
color: red;
2929
}
3030

31-
#target {
32-
contain: layout;
33-
}
34-
3531
</style>
3632
<div id="target"></div>
3733

css/css-view-transitions/only-child-old.html

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
color: red;
2929
}
3030

31-
#target {
32-
contain: layout;
33-
}
34-
3531
</style>
3632
<div id="target"></div>
3733

css/css-view-transitions/paused-animation-at-end.html

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#target {
1212
width: 100px;
1313
height: 100px;
14-
contain: layout;
1514
view-transition-name: target;
1615
}
1716
.one {

css/css-view-transitions/scroller-child-abspos-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
<style>
77
#target {
8-
contain: layout;
98
width: 200px;
109
height: 200px;
1110
background: yellow;

css/css-view-transitions/scroller-child-abspos.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
<style>
1111
#target {
12-
contain: layout;
1312
view-transition-name: target;
1413
width: 200px;
1514
height: 200px;

css/css-view-transitions/scroller-child-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
<style>
77
#target {
8-
contain: layout;
98
width: 500px;
109
height: 500px;
1110
background: yellow;

css/css-view-transitions/scroller-child.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
<style>
1111
#target {
12-
contain: layout;
1312
view-transition-name: target;
1413
width: 500px;
1514
height: 500px;

css/css-view-transitions/scroller-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
width: 100px;
1010
height: 100px;
1111
background: blue;
12-
contain: layout;
1312
}
1413

1514
#child {

css/css-view-transitions/scroller.html

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
width: 100px;
1414
height: 100px;
1515
background: blue;
16-
contain: layout;
1716
view-transition-name: target;
1817
}
1918

css/css-view-transitions/set-current-time-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
.target {
77
width: 100px;
88
height: 100px;
9-
contain: layout;
109
background: blue;
1110
opacity: 0.5;
1211
}

css/css-view-transitions/set-current-time-transform-ref.html

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#target {
1414
width: 100px;
1515
height: 100px;
16-
contain: layout;
1716
background: blue;
1817
view-transition-name: target;
1918
position: relative;

css/css-view-transitions/set-current-time-transform.html

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#target {
1111
width: 100px;
1212
height: 100px;
13-
contain: layout;
1413
background: blue;
1514
view-transition-name: target;
1615
position: relative;

0 commit comments

Comments
 (0)