1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:57:34 +00:00

LibWeb: Display <ol> and respect list-style-type in <ul>

In the ListItemMarkerBox render the correct thing when painting.
This covers decimal counting for ordered lists as well as square,
disc, and circle for unordered lists. Thus all currently supported
list-style-types are displayed correctly.

This closes #2059
This commit is contained in:
Tobias Christiansen 2021-04-17 23:11:49 +02:00 committed by Andreas Kling
parent bfcfe84240
commit 5338708091
2 changed files with 39 additions and 3 deletions

View file

@ -199,6 +199,14 @@ ol {
padding-left: 20px;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
input[type=text] {
border: 1px solid black;