Bug 118618 - Don't force layout for offsetWidth of fixed width elements
Summary: Don't force layout for offsetWidth of fixed width elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on: 118930
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-12 14:49 PDT by Ryosuke Niwa
Modified: 2013-11-06 20:30 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 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
Comment 1 Simon Fraser (smfr) 2013-07-12 14:59:34 PDT
Nice. I don't like the "fixed" terminology though; too easily confused with fixed position.
Comment 3 Ryosuke Niwa 2013-07-15 14:53:28 PDT
Also see the bug 118032.
Comment 6 Ryosuke Niwa 2013-11-06 20:30:03 PST
The optimization removed in https://chromium.googlesource.com/chromium/blink/+/e6648e2c65b3472faf5025cb19029afe71b7a7f0