New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 1373 link

Starred by 404 users

Comments by non-members will not trigger notification emails to users who starred this issue.

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2013
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Restricted
  • Only users with EditIssue permission may comment.



Sign in to add a comment

Navigating dark background websites results in blinding white flashes between pages.

Reported by rsn...@gmail.com, Sep 5 2008

Issue description

Product Version      : 0.2.149.27 (1583)
URLs (if applicable) : http://www.alliedtribalforces.com/forum.php
Other browsers tested:
    Firefox 3: OK
         IE 7: OK

What steps will reproduce the problem?
1. Navigate through any of the links that lead to the same domain where the 
dark background persists.

What is the expected result?
It is expected that you see the current page until the new page is ready to 
replace it resulting in a constantly dark background.

What happens instead?
While leaving the current dark page and before entering the new dark page 
you are blinded by a white blank browser window.
 
Showing comments 237 - 336 of 336 Older

Comment 237 Deleted

...this is a new old feature from chrome "free flash bang in the face"  by google .

thanks google .
Still happens for me, and has been happening for at least 2 years now, regardless of version or OS on dozens of computers.  I really don't get why this can't be looked at and fixed quickly.  I tried Opera and it has the same flash, and at times it is even worse.  The flash does not exist in IE9 or FF7/FF8 at any time.

Comment 240 Deleted

Comment 241 by Deleted ...@, Dec 5 2011

For the love of god fix this, it's the most annoying thing about using chrome

Comment 242 by xgd...@gmail.com, Dec 8 2011

Definitely the most annoying thing,especially when you use Change Colors to set black background for all sites

Comment 243 by xgd...@gmail.com, Dec 8 2011

Definitely the most annoying thing,especially when you use Change Colors to set black background for all sites

Comment 244 by Deleted ...@, Dec 8 2011

Fix this please. My eyes are hurting..
This bug is the main thing keeping me on Firefox. Please fix this google!

Comment 246 by Deleted ...@, Dec 10 2011

Fix this please... 
google, i am now switching away from chrome again, as i am using a dark themed wikia a lot, and watching this blinking is extremely annoying. seriously, this must be a very easy thing to fix? thanks in advance. 
Labels: nomedia

Comment 249 by xgd...@gmail.com, Dec 20 2011

This bug is the main thing keeping me on Opera. Please fix this google!
Still not fixed. What the F***? I think Google doesn't care at all

Comment 251 by Deleted ...@, Dec 22 2011

wow still not fixed? google never fails to dissapoint.
Every other browser has this one nailed except for Chrome.  This white screen loading between dark pages is obnoxious and the glare from it in a dark room is just plain annoying. 
i am using full screen all the time and and presentation mode more and more - the bigger the window the worse the problem
Please fix this issue as it hurts my eyes.  

Comment 255 by Deleted ...@, Jan 12 2012

The developers cant fix it, the problem is too complex for them. 

Browser stats should be showing chrome smashing IE & FF...not so

Comment 256 by Deleted ...@, Feb 4 2012

Stumbled onto this thread after asking Chrome to anything more than the simple.

http://www.functional-design.co.uk/squares2.html

Works just fine in FF.
Unacceptable flashing in Chrome. FAIL
Version 17 and still not fixed. Please fix this issue, it is so annoying that I am thinking of switching back to Firefox, despite all of the great features of Chrome that I like a lot.

Comment 258 by Deleted ...@, Feb 11 2012

Please DO fix this!!

Comment 259 by Deleted ...@, Feb 18 2012

Annoying flashing problem. Going back to firefox
Months have passed and you still haven't fixed this? How can you work with this browser without your eyes complaining? This is an insane bug! All of Chrome's beautiful features are rendered absolutely irrelevant by this bug. Nothing should be ranked higher on your to-fix list. Nothing. I cannot comprehend how this bug still exists. For the love of everything you hold dear, fix this visual nightmare. Please!
For developers: I'm on the latest dev chrome on OSX 10.6(snow leopard), but its been confirmed to happen on multiple OSes and versions of Chrome, with plaintext pages as well as ones with media content and flash, located both remotely and on localhost.

this just started happening to me noticably recently, and since I browse a lot of dark websites, this really hurts my eyes at night time. Going back to firefox/seamonkey isn't an option and Dillo isn't compiling properly on OSX yet, so I had to find a workaround.

