mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 1290937 - Update web-platform tests for innerText on <select> to match the new behavior. r=smaug
This commit is contained in:
parent
46917612a7
commit
d0e29c4ecd
@ -127,10 +127,10 @@ testText("<fieldset>abc", "abc", "<fieldset> contents preserved");
|
||||
testText("<fieldset><legend>abc", "abc", "<fieldset> <legend> contents preserved");
|
||||
testText("<input type='text' value='abc'>", "", "<input> contents ignored");
|
||||
testText("<textarea>abc", "", "<textarea> contents ignored");
|
||||
testText("<select size='1'><option>abc</option><option>def", "", "<select size='1'> contents ignored");
|
||||
testText("<select size='2'><option>abc</option><option>def", "", "<select size='2'> contents ignored");
|
||||
testText("<select size='1'><option id='target'>abc</option><option>def", "", "<select size='1'> contents ignored");
|
||||
testText("<select size='2'><option id='target'>abc</option><option>def", "", "<select size='2'> contents ignored");
|
||||
testText("<select size='1'><option>abc</option><option>def", "abc\ndef", "<select size='1'> contents of options preserved");
|
||||
testText("<select size='2'><option>abc</option><option>def", "abc\ndef", "<select size='2'> contents of options preserved");
|
||||
testText("<select size='1'><option id='target'>abc</option><option>def", "abc", "<select size='1'> contents of target option preserved");
|
||||
testText("<select size='2'><option id='target'>abc</option><option>def", "abc", "<select size='2'> contents of target option preserved");
|
||||
testText("<iframe>abc", "", "<iframe> contents ignored");
|
||||
testText("<iframe><div id='target'>abc", "", "<iframe> contents ignored");
|
||||
testText("<iframe src='data:text/html,abc'>", "","<iframe> subdocument ignored");
|
||||
@ -152,8 +152,8 @@ testText("<div><fieldset>abc", "abc", "<fieldset> contents preserved");
|
||||
testText("<div><fieldset><legend>abc", "abc", "<fieldset> <legend> contents preserved");
|
||||
testText("<div><input type='text' value='abc'>", "", "<input> contents ignored");
|
||||
testText("<div><textarea>abc", "", "<textarea> contents ignored");
|
||||
testText("<div><select size='1'><option>abc</option><option>def", "", "<select size='1'> contents ignored");
|
||||
testText("<div><select size='2'><option>abc</option><option>def", "", "<select size='2'> contents ignored");
|
||||
testText("<div><select size='1'><option>abc</option><option>def", "abc\ndef", "<select size='1'> contents of options preserved");
|
||||
testText("<div><select size='2'><option>abc</option><option>def", "abc\ndef", "<select size='2'> contents of options preserved");
|
||||
testText("<div><iframe>abc", "", "<iframe> contents ignored");
|
||||
testText("<div><iframe src='data:text/html,abc'>", ""," <iframe> subdocument ignored");
|
||||
testText("<div><audio>abc", "", "<audio> contents ignored");
|
||||
|
Loading…
Reference in New Issue
Block a user