id-attribute.html

PASSExpected17 of 17 subtests pass376 ms

Details

Test
/html/dom/elements/global-attributes/id-attribute.html
Harness
OK

Subtests

StatusSubtestMessage
PASSUser agents must associate the element with an id value for purposes of getElementById.
PASSAssociation is exact and therefore case-sensitive for getElementById.
PASSSpaces are allowed in an id and still make an association for getElementByID.
PASSNon-ASCII is allowed in an id and still make an association for getElementById.
PASSUser agents must associate the element with an id value for purposes of CSS.
PASSAssociation for CSS is exact and therefore case-sensitive.
PASSSpaces are allowed in an id and still make an association.
PASSNon-ASCII is allowed in an id and still make an association for CSS.
PASSThe id IDL attribute must reflect the id content attribute, for getting.
PASSThe id IDL attribute must reflect the id content attribute, for setting via IDL attribute.
PASSAfter setting id via id attribute, getElementById find the element by the new id.
PASSAfter setting id via id attribute, getElementById doesn't find the element by the old id.
PASSAfter setting id via id attribute, CSS association is via the new ID.
PASSThe id IDL attribute must reflect the id content attribute, for setting via setAttribute.
PASSAfter setting id via setAttribute attribute, getElementById find the element by the new id.
PASSAfter setting id via setAttribute attribute, getElementById doesn't find the element by the old id.
PASSAfter setting id via setAttribute attribute, CSS association is via the new ID.