1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibWeb: Add support for the text-justify property

This commit adds the text-justify property as defined in:
https://drafts.csswg.org/css-text/#propdef-text-justify
This commit is contained in:
sin-ack 2022-03-12 19:31:32 +00:00 committed by Andreas Kling
parent 7fe3f2d970
commit 0679eadd62
7 changed files with 50 additions and 0 deletions

View file

@ -47,6 +47,7 @@ public:
LengthBox length_box(CSS::PropertyID left_id, CSS::PropertyID top_id, CSS::PropertyID right_id, CSS::PropertyID bottom_id, const CSS::Length& default_value) const;
Color color_or_fallback(CSS::PropertyID, Layout::NodeWithStyle const&, Color fallback) const;
Optional<CSS::TextAlign> text_align() const;
Optional<CSS::TextJustify> text_justify() const;
CSS::Display display() const;
Optional<CSS::Float> float_() const;
Optional<CSS::Clear> clear() const;