summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Default.css
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-08 10:47:10 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-08 10:49:16 +0100
commit67b47013d27a1ff78ea700890f69e6a430538af0 (patch)
tree6330e25279df95518bd6b88cc69ba237a336b797 /Userland/Libraries/LibWeb/CSS/Default.css
parentdfa546702a31a7bde5b84cb1a21b67824d9d552b (diff)
downloadserenity-67b47013d27a1ff78ea700890f69e6a430538af0.zip
LibWeb: Use list-style-type circle/square for nested unordered lists
An idea shamelessly stolen from other UAs :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Default.css')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Default.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css
index 2a39d42857..e33642ac7a 100644
--- a/Userland/Libraries/LibWeb/CSS/Default.css
+++ b/Userland/Libraries/LibWeb/CSS/Default.css
@@ -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;