From a8329d3cb18de7fbd1f67e4abda656c5967d55ca Mon Sep 17 00:00:00 2001 From: Kent Tamura Date: Thu, 10 Dec 2020 13:32:52 -0800 Subject: [PATCH] css-lists: Elements with 'display:list-item' should respect 'counter-increment' and 'counter-set' properties ListItemOrdinal::CalcValue() should refer to these properties. Bug: 1157365 Change-Id: I30bb015935b4cd076a5054dddee062d73145c089 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583595 Reviewed-by: Oriol Brufau Reviewed-by: Koji Ishii Commit-Queue: Kent Tamura Cr-Commit-Position: refs/heads/master@{#835809} --- .../summary-in-ol-ref.html | 20 +++++++++++++++++ .../the-details-element/summary-in-ol.html | 22 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 html/rendering/the-details-element/summary-in-ol-ref.html create mode 100644 html/rendering/the-details-element/summary-in-ol.html diff --git a/html/rendering/the-details-element/summary-in-ol-ref.html b/html/rendering/the-details-element/summary-in-ol-ref.html new file mode 100644 index 00000000000000..bb6f79b62709f6 --- /dev/null +++ b/html/rendering/the-details-element/summary-in-ol-ref.html @@ -0,0 +1,20 @@ + + +
    +
    summary
    +
  1. 1
  2. +
  3. 2
    summary
  4. +
  5. 3
  6. +
    summary
    +
  7. 4
  8. +
+ +
    + summary +
  1. 1
  2. +
  3. 2 summary
  4. +
  5. 3
  6. + summary +
  7. 4
  8. +
+ diff --git a/html/rendering/the-details-element/summary-in-ol.html b/html/rendering/the-details-element/summary-in-ol.html new file mode 100644 index 00000000000000..0f380bf058968f --- /dev/null +++ b/html/rendering/the-details-element/summary-in-ol.html @@ -0,0 +1,22 @@ + +Check if SUMMARY has 'counter-increment: list-item 0' + + +
    +
    summary
    +
  1. 1
  2. +
  3. 2
    summary
  4. +
  5. 3
  6. +
    summary
    +
  7. 4
  8. +
+ +
    + summary +
  1. 1
  2. +
  3. 2 summary
  4. +
  5. 3
  6. + summary +
  7. 4
  8. +
+