Files
ladybird/Userland/Libraries/LibWeb/CSS
Sam Atkins 6e6607a92f LibWeb: Allow passing StringView to CSSRuleList::insert_a_css_rule()
The spec is a little bizarre here. One caller of this
(`CSSStyleSheet::insert_rule()`) wants to give it a parsed CSSRule, but
the spec itself wants it to take a string. (As will be used by
`CSSGroupingRule::insert_rule()`) Using a Variant isn't pretty but it's
the best solution I've come to - having two overloads was worse, whether
one called the other or they just duplicated the logic. This seems the
least bad.
2022-05-11 20:16:10 +02:00
..
2022-04-11 21:10:08 +02:00
2022-04-11 21:10:08 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-05-11 20:16:10 +02:00
2022-05-11 20:16:10 +02:00
2022-05-11 20:16:10 +02:00