webkit-appearance-progress-bar-002.html (687B)
1 <!-- DO NOT EDIT THIS FILE. 2 Edit the appearance-* file instead and then run: 3 ./tools/appearance-build-webkit-reftests.py 4 --> 5 <!doctype html> 6 <meta charset="utf-8"> 7 <title>CSS Basic User Interface Test: progress dynamic appearance</title> 8 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching"> 9 <link rel="match" href="appearance-progress-bar-002-ref.html"> 10 <style> 11 #progress1 { -webkit-appearance: none } 12 #progress2 { -webkit-appearance: auto } 13 </style> 14 <progress id="progress1" value="0.5"> 15 <progress id="progress2" value="0.5"> 16 <script> 17 document.body.offsetTop; 18 progress1.style.appearance = "auto"; 19 progress2.style.appearance = "none"; 20 </script>