LibWeb: Use list-style-type circle/square for nested unordered lists

An idea shamelessly stolen from other UAs :^)
This commit is contained in:
Linus Groh 2021-05-08 10:47:10 +01:00
parent dfa546702a
commit 67b47013d2
Notes: sideshowbarker 2024-07-18 18:31:35 +09:00

View file

@ -207,6 +207,21 @@ ol {
list-style-type: decimal;
}
/* FIXME: Implement these using :is() :^) */
/* :is(ul, ol) ul */
ul ul,
ol ul {
list-style-type: circle;
}
/* :is(ul, ol) :is(ul, ol) ul */
ul ul ul,
ol ul ul,
ul ol ul,
ol ol ul {
list-style-type: square;
}
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
input[type=text] {
border: 1px solid black;