diff options
Diffstat (limited to 'layout/reftests/css-valid/button/button-dyn-not-disabled.html')
-rw-r--r-- | layout/reftests/css-valid/button/button-dyn-not-disabled.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layout/reftests/css-valid/button/button-dyn-not-disabled.html b/layout/reftests/css-valid/button/button-dyn-not-disabled.html new file mode 100644 index 0000000000..671573cc3e --- /dev/null +++ b/layout/reftests/css-valid/button/button-dyn-not-disabled.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <!-- Test: if button is not disabled, it is candidate for constraint validation + and should be affected by :valid pseudo-class. --> + <link rel='stylesheet' type='text/css' href='style.css'> + <body onload="document.getElementById('b').removeAttribute('disabled'); document.documentElement.className='';"> + <button class='valid' id='b' disabled></button> + </body> +</html> |