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:
Mounir Lamouri
2010-11-24 00:55:22 +01:00
parent 3bf5d7ff70
commit 98139f93a3
39 changed files with 301 additions and 45 deletions

View File

@@ -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 but 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' pattern='foo' value='foo'>
<input class='notvalid' pattern='foo' value='foo'>
</body>
</html>