diff options
-rw-r--r-- | tests/wpt/mozilla/meta/MANIFEST.json | 24 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/css/fixed_percent.html | 16 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/css/fixed_percent_ref.html | 4 |
3 files changed, 44 insertions, 0 deletions
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index bbc79260a5f..6120163ff4e 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -1500,6 +1500,18 @@ "url": "/_mozilla/css/first_of_type_pseudo_a.html" } ], + "css/fixed_percent.html": [ + { + "path": "css/fixed_percent.html", + "references": [ + [ + "/_mozilla/css/fixed_percent_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/fixed_percent.html" + } + ], "css/fixed_width_overrides_child_intrinsic_width_a.html": [ { "path": "css/fixed_width_overrides_child_intrinsic_width_a.html", @@ -10894,6 +10906,18 @@ "url": "/_mozilla/css/first_of_type_pseudo_a.html" } ], + "css/fixed_percent.html": [ + { + "path": "css/fixed_percent.html", + "references": [ + [ + "/_mozilla/css/fixed_percent_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/fixed_percent.html" + } + ], "css/fixed_width_overrides_child_intrinsic_width_a.html": [ { "path": "css/fixed_width_overrides_child_intrinsic_width_a.html", diff --git a/tests/wpt/mozilla/tests/css/fixed_percent.html b/tests/wpt/mozilla/tests/css/fixed_percent.html new file mode 100644 index 00000000000..ccc89607150 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/fixed_percent.html @@ -0,0 +1,16 @@ +<!doctype html> +<meta charset="utf-8"> +<title>Table with fixed layout gives according to percentages</title> +<link rel="match" href="fixed_percent_ref.html"> +<link rel="spec" href="https://drafts.csswg.org/css-tables-3/#distributing-width-to-columns"> +<style> +#c { + display: table; + width: 100%; + table-layout: fixed; +} +#d { + width: 100%; +} +</style> +<div id=c><div id=d>Test text</div></div> diff --git a/tests/wpt/mozilla/tests/css/fixed_percent_ref.html b/tests/wpt/mozilla/tests/css/fixed_percent_ref.html new file mode 100644 index 00000000000..5963b38c184 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/fixed_percent_ref.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<title>Table with fixed layout gives according to percentages</title> +Test text + |