mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Rename transform_box_rect() to transform_reference_box()
This is closer to its name in the spec.
This commit is contained in:
parent
9a1352fc17
commit
ada3810779
Notes:
github-actions[bot]
2025-11-21 11:15:45 +00:00
Author: https://github.com/Psychpsyo
Commit: ada3810779
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
3 changed files with 5 additions and 5 deletions
|
|
@ -68,7 +68,7 @@ ErrorOr<Gfx::FloatMatrix4x4> Transformation::to_matrix(Optional<Painting::Painta
|
|||
CSSPixels width = 1;
|
||||
CSSPixels height = 1;
|
||||
if (paintable_box.has_value()) {
|
||||
auto reference_box = paintable_box->transform_box_rect();
|
||||
auto reference_box = paintable_box->transform_reference_box();
|
||||
width = reference_box.width();
|
||||
height = reference_box.height();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue