diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/placeholder-input-number.html')
-rw-r--r-- | testing/web-platform/tests/css/css-pseudo/placeholder-input-number.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/placeholder-input-number.html b/testing/web-platform/tests/css/css-pseudo/placeholder-input-number.html new file mode 100644 index 0000000000..a557f1091e --- /dev/null +++ b/testing/web-platform/tests/css/css-pseudo/placeholder-input-number.html @@ -0,0 +1,11 @@ +<!doctype html> +<title>CSS Test: ::placeholder applies to input type="number"</title> +<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> +<link rel="mismatch" href="placeholder-input-number-notref.html"> +<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#placeholder-pseudo"> +<style> +#number::placeholder { + color: green; +} +</style> +<input id="number" type="number" placeholder="Placeholder"> |