mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement reification of DisplayStyleValue
Values which can be represented by a single keyword are reified as `CSSKeywordValue` and those which can't are reified as `CSSStyleValue` as before
This commit is contained in:
committed by
Jelle Raaijmakers
parent
1e8cc6bead
commit
c84c944f20
Notes:
github-actions[bot]
2026-05-01 16:47:41 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c84c944f202 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/9172 Reviewed-by: https://github.com/gmta ✅
@@ -22,6 +22,7 @@ public:
|
||||
Display display() const { return m_display; }
|
||||
|
||||
bool properties_equal(DisplayStyleValue const& other) const { return m_display == other.m_display; }
|
||||
virtual GC::Ref<CSSStyleValue> reify(JS::Realm&, FlyString const& associated_property) const override;
|
||||
|
||||
virtual bool is_computationally_independent() const override { return true; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user