Bug 605125 (3/5) - :-moz-ui-valid shouldn't apply if the element hasn't been modified. r=bz a=jst
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Test: if input is valid and not barred from constraint validation,
|
||||
it should be affected by :-moz-ui-valid pseudo-class. -->
|
||||
<!-- Test: if input is valid and its value hasn't been changed,
|
||||
it should not be affected by :-moz-ui-valid pseudo-class. -->
|
||||
<link rel='stylesheet' type='text/css' href='style.css'>
|
||||
<body>
|
||||
<input class='valid' type='url' value='http://mozilla.org/'>
|
||||
<input class='notvalid' type='url' value='http://mozilla.org/'>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user