diff --git a/Source/Core/ElementDocument.cpp b/Source/Core/ElementDocument.cpp index 7c6dc0b2f..7da99f72c 100644 --- a/Source/Core/ElementDocument.cpp +++ b/Source/Core/ElementDocument.cpp @@ -678,7 +678,7 @@ void ElementDocument::ProcessDefaultAction(Event& event) if (key_identifier == Input::KI_LEFT || key_identifier == Input::KI_RIGHT || key_identifier == Input::KI_UP || key_identifier == Input::KI_DOWN) { - SpatialSearchDirection direction; + SpatialSearchDirection direction {}; String propertyName; switch (key_identifier) { diff --git a/Source/Core/ElementStyle.cpp b/Source/Core/ElementStyle.cpp index b8b2aa9c4..78cd5eeeb 100644 --- a/Source/Core/ElementStyle.cpp +++ b/Source/Core/ElementStyle.cpp @@ -869,6 +869,12 @@ PropertyIdSet ElementStyle::ComputeValues(Style::ComputedValues& values, const S case PropertyId::FlexWrap: case PropertyId::JustifyContent: break; + // Navigation properties. Must be manually retrieved with 'GetProperty()'. + case PropertyId::NavUp: + case PropertyId::NavDown: + case PropertyId::NavLeft: + case PropertyId::NavRight: + break; // Unhandled properties. Must be manually retrieved with 'GetProperty()'. case PropertyId::FillImage: case PropertyId::CaretColor: