gecko-dev/layout/reftests/bugs/1401992.html
Bobby Holley 6dfffba33a Bug 1401992 - Make the reftest less flakey. r=me
We don't need the video controls to be painted.

MozReview-Commit-ID: AXsM8Q1vJm4
2017-09-22 17:10:05 -07:00

33 lines
555 B
HTML

<!doctype html>
<html>
<head>
<style>
video {
width: 100px;
height: 100px;
border: 10px solid purple;
}
fieldset {
border: 10px solid blue;
}
fieldset:valid {
border-color: green;
}
fieldset:invalid {
border-color: red;
}
</style>
<script>
window.onload = function() {
let v = document.getElementById("x");
v.currentTime = -128;
v.controls = !v.controls;
}
</script>
</head>
<body>
<!-- Native anonymous content shouldn't affect fieldset validity -->
<fieldset><video id="x" style="visibility:hidden"></video></fieldset>
</body>
</html>