Bug 116949

Summary: Don't force layout for mouse event hit tests to prevent FOUC
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: 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
Reported 2013-05-29 02:01:56 PDT
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
Simon Fraser (smfr)
Comment 1 2013-05-29 08:27:26 PDT
I'm dubious about this.
Note You need to log in before you can comment on or make changes to this bug.