File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< meta charset ="utf-8 ">
3
- < title > CSS Containment Test: Size containment on table</ title >
3
+ < title > CSS Containment Test: Size containment on display: table</ title >
4
4
< link rel ="
author "
title ="
Manuel Rego Casasnovas "
href ="
mailto:[email protected] "
>
5
5
< link rel ="help " href ="https://drafts.csswg.org/css-contain-1/#containment-size ">
6
6
< link rel ="match " href ="reference/pass_if_pass_below_clipped.html ">
7
- < meta name =assert content ="Size containment doesn't apply to table elements . ">
7
+ < meta name =assert content ="Size containment doesn't apply to table boxes . ">
8
8
< style >
9
9
div {
10
10
display : table;
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < meta charset ="utf-8 ">
3
+ < title > CSS Containment Test: Size containment on display:inline-table</ title >
4
+ < link rel ="
author "
title ="
Manuel Rego Casasnovas "
href ="
mailto:[email protected] "
>
5
+ < link rel ="
author "
title ="
Mats Palmgren "
href ="
mailto:[email protected] "
>
6
+ < link rel ="help " href ="https://drafts.csswg.org/css-contain-1/#containment-size ">
7
+ < link rel ="match " href ="reference/pass_if_pass_below_clipped.html ">
8
+ < meta name =assert content ="Size containment doesn't apply to inline-table boxes. ">
9
+ < style >
10
+ div {
11
+ display : inline-table;
12
+ contain : size;
13
+ overflow : hidden;
14
+ }
15
+ </ style >
16
+
17
+ < p > Test passes if there is the word "PASS" below.</ p >
18
+ < div > PASS</ div >
You can’t perform that action at this time.
0 commit comments