As a temporary fix, I set the custom user stylesheet to render pages with a black background so that before it receives styling information from the website it renders the window black instead of white, and now it flashes black instead, which is much more bearable on the eyes until a permanent solution is made. This however messes up websites that rely on the default being white, although it isn't terribly detrimental on most popular or well created websites. *btw chrome devs - why is using a custom default css not in the settings page anymore?

on OSX the stylesheet is located in ~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets
as Custom.css

In FreeBSD, Linux, and Windows, I'm not sure where its located specifically, but you can search your system for Custom.css 
(on *nix systems you can do what I did and in a terminal run: find / -print | grep .css$ | grep Chrome )

add the following lines

html, body{
background-color:#000000; //This sets the background color to black
color:#0000FF; //This sets the text to blue, so you can read it on webpages set to use defaults; white is too hard on my eyes and if you dont put this it will be black on black
}


//Hope this helps someone else's eyes
Cynosur you are awesome XD, no more flash bangs in the face XD !

thanks.

linux 
/home/user/.config/google-chrome/Default/User\ StyleSheets/Custom.css

windows xp
C:\Documents and Settings\Administrator\Application Data\Google\Chrome\User Data\Default\User StyleSheets\Custom.css

I have noticed that the 'flash' seems to occur when you are clicking a link while the mouse is in motion if that is any help.
Chrome 18.0.1025.54 beta. Problem is still visible.

Comment 265 Deleted

 Issue 119871 :	Background flashes white upon page transition (an issue since 2008!)

Comment 267 by Deleted ...@, Mar 26 2012

I am ready to switch back to IE or Firefox.
First and last time I developed by using Chrome. Wasted time trying to fix an issue that is really a 3,5 years old browser bug.
This issue is way too old to be ignored.
Very, very, *very* annoying and it's definitely hurting my eyes. Thinking about going back to Firefox... 

Comment 271 by pha3...@gmail.com, Apr 22 2012

GOOGLE, FIX THIS RIDICULOUSLY SIMPLE PROBLEM.  THIS IS COMPLETELY UNACCEPTABLE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ye, still broken. Cynosur's workaround works, but causes issues. I use a lot of dark stylish themes to help my eyes, but this makes browsing with them impossible. I think I'll re-install Firefox for now. If it's a choice between a slow, crashy browser and making my eyes bleed, I'll take the crashy browser.

Comment 273 by Deleted ...@, May 7 2012

Please please fix this issue, am about to switch back to FFOX.... the constant pre-loading of a white flashes between website loadings is ridiculous.... PLEASE FIX THIS ASAP 

Comment 274 by ngor...@gmail.com, Jun 11 2012

This is quite frustrating. I am working on an application that embeds a Chromium browser for a kiosk-style machine, but the site uses a dark theme and it is absolutely terrible to have constant flashes of white appearing! It really messes up the user experience. This issue is four years old - surely a resolution can be found?

At the very least, as has been suggested prior to this, retain the existing background style on pageload rather than defaulting to white. Assuming that all pages use your default style is really bad behaviour for a browser.

Comment 275 by tmcu...@gmail.com, Jun 11 2012

Flashing really does hurt my eyes. Please fix it, firefox does not have this issue.

Comment 276 by con...@gmail.com, Jun 19 2012

Problem seems to be coming from webkit. 
The problem is particularly acute for me as I am hooked up to the cinema screen in the basement, a change in browser page to youtube/leanback really does blind and is very annoying. 

Comment 277 by Deleted ...@, Jul 7 2012

Sudden flash of white is extremely painful when reloading pages with dark backgrounds.  Never seen this in any other browser, please fix. 

Comment 278 by Deleted ...@, Jul 17 2012

Wow, all these years of complaints of the same issue and "nada"... :(
Yep it's still here. :(

Please stop clearing the canvas to white on page transitions, Google. It's really bad. 
there are some sites fixed this with code - www.youtube.com, www.gardeners.com... show background all the time when data is loading. How they done this?

Comment 281 by Deleted ...@, Aug 15 2012

This bug makes Chrome useless for me. Too much pain for the eyes.

Comment 282 by jmp...@gmail.com, Aug 24 2012

i have noticed with Chromium on our site (which has a lot of white background but anyway).. that if i let the page *fully* render, before clicking to the next page, then the "double buffering" works and there is no flash between the pages. However if I don't let the first page fully render and interrupt it to go to the next page, then the "flash" between pages still exists

Comment 283 Deleted

Comment 284 by Deleted ...@, Aug 24 2012

as a user this bug annoys.
as a developer i use the solution below.
it seems to work. see,e.g., http://tinyurl.com/ithurber
<!DOCTYPE html>
<html style='background-color: #010101;'>
<head>
<meta charset='utf-8'/>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">

Comment 285 by Deleted ...@, Sep 5 2012

Setting inline style backgrund color of the html doesn't work.
I'm using Chrome and Safari, both are webkit browsers, yet I don't see this flash in Safari.
It really is annoying, please consider it as the bug, that makes developers who dumped Firefox in favour of Chrome once again replace their favourite browser to FF or Safari.

Comment 286 by Deleted ...@, Sep 10 2012

Have this issue quite often, seriously considering going back to Firefox because of this.
%APP_DATA%\Local\Google\Chrome\User Data\Default\User StyleSheets\custom.css-->Content('html,body{width:100%;height:100%;background:#000;}');
If you don't get this, boohoo for you. Chrome should make a page to tell you how to do this as this is a major complaint. Basically what it does is load this stylesheet first and no more long white flashes. It took awhile until searching until I found out about user stylesheets. 

Comment 288 by flu...@gmail.com, Sep 11 2012

i hope this gets fixed soon, its the only thing that bugs me on my google chrome experience

Comment 289 by Deleted ...@, Sep 18 2012

Same issue here with sites such as http://www.hardocp.com

I've tried doing everything from reinstalling flash and Chrome to starting a new profile. Doesn't seem to fix the issue. 

Comment 290 by mban...@gmail.com, Sep 20 2012

I get blinding white flashes when switching tabs, opening new links, and opening the New Tab (Ctrl+t) page.

This is really, really nasty when browsing at night in a low-light environment.

Chromium 20 on Debian Linux, UA:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11
This flashing between pages has been around for 4 years and still not fixed? Dammit, I liked my day with Chrome, but I am tossing it in the shitcan over this unfixed bug before I tear a new hole in my retinas!
@284: Thank you, that helped! When the background is a solid color your solution eliminated the flicker about 90% of the time. I still see it every now and then. However this does not fix the problem when using a background image for <html> (as in a pattern); the flicker is just as noticeable.  FF is butter smooth, while IE8 has a similar flicker problem.
Interestingly, it rarely happens on the live site (with of without the Page-Enter / Exit trick), but it happens all the time when developing locally (i.e. with a local web server). I hope this helps.

Comment 294 by Deleted ...@, Oct 7 2012

The custom.css idea suggested by comment 287 reduces the duration of the blinding white flash, but does not eliminate it. It would be so nice to cure this issue, so Chrome can become my permanent browser!.
Yeah, this is pretty darn irritating. it only really affects dark sites and users using the a Dark Theme (e.g. with a black NewTab page colour) but still... pretty unpleasant late at night.
Just started browsing some more dark forums recently and this issue is really bad for me. Would be nice to see something done to fix this.

Comment 297 by Deleted ...@, Jan 12 2013

this is pretty messed up... 5 years of the same issue.
back to firefox as default. shit explorer might be moving up to #2 

Comment 298 by Deleted ...@, Jan 14 2013

I want to anything else, because this issue is offul!
The white flash makes the high contrast extension more annoying than low contrast!

Comment 300 by rsn...@gmail.com, Jan 15 2013

Comment 300, can't believe this ticket is still going ... still an issue with Version 25.0.1364.29 beta-m

:(
FIX THIS PLEASE! It is totally unnecessary and annoying.
It would be great they put a simple black or at least dark grey when opening new tabs or changing tabs. Those flashes from dark webs using high contrast will eventually kill me.
OMG what is the matter with Google? Fix this for gods sake, you are losing users for this! It's not even a big deal! I am seriously thinking of moving away from Chrome.

Comment 304 by ajay...@gmail.com, Feb 11 2013

please do something to resolve this issue before i lose my eyes due to this flashing problem otherwise i will have to switch to firefox

Comment 305 by Deleted ...@, Feb 14 2013

sept 08 to feb 2013. Seriously?

Comment 306 by Deleted ...@, Feb 15 2013

I can't believe this bug isn't fixed yet, I have to close my eyes every time I click on something on a site with a dark background.

Comment 307 by Deleted ...@, Feb 20 2013

Really Google? 5 years?
Maybe we should try to do a Google Hangout with a dev. I''m sure we can find one on G+
Its such a small but annoying issues!

Comment 308 by Deleted ...@, Feb 21 2013

FIX THIS GOOGLE OMG MY EYES ARE GOING BLIND I HAVE TO VISIT A DOCTOR TOMORROW BECAUSE OF THIS

Built a dark-themed website. Very annoying blank white flash on page load. Chrome (24.0.1312.57 m, Windown XP)  I just noticed this bug has been around for a while.  Is there no fix?  



Comment 310 by Deleted ...@, Feb 23 2013

anoying bug!

Comment 311 by Deleted ...@, Feb 25 2013

Honestly forced me to switch to mozilla for the time being. Firefox has the issue as well but is MUCH less frequent.

Comment 312 by Deleted ...@, Feb 28 2013

Unbelievable! This issue has not been fixed since 2008!

This is a major annoyance. Should be taken more seriously.
I am switching back to Mozilla.

hasta luego Chrome.
Project Member

Comment 313 by bugdroid1@chromium.org, Mar 10 2013

Labels: -Area-WebKit Cr-Content
Cc: gregsimon@chromium.org
I use Chromium only rarely, for greater security. Would use always if not for this problem. 

I have been using Firefox since it was called Firebird, and considered a switch when Chrome came out. The white flash was and is the only thing keeping me away these last 4+ years. 

It is an accessibility issue, affecting those of us with diseases such as Chronic Daily Migraine, or visual disorders, etc, and ordinary people avoiding eyestrain.

I cannot risk increased migraine attacks from this white screen and will continue to avoid Chromium.

A fix would be appreciated.

Comment 316 by Deleted ...@, Mar 22 2013

Thank you for not fixing this, it just proves that I have to use Firefox henceforth.

Comment 317 by Deleted ...@, Mar 23 2013

Comment 305.  

When people cry out to you IN PAIN -- for SIX YEARS, then there is clearly another agenda going on.  

Perhaps Chrome is meant to DELIBERATELY BLIND USERS...?  

Gosh, that sounds far-fetched, doesn't it?  Except it's at last looking like it MAY be TRUE.  Reading through all the comments above suggests this may be the case.  

Perhaps a Class-Action lawsuit could be in the works over this...?  How many users have gone to see an eye doctor because of the hurt they're experiencing?  Does White Flash lead to permanent eye damage...?  These are the next set of questions coming, believe me.  

How hard is it to make Chrome smart enough to default to BLACK between page loads?  I think perhaps not too hard at all for the geniuses writing it.  BLACK FLASH - no eye pain.   WHITE FLASH - hurtful, and cumulative, eye pain.  WHY? 

All these comments, all these YEARS. It really is beginning to look as though Chrome is MEANT to inflict eye damage.  (Are you surfing the "wrong" sites, perhaps...?) 

I want so much to be wrong here.  Don't be evil.

Comment 318 by cdbe...@gmail.com, Mar 25 2013

I just developed a new website with a dark theme, and spent days trying to figure out the white flash effect on Chrome before finding this bug. Might it be worth fixing this at some point? :P
My eyes hurt.
This problem also effects low-vision users of the high-contrast plugin, who mostly invert colors on pages.  This causes the white flash every time you go to google.com and do a search or go to the next page of results.  In my case, that white flash literally hurts, and is bad for my vision, so I'm going to have to leave Chrome alone until this bug is fixed.

Comment 321 by Deleted ...@, Apr 2 2013

This bugs is still there ...

At first i was wondering if some of my code was creating this problem. After searching the web, stumbled on this bug page.

Tried the same code with Firefox. No white flash at all. There really seems to be a delay, between the loading of a webpage, and the rendering. And with Chrome not "remembering" the last set background color, it reverts to its standard white.

Firefox seems to produce a "stable" image, because its slightly slower with its rendering, resulting in no flash effect, and a smooth progress.

Interestingly, even a very old IE8 produces a nice effect ( despite not being able to render some of the css3 effects ) with no flashing.

It amazes me how this bug has been neglected, just because a large amount of the web is in white as content.

Comment 322 by Deleted ...@, Apr 5 2013

Same here, every time I close a tab, the screen flashes white.
That is SO annoying!

PS: chrome updated - 26.0.1410.43
Project Member

Comment 323 by bugdroid1@chromium.org, Apr 6 2013

Labels: -Cr-Content Cr-Blink
Here's hoping "Blink" fixes the white flashes!
Cc: morrita@google.com tony@chromium.org
 Issue 64317  has been merged into this issue.
Cc: vangelis@chromium.org epoger@chromium.org jam...@chromium.org
 Issue 115549  has been merged into this issue.
Labels: Restrict-AddIssueComment-EditIssue
Project Member

Comment 328 by bugdroid1@chromium.org, May 20 2013

The following revision refers to this bug:
    http://src.chromium.org/viewvc/blink?view=rev&rev=150709

------------------------------------------------------------------------
r150709 | cbiesinger@chromium.org | 2013-05-20T22:43:34.969350Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/file-reader-abort.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouse-focus-imagemap.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-transform.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/block-testing.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/gesture/gesture-tap-active-state.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/use-css-events.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/gradient-attr-update.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/zoom-dblclick.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-4-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/replaced/image-map-bug16782.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/resize-corner-tracking-transformed.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/frames/frame-deep-nested-resize.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pan-direction.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-click-inside.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-6-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/capture-on-target.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/touch-inlines.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/block/float/float-in-float-hit-testing.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/pasteboard/data-transfer-items.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/zoom-basic.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-3-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/frame-click-focus.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/hover-default-fill.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css-generated-content/hover-style-change.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-double-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/emulate-touch-events.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-5-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/dom/HTMLTableColElement/resize-table-using-col-width.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/gesture/gesture-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/dom/Document.cpp?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/option-mouseevents.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/scrollbar-double-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/file-reader-event-listener.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/file/get-file-upload.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/image-map-zoom.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-2-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/script-tests/mouse-click-events.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/resize-corner-tracking-transformed-iframe.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-4-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/resources/setup-for-read-common.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-appearance-preventDefault.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/select-empty-list.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/use-move-to-offset.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/stroke-width-click.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-path.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/text/international/khmer-selection.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/pointer-events-2.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouseclick-target-and-positioning.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/gesture/gesture-dblclick.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-1-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/image-map-multiple.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/scrolling/hover-during-scroll.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-mouse-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-3-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-9-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouseout-on-window.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/event-view-toString.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-preserveAspectRatio.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/dblclick-addEventListener.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-text.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-10-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/selection/contenteditable-click-inside.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/context-menu-text-subtargets.html?r1=150709&r2=150708&pathrev=150709
   A http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/event-while-loading-expected.txt?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/prevent-drag-to-navigate.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/polyline-hittest.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/clientXY-in-zoom-and-scroll.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/image-clipped-hit.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-with-linecaps-and-miterlimits.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/marker-changes.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/hover-active-drag.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-2-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-8-and-click.html?r1=150709&r2=150708&pathrev=150709
   A http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/event-while-loading.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/file-list-test.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-image-css-transform.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/layerZOrderCrash.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/resources/focus-event-handling.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/http/tests/navigation/resources/javascriptlink.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-all.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/anchor-on-use.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/scrollbars/scrollbar-miss-mousemove-disabled.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-drag-down.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/text-hit-test.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-uri-01-b.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-viewBox.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-1-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/updateLayoutForHitTest.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-7-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/hit-test-path.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-click-outside.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/hit-test-path-stroke.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-image.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-self-emptying-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/viewBox-hit.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-container-standalone.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/apply-blob-url-to-xhr.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/dom/Window/window-xy-properties.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/pointer-events.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouseup-outside-document.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/disabled-formelements.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/http/tests/local/blob/script-tests/send-hybrid-blob.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-viewTarget.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/imagemap-case.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-6-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/page/EventHandler.cpp?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/window-events-bubble.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/text/atsui-rtl-override-selection.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/related-target.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-viewBox-transform.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/context-menu.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-text-css-transform.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/drop-with-file-paths.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/zoom-fatfinger.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/plugins/user-gesture.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/selection/script-tests/click-in-margins-inside-editable-div.js?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/window-events-capture.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/window-events-bubble2.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/dom/replaced-image-map.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/password-doubleclick-selection.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-5-and-click.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mask-changes.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/context-menu-select-text.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/rotated-node.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/japanese-rl-selection-clear.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/replaced/image-map.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/text/textIteratorNilRenderer.html?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-on-svg-without-pointer.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-root-standalone.svg?r1=150709&r2=150708&pathrev=150709
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-zoomAndPan.svg?r1=150709&r2=150708&pathrev=150709

Don't force layout for mouse event hit tests

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.

BUG= 1373 
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/14859016
------------------------------------------------------------------------
Project Member

Comment 329 by bugdroid1@chromium.org, May 20 2013

The following revision refers to this bug:
    http://src.chromium.org/viewvc/blink?view=rev&rev=150714

------------------------------------------------------------------------
r150714 | cbiesinger@chromium.org | 2013-05-20T23:01:21.124038Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/file/input-file-re-render.html?r1=150714&r2=150713&pathrev=150714

Also add forced layouts to a new test

Followup to http://crrev.com/14859016

BUG= 1373 
TBR=ojan@chromium.org

Review URL: https://codereview.chromium.org/15494007
------------------------------------------------------------------------
Labels: -Mstone-X M-29
Status: Fixed
I have just committed a patch that should fix most, if not all, occurrences of this happening. This should be in a canary version in the next few days and in the 29 release, unless it gets reverted for some reason.

If you still see this issue *in a build that has this change*, please open a new bug.
Project Member

Comment 331 by bugdroid1@chromium.org, May 20 2013

The following revision refers to this bug:
    http://src.chromium.org/viewvc/blink?view=rev&rev=150716

------------------------------------------------------------------------
r150716 | cbiesinger@chromium.org | 2013-05-20T23:23:53.157348Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/script-tests/page-scaled-mouse-click-iframe.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/updateLayoutForHitTest.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-viewBox.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-1-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-7-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/hit-test-path.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-click-outside.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/hit-test-path-stroke.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-image.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-self-emptying-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/viewBox-hit.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-container-standalone.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/apply-blob-url-to-xhr.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/dom/Window/window-xy-properties.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/pointer-events.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouseup-outside-document.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/disabled-formelements.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/http/tests/local/blob/script-tests/send-hybrid-blob.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-viewTarget.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/imagemap-case.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-6-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/page/EventHandler.cpp?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/window-events-bubble.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/text/atsui-rtl-override-selection.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/related-target.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-viewBox-transform.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/context-menu.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-text-css-transform.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling.htm?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/drop-with-file-paths.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/zoom-fatfinger.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/plugins/user-gesture.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/window-events-capture.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/selection/script-tests/click-in-margins-inside-editable-div.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/window-events-bubble2.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/dom/replaced-image-map.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/password-doubleclick-selection.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-5-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mask-changes.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/context-menu-select-text.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/rotated-node.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/japanese-rl-selection-clear.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/replaced/image-map.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/text/textIteratorNilRenderer.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-on-svg-without-pointer.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-root-standalone.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-zoomAndPan.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/file-reader-abort.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouse-focus-imagemap.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-transform.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/block-testing.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/gesture/gesture-tap-active-state.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/use-css-events.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/gradient-attr-update.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/zoom-dblclick.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-4-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/replaced/image-map-bug16782.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/resize-corner-tracking-transformed.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/frames/frame-deep-nested-resize.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pan-direction.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-click-inside.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/touch-inlines.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/capture-on-target.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-6-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/block/float/float-in-float-hit-testing.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/pasteboard/data-transfer-items.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/zoom-basic.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-3-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/frame-click-focus.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css-generated-content/hover-style-change.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/hover-default-fill.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-double-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/dom/HTMLTableColElement/resize-table-using-col-width.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-5-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/emulate-touch-events.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/gesture/gesture-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/dom/Document.cpp?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/option-mouseevents.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/scrollbar-double-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/file/get-file-upload.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/file-reader-event-listener.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/image-map-zoom.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-2-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/script-tests/mouse-click-events.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/resize-corner-tracking-transformed-iframe.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-4-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/resources/setup-for-read-common.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-appearance-preventDefault.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/select-empty-list.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/use-move-to-offset.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/stroke-width-click.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-path.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/text/international/khmer-selection.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/pointer-events-2.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouseclick-target-and-positioning.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/touch/gesture/gesture-dblclick.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-1-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/image-map-multiple.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/scrolling/hover-during-scroll.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-mouse-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/file/input-file-re-render.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-3-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-9-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/mouseout-on-window.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/event-view-toString.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-preserveAspectRatio.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/dblclick-addEventListener.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-text.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/editing/selection/contenteditable-click-inside.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-10-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/touchadjustment/context-menu-text-subtargets.html?r1=150716&r2=150715&pathrev=150716
   D http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/event-while-loading-expected.txt?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/prevent-drag-to-navigate.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/polyline-hittest.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/events/clientXY-in-zoom-and-scroll.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/image-clipped-hit.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-with-linecaps-and-miterlimits.xhtml?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/marker-changes.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/hover-active-drag.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-remove-summary-2-and-click.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/html/details-add-summary-8-and-click.html?r1=150716&r2=150715&pathrev=150716
   D http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/event-while-loading.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/files/file-list-test.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/pointer-events-image-css-transform.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/css/layerZOrderCrash.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/resources/focus-event-handling.js?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/http/tests/navigation/resources/javascriptlink.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-a-03-b-all.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/anchor-on-use.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/scrollbars/scrollbar-miss-mousemove-disabled.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/forms/input-text-drag-down.html?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/text-hit-test.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/svg/custom/linking-uri-01-b.svg?r1=150716&r2=150715&pathrev=150716
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js?r1=150716&r2=150715&pathrev=150716

Revert "Don't force layout for mouse event hit tests"

This reverts commit c7cb8114b1071115521af0286a2dbfedb22b5e5f.
also reverts 02e89444b7cb08bc9fae08956ae361ec4d03ac19

Reverting because I somehow missed some tests

BUG= 1373 
TBR=ojan@chromium.org

Review URL: https://codereview.chromium.org/15508003
------------------------------------------------------------------------
Status: Started
Well, this had to get reverted. Sorry, this needs a few more days of work.
Project Member

Comment 333 by bugdroid1@chromium.org, May 21 2013

The following revision refers to this bug:
    http://src.chromium.org/viewvc/blink?view=rev&rev=150837

------------------------------------------------------------------------
r150837 | cbiesinger@chromium.org | 2013-05-21T22:38:01.392972Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/dom/Document.cpp?r1=150837&r2=150836&pathrev=150837
   M http://src.chromium.org/viewvc/blink/trunk/Tools/DumpRenderTree/chromium/TestRunner/src/EventSender.cpp?r1=150837&r2=150836&pathrev=150837
   A http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/event-while-loading-expected.txt?r1=150837&r2=150836&pathrev=150837
   M http://src.chromium.org/viewvc/blink/trunk/Tools/DumpRenderTree/chromium/TestRunner/src/EventSender.h?r1=150837&r2=150836&pathrev=150837
   A http://src.chromium.org/viewvc/blink/trunk/LayoutTests/fast/repaint/event-while-loading.html?r1=150837&r2=150836&pathrev=150837
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/page/EventHandler.cpp?r1=150837&r2=150836&pathrev=150837
   M http://src.chromium.org/viewvc/blink/trunk/Source/core/testing/Internals.cpp?r1=150837&r2=150836&pathrev=150837

Don't force layout for mouse event hit tests

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.

BUG= 1373 
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/15425005
------------------------------------------------------------------------
Status: Fixed
OK, looks like that stuck. This should be solved in a canary soon, and in the 29 release. If you still see it happening, file new bugs.
Cc: jochen@chromium.org
 Issue 247003  has been merged into this issue.

Comment 336 by tony@chromium.org, Nov 13 2014

 Issue 64317  has been merged into this issue.
Showing comments 237 - 336 of 336 Older

Sign in to add a comment