WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
118618
Don't force layout for offsetWidth of fixed width elements
https://bugs.webkit.org/show_bug.cgi?id=118618
Summary
Don't force layout for offsetWidth of fixed width elements
Ryosuke Niwa
Reported
2013-07-12 14:49:11 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/5117d5329f6cdf071dfec25d9026a105070142b6
This improves page load time of The Economist by 41% (3.4s -> 2.0s) on my z620 workstation. I believe the change in the inspector/styles/device-metrics-fit-window.html expectations is a progression. The div being measured has a fixed width of 1024 and there is a zoom on the page. It looks to me like there was a rounding error previously. Also see the
bug 118032
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2013-07-12 14:59:34 PDT
Nice. I don't like the "fixed" terminology though; too easily confused with fixed position.
Ryosuke Niwa
Comment 2
2013-07-15 14:53:02 PDT
Also see
https://chromium.googlesource.com/chromium/blink/+/ff234b1593b2b493d47f38f687d09a87bc42c9eb
.
Ryosuke Niwa
Comment 3
2013-07-15 14:53:28 PDT
Also see the
bug 118032
.
Ryosuke Niwa
Comment 4
2013-07-25 16:20:31 PDT
Also merge:
https://src.chromium.org/viewvc/blink?revision=154203&view=revision
https://src.chromium.org/viewvc/blink?revision=154292&view=revision
Ryosuke Niwa
Comment 5
2013-11-05 14:40:54 PST
Also see
https://chromium.googlesource.com/chromium/blink/+/58a5fac292a5b3f79b00cdc71074fbf8be2ebc2b
Ryosuke Niwa
Comment 6
2013-11-06 20:30:03 PST
The optimization removed in
https://chromium.googlesource.com/chromium/blink/+/e6648e2c65b3472faf5025cb19029afe71b7a7f0
Karl Dubost
Comment 7
2024-08-13 07:55:47 PDT
This is probably not relevant anymore.
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