WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
116488
Readd asserts against calling mapAbsoluteToLocalPoint during layout
https://bugs.webkit.org/show_bug.cgi?id=116488
Summary
Readd asserts against calling mapAbsoluteToLocalPoint during layout
Ryosuke Niwa
Reported
2013-05-20 18:28:21 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/7928f8a58d115b0672791cacdf1c93a9231ca320
I removed these assertions in
r127681
for centering <dialog> in the viewport. It was incorrect to do so: converting from absolute to local coordinates during a renderer's layout incorrectly assumes its ancestors have been already laid out. Now that dialog's containing block is the initial containing block, it's no longer necessary to convert. The assertions were originally added in
r38186
and
r50184
.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-20 23:59:32 PDT
Missing Assert from RenderBox.cpp:
https://github.com/WebKit/WebKit/blob/94a7be7787d38909554344152db793c2c361eb17/Source/WebCore/rendering/RenderBox.cpp#L2456
and also from RenderBoxModelObject.cpp:
https://github.com/WebKit/WebKit/blob/94a7be7787d38909554344152db793c2c361eb17/Source/WebCore/rendering/RenderBoxModelObject.cpp#L2666
rniwa@webkit.org
- Is it needed now? Thanks!
Ryosuke Niwa
Comment 2
2022-08-21 00:09:26 PDT
This is won't fix at this point.
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