Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: LayoutTests/fast/forms/form-pseudo-valid-style-expected.txt

Issue 646543004: Implement :valid and :invalid pseudoclass for <form> (resubmitting) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reorder matchesValidityPseudoClasses() Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Check if :valid/:invalid CSS pseudo selectors are lively applied for forms
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Removing and adding required text inputs and modifying ther value by a DOM tree mutation:
7 PASS backgroundOf(form1) is invalidColor
8 PASS backgroundOf(sub1) is subInvalidColor
9 PASS form1.removeChild(input1); backgroundOf(form1) is validColor
10 PASS backgroundOf(sub1) is subValidColor
11 PASS form1.appendChild(input1); backgroundOf(form1) is invalidColor
12 PASS backgroundOf(sub1) is subInvalidColor
13 PASS input1.setAttribute("value", "a"); backgroundOf(form1) is validColor
14 PASS backgroundOf(sub1) is subValidColor
15 PASS input2.setAttribute("value", ""); backgroundOf(form1) is invalidColor
16 PASS backgroundOf(sub1) is subInvalidColor
17
18 Adding a required text input that is not a direct child of the form:
19 PASS backgroundOf(form1) is validColor
20 PASS div1.appendChild(input1); backgroundOf(form1) is invalidColor
21
22 Render multiple forms and move an invalid input from one to another:
23 PASS backgroundOf($("form1")) is invalidColor
24 PASS backgroundOf($("form2")) is validColor
25 PASS backgroundOf($("form3")) is validColor
26 PASS backgroundOf($("form1")) is validColor
27 PASS backgroundOf($("form3")) is invalidColor
28
29 PASS successfullyParsed is true
30
31 TEST COMPLETE
32
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/form-pseudo-valid-style.html ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698