LibWeb: Add transform property to the system

This patch adds parsing support as well as all the needed stuctures all
over LibWeb to pass Transformations around.
This commit is contained in:
Tobias Christiansen 2021-09-18 17:20:00 +02:00 committed by Andreas Kling
commit 9ebfafafbe
Notes: sideshowbarker 2024-07-18 03:42:26 +09:00
8 changed files with 133 additions and 0 deletions

View file

@ -64,6 +64,8 @@ public:
Optional<CSS::Repeat> background_repeat_y() const;
Optional<CSS::BoxShadowData> box_shadow() const;
Vector<CSS::Transformation> transformations() const;
const Gfx::Font& font(Layout::Node const& node) const
{
if (!m_font)