LibWeb: Rename transform_box_rect() to transform_reference_box()

This is closer to its name in the spec.
This commit is contained in:
Psychpsyo 2025-11-12 21:36:39 +01:00 committed by Sam Atkins
parent 9a1352fc17
commit ada3810779
Notes: github-actions[bot] 2025-11-21 11:15:45 +00:00
3 changed files with 5 additions and 5 deletions

View file

@ -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();
}