mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Make painting order more spec-compliant
Now our painting order inside stacking contexts is closer to the algorithm specified by CSS 2.1 (see section 9.9 and Appendix E)
This commit is contained in:
parent
33af7075e7
commit
d2b6148787
Notes:
sideshowbarker
2024-07-18 18:34:39 +09:00
Author: https://github.com/Cleverking2003
Commit: d2b6148787
Pull-request: https://github.com/SerenityOS/serenity/pull/6917
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/gmta
8 changed files with 89 additions and 43 deletions
|
@ -104,7 +104,6 @@ public:
|
|||
|
||||
void set_containing_line_box_fragment(LineBoxFragment&);
|
||||
|
||||
bool establishes_stacking_context() const;
|
||||
StackingContext* stacking_context() { return m_stacking_context; }
|
||||
const StackingContext* stacking_context() const { return m_stacking_context; }
|
||||
void set_stacking_context(NonnullOwnPtr<StackingContext> context) { m_stacking_context = move(context); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue