Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Issue 2700183003: Revert of Avoid pathological layout on nested percent height tables (Closed)

Created:
3 years, 10 months ago by eae
Modified:
3 years, 10 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Avoid pathological layout on nested percent height tables (patchset #5 id:80001 of https://codereview.chromium.org/2670603002/ ) Reason for revert: Broke Google Hangouts. BUG=693722 Original issue's description: > Avoid unnecessary cell layout on nested percent height tables > > In the test, the nested percent height tables mean that each cell will get at > least three layouts (LayoutTableRow::layout(),calcRowLogicalHeight(), layoutRows()) > during the layout of the section - and this cascades down the tree with the lowest > children getting hundreds of repeated layouts. > > This inefficiency has always been there, we've just introduced it for the > percent height situation with crrev.com/2441373002. > > To avoid this don't bother computing the height of the section based on row sizes (calcRowLogicalHeight()), > unless the section itself needed a layout - the previously calculated value will do. > > The only complication this introduces is: any extra logical height from the > table that we previously discarded when distributing to the rows we will now > try to distribute again. This can change the size of the section and cause extra > paints. > > > BUG=687061 > > Review-Url: https://codereview.chromium.org/2670603002 > Cr-Commit-Position: refs/heads/master@{#449101} > Committed: https://chromium.googlesource.com/chromium/src/+/d3ceb0147ad9f4d4a9b41cea0362d6221cb72302 TBR=mstensho@opera.com,robhogan@gmail.com # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=687061 NOTRY=true Review-Url: https://codereview.chromium.org/2700183003 Cr-Commit-Position: refs/heads/master@{#451451} Committed: https://chromium.googlesource.com/chromium/src/+/91d8afa35df85de452b08ca5c7032fb1456a541a

Patch Set 1 #

Messages

Total messages: 16 (9 generated)
eae
Created Revert of Avoid pathological layout on nested percent height tables
3 years, 10 months ago (2017-02-17 23:01:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2700183003/1
3 years, 10 months ago (2017-02-17 23:04:58 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-18 01:09:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2700183003/1
3 years, 10 months ago (2017-02-18 01:43:59 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-18 03:45:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2700183003/1
3 years, 10 months ago (2017-02-18 09:59:47 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 10:05:20 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/91d8afa35df85de452b08ca5c703...

Powered by Google App Engine
This is Rietveld 408576698