summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML
diff options
context:
space:
mode:
authorMatrix89 <Matrix89@protonmail.ch>2020-01-05 17:04:37 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-05 17:13:22 +0100
commit99cf8e36b1bef37065611d5b99756a8be3331051 (patch)
treeccc3b572b329258b5195951f3317f64d812715cd /Libraries/LibHTML
parentc2e1dd67c95b326ebf7bc70fe35d013ba3c2be26 (diff)
downloadserenity-99cf8e36b1bef37065611d5b99756a8be3331051.zip
LibHTML: Add four missing border properties to the computed style
Diffstat (limited to 'Libraries/LibHTML')
-rw-r--r--Libraries/LibHTML/DOM/Element.cpp4
1 files changed, 4 insertions, 0 deletions
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<StyleProperties> 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);