mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Add basic implementation of @page
This doesn't support selectors, and the only descriptors for now are for margins.
This commit is contained in:
parent
1002464322
commit
aaf07ae30d
Notes:
github-actions[bot]
2025-05-15 08:54:53 +00:00
Author: https://github.com/AtkinsSJ
Commit: aaf07ae30d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4735
27 changed files with 471 additions and 20 deletions
9
Libraries/LibWeb/CSS/CSSPageRule.idl
Normal file
9
Libraries/LibWeb/CSS/CSSPageRule.idl
Normal file
|
@ -0,0 +1,9 @@
|
|||
#import <CSS/CSSGroupingRule.idl>
|
||||
#import <CSS/CSSPageDescriptors.idl>
|
||||
|
||||
// https://drafts.csswg.org/cssom/#csspagerule
|
||||
[Exposed=Window]
|
||||
interface CSSPageRule : CSSGroupingRule {
|
||||
attribute CSSOMString selectorText;
|
||||
[SameObject, PutForwards=cssText] readonly attribute CSSPageDescriptors style;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue