mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
LibWeb: Use list-style-type circle/square for nested unordered lists
An idea shamelessly stolen from other UAs :^)
This commit is contained in:
parent
dfa546702a
commit
67b47013d2
1 changed files with 15 additions and 0 deletions
|
@ -207,6 +207,21 @@ ol {
|
||||||
list-style-type: decimal;
|
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. */
|
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue