Bug 116949 - Don't force layout for mouse event hit tests to prevent FOUC
Summary: Don't force layout for mouse event hit tests to prevent FOUC
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:
Blocks:
 
Reported: 2013-05-29 02:01 PDT by Ryosuke Niwa
Modified: 2013-05-30 11:25 PDT (History)
7 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-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.
Comment 1 Simon Fraser (smfr) 2013-05-29 08:27:26 PDT
I'm dubious about this.