diff options
author | Matrix89 <Matrix89@protonmail.ch> | 2020-01-05 17:04:37 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-05 17:13:22 +0100 |
commit | 99cf8e36b1bef37065611d5b99756a8be3331051 (patch) | |
tree | ccc3b572b329258b5195951f3317f64d812715cd /Libraries | |
parent | c2e1dd67c95b326ebf7bc70fe35d013ba3c2be26 (diff) | |
download | serenity-99cf8e36b1bef37065611d5b99756a8be3331051.zip |
LibHTML: Add four missing border properties to the computed style
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibHTML/DOM/Element.cpp | 4 |
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); |