mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb/CSS: Implement cascade layers (aka @layer
)
This is done quite simply for now, there are certainly optimizations that can and should be made later. With this we now pass: - http://wpt.live/css/css-cascade/layer-basic.html - http://wpt.live/css/css-cascade/layer-important.html - http://wpt.live/css/css-cascade/layer-statement-copy-crash.html - http://wpt.live/css/css-cascade/layer-stylesheet-sharing-important.html - http://wpt.live/css/css-cascade/layer-stylesheet-sharing.html - http://wpt.live/css/css-cascade/layer-vs-inline-style.html
This commit is contained in:
parent
cbb4be3e5e
commit
a50da405e9
Notes:
github-actions[bot]
2024-09-06 05:50:49 +00:00
Author: https://github.com/AtkinsSJ
Commit: a50da405e9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1291
6 changed files with 799 additions and 12 deletions
|
@ -33,6 +33,8 @@ public:
|
|||
|
||||
CSSStyleDeclaration* style();
|
||||
|
||||
FlyString qualified_layer_name() const;
|
||||
|
||||
private:
|
||||
CSSStyleRule(JS::Realm&, Vector<NonnullRefPtr<Selector>>&&, PropertyOwningCSSStyleDeclaration&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue