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:
Callum Law
2026-04-30 11:25:35 +12:00
committed by Jelle Raaijmakers
parent 1e8cc6bead
commit c84c944f20
Notes: github-actions[bot] 2026-05-01 16:47:41 +00:00
6 changed files with 111 additions and 52 deletions

View File

@@ -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; }