Page MenuHomePhabricator

list-style-type should support custom string
Closed, ResolvedPublicFeature

Description

Steps to replicate the issue:

  • Try to create a templateStyles sheet with list-style-type: 'X' or list-style: 'X'

What happens?
While saving, you get “Invalid or unsupported value for property list-style-type at line 3 character 19.”

What should have happened instead?
Sanitizer should let you save the page.

Other information:
Workaround: use inline style attribute (eventually with inherit keyword in templateStyles).

Details

Related Changes in Gerrit:

Event Timeline

Izno changed the subtype of this task from "Bug Report" to "Feature Request".
Izno moved this task from Unsorted to W3C Working Draft (or earlier) on the css-sanitizer board.
Izno added a project: I18n.

Change #1149532 had a related patch set uploaded (by Tim Starling; author: Tim Starling):

[css-sanitizer@master] Add Counter Styles 3 and Lists 3

https://gerrit.wikimedia.org/r/1149532