mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
LibWeb: Generate the CSS::ValueID enum and its helper functions
This commit is contained in:
parent
92d8e559ba
commit
17c529e6c5
11 changed files with 421 additions and 550 deletions
|
@ -536,7 +536,7 @@ void BlockFormattingContext::place_block_level_non_replaced_element_in_normal_fl
|
|||
+ box_model.padding.left
|
||||
+ box_model.offset.left;
|
||||
|
||||
if (containing_block.style().text_align() == CSS::TextAlign::VendorSpecificCenter) {
|
||||
if (containing_block.style().text_align() == CSS::TextAlign::LibwebCenter) {
|
||||
x = (containing_block.width() / 2) - child_box.width() / 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue