Bug 116949
Summary: | Don't force layout for mouse event hit tests to prevent FOUC | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | barraclough, hyatt, jonlee, kling, koivisto, mjs, simon.fraser |
Priority: | P2 | Keywords: | BlinkMergeCandidate |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
We should probably merge https://chromium.googlesource.com/chromium/blink/+/d5b57e33ccbf9a89912773d1b12374fbc7f715f8
Second try. This time with a different approach to deal with tests. See
the EventSender change (this kinda reverts r150324).
Before the initial document layout, we shouldn't force a layout for
mouse events, because they are not intended for the new document anyway -
the user can't see the document yet! Just ignore those events by making
the hit tests match nothing.
Otherwise, the hit test would force a layout, which is undesirable
because that leads to a flash of an empty document.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
I'm dubious about this.