[Webkit-unassigned] [Bug 231955] New: Improve intrinsic aspect ratio detection
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 19 08:23:15 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231955
Bug ID: 231955
Summary: Improve intrinsic aspect ratio detection
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: svillar at igalia.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
The current implementation of RenderObject::hasIntrinsicAspectRatio() performs a very basic test to check whether a renderer has intrinsic aspect ratio. It does not cover however the cases of many SVGs which have intrinsic aspect ratios but no intrinsic dimensions.
We should consider make it virtual returning false by default. Then RenderReplaced will overwrite it with the current implementation plus a call to
computeIntrinsicRatioInformation() that will tell us for sure whether or not we have an intrinsic aspect ratio.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211019/f72e9094/attachment.htm>
More information about the webkit-unassigned
mailing list