[Webkit-unassigned] [Bug 247742] New: Fix broken preferred widths optimization involving subtree layout roots
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 10 09:42:40 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=247742
Bug ID: 247742
Summary: Fix broken preferred widths optimization involving
subtree layout roots
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Hi Team,
While going through Blink commits, I came across following commit:
Link - https://chromium.googlesource.com/chromium/blink/+/ed902d339fbff3a62e2f6124d8d40bbad45e97c0
Which removed a hacky optimization added in 2006.
We still have this optimization here:
https://github.com/WebKit/WebKit/blob/fa2a14f12031baf24d5bc6d6727c3e25c5052589/Source/WebCore/rendering/RenderBox.cpp#LL2610
The testcase attached render same as Chrome Canary 109 as in Safari Technology Preview 157 and Safari 16.1:
Test Case - https://jsfiddle.net/m4hja1pv/show
But I think it would be better tested in EWS. I will tag @Alexey (ap), who landed this in 2006. Just to get his input.
Thanks!
--
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/20221110/d2754fd3/attachment-0001.htm>
More information about the webkit-unassigned
mailing list