Skip to content

Commit ca26178

Browse files
Ahmad-S792Ahmad Saleem
authored andcommitted
Resync css/CSS2/tables from WPT Upstream
https://bugs.webkit.org/show_bug.cgi?id=320792 rdar://183802418 Reviewed by Alan Baradlay. Upstream commit: web-platform-tests/wpt@a1b7d24 * LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/WEB_FEATURES.yml: * LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/reference/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/support/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-214-expected.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-214.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/w3c-import.log: Canonical link: https://commits.webkit.org/318674@main
1 parent 51385a5 commit ca26178

6 files changed

Lines changed: 65 additions & 28 deletions

File tree

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
1-
features:
2-
- name: background-image
3-
files:
4-
- table-background*
5-
- table-layer-transparency-003.xht
6-
- table-layer-transparency-005.xht
7-
- table-layer-transparency-008.xht
8-
- name: background-position
9-
files:
10-
- table-backgrounds-*
11-
- name: background-repeat
12-
files:
13-
- background-table-*
14-
- name: borders
15-
files:
16-
- border-conflict-*
17-
- border-style-*
18-
- column-border-*
19-
- name: margin
20-
files:
21-
- table-margin-*
22-
- tables-101.xht
1+
rules:
2+
- table-backgrounds-*: [background-position, background-image]
3+
- table-background*: [background-image]
4+
- table-layer-transparency-003.xht: [background-image]
5+
- table-layer-transparency-005.xht: [background-image]
6+
- table-layer-transparency-008.xht: [background-image]
7+
- background-table-*: [background-repeat]
8+
- border-conflict-*: [borders]
9+
- border-style-*: [borders]
10+
- column-border-*: [borders]
11+
- table-margin-*: [margin]
12+
- tables-101.xht: [margin]

LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/reference/w3c-import.log

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Do NOT modify or remove this file.
1010
------------------------------------------------------------------------
1111
Properties requiring vendor prefixes:
1212
None
13-
Property values requiring vendor prefixes:
14-
None
1513
------------------------------------------------------------------------
1614
List of files:
1715
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/reference/no_red_3x3_monospace_colored_table-ref.xht

LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/support/w3c-import.log

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Do NOT modify or remove this file.
1010
------------------------------------------------------------------------
1111
Properties requiring vendor prefixes:
1212
None
13-
Property values requiring vendor prefixes:
14-
None
1513
------------------------------------------------------------------------
1614
List of files:
1715
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/support/1x1-green.png
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<title>CSS Reftest Reference</title>
4+
<link rel="author" title="Javier Fernandez Garcia-Boente" href="jfernandez@igalia.com" />
5+
<style>
6+
div {
7+
background-color: green;
8+
height: 200px;
9+
width: 200px;
10+
}
11+
</style>
12+
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
13+
<div></div>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE html>
2+
<html class="reftest-wait">
3+
<title>CSS Test: Anonymous table objects</title>
4+
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
5+
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes">
6+
<link rel="help" href="https://github.com/servo/servo/issues/44549">
7+
<link rel="match" href="../../reference/ref-filled-green-200px-square.html">
8+
<meta assert="An anonymous table box parent is generated around the table-cell.
9+
This table doesn't include any of the spaces that follow the table-cell.">
10+
11+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
12+
<style>
13+
#red {
14+
position: absolute;
15+
width: 200px;
16+
height: 200px;
17+
background: red;
18+
z-index: -1;
19+
}
20+
#test {
21+
white-space: pre;
22+
font: 200px / 1 Ahem;
23+
color: green;
24+
margin-left: -4ch;
25+
}
26+
#cell {
27+
display: table-cell;
28+
}
29+
</style>
30+
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
31+
<div id="red"></div>
32+
<div id="test"><div id="cell"></div></div>
33+
<script src="/common/reftest-wait.js"></script>
34+
<script>
35+
document.getElementById("test").append(" ", " ", "X");
36+
document.fonts.ready.then(takeScreenshot);
37+
</script>
38+
</html>

LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/w3c-import.log

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Do NOT modify or remove this file.
1010
------------------------------------------------------------------------
1111
Properties requiring vendor prefixes:
1212
None
13-
Property values requiring vendor prefixes:
14-
None
1513
------------------------------------------------------------------------
1614
List of files:
1715
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/WEB_FEATURES.yml
@@ -1389,6 +1387,8 @@ List of files:
13891387
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-213-expected.xht
13901388
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-213-ref.xht
13911389
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-213.xht
1390+
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-214-expected.html
1391+
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-objects-214.html
13921392
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-text-indent-expected.xht
13931393
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-text-indent.xht
13941394
/LayoutTests/imported/w3c/web-platform-tests/css/CSS2/tables/table-anonymous-whitespace-001.xht

0 commit comments

Comments
 (0)