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

Issue 1672003002: Mark/unmark orthogonal writing-mode roots when ancestors were changed (Closed)

Created:
4 years, 10 months ago by kojii
Modified:
4 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mark/unmark orthogonal writing-mode roots when ancestors were changed When the writing-mode of ancestors of an orthogonal writing-mode root were changed, the orthogonal writing-mode root may no longer be orthogonal to its parent. However, since the style of the orthogonal writing-mode root was not changed, its styleDidChange() is not called and thus FrameView fails to track it. This patch checks children to mark or unmark as orthogonal roots when the writing-mode was changed after they were created. BUG=584185, 584210 Committed: https://crrev.com/e4af0377e510216707e1346bbb47a1789273321f Cr-Commit-Position: refs/heads/master@{#374794}

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Check !node(), add -expected #

Patch Set 4 : Remove incorrect optimization using childNeedsStyleRecalc for crbug.com/585624 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, --1 lines) Patch
A third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-change-root-crash.html View 1 1 chunk +19 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-change-root-crash-expected.txt View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
kojii
PTAL. I couldn't find a way to fix this without enumerating children. I tried to ...
4 years, 10 months ago (2016-02-08 08:15:21 UTC) #7
kojii
The optimization using childNeedsStyleRecalc() was a bad idea, since it's also set when other properties ...
4 years, 10 months ago (2016-02-10 04:53:09 UTC) #10
kojii
4 years, 10 months ago (2016-02-10 06:26:16 UTC) #12
kojii
Sorry to ask multiple times but crbug.com/584185#c9 is asking to revert once if this takes ...
4 years, 10 months ago (2016-02-10 23:45:44 UTC) #14
eae
LGTM
4 years, 10 months ago (2016-02-10 23:48:08 UTC) #15
kojii
Thank you!
4 years, 10 months ago (2016-02-10 23:51:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672003002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672003002/60001
4 years, 10 months ago (2016-02-10 23:53:14 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-11 00:00:04 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:32:56 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e4af0377e510216707e1346bbb47a1789273321f
Cr-Commit-Position: refs/heads/master@{#374794}

Powered by Google App Engine
This is Rietveld 408576698