mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Add parsing support for the remaining transform functions
This commit is contained in:
parent
ad4f35ff37
commit
c4f46893f6
4 changed files with 89 additions and 4 deletions
|
@ -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!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue