From 129d1d65140e6681588e9658b93c95fec320baef Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Thu, 28 Jul 2016 16:02:57 -0700 Subject: [PATCH] Add tests for #12492 --- tests/wpt/mozilla/meta/MANIFEST.json | 24 +++++++++++++++++++ .../css/textarea_space_calculation-ref.html | 19 +++++++++++++++ .../tests/css/textarea_space_calculation.html | 21 ++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 tests/wpt/mozilla/tests/css/textarea_space_calculation-ref.html create mode 100644 tests/wpt/mozilla/tests/css/textarea_space_calculation.html diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index d150aa4538c..6fd9384d01e 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -5272,6 +5272,18 @@ "url": "/_mozilla/css/text_transform_uppercase_a.html" } ], + "css/textarea_space_calculation.html": [ + { + "path": "css/textarea_space_calculation.html", + "references": [ + [ + "/_mozilla/css/textarea_space_calculation-ref.html", + "==" + ] + ], + "url": "/_mozilla/css/textarea_space_calculation.html" + } + ], "css/transform_3d.html": [ { "path": "css/transform_3d.html", @@ -14390,6 +14402,18 @@ "url": "/_mozilla/css/text_transform_uppercase_a.html" } ], + "css/textarea_space_calculation.html": [ + { + "path": "css/textarea_space_calculation.html", + "references": [ + [ + "/_mozilla/css/textarea_space_calculation-ref.html", + "==" + ] + ], + "url": "/_mozilla/css/textarea_space_calculation.html" + } + ], "css/transform_3d.html": [ { "path": "css/transform_3d.html", diff --git a/tests/wpt/mozilla/tests/css/textarea_space_calculation-ref.html b/tests/wpt/mozilla/tests/css/textarea_space_calculation-ref.html new file mode 100644 index 00000000000..b777beb062b --- /dev/null +++ b/tests/wpt/mozilla/tests/css/textarea_space_calculation-ref.html @@ -0,0 +1,19 @@ + +REFERENCE: textarea does not take up more space than it takes up + +

To pass, no red should be visible

+
+ +
diff --git a/tests/wpt/mozilla/tests/css/textarea_space_calculation.html b/tests/wpt/mozilla/tests/css/textarea_space_calculation.html new file mode 100644 index 00000000000..20945e971b5 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/textarea_space_calculation.html @@ -0,0 +1,21 @@ + + +textarea does not take up more space than it takes up + + +

To pass, no red should be visible

+
+ +