Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout: Skip layout traversals that obviously won't do anything. #10021

Merged
merged 6 commits into from Mar 21, 2016

Commits on Mar 21, 2016

  1. layout: Make transform changes require incremental repaint.

    The progress bar in browser.html was only accidentally working before,
    so actually making use of `REPAINT` makes it stop working without this
    change.
    pcwalton committed Mar 21, 2016
  2. layout: Don't rebuild display lists at all unless restyling tells us

    some object needs to be repainted.
    
    Reduces CPU usage when mousing over simple documents. (More complex
    documents tend to trigger unnecessary reflow bugs and so still have high
    CPU.)
    
    Part of #9999.
    pcwalton committed Mar 21, 2016
  3. layout: Don't start the reflow pass unless some node needs to be

    reflowed.
    
    Reduces CPU usage when mousing over simple pages.
    
    Part of #9999.
    pcwalton committed Mar 21, 2016
  4. script: Don't paint layouts induced by hit test queries.

    Reduces CPU usage when mousing over simple pages.
    
    Part of #9999.
    pcwalton committed Mar 21, 2016
  5. layout: Minor whitespace cleanup.

    pcwalton committed Mar 21, 2016
You can’t perform that action at this time.