mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 09:52:54 +00:00
LibWeb: Add missing CSS Transforms Module Level 2 functions
This commit is contained in:
parent
c443f80137
commit
675b242e84
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/bplaat
Commit: 675b242e84
Pull-request: https://github.com/SerenityOS/serenity/pull/22601
Reviewed-by: https://github.com/nico
6 changed files with 117 additions and 1 deletions
|
@ -79,6 +79,7 @@ namespace Web::CSS {
|
|||
enum class TransformFunctionParameterType {
|
||||
Angle,
|
||||
Length,
|
||||
LengthNone,
|
||||
LengthPercentage,
|
||||
Number,
|
||||
NumberPercentage
|
||||
|
@ -180,6 +181,8 @@ TransformFunctionMetadata transform_function_metadata(TransformFunction transfor
|
|||
parameter_type = "Angle"sv;
|
||||
else if (parameter_type_name == "length"sv)
|
||||
parameter_type = "Length"sv;
|
||||
else if (parameter_type_name == "length-none"sv)
|
||||
parameter_type = "LengthNone"sv;
|
||||
else if (parameter_type_name == "length-percentage"sv)
|
||||
parameter_type = "LengthPercentage"sv;
|
||||
else if (parameter_type_name == "number"sv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue