summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/output/output-invalid.html
blob: 75dc7b09c5e1caa773364bbb7a6a6a5c74d3385f (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: if output has a custom error, it should not be affected by :valid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body onload="document.getElementById('b').setCustomValidity('foo'); document.documentElement.className='';">
    <output class='invalid' id='b'>foo</output>
  </body>
</html>