Bug 610415 - Make :-moz-ui-invalid and :-moz-ui-valid not applying when the form element has novalidate attribute set. r+a=sicking
This commit is contained in:
10
layout/reftests/css-ui-invalid/button/button-novalidate.html
Normal file
10
layout/reftests/css-ui-invalid/button/button-novalidate.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html class='reftest-wait'>
|
||||
<link rel='stylesheet' type='text/css' href='style.css'>
|
||||
<body onload="document.getElementById('b').setCustomValidity('foo');
|
||||
document.documentElement.className = '';">
|
||||
<form novalidate>
|
||||
<button id='b' class='notinvalid'></button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -10,3 +10,4 @@
|
||||
== button-disabled-fieldset-1.html button-fieldset-ref.html
|
||||
== button-disabled-fieldset-2.html button-fieldset-ref.html
|
||||
== button-fieldset-legend.html button-fieldset-legend-ref.html
|
||||
== button-novalidate.html button-ref.html
|
||||
|
||||
Reference in New Issue
Block a user