summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/Box.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-14 18:48:49 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-14 18:48:49 +0200
commita58cc2eeb40e5380963fbd809758703bcf6ae44c (patch)
tree505a9a2daa079a6fa694ec23f5d09f00cda4c047 /Userland/Libraries/LibWeb/Layout/Box.h
parent81590b180470e24492ac0ff5d798f6bca1eced9c (diff)
downloadserenity-a58cc2eeb40e5380963fbd809758703bcf6ae44c.zip
LibWeb: Rename "intrinsic ratio" => "intrinsic aspect ratio"
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Box.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Box.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Box.h b/Userland/Libraries/LibWeb/Layout/Box.h
index d3522b29be..1841af67c1 100644
--- a/Userland/Libraries/LibWeb/Layout/Box.h
+++ b/Userland/Libraries/LibWeb/Layout/Box.h
@@ -123,11 +123,11 @@ public:
virtual Optional<float> intrinsic_width() const { return {}; }
virtual Optional<float> intrinsic_height() const { return {}; }
- virtual Optional<float> intrinsic_ratio() const { return {}; }
+ virtual Optional<float> intrinsic_aspect_ratio() const { return {}; }
bool has_intrinsic_width() const { return intrinsic_width().has_value(); }
bool has_intrinsic_height() const { return intrinsic_height().has_value(); }
- bool has_intrinsic_ratio() const { return intrinsic_ratio().has_value(); }
+ bool has_intrinsic_aspect_ratio() const { return intrinsic_aspect_ratio().has_value(); }
protected:
Box(DOM::Document& document, DOM::Node* node, NonnullRefPtr<CSS::StyleProperties> style)