diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-ui/webkit-appearance-progress-bar-002.html')
-rw-r--r-- | testing/web-platform/tests/css/css-ui/webkit-appearance-progress-bar-002.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ui/webkit-appearance-progress-bar-002.html b/testing/web-platform/tests/css/css-ui/webkit-appearance-progress-bar-002.html new file mode 100644 index 0000000000..5394836b75 --- /dev/null +++ b/testing/web-platform/tests/css/css-ui/webkit-appearance-progress-bar-002.html @@ -0,0 +1,20 @@ +<!-- 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: progress dynamic appearance</title> +<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching"> +<link rel="match" href="appearance-progress-bar-002-ref.html"> +<style> + #progress1 { -webkit-appearance: none } + #progress2 { -webkit-appearance: auto } +</style> +<progress id="progress1" value="0.5"> +<progress id="progress2" value="0.5"> +<script> + document.body.offsetTop; + progress1.style.appearance = "auto"; + progress2.style.appearance = "none"; +</script> |