1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibWeb: Implement the :is() selector

This lets us finally get rid of a FIXME in the default style sheet. :^)
This commit is contained in:
Sam Atkins 2022-03-17 15:28:42 +00:00 committed by Andreas Kling
parent 88d218721b
commit c148ed50bb
6 changed files with 37 additions and 21 deletions

View file

@ -213,18 +213,11 @@ ol {
list-style-type: decimal;
}
/* FIXME: Implement these using :is() :^) */
/* :is(ul, ol) ul */
ul ul,
ol ul {
:is(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 {
:is(ul, ol) :is(ul, ol) ul {
list-style-type: square;
}