[wpt-sync] Sync PR 19542 - [css-lists] Add list-style-type: <string>
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19542 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19542
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
[css-lists] Add list-style-type: <string>
This patch extends the syntax of the list-style-type property to accept
arbitrary string values in order to customize the marker contents.I have followed the same approach as https://crrev.com/c/879135 did for
the display property. When a string is specified for list-style-type,
the patch sets it to a special EListStyleType::kString, and the string
is stored in an extra field. As a result of this split, list-style-type
doesn't use as much auto generated code now, e.g. EListStyleType is not
automatically generated.Intent to Implement and Ship: list-style-type: \<string>
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GojYpoeDbqcSpec: https://drafts.csswg.org/css-lists/#valdef-list-style-type-string
Bug: 687946
TEST=third_party/blink/web_tests/external/wpt/css/css-lists/list-style-type-string-001a.html
TEST=third_party/blink/web_tests/external/wpt/css/css-lists/list-style-type-string-001b.html
TEST=third_party/blink/web_tests/external/wpt/css/css-lists/list-style-type-string-002.html
TEST=third_party/blink/web_tests/external/wpt/css/css-lists/parsing/list-style-type-computed.html
TEST=third_party/blink/web_tests/external/wpt/css/css-lists/parsing/list-style-type-valid.htmllist-style-type-string-001a and list-style-type-string-001b are imported
from wpt/css/vendor-imports/mozilla/mozilla-central-reftests/lists-3/Change-Id: I5743b99bc1a8e66679235874623c82650860ea29
Reviewed-on: https://chromium-review.googlesource.com/1841472
WPT-Export-Revision: 05c134855616d4f7aac2c9c989e6d70760f4cc1c
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
| bugherder | ||
Description
•