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

Side by Side Diff: LayoutTests/fast/forms/form-attribute-expected.txt

Issue 1204353004: Fix form association behavior when a form and a control with form= are removed from a document toge… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't add an assertion Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/forms/form-attribute.html ('k') | Source/core/html/FormAssociatedElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test checks the form attribute of the form-associated elements. 1 This test checks the form attribute of the form-associated elements.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 - Checks the existence of the form attribute for each form-associated elements. 6 - Checks the existence of the form attribute for each form-associated elements.
7 PASS document.getElementsByTagName("button")[0].form is owner 7 PASS document.getElementsByTagName("button")[0].form is owner
8 PASS document.getElementsByTagName("fieldset")[0].form is owner 8 PASS document.getElementsByTagName("fieldset")[0].form is owner
9 PASS document.getElementsByTagName("input")[0].form is owner 9 PASS document.getElementsByTagName("input")[0].form is owner
10 PASS document.getElementsByTagName("keygen")[0].form is owner 10 PASS document.getElementsByTagName("keygen")[0].form is owner
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 - Ensures whether the form owner is set correctly when the form owner is added/r emoved. 57 - Ensures whether the form owner is set correctly when the form owner is added/r emoved.
58 PASS owner.name is "firstOwner" 58 PASS owner.name is "firstOwner"
59 PASS owner.name is "secondOwner" 59 PASS owner.name is "secondOwner"
60 PASS inputElement.form is owner 60 PASS inputElement.form is owner
61 PASS labelElement.form is owner 61 PASS labelElement.form is owner
62 PASS inputElement.form is null 62 PASS inputElement.form is null
63 PASS labelElement.form is null 63 PASS labelElement.form is null
64 PASS inputElement.form is owner 64 PASS inputElement.form is owner
65 PASS labelElement.form is owner 65 PASS labelElement.form is owner
66 66
67 - Check if a form and a control are disassociated when they are removed from the document together.
68 PASS owner.elements.length is 1
69 PASS owner.elements.length is 0
70
67 - Checks if option.form is only set if it has a <select> parent. 71 - Checks if option.form is only set if it has a <select> parent.
68 PASS option1.form is null 72 PASS option1.form is null
69 PASS option2.form is null 73 PASS option2.form is null
70 PASS option3.form is owner 74 PASS option3.form is owner
71 PASS successfullyParsed is true 75 PASS successfullyParsed is true
72 76
73 TEST COMPLETE 77 TEST COMPLETE
74 78
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/form-attribute.html ('k') | Source/core/html/FormAssociatedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698