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:
parent
c2e1dd67c9
commit
99cf8e36b1
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue