mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +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
Notes:
sideshowbarker
2024-07-18 18:31:35 +09:00
1 changed files with 15 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue