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:
parent
88d218721b
commit
c148ed50bb
6 changed files with 37 additions and 21 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue