mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Implement CSS perspective-origin
This commit is contained in:
parent
27e4793c5d
commit
2db3796fd3
Notes:
github-actions[bot]
2025-11-21 11:15:32 +00:00
Author: https://github.com/Psychpsyo
Commit: 2db3796fd3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6805
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/konradekk
31 changed files with 547 additions and 42 deletions
|
|
@ -751,6 +751,11 @@ Optional<CSSPixels> ComputedProperties::perspective() const
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
Position ComputedProperties::perspective_origin() const
|
||||
{
|
||||
return position_value(PropertyID::PerspectiveOrigin);
|
||||
}
|
||||
|
||||
TransformOrigin ComputedProperties::transform_origin() const
|
||||
{
|
||||
auto length_percentage_with_keywords_resolved = [](StyleValue const& value) -> LengthPercentage {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue