Fix build breakage caused by badly sequenced PR merges

This commit is contained in:
Andreas Kling 2025-02-05 19:48:56 +01:00
parent 070c4a2045
commit 8cf16da6c2
Notes: github-actions[bot] 2025-02-05 18:50:38 +00:00

View file

@ -2230,7 +2230,7 @@ static void compute_text_align(ComputedProperties& style, DOM::Element const& el
if (parent) {
auto const& parent_text_align = parent->computed_properties()->property(PropertyID::TextAlign);
auto const& parent_direction = parent->computed_properties()->direction().value_or(Direction::Ltr);
auto const& parent_direction = parent->computed_properties()->direction();
switch (parent_text_align.to_keyword()) {
case Keyword::Start:
if (parent_direction == Direction::Ltr) {