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

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

Issue 646273004: Implement :valid and :invalid pseudoclass for <fieldset> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Pull 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 fieldsets
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(fieldset1) is invalidColor
8 PASS backgroundOf(sub1) is subInvalidColor
9 PASS fieldset1.removeChild(input1); backgroundOf(fieldset1) is validColor
10 PASS backgroundOf(sub1) is subValidColor
11 PASS fieldset1.appendChild(input1); backgroundOf(fieldset1) is invalidColor
12 PASS backgroundOf(sub1) is subInvalidColor
13 PASS input1.setAttribute("value", "a"); backgroundOf(fieldset1) is validColor
14 PASS backgroundOf(sub1) is subValidColor
15 PASS input2.setAttribute("value", ""); backgroundOf(fieldset1) is invalidColor
16 PASS backgroundOf(sub1) is subInvalidColor
17
18 Adding a required text input that is not a direct child of the fieldset:
19 PASS backgroundOf(fieldset1) is validColor
20 PASS div1.appendChild(input1); backgroundOf(fieldset1) is invalidColor
21
22 Nested fieldsets:
23 PASS backgroundOf($("fieldset0")) is invalidColor
24 PASS backgroundOf($("fieldset1")) is invalidColor
25 PASS backgroundOf($("fieldset2")) is validColor
26 PASS input1.setAttribute("value", "v"); backgroundOf($("fieldset0")) is validCol or
27 PASS backgroundOf($("fieldset1")) is validColor
28 PASS backgroundOf($("fieldset2")) is validColor
29 PASS input2.setAttribute("required", ""); backgroundOf($("fieldset0")) is invali dColor
30 PASS backgroundOf($("fieldset1")) is validColor
31 PASS backgroundOf($("fieldset2")) is invalidColor
32
33 Render multiple fieldsets and move an invalid input from one to another:
34 PASS backgroundOf($("fieldset1")) is invalidColor
35 PASS backgroundOf($("fieldset2")) is validColor
36 PASS backgroundOf($("fieldset3")) is validColor
37 PASS backgroundOf($("fieldset1")) is validColor
38 PASS backgroundOf($("fieldset3")) is invalidColor
39
40 Ensure that invalid event was not triggered on style evaluation:
41 PASS backgroundOf(fieldset1) is invalidColor
42 PASS val is "0"
43 PASS input1.checkValidity(); val is "1"
44
45 PASS successfullyParsed is true
46
47 TEST COMPLETE
48
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/fieldset-pseudo-valid-style.html ('k') | Source/core/html/HTMLFieldSetElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698