blob: 602f86073324b342e678c8ae9fecb43a5f871fef [file] [log] [blame]
This is a testharness.js-based test.
PASS The prototype for OL is HTMLOListElement.prototype
PASS 'reversed' property should be defined on OL.
PASS 'start' property should be defined on OL.
PASS 'type' property should be defined on OL.
PASS OL's 'reversed' IDL property reflects content attribute.
PASS OL's 'start' IDL property reflects content attribute.
PASS OL's 'type' IDL property reflects content attribute.
PASS IDL 'reversed' attribute value false when content attribute absent
PASS IDL 'reversed' attribute value true when content attribute exists
PASS Changing IDL 'reversed' property changes list's reversed property.
PASS Default start value for non-reversed list should be 1
PASS IDL and content attribute parse start of '.5' correctly.
PASS IDL and content attribute parse start of 'A' correctly.
FAIL Default start value (if none provided) for reversed list = 1. assert_equals: expected 1 but got 3
FAIL Default start value (if failed to parse) for reversed list = 1. assert_equals: expected 1 but got 3
FAIL Default start value for reversed list = 1 (even with tons of other child elements). assert_equals: expected 1 but got 3
FAIL Adding child element to reversed list does not change start value assert_equals: expected 1 but got 3
FAIL Deleting child element from reversed list does not change start value assert_equals: expected 1 but got 2
PASS IDL and content attribute parse start of '2' correctly.
PASS IDL and content attribute parse start of '-10' correctly.
PASS IDL and content attribute parse start of '4.03' correctly.
PASS IDL and content attribute parse start of '-4.03' correctly.
PASS IDL and content attribute parse start of '4.9' correctly.
PASS IDL and content attribute parse start of '-4.9' correctly.
PASS IDL and content attribute parse start of '7e2' correctly.
Harness: the test ran to completion.