From 1f7f287abf6809817663b1df4bb0091909f19d81 Mon Sep 17 00:00:00 2001 From: Emil A Eklund Date: Fri, 19 Jul 2019 14:07:48 +0000 Subject: [PATCH] Bug 1561186 [wpt PR 17459] - [LayoutNG] Fix list-item marker logic, a=testonly Automatic update from web-platform-tests [LayoutNG] Fix list-item marker logic Update the list-item marker logic to reflect that list-style-image takes precedence over list-style-type: none. Also adds a WPT correctness test. Bug: 976937 Test: wpt/css/css-lists/list-type-none-style-image.html Change-Id: I2255254f72e58d53671337ccb3f6a285cc515522 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671896 Reviewed-by: Koji Ishii Commit-Queue: Emil A Eklund Cr-Commit-Position: refs/heads/master@{#671772} -- wpt-commits: b595b20b8acf686daa11290b4c132a79b3f1dfe6 wpt-pr: 17459 --- .../list-type-none-style-image-ref.html | 17 ++++++++++++++ .../css-lists/list-type-none-style-image.html | 22 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html create mode 100644 testing/web-platform/tests/css/css-lists/list-type-none-style-image.html diff --git a/testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html b/testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html new file mode 100644 index 000000000000..9e72fb310233 --- /dev/null +++ b/testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html @@ -0,0 +1,17 @@ + + + + Reference: CSS Lists: 'list-style-image' takes precedence over 'list-style-type: none' + + + + +
    +
  • Should have a green square list marker.
  • +
+ + diff --git a/testing/web-platform/tests/css/css-lists/list-type-none-style-image.html b/testing/web-platform/tests/css/css-lists/list-type-none-style-image.html new file mode 100644 index 000000000000..6b7b83afc38b --- /dev/null +++ b/testing/web-platform/tests/css/css-lists/list-type-none-style-image.html @@ -0,0 +1,22 @@ + + + + CSS Lists: 'list-style-image' takes precedence over 'list-style-type: none' + + + + + + +
    +
  • Should have a green square list marker.
  • +
+ +