From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../tests/html/semantics/grouping-content/META.yml | 2 + .../the-dd-element/grouping-dd.html | 27 ++ .../the-div-element/grouping-div.html | 28 ++ .../the-dl-element/grouping-dl.html | 30 +++ .../the-dt-element/grouping-dt.html | 28 ++ .../grouping-figcaption.html | 28 ++ .../the-figure-element/grouping-figure.html | 29 ++ .../the-hr-element/grouping-hr.html | 30 +++ .../the-li-element/grouping-li-novalue-manual.html | 148 ++++++++++ .../grouping-li-reftest-001-ref.html | 46 ++++ .../the-li-element/grouping-li-reftest-001.html | 47 ++++ .../grouping-li-reftest-002-ref.html | 32 +++ .../the-li-element/grouping-li-reftest-002.html | 34 +++ .../grouping-li-reftest-003-ref.html | 14 + .../the-li-element/grouping-li-reftest-003.html | 18 ++ .../grouping-li-reftest-004-ref.html | 23 ++ .../the-li-element/grouping-li-reftest-004.html | 26 ++ .../grouping-li-reftest-005-ref.html | 22 ++ .../the-li-element/grouping-li-reftest-005.html | 25 ++ .../the-li-element/grouping-li-reftest-006.html | 29 ++ .../the-li-element/grouping-li-reftest-007.html | 31 +++ .../grouping-li-reftest-display-list-item-ref.html | 40 +++ .../grouping-li-reftest-display-list-item.html | 44 +++ .../grouping-li-reftest-list-owner-menu-ref.html | 46 ++++ .../grouping-li-reftest-list-owner-menu.html | 58 ++++ .../grouping-li-reftest-list-owner-mixed-ref.html | 52 ++++ .../grouping-li-reftest-list-owner-mixed.html | 64 +++++ ...grouping-li-reftest-list-owner-not-dir-ref.html | 52 ++++ .../grouping-li-reftest-list-owner-not-dir.html | 58 ++++ .../grouping-li-reftest-list-owner-ol-ref.html | 46 ++++ .../grouping-li-reftest-list-owner-ol.html | 52 ++++ .../grouping-li-reftest-list-owner-parent-ref.html | 40 +++ .../grouping-li-reftest-list-owner-parent.html | 45 ++++ ...ng-li-reftest-list-owner-skip-no-boxes-ref.html | 42 +++ ...ouping-li-reftest-list-owner-skip-no-boxes.html | 52 ++++ .../grouping-li-reftest-list-owner-ul-ref.html | 46 ++++ .../grouping-li-reftest-list-owner-ul.html | 58 ++++ ...grouping-li-reftest-not-being-rendered-ref.html | 24 ++ .../grouping-li-reftest-not-being-rendered.html | 30 +++ .../the-li-element/grouping-li.html | 193 +++++++++++++ .../grouping-ol-rev-reftest-001-ref.html | 50 ++++ .../grouping-ol-rev-reftest-001.html | 56 ++++ .../grouping-ol-start-reftest-001-ref.html | 53 ++++ .../grouping-ol-start-reftest-001.html | 60 +++++ .../grouping-ol-start-reftest-002-ref.html | 53 ++++ .../grouping-ol-start-reftest-002.html | 57 ++++ .../grouping-ol-type-reftest-001-ref.html | 52 ++++ .../grouping-ol-type-reftest-001.html | 55 ++++ .../grouping-ol-type-reftest-002-ref.html | 59 ++++ .../grouping-ol-type-reftest-002.html | 62 +++++ .../grouping-ol-type-reftest-003-ref.html | 76 ++++++ .../grouping-ol-type-reftest-003.html | 79 ++++++ .../the-ol-element/grouping-ol.html | 299 +++++++++++++++++++++ .../the-ol-element/ol.start-reflection-1.html | 25 ++ .../the-ol-element/ol.start-reflection-2.html | 25 ++ .../the-ol-element/reversed-1-ref.html | 6 + .../the-ol-element/reversed-1a.html | 10 + .../the-ol-element/reversed-1b.html | 15 ++ .../the-ol-element/reversed-1c.html | 16 ++ .../the-ol-element/reversed-1d.html | 12 + .../the-ol-element/reversed-1e.html | 11 + .../the-ol-element/reversed-2-ref.html | 6 + .../the-ol-element/reversed-2.html | 7 + .../grouping-content/the-p-element/grouping-p.html | 28 ++ .../grouping-pre-reftest-001-ref.html | 22 ++ .../the-pre-element/grouping-pre-reftest-001.html | 23 ++ .../the-pre-element/grouping-pre.html | 28 ++ .../the-pre-element/pre-newline-bidi-ref.html | 19 ++ .../the-pre-element/pre-newline-bidi.html | 23 ++ .../the-ul-element/grouping-ul.html | 28 ++ 70 files changed, 3054 insertions(+) create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/META.yml create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-dd-element/grouping-dd.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-div-element/grouping-div.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-dl-element/grouping-dl.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-dt-element/grouping-dt.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-figcaption-element/grouping-figcaption.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-figure-element/grouping-figure.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-hr-element/grouping-hr.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-manual.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-006.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-007.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1d.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1e.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-p-element/grouping-p.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-ul-element/grouping-ul.html (limited to 'testing/web-platform/tests/html/semantics/grouping-content') diff --git a/testing/web-platform/tests/html/semantics/grouping-content/META.yml b/testing/web-platform/tests/html/semantics/grouping-content/META.yml new file mode 100644 index 0000000000..0f3cf59653 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/META.yml @@ -0,0 +1,2 @@ +suggested_reviewers: + - domenic diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-dd-element/grouping-dd.html b/testing/web-platform/tests/html/semantics/grouping-content/the-dd-element/grouping-dd.html new file mode 100644 index 0000000000..022e555bd2 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-dd-element/grouping-dd.html @@ -0,0 +1,27 @@ + + + + + the dd element + + + + + + + +

Description

+

This test validates the dd element.

+ +
+ + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-div-element/grouping-div.html b/testing/web-platform/tests/html/semantics/grouping-content/the-div-element/grouping-div.html new file mode 100644 index 0000000000..ffde6eb53f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-div-element/grouping-div.html @@ -0,0 +1,28 @@ + + + + + The div element + + + + + + + +

Description

+

This test validates the div element.

+ +
+ + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-dl-element/grouping-dl.html b/testing/web-platform/tests/html/semantics/grouping-content/the-dl-element/grouping-dl.html new file mode 100644 index 0000000000..2394d6a929 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-dl-element/grouping-dl.html @@ -0,0 +1,30 @@ + + + + + the dl element + + + + + + + +

Description

+

This test validates the dl element.

+ +
+ + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-dt-element/grouping-dt.html b/testing/web-platform/tests/html/semantics/grouping-content/the-dt-element/grouping-dt.html new file mode 100644 index 0000000000..1dbb4384dd --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-dt-element/grouping-dt.html @@ -0,0 +1,28 @@ + + + + + the dl element + + + + + + + +

Description

+

This test validates the dt element.

+ +
+ + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-figcaption-element/grouping-figcaption.html b/testing/web-platform/tests/html/semantics/grouping-content/the-figcaption-element/grouping-figcaption.html new file mode 100644 index 0000000000..68e7a516b4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-figcaption-element/grouping-figcaption.html @@ -0,0 +1,28 @@ + + + + + the figcaption element + + + + + + + +

Description

+

This test validates the figcaption element.

+ +
+ + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-figure-element/grouping-figure.html b/testing/web-platform/tests/html/semantics/grouping-content/the-figure-element/grouping-figure.html new file mode 100644 index 0000000000..31c156ce38 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-figure-element/grouping-figure.html @@ -0,0 +1,29 @@ + + + + + the figure element + + + + + + + +

Description

+

This test validates the figure element.

+ +
+ + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-hr-element/grouping-hr.html b/testing/web-platform/tests/html/semantics/grouping-content/the-hr-element/grouping-hr.html new file mode 100644 index 0000000000..eeadd97d44 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-hr-element/grouping-hr.html @@ -0,0 +1,30 @@ + + + + + the hr element + + + + + + + +

Description

+

This test validates the hr element.

+ +
+ + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-manual.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-manual.html new file mode 100644 index 0000000000..346ed56629 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-novalue-manual.html @@ -0,0 +1,148 @@ + + + + + Body Element + + + + + + + +

Validation of li characteristic requiring manual testing

+ +

The spec states: "If the parent element is an ol element, then the li element has an ordinal value."

+

This manual test is needed to verify that NON-ol element parents do NOT result in an ordinal value.

+

It needs to be manual because the ordinal value assigned to each list element by the user agent is NOT available programmatically. Values which are set either via markup or IDL are available programmatically, but not the calculated values for all the other list items.

+

And, as we cannot be sure how a mistakenly assigned value would be rendered, this test cannot be a reftest.

+

So, please use the buttons to answer the following questions:

+ + + + + + + + + + + + + + + + + + + + + + +
HTML MarkupDo you see any sort of sequencing information?
+ +
  • Menu Item
  • +
  • Menu Item
  • +
    +
    + + +
    + +
  • + +
  • Toolbar Menu Item
  • +
  • Toolbar Menu Item
  • +
    +
  • +
  • + +
  • Toolbar Menu Item
  • +
  • Toolbar Menu Item
  • +
    +
  • +
    +
    + + +
    +
      +
    • list item
    • +
    • list item
    • +
    • list item
    • +
    +
    + + +
    + +
    + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001-ref.html new file mode 100644 index 0000000000..23b6cdabe8 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001-ref.html @@ -0,0 +1,46 @@ + + + + + li element + + + + + +

    Description

    +

    This test continues to validate the li element.

    + +

    This reftest verifies that the value attribute has no effect when applied to a list item NOT having an ol parent and not marked as display: list-item.

    +

    A reftest is necessary because the values of li elements as calculated by the user agent are NOT available programatically. Only explicitly-set values are then available programatically.

    +

    This reftest passes if you see NO sequencing information on any of the items below.

    + +

    Unordered List

    + + + +
  • Menu Item
  • +
  • Menu Item
  • +
    + + +
  • + +
  • Toolbar Menu Item
  • +
  • Toolbar Menu Item
  • +
    +
  • +
  • + +
  • Toolbar Menu Item
  • +
  • Toolbar Menu Item
  • +
    +
  • +
    + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001.html new file mode 100644 index 0000000000..86200edadf --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-001.html @@ -0,0 +1,47 @@ + + + + + li element + + + + + + +

    Description

    +

    This test continues to validate the li element.

    + +

    This reftest verifies that the value attribute has no effect when applied to a list item NOT having an ol parent and not marked as display: list-item.

    +

    A reftest is necessary because the values of li elements as calculated by the user agent are NOT available programatically. Only explicitly-set values are then available programatically.

    +

    This reftest passes if you see NO sequencing information on any of the items below.

    + +

    Unordered List

    + + + +
  • Menu Item
  • +
  • Menu Item
  • +
    + + +
  • + +
  • Toolbar Menu Item
  • +
  • Toolbar Menu Item
  • +
    +
  • +
  • + +
  • Toolbar Menu Item
  • +
  • Toolbar Menu Item
  • +
    +
  • +
    + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002-ref.html new file mode 100644 index 0000000000..1e453e1afb --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002-ref.html @@ -0,0 +1,32 @@ + + + + + li element + + + + + + +

    Description

    +

    This test continues to validate the li element.

    + +

    This reftest verifies that the value attribute has an effect when applied to a list item with an ol parent.

    +

    A reftest is necessary because the values of li elements as calculated by the user agent are NOT available programatically. Only explicitly-set values are then available programatically.

    +

    This reftest passes if you see the numbers 1. 2. 3. below the words "Ordered List"

    + + +

    Ordered List

    + +

    1.

    +

    2.

    +

    3.

    +
    +
    + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002.html new file mode 100644 index 0000000000..3c0a464255 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-002.html @@ -0,0 +1,34 @@ + + + + + li element + + + + + + + +

    Description

    +

    This test continues to validate the li element.

    + +

    This reftest verifies that the value attribute has an effect when applied to a list item with an ol parent.

    +

    A reftest is necessary because the values of li elements as calculated by the user agent are NOT available programatically. Only explicitly-set values are then available programatically.

    +

    This reftest passes if you see the numbers 1. 2. 3. below the words "Ordered List"

    + + +

    Ordered List

    +
      +
    1. +
    2. +
    3. +
    +
    + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003-ref.html new file mode 100644 index 0000000000..dbe4c05bad --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003-ref.html @@ -0,0 +1,14 @@ + + + + + HTML LI element: dynamic update test for LI @value + + + +
    + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003.html new file mode 100644 index 0000000000..bad3819604 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-003.html @@ -0,0 +1,18 @@ + + + + + HTML LI element: dynamic update test for LI @value + + + + + + + +
    + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004-ref.html new file mode 100644 index 0000000000..2d9b19e043 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004-ref.html @@ -0,0 +1,23 @@ + + + + + HTML LI element: implied scope + + + + +
  • +
  • +
  • +
  • +
  • +
  • + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004.html new file mode 100644 index 0000000000..2a7647fc2a --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-004.html @@ -0,0 +1,26 @@ + + + + + HTML LI element: implied scope + + + + + + + +
  • +
  • +
  • +
  • +
  • +
  • + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005-ref.html new file mode 100644 index 0000000000..6ec02e5433 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005-ref.html @@ -0,0 +1,22 @@ + + + + + HTML LI element: explicit scope + + + +
      +
    1. +
    2. +
    3. +
    4. +
    5. +
    6. +
    7. +
    + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005.html new file mode 100644 index 0000000000..2fa4e5dbe3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-005.html @@ -0,0 +1,25 @@ + + + + + HTML LI element: explicit scope + + + + + + +
      +
    1. +
    2. +
    3. +
    4. +
    5. +
    6. +
    7. +
    + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-006.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-006.html new file mode 100644 index 0000000000..d6a260bbc0 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-006.html @@ -0,0 +1,29 @@ + + + + + HTML LI element: implied scope + + + + + + + + +
      +
    1. +
    2. +
    3. +
    4. +
    5. +
    6. + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-007.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-007.html new file mode 100644 index 0000000000..8eda7057da --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-007.html @@ -0,0 +1,31 @@ + + + + + HTML LI element: implied scope + + + + + + + + +
        +
          +
        1. +
        2. +
        3. +
        4. +
        5. +
        6. +
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item-ref.html new file mode 100644 index 0000000000..fb142f84b8 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item-ref.html @@ -0,0 +1,40 @@ + + +display: list-item on non-<li> elements + + + + + + +

        This test matches if both lists display similar to the following:

        + +
        1. A
        +2. B
        +   D
        +3. E
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. + D +
        5. E
        6. +
        + +
          +
        1. A
        2. +
        3. B
        4. + D +
        5. E
        6. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item.html new file mode 100644 index 0000000000..ce63cf7c7c --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-display-list-item.html @@ -0,0 +1,44 @@ + + +display: list-item on non-<li> elements + + + + + + + + +

        This test matches if both lists display similar to the following:

        + +
        1. A
        +2. B
        +   D
        +3. E
        + +
        + + + +
          +
          A
          +
          B
          + +
          D
          +
          E
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu-ref.html new file mode 100644 index 0000000000..2b1ea76656 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu-ref.html @@ -0,0 +1,46 @@ + + +list owner is calculated to be narest ancestor menu if it exists + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          1. K
        +          2. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
        9. E
        10. +
            +
          1. F
          2. +
          3. G
          4. +
          +
        11. H
        12. +
            +
          1. I
          2. +
          3. + J +
              +
            1. K
            2. +
            3. L
            4. +
            +
          4. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu.html new file mode 100644 index 0000000000..86afa5d206 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu.html @@ -0,0 +1,58 @@ + + +list owner is calculated to be narest ancestor menu if it exists + + + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          1. K
        +          2. L
        + +
        + + +
      1. A
      2. +
      3. B
      4. +
        +
      5. C
      6. + +
      7. D
      8. +
      9. E
      10. +
        + +
      11. F
      12. +
      13. G
      14. +
        +
        +
      15. H
      16. + +
      17. I
      18. +
      19. + J + +
      20. K
      21. +
      22. L
      23. +
        +
      24. +
        +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed-ref.html new file mode 100644 index 0000000000..b72768aefc --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed-ref.html @@ -0,0 +1,52 @@ + + +list owner is calculated to be nearest ancestor ul or ul (but not dir) if it exists + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          3. K
        +          4. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
        9. E
        10. +
            +
          1. F
          2. +
          3. G
          4. +
          +
        11. H
        12. +
            +
          1. I
          2. +
          3. + J + +
          4. K
          5. +
          6. L
          7. +
            +
          8. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed.html new file mode 100644 index 0000000000..82e39f995e --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-mixed.html @@ -0,0 +1,64 @@ + + +list owner is calculated to be nearest ancestor ul or ul (but not dir) if it exists + + + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          3. K
        +          4. L
        + +
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir-ref.html new file mode 100644 index 0000000000..fad00fa3bd --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir-ref.html @@ -0,0 +1,52 @@ + + +The dir element is not treated specially when calculating list owners + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     6. F
        +     7. G
        +8. H
        +     9. I
        +     10. J
        +          11. K
        +          12. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
        9. E
        10. + +
        11. F
        12. +
        13. G
        14. +
          +
        15. H
        16. + +
        17. I
        18. +
        19. + J + +
        20. K
        21. +
        22. L
        23. +
          +
        24. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir.html new file mode 100644 index 0000000000..747d90738b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-not-dir.html @@ -0,0 +1,58 @@ + + +The dir element is not treated specially when calculating list owners + + + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     6. F
        +     7. G
        +8. H
        +     9. I
        +     10. J
        +          11. K
        +          12. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
          +
        5. C
        6. + +
        7. D
        8. +
        9. E
        10. +
          + +
        11. F
        12. +
        13. G
        14. +
          +
          +
        15. H
        16. + +
        17. I
        18. +
        19. + J + +
        20. K
        21. +
        22. L
        23. +
          +
        24. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol-ref.html new file mode 100644 index 0000000000..96cc9c3600 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol-ref.html @@ -0,0 +1,46 @@ + + +list owner is calculated to be narest ancestor ol if it exists + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          1. K
        +          2. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
        9. E
        10. +
            +
          1. F
          2. +
          3. G
          4. +
          +
        11. H
        12. +
            +
          1. I
          2. +
          3. + J +
              +
            1. K
            2. +
            3. L
            4. +
            +
          4. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol.html new file mode 100644 index 0000000000..fcb93cfbb5 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ol.html @@ -0,0 +1,52 @@ + + +list owner is calculated to be narest ancestor ol if it exists + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          1. K
        +          2. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
          +
        5. C
        6. + +
        7. D
        8. +
        9. E
        10. +
          +
            +
          1. F
          2. +
          3. G
          4. +
          +
          +
        11. H
        12. +
            +
          1. I
          2. +
          3. + J +
              +
            1. K
            2. +
            3. L
            4. +
            +
          4. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent-ref.html new file mode 100644 index 0000000000..03a0570ba4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent-ref.html @@ -0,0 +1,40 @@ + + +list owner is calculated to be the parent if there is no ancestor ul/ol/menu + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +1. C
        +1. D
        +       1. E
        +3. F
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
          +
        9. E
        10. +
          +
        11. F
        12. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent.html new file mode 100644 index 0000000000..0345add996 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent.html @@ -0,0 +1,45 @@ + + +list owner is calculated to be the parent if there is no ancestor ul/ol/menu + + + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +1. C
        +1. D
        +       1. E
        +3. F
        + +
        + +
        +
      25. A
      26. +
      27. B
      28. +
        +
      29. C
      30. + +
      31. D
      32. +
        +
        +
        +
      33. E
      34. +
        +
      35. F
      36. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes-ref.html new file mode 100644 index 0000000000..e758f52be9 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes-ref.html @@ -0,0 +1,42 @@ + + +list owner calculation skips elements that do not generate layout boxes + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +6. F
        +7. G
        +8. H
        +9. I
        +10. J
        +     1. K
        +     2. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
        9. E
        10. +
        11. F
        12. +
        13. G
        14. +
        15. H
        16. +
        17. I
        18. +
        19. + J +
            +
          1. K
          2. +
          3. L
          4. +
          +
        20. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes.html new file mode 100644 index 0000000000..defdcb7000 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes.html @@ -0,0 +1,52 @@ + + +list owner calculation skips elements that do not generate layout boxes + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +6. F
        +7. G
        +8. H
        +9. I
        +10. J
        +     1. K
        +     2. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
          +
        5. C
        6. + +
        7. D
        8. +
        9. E
        10. +
          +
            +
          1. F
          2. +
          3. G
          4. +
          +
          +
        11. H
        12. +
            +
          1. I
          2. +
          3. + J +
              +
            1. K
            2. +
            3. L
            4. +
            +
          4. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul-ref.html new file mode 100644 index 0000000000..22ee9f437f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul-ref.html @@ -0,0 +1,46 @@ + + +list owner is calculated to be nearest ancestor ul if it exists + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          1. K
        +          2. L
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. C
        6. +
        7. D
        8. +
        9. E
        10. +
            +
          1. F
          2. +
          3. G
          4. +
          +
        11. H
        12. +
            +
          1. I
          2. +
          3. + J +
              +
            1. K
            2. +
            3. L
            4. +
            +
          4. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul.html new file mode 100644 index 0000000000..8f1c7e3766 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-ul.html @@ -0,0 +1,58 @@ + + +list owner is calculated to be nearest ancestor ul if it exists + + + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. C
        +4. D
        +5. E
        +     1. F
        +     2. G
        +6. H
        +     1. I
        +     2. J
        +          1. K
        +          2. L
        + +
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered-ref.html new file mode 100644 index 0000000000..9a018cfaf3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered-ref.html @@ -0,0 +1,24 @@ + + +List items that are not being rendered do not participate in numbering + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. D
        +4. E
        +5. G
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. +
        5. D
        6. +
        7. E
        8. +
        9. G
        10. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered.html new file mode 100644 index 0000000000..da476c4bff --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-not-being-rendered.html @@ -0,0 +1,30 @@ + + +List items that are not being rendered do not participate in numbering + + + + + + +

        This test matches if the list displays similar to the following

        + +
        1. A
        +2. B
        +3. D
        +4. E
        +5. G
        + +
        + +
          +
        1. A
        2. +
        3. B
        4. + +
        5. D
        6. +
          +
        7. E
        8. + +
        9. G
        10. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li.html b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li.html new file mode 100644 index 0000000000..fa342b3e28 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li.html @@ -0,0 +1,193 @@ + + + + + li element + + + + + + +

        Description

        +

        This test validates the li element.

        + +
        + + + +
      37. Command
      38. +
      39. Command
      40. +
        + + +
      41. + + + + +
      42. +
      43. + +
      44. Help Me
      45. +
      46. About
      47. +
        +
      48. +
        + +

        Unordered List

        +
          +
        • list item
        • +
        • list item
        • +
        • list item
        • +
        +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001-ref.html new file mode 100644 index 0000000000..8da32887f8 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001-ref.html @@ -0,0 +1,50 @@ + + + + + ol element + + + + + + +

        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.

        + +

        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.

        +
        + +
        + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001.html new file mode 100644 index 0000000000..7c502e3835 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001.html @@ -0,0 +1,56 @@ + + + + + ol element + + + + + + + +

        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.

        + +

        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

        +
          +
        1. +
        2. +
        3. +
        + +

        Ordered List - reversed via IDL

        +
          +
        1. +
        2. +
        3. +
        + +
        + + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001-ref.html new file mode 100644 index 0000000000..0f651183a8 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001-ref.html @@ -0,0 +1,53 @@ + + + + + ol element + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are numbered identically to the horizontal sequence immediately above those list items.

        +

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

        + + + +

        2, 3, 4 (ol has start attribute of 2)

        + +

        2.

        +

        3.

        +

        4.

        +
        + +

        -9, -8, -7 (ol has start attribute of -9)

        + +

        -9.

        +

        -8.

        +

        -7.

        +
        + +

        1000, 1001, 1002 (list's start attribute of 1000 provided by JavaScript)

        + +

        1000.

        +

        1001.

        +

        1002.

        +
        + +

        2, 1, 9 (each list item has a specified value attribute, list has a start attribute of 1000)

        + +

        2.

        +

        1.

        +

        9.

        +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001.html new file mode 100644 index 0000000000..b6de3dbb4b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-001.html @@ -0,0 +1,60 @@ + + + + + ol element + + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are numbered identically to the horizontal sequence immediately above those list items.

        +

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

        + + + +

        2, 3, 4 (ol has start attribute of 2)

        +
          +
        1. +
        2. +
        3. +
        + +

        -9, -8, -7 (ol has start attribute of -9)

        +
          +
        1. +
        2. +
        3. +
        + +

        1000, 1001, 1002 (list's start attribute of 1000 provided by JavaScript)

        +
          +
        1. +
        2. +
        3. +
        + +

        2, 1, 9 (each list item has a specified value attribute, list has a start attribute of 1000)

        +
          +
        1. +
        2. +
        3. +
        + +
        + + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002-ref.html new file mode 100644 index 0000000000..2dbdf4aa74 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002-ref.html @@ -0,0 +1,53 @@ + + + + + ol element + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are numbered identically to the horizontal sequence immediately above those list items.

        +

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

        + + + +

        4, 5, 6 (ol has start attribute of 2 which is overridden by first list item's value attribute of 4)

        + +

        4.

        +

        5.

        +

        6.

        +
        + +

        4, 5, 6 (ol has start attribute of -10 which is overridden by first list item's value attribute of 4)

        + +

        4.

        +

        5.

        +

        6.

        +
        + +

        1, 5, 6 (2nd list item has value attribute of 5)

        + +

        1.

        +

        5.

        +

        6.

        +
        + +

        -1, -5, -4 (list has a start attribute of -1, and 2nd list item has value attribute of -5)

        + +

        -1.

        +

        -5.

        +

        -4.

        +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002.html new file mode 100644 index 0000000000..9b21c79496 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002.html @@ -0,0 +1,57 @@ + + + + + ol element + + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are numbered identically to the horizontal sequence immediately above those list items.

        +

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

        + + + +

        4, 5, 6 (ol has start attribute of 2 which is overridden by first list item's value attribute of 4)

        +
          +
        1. +
        2. +
        3. +
        + +

        4, 5, 6 (ol has start attribute of -10 which is overridden by first list item's value attribute of 4)

        +
          +
        1. +
        2. +
        3. +
        + +

        1, 5, 6 (2nd list item has value attribute of 5)

        +
          +
        1. +
        2. +
        3. +
        + +

        -1, -5, -4 (list has a start attribute of -1, and 2nd list item has value attribute of -5)

        +
          +
        1. +
        2. +
        3. +
        + +
        + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001-ref.html new file mode 100644 index 0000000000..391859efc6 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001-ref.html @@ -0,0 +1,52 @@ + + + + + ol element + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are labelled identically to the horizontal sequence immediately above those list items:

        +

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

        + + +

        1, 2, 3 (default value for unspecified type attribute is 'decimal')

        + +

        1.

        +

        2.

        +

        3.

        +
        + +

        1, 2, 3 (default value for type attribute not listed in spec table is 'decimal' (type = "!"))

        + +

        1.

        +

        2.

        +

        3.

        +
        + +

        1, 2, 3 (default value for type attribute not listed in spec table is 'decimal' (type = "2"))

        + +

        1.

        +

        2.

        +

        3.

        +
        + +

        1, 2, 3 (default value for type attribute not listed in spec table is 'decimal' (type = "b"))

        + +

        1.

        +

        2.

        +

        3.

        +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001.html new file mode 100644 index 0000000000..b7dc22d779 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-001.html @@ -0,0 +1,55 @@ + + + + + ol element + + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are labelled identically to the horizontal sequence immediately above those list items:

        +

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

        + + + +

        1, 2, 3 (default value for unspecified type attribute is 'decimal')

        +
          +
        1. +
        2. +
        3. +
        + +

        1, 2, 3 (default value for type attribute not listed in spec table is 'decimal' (type = "!"))

        +
          +
        1. +
        2. +
        3. +
        + +

        1, 2, 3 (default value for type attribute not listed in spec table is 'decimal' (type = "2"))

        +
          +
        1. +
        2. +
        3. +
        + +

        1, 2, 3 (default value for type attribute not listed in spec table is 'decimal' (type = "b"))

        +
          +
        1. +
        2. +
        3. +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002-ref.html new file mode 100644 index 0000000000..8d8012e8ed --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002-ref.html @@ -0,0 +1,59 @@ + + + + + ol element + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are labelled identically to the horizontal sequence immediately above those list items:

        +

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

        + + +

        1, 2, 3 (type attribute of "1" results in decimal type)

        + +

        1.

        +

        2.

        +

        3.

        +
        + +

        aa, ab, ac (type attribute of "a" results in lower case latin alphabet, start = 27)

        + +

        aa.

        +

        ab.

        +

        ac.

        +
        + +

        AA, AB, AC (type attribute of "A" results in upper case latin alphabet, start = 27)

        + +

        AA.

        +

        AB.

        +

        AC.

        +
        + +

        i, v, c (type attribute of "i" results in lower case roman alphabet, list values = 1, 5, 100)

        + +

        i.

        +

        v.

        +

        c.

        +
        + +

        I, V, C (type attribute of "I" results in upper case roman alphabet, list values = 1, 5, 100)

        + +

        I.

        +

        V.

        +

        C.

        +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002.html new file mode 100644 index 0000000000..db55fd4bc4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-002.html @@ -0,0 +1,62 @@ + + + + + ol element + + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are labelled identically to the horizontal sequence immediately above those list items:

        +

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

        + + + +

        1, 2, 3 (type attribute of "1" results in decimal type)

        +
          +
        1. +
        2. +
        3. +
        + +

        aa, ab, ac (type attribute of "a" results in lower case latin alphabet, start = 27)

        +
          +
        1. +
        2. +
        3. +
        + +

        AA, AB, AC (type attribute of "A" results in upper case latin alphabet, start = 27)

        +
          +
        1. +
        2. +
        3. +
        + +

        i, v, c (type attribute of "i" results in lower case roman alphabet, list values = 1, 5, 100)

        +
          +
        1. +
        2. +
        3. +
        + +

        I, V, C (type attribute of "I" results in upper case roman alphabet, list values = 1, 5, 100)

        +
          +
        1. +
        2. +
        3. +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003-ref.html new file mode 100644 index 0000000000..6c836cf367 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003-ref.html @@ -0,0 +1,76 @@ + + + + + ol element + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are labelled identically to the horizontal sequence immediately above those list items:

        +

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

        + + +

        -3, -2, -1 (type is "a", start is -3)

        + +

        -3.

        +

        -2.

        +

        -1.

        +
        + +

        0, a (type is "a", start is 0)

        + +

        0.

        +

        a.

        +
        + +

        -3, -2, -1 (type is "A", start is -3)

        + +

        -3.

        +

        -2.

        +

        -1.

        +
        + +

        0, A (type is "A", start is 0)

        + +

        0.

        +

        A.

        +
        + +

        -3, -2, -1 (type is "i", start is -3)

        + +

        -3.

        +

        -2.

        +

        -1.

        +
        + +

        0, i (type is "i", start is 0)

        + +

        0.

        +

        i.

        +
        + +

        -3, -2, -1 (type is "I", start is -3)

        + +

        -3.

        +

        -2.

        +

        -1.

        +
        + +

        0, I (type is "I", start is 0)

        + +

        0.

        +

        I.

        +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003.html new file mode 100644 index 0000000000..654287298f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol-type-reftest-003.html @@ -0,0 +1,79 @@ + + + + + ol element + + + + + + + +

        This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the user agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual rendering against expected rendering.

        + +

        This reftest passes if each list's items are labelled identically to the horizontal sequence immediately above those list items:

        +

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

        + + + +

        -3, -2, -1 (type is "a", start is -3)

        +
          +
        1. +
        2. +
        3. +
        + +

        0, a (type is "a", start is 0)

        +
          +
        1. +
        2. +
        + +

        -3, -2, -1 (type is "A", start is -3)

        +
          +
        1. +
        2. +
        3. +
        + +

        0, A (type is "A", start is 0)

        +
          +
        1. +
        2. +
        + +

        -3, -2, -1 (type is "i", start is -3)

        +
          +
        1. +
        2. +
        3. +
        + +

        0, i (type is "i", start is 0)

        +
          +
        1. +
        2. +
        + +

        -3, -2, -1 (type is "I", start is -3)

        +
          +
        1. +
        2. +
        3. +
        + +

        0, I (type is "I", start is 0)

        +
          +
        1. +
        2. +
        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol.html new file mode 100644 index 0000000000..80fa734a92 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/grouping-ol.html @@ -0,0 +1,299 @@ + + + + + the ol element + + + + + + +

        Description

        +

        This test validates the ol element.

        + +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +
        5. list item
        6. +
        + +

        Ordered List

        +
          +
        1. list item
        2. +
        3. list item
        4. +



          +
        5. list item
        6. +
        + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html new file mode 100644 index 0000000000..7f2a00c703 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html @@ -0,0 +1,25 @@ + + + + ol.start - reflection test + + + + + + + + +
          +
        1. One
        2. +
        3. Two
        4. +
        5. Three
        6. +
        +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html new file mode 100644 index 0000000000..c7c9aeab48 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html @@ -0,0 +1,25 @@ + + + + ol.start - reflection test + + + + + + + + +
          +
        1. Three
        2. +
        3. Two
        4. +
        5. One
        6. +
        +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html new file mode 100644 index 0000000000..f8cac3c702 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1-ref.html @@ -0,0 +1,6 @@ + +
          +
        1. Three
        2. +
        3. Two
        4. +
        5. One
        6. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html new file mode 100644 index 0000000000..202315b1c6 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html @@ -0,0 +1,10 @@ + + +`reversed` should reverse the numbering correctly + + +
          +
        1. Three
        2. +
        3. Two
        4. +
        5. One
        6. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html new file mode 100644 index 0000000000..4d6202943d --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html @@ -0,0 +1,15 @@ + + +Dynamically setting `reversed` should update the numbering + + +
          +
        1. Three
        2. +
        3. Two
        4. +
        5. One
        6. +
        + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html new file mode 100644 index 0000000000..6fad13053f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html @@ -0,0 +1,16 @@ + + +Reversed numbering should update on dynamic addition of child nodes + + +
          +
        1. Three
        2. +
        3. Two
        4. +
        + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1d.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1d.html new file mode 100644 index 0000000000..a256b6a428 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1d.html @@ -0,0 +1,12 @@ + + +Reverse numbering should not be affected by nested div + + +
          +
        1. Three
        2. +
          +
        3. Two
        4. +
        5. One
        6. +
          +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1e.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1e.html new file mode 100644 index 0000000000..48a2799942 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-1e.html @@ -0,0 +1,11 @@ + + +Reverse numbering should not count display:none elements + + +
          +
        1. Three
        2. +
        3. Three
        4. +
        5. Two
        6. +
        7. One
        8. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2-ref.html new file mode 100644 index 0000000000..4f3ece2be4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2-ref.html @@ -0,0 +1,6 @@ + +
          +
        1. Five
        2. +
        3. Four
        4. +
        5. Three
        6. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2.html new file mode 100644 index 0000000000..0d4948153c --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/reversed-2.html @@ -0,0 +1,7 @@ + + +
          +
        1. Five
        2. +
        3. Four
        4. +
        5. Three
        6. +
        diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-p-element/grouping-p.html b/testing/web-platform/tests/html/semantics/grouping-content/the-p-element/grouping-p.html new file mode 100644 index 0000000000..5f15aca31f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-p-element/grouping-p.html @@ -0,0 +1,28 @@ + + + + + the p element + + + + + + + +

        Description

        +

        This test validates the p element.

        + +
        + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html new file mode 100644 index 0000000000..75aa91b302 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html @@ -0,0 +1,22 @@ + + + + + pre element + + + + + +

        Description

        +

        This test continues to validate the pre element.

        + +

        The spec states:

        +
        "A newline in a pre element should separate paragraphs for the purposes of the Unicode bidirectional algorithm. This requirement may be implemented indirectly through the style layer. For example, an HTML+CSS user agent could implement these requirements by implementing the CSS 'unicode-bidi' property."
        + +

        This reftest passes if below you see "ABC ABC" repeated on two separate lines below (4 ABCs total):

        + +
        ABC ABC
        +ABC ABC
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html new file mode 100644 index 0000000000..29e582edd5 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html @@ -0,0 +1,23 @@ + + + + + pre element + + + + + + +

        Description

        +

        This test continues to validate the pre element.

        + +

        The spec states:

        +
        "A newline in a pre element should separate paragraphs for the purposes of the Unicode bidirectional algorithm. This requirement may be implemented indirectly through the style layer. For example, an HTML+CSS user agent could implement these requirements by implementing the CSS 'unicode-bidi' property."
        + +

        This reftest passes if below you see "ABC ABC" repeated on two separate lines below (4 ABCs total):

        + +
        ‮ CBA CBA
        +ABC ABC
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html new file mode 100644 index 0000000000..07fc631b91 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html @@ -0,0 +1,28 @@ + + + + + the pre element + + + + + + +

        Description

        +

        This test validates the pre element.

        + +
        + + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html new file mode 100644 index 0000000000..0f302b5d4b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html @@ -0,0 +1,19 @@ + + + + HTML Test reference: newline in <pre> separates bidi paragraphs + + + + + + +

        Test passes if the rightmost character in the first line below is a full stop and to the left of it is a Hebrew letter.

        +
        +
        +A Hebrew letter and a full stop: א.‎
        +א this line begins with a Hebrew letter.
        +      
        +
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html new file mode 100644 index 0000000000..23d442f52c --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html @@ -0,0 +1,23 @@ + + + + + HTML Test: newline in pre separates bidi paragraphs + + + + + + + + +

        Test passes if the rightmost character in the first line below is a full stop and to the left of it is a Hebrew letter.

        +
        +
        +A Hebrew letter and a full stop: א.
        +א this line begins with a Hebrew letter.
        +      
        +
        + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-ul-element/grouping-ul.html b/testing/web-platform/tests/html/semantics/grouping-content/the-ul-element/grouping-ul.html new file mode 100644 index 0000000000..6e62343f6b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-ul-element/grouping-ul.html @@ -0,0 +1,28 @@ + + + + + the ul element + + + + + + + +

        Description

        +

        This test validates the ul element.

        + +
        + + + -- cgit v1.2.3