1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:37:34 +00:00

LibWeb: Turn <td align> into CSS text-align

Note that align=center and align=middle both behave like the <center>
element, and not like text-align:center.
This commit is contained in:
Andreas Kling 2020-06-13 15:16:56 +02:00
parent 07ccaa1934
commit 7e8945601a
4 changed files with 15 additions and 0 deletions

View file

@ -52,6 +52,7 @@ public:
}
void set_property(CSS::PropertyID, NonnullRefPtr<StyleValue> value);
void set_property(CSS::PropertyID, const StringView&);
Optional<NonnullRefPtr<StyleValue>> property(CSS::PropertyID) const;
Length length_or_fallback(CSS::PropertyID, const Length& fallback) const;