WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
219200
Support aspect-ratio on replaced elements
https://bugs.webkit.org/show_bug.cgi?id=219200
Summary
Support aspect-ratio on replaced elements
Rob Buis
Reported
2020-11-20 05:41:16 PST
Support aspect-ratio on replaced elements.
Attachments
Patch
(10.00 KB, patch)
2020-11-20 06:01 PST
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(8.47 KB, patch)
2020-12-08 12:59 PST
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(10.08 KB, patch)
2020-12-09 07:09 PST
,
Rob Buis
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(10.17 KB, patch)
2020-12-09 13:39 PST
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(9.57 KB, patch)
2020-12-10 00:39 PST
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2020-11-20 06:01:06 PST
Created
attachment 414670
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2020-11-27 05:42:16 PST
<
rdar://problem/71763936
>
Rob Buis
Comment 3
2020-12-08 12:59:41 PST
Created
attachment 415665
[details]
Patch
Rob Buis
Comment 4
2020-12-09 07:09:35 PST
Created
attachment 415755
[details]
Patch
Rob Buis
Comment 5
2020-12-09 13:39:17 PST
Created
attachment 415794
[details]
Patch
Darin Adler
Comment 6
2020-12-09 15:54:25 PST
Comment on
attachment 415794
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=415794&action=review
> Source/WebCore/rendering/svg/RenderSVGRoot.cpp:109 > + if (style().aspectRatioType() == AspectRatioType::AutoAndRatio && !intrinsicRatioValue) > + intrinsicRatio = style().logicalAspectRatio(); > + else if (intrinsicRatioValue) > + intrinsicRatio = *intrinsicRatioValue;
I would write it this way instead: if (intrinsicRatioValue) intrinsicRatio = *intrinsicRatioValue; else if (style().aspectRatioType() == AspectRatioType::AutoAndRatio) intrinsicRatio = style().logicalAspectRatio();
Rob Buis
Comment 7
2020-12-10 00:39:12 PST
Created
attachment 415842
[details]
Patch
EWS
Comment 8
2020-12-10 02:10:08 PST
Committed
r270618
: <
https://trac.webkit.org/changeset/270618
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 415842
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug