1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibHTML: Add four missing border properties to the computed style

This commit is contained in:
Matrix89 2020-01-05 17:04:37 +01:00 committed by Andreas Kling
parent c2e1dd67c9
commit 99cf8e36b1

View file

@ -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);