summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/appearance-progress-bar-002.html
blob: b04af84ba1384beabfa6034b94c207aaf9d60974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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 { appearance: none }
  #progress2 { 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>