From 13f1ba22e5fc1fdb8debcf40cddb4695b6c4a78f Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 4 Oct 2019 21:23:45 +0000 Subject: [PATCH] Bug 1573483 [wpt PR 14994] - [css-ui] Test appearance: textfield, a=testonly Automatic update from web-platform-tests [css-ui] Test appearance: textfield Follows https://github.com/w3c/csswg-drafts/pull/3544 -- wpt-commits: 9f01716569ae5dfd79675ea55718e48017d077a8 wpt-pr: 14994 UltraBlame original commit: bc4e4bdc9e5d745b64e28a6aac3703db45f92e42 --- .../css-ui/appearance-textfield-001-ref.html | 261 +++++++++++ .../css/css-ui/appearance-textfield-001.html | 367 ++++++++++++++++ .../webkit-appearance-textfield-001.html | 413 ++++++++++++++++++ 3 files changed, 1041 insertions(+) create mode 100644 testing/web-platform/tests/css/css-ui/appearance-textfield-001-ref.html create mode 100644 testing/web-platform/tests/css/css-ui/appearance-textfield-001.html create mode 100644 testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html diff --git a/testing/web-platform/tests/css/css-ui/appearance-textfield-001-ref.html b/testing/web-platform/tests/css/css-ui/appearance-textfield-001-ref.html new file mode 100644 index 0000000000000..ba6d8f6b782dc --- /dev/null +++ b/testing/web-platform/tests/css/css-ui/appearance-textfield-001-ref.html @@ -0,0 +1,261 @@ +< +! +DOCTYPE +html +> +< +meta +charset += +" +utf +- +8 +" +> +< +title +> +Reference +for +CSS +Basic +User +Interface +Test +: +appearance +: +textfield +< +/ +title +> +< +style +> +# +container +{ +width +: +500px +; +} +< +/ +style +> +< +div +id += +" +container +" +> +< +a +> +a +< +/ +a +> +< +button +> +button +< +/ +button +> +< +input +type += +" +text +" +value += +" +input +- +text +" +> +< +input +type += +" +text +" +value += +" +input +- +search +" +> +< +! +- +- +intentionally +type += +" +text +" +- +- +> +< +textarea +> +textarea +< +/ +textarea +> +< +input +type += +" +button +" +value += +" +input +- +button +" +> +< +input +type += +" +submit +" +value += +" +input +- +submit +" +> +< +input +type += +" +reset +" +value += +" +input +- +reset +" +> +< +input +type += +" +range +" +> +< +input +type += +" +checkbox +" +> +< +input +type += +" +radio +" +> +< +input +type += +" +color +" +> +< +select +> +< +option +> +select +< +/ +option +> +< +/ +select +> +< +select +multiple +> +< +option +> +select +- +multiple +< +/ +option +> +< +/ +select +> +< +meter +value += +0 +. +5 +> +< +/ +meter +> +< +progress +value += +0 +. +5 +> +< +/ +progress +> +< +/ +div +> diff --git a/testing/web-platform/tests/css/css-ui/appearance-textfield-001.html b/testing/web-platform/tests/css/css-ui/appearance-textfield-001.html new file mode 100644 index 0000000000000..3b96939f379b2 --- /dev/null +++ b/testing/web-platform/tests/css/css-ui/appearance-textfield-001.html @@ -0,0 +1,367 @@ +< +! +DOCTYPE +html +> +< +meta +charset += +" +utf +- +8 +" +> +< +title +> +CSS +Basic +User +Interface +Test +: +appearance +: +textfield +< +/ +title +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +drafts +. +csswg +. +org +/ +css +- +ui +- +4 +/ +# +appearance +- +switching +" +> +< +meta +name += +" +assert +" +content += +" +textfield +is +an +alias +to +auto +except +on +input +type += +search +. +" +> +< +link +rel += +" +match +" +href += +" +appearance +- +textfield +- +001 +- +ref +. +html +" +> +< +style +> +# +container +{ +width +: +500px +; +} +/ +* +* +If +the +value +being +tested +is +not +supported +then +' +none +' +is +used +instead +* +which +is +intended +to +fail +the +test +. +* +/ +# +container +> +* +{ +appearance +: +none +; +appearance +: +textfield +; +} +< +/ +style +> +< +div +id += +" +container +" +> +< +a +> +a +< +/ +a +> +< +button +> +button +< +/ +button +> +< +input +type += +" +text +" +value += +" +input +- +text +" +> +< +input +type += +" +search +" +value += +" +input +- +search +" +> +< +textarea +> +textarea +< +/ +textarea +> +< +input +type += +" +button +" +value += +" +input +- +button +" +> +< +input +type += +" +submit +" +value += +" +input +- +submit +" +> +< +input +type += +" +reset +" +value += +" +input +- +reset +" +> +< +input +type += +" +range +" +> +< +input +type += +" +checkbox +" +> +< +input +type += +" +radio +" +> +< +input +type += +" +color +" +> +< +select +> +< +option +> +select +< +/ +option +> +< +/ +select +> +< +select +multiple +> +< +option +> +select +- +multiple +< +/ +option +> +< +/ +select +> +< +meter +value += +0 +. +5 +> +< +/ +meter +> +< +progress +value += +0 +. +5 +> +< +/ +progress +> +< +/ +div +> diff --git a/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html b/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html new file mode 100644 index 0000000000000..625272aa78d96 --- /dev/null +++ b/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html @@ -0,0 +1,413 @@ +< +! +- +- +DO +NOT +EDIT +THIS +FILE +. +Edit +the +appearance +- +* +file +instead +and +then +run +: +. +/ +tools +/ +appearance +- +build +- +webkit +- +reftests +. +py +- +- +> +< +! +DOCTYPE +html +> +< +meta +charset += +" +utf +- +8 +" +> +< +title +> +CSS +Basic +User +Interface +Test +: +- +webkit +- +appearance +: +textfield +< +/ +title +> +< +link +rel += +" +help +" +href += +" +https +: +/ +/ +drafts +. +csswg +. +org +/ +css +- +ui +- +4 +/ +# +appearance +- +switching +" +> +< +meta +name += +" +assert +" +content += +" +textfield +is +an +alias +to +auto +except +on +input +type += +search +. +" +> +< +link +rel += +" +match +" +href += +" +appearance +- +textfield +- +001 +- +ref +. +html +" +> +< +style +> +# +container +{ +width +: +500px +; +} +/ +* +* +If +the +value +being +tested +is +not +supported +then +' +none +' +is +used +instead +* +which +is +intended +to +fail +the +test +. +* +/ +# +container +> +* +{ +- +webkit +- +appearance +: +none +; +- +webkit +- +appearance +: +textfield +; +} +< +/ +style +> +< +div +id += +" +container +" +> +< +a +> +a +< +/ +a +> +< +button +> +button +< +/ +button +> +< +input +type += +" +text +" +value += +" +input +- +text +" +> +< +input +type += +" +search +" +value += +" +input +- +search +" +> +< +textarea +> +textarea +< +/ +textarea +> +< +input +type += +" +button +" +value += +" +input +- +button +" +> +< +input +type += +" +submit +" +value += +" +input +- +submit +" +> +< +input +type += +" +reset +" +value += +" +input +- +reset +" +> +< +input +type += +" +range +" +> +< +input +type += +" +checkbox +" +> +< +input +type += +" +radio +" +> +< +input +type += +" +color +" +> +< +select +> +< +option +> +select +< +/ +option +> +< +/ +select +> +< +select +multiple +> +< +option +> +select +- +multiple +< +/ +option +> +< +/ +select +> +< +meter +value += +0 +. +5 +> +< +/ +meter +> +< +progress +value += +0 +. +5 +> +< +/ +progress +> +< +/ +div +>