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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/the-option-element/option-element-constructor-expected.txt

Issue 2891723002: Do not create child node for Option constructor with no arguments/undefined text (Closed)
Patch Set: Rebased and added IsEmpty check Created 3 years, 7 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 This is a testharness.js-based test.
2 FAIL Option constructor with no arguments assert_false: expected false got true
3 PASS Option constructor with falsy arguments
4 PASS Option constructor creates HTMLOptionElement with specified text and value
5 PASS Option constructor handles selectedness correctly when specified with defau ltSelected only
6 PASS Option constructor handles selectedness correctly, even when incongruous wi th defaultSelected
7 FAIL Option constructor treats undefined text and value correctly assert_false: expected false got true
8 PASS Option constructor treats falsy selected and defaultSelected correctly
9 PASS Option constructor treats truthy selected and defaultSelected correctly
10 PASS Option constructor does not set dirtiness (so, manipulating the selected co ntent attribute still updates the selected IDL attribute)
11 Harness: the test ran to completion.
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698