This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
forked from ehsan/mozilla-history
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 680518 - Progress element should invalidate itself when the bar s…
…ize changes. r=roc
- Loading branch information
1 parent
9aadc28
commit 6ee3256
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<link rel='stylesheet' type='text/css' href='style.css'> | ||
<style> | ||
progress { display: block; } | ||
</style> | ||
<body> | ||
<progress value='0.5'></progress> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html class='reftest-wait'> | ||
<link rel='stylesheet' type='text/css' href='style.css'> | ||
<style> | ||
progress { display: block; } | ||
</style> | ||
<script> | ||
function loadHandler() { | ||
setTimeout(function() { | ||
var p = document.getElementsByTagName('progress')[0]; | ||
p.value = '0.5'; | ||
document.documentElement.className = ''; | ||
}, 0); | ||
} | ||
</script> | ||
<body onload="loadHandler();"> | ||
<progress value='0'></progress> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters