mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +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
Author: https://github.com/linusg
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