mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Add parsing support for the remaining transform functions
This commit is contained in:
committed by
Andreas Kling
parent
ad4f35ff37
commit
c4f46893f6
@@ -335,6 +335,8 @@ Vector<CSS::Transformation> StyleProperties::transformations() const
|
||||
values.append({ transformation_value.to_length() });
|
||||
} else if (transformation_value.is_numeric()) {
|
||||
values.append({ transformation_value.to_number() });
|
||||
} else if (transformation_value.is_angle()) {
|
||||
values.append({ transformation_value.as_angle().angle().to_degrees() });
|
||||
} else {
|
||||
dbgln("FIXME: Unsupported value in transform!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user