mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
LibWeb: Teach StyleComputer about "Automatic Box Type Transformation"
CSS has rules about automatic blockification or inlinification of boxes in certain circumstances. This patch implements automatic blockification of absolutely positioned and floating elements. This makes the smile appear on ACID2. :^)
This commit is contained in:
parent
16d69376d8
commit
12932d187e
2 changed files with 39 additions and 0 deletions
|
@ -78,6 +78,7 @@ private:
|
|||
void compute_font(StyleProperties&, DOM::Element const*) const;
|
||||
void compute_defaulted_values(StyleProperties&, DOM::Element const*) const;
|
||||
void absolutize_values(StyleProperties&, DOM::Element const*) const;
|
||||
void transform_box_type_if_needed(StyleProperties&, DOM::Element const&) const;
|
||||
|
||||
void compute_defaulted_property_value(StyleProperties&, DOM::Element const*, CSS::PropertyID) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue