mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
![Sam Atkins](/assets/img/avatar_default.png)
Yes, the name is silly, but it's a StyleValue for list-style, so... yeah. :^) Since `list-style-type` and `list-style-image` can both have `none` as a value, and can appear in any order, we have to handle it separately, and then assign either or both of those to `none` depending on how many `none`s there are, and whether those sub-properties already have values. Added some extra test cases to lists.html to cover list-style-image and list-style-position parts of the list-style shorthand, and the `none` values.
633 B
7x10px
633 B
7x10px
![](/system/serenity/raw/commit/d29cef8d5f051d2907344a01337843e0c890804e/Base/res/html/misc/custom-list-item.png)