Description

This test continues to validate the ol element.

These reftests are necessary because the values of the ol's li children as calculated by the user agent are NOT available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

The spec states:

"The reversed attribute is a boolean attribute. If present, it indicates that the list is a descending list (..., 3, 2, 1). If the attribute is omitted, the list is an ascending list (1, 2, 3, ...)."

This reftest passes if you see an ascending list followed by two descending lists.

(Note: each list item has no content; only the sequencing should appear.)

Ordered List

1.

2.

3.

Ordered List - reversed via content attribute

3.

2.

1.

Ordered List - reversed via IDL

3.

2.

1.