diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/tables')
4 files changed, 56 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-212-ref.xht b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-212-ref.xht new file mode 100644 index 0000000000..4781f3c527 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-212-ref.xht @@ -0,0 +1,11 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>CSS Reftest Reference</title> + <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"/> +</head> +<body> + above<br /> + below +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-212.xht b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-212.xht new file mode 100644 index 0000000000..e6bdfd5dd9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-212.xht @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>CSS Test: Anonymous table objects</title> + <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/> + <link rel="help" href="https://github.com/servo/servo/issues/31603"/> + <link rel="match" href="table-anonymous-objects-212-ref.xht"/> + <meta assert="The table cell is wrapped inside an anonymous block-level table, + so the text 'below' should appear below 'above'."/> +</head> +<body> + above + <span style="display: table-cell">below</span> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-213-ref.xht b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-213-ref.xht new file mode 100644 index 0000000000..9c2f98a29d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-213-ref.xht @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>CSS Reftest Reference</title> + <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"/> +</head> +<body> + <span style="border: solid; vertical-align: top">left right</span> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-213.xht b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-213.xht new file mode 100644 index 0000000000..e701a82bf0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-213.xht @@ -0,0 +1,19 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>CSS Test: Anonymous table objects</title> + <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/> + <link rel="help" href="https://github.com/servo/servo/issues/31649"/> + <link rel="match" href="table-anonymous-objects-213-ref.xht"/> + <meta assert="The table cell is wrapped inside an anonymous inline-level table, + so the text 'right' should appear at the right of 'left', + and the border should surround both of them."/> +</head> +<body> + <span style="border: solid; vertical-align: top"> + left + <span style="display: table-cell">right</span> + </span> +</body> +</html> |