mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Compute display: contents as none for unusual elements
https://drafts.csswg.org/css-display-3/#unbox-html specifies certain elements that have their `display` style computed as `none` when specified as `contents`. This fixes at least one WPT test: http://wpt.live/css/css-display/display-contents-suppression-dynamic-001.html
This commit is contained in:
committed by
Andreas Kling
parent
eef9a53eec
commit
3b1d1d4582
Notes:
github-actions[bot]
2024-11-13 10:12:00 +00:00
Author: https://github.com/mikewatt 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/3b1d1d4582d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2224
@@ -59,6 +59,7 @@ private:
|
||||
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
|
||||
|
||||
virtual JS::GCPtr<Layout::Node> create_layout_node(CSS::StyleProperties) override;
|
||||
virtual void adjust_computed_style(CSS::StyleProperties&) override;
|
||||
|
||||
bool has_ancestor_media_element_or_object_element_not_showing_fallback_content() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user