mirror of
https://github.com/RGBCube/serenity
synced 2025-08-02 19:47:47 +00:00
LibWeb: Implement and use ListStyleStyleValue
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.
This commit is contained in:
parent
dcbfb61816
commit
0e15561df0
7 changed files with 246 additions and 98 deletions
BIN
Base/res/html/misc/custom-list-item.png
Normal file
BIN
Base/res/html/misc/custom-list-item.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 633 B |
Loading…
Add table
Add a link
Reference in a new issue