mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
a87af7052e
This adds a CSS psuedo class to fieldset that acts much in the same way as the one on form.
14 lines
407 B
HTML
14 lines
407 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<!-- Test: fieldset undergoes constraint validation.
|
|
It should be affected by :invalid pseudo-class. -->
|
|
<style>
|
|
fieldset:invalid { display: none; }
|
|
</style>
|
|
<body onload="document.getElementById('f').setCustomValidity('foo'); document.documentElement.className='';">
|
|
<fieldset>
|
|
<input id='f'>
|
|
</fieldset>
|
|
</body>
|
|
</html>
|