From 99cf8e36b1bef37065611d5b99756a8be3331051 Mon Sep 17 00:00:00 2001 From: Matrix89 Date: Sun, 5 Jan 2020 17:04:37 +0100 Subject: [PATCH] LibHTML: Add four missing border properties to the computed style --- Libraries/LibHTML/DOM/Element.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/LibHTML/DOM/Element.cpp b/Libraries/LibHTML/DOM/Element.cpp index 08b86e88e3..013e0f5699 100644 --- a/Libraries/LibHTML/DOM/Element.cpp +++ b/Libraries/LibHTML/DOM/Element.cpp @@ -176,6 +176,10 @@ RefPtr Element::computed_style() CSS::PropertyID::PaddingBottom, CSS::PropertyID::PaddingLeft, CSS::PropertyID::PaddingRight, + CSS::PropertyID::BorderTopWidth, + CSS::PropertyID::BorderBottomWidth, + CSS::PropertyID::BorderLeftWidth, + CSS::PropertyID::BorderRightWidth, }; for (CSS::PropertyID id : box_model_metrics) { auto prop = layout_node()->style().property(id);