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

Issue 1667623002: Make sure Document::updateLayoutTree*() is called before Element::isFocusable(). (Closed)

Created:
4 years, 10 months ago by tkent
Modified:
4 years, 10 months ago
Reviewers:
falken, dmazzoni
CC:
aboxhall, aboxhall+watch_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, je_julie, nektar+watch_chromium.org, nektarios, plundblad+watch_chromium.org, rwlbuis, sof, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure Document::updateLayoutTree*() is called before Element::isFocusable(). BUG=251163 Committed: https://crrev.com/401d7aa6f8dcd690badf4bf1145f17fd19cd599f Cr-Commit-Position: refs/heads/master@{#373765}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -28 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 2 chunks +13 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 chunks +7 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAreaElement.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLabelElement.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLegendElement.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp View 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
tkent
falken@, would you review this please?
4 years, 10 months ago (2016-02-04 03:10:06 UTC) #3
dmazzoni
https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp#newcode522 third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp:522: document()->updateLayoutTreeIgnorePendingStylesheets(); I'm worried that this could trigger bugs - ...
4 years, 10 months ago (2016-02-04 04:10:56 UTC) #5
tkent
https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp#newcode522 third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp:522: document()->updateLayoutTreeIgnorePendingStylesheets(); On 2016/02/04 at 04:10:56, dmazzoni wrote: > I'm ...
4 years, 10 months ago (2016-02-04 05:47:32 UTC) #6
dmazzoni
On 2016/02/04 05:47:32, tkent wrote: > I think this is safe. > - It seems ...
4 years, 10 months ago (2016-02-04 06:39:42 UTC) #7
falken
lgtm. Thanks for fixing this very old bug. https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (right): https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp#newcode2434 third_party/WebKit/Source/core/dom/Element.cpp:2434: ASSERT(!document().isActive() ...
4 years, 10 months ago (2016-02-05 04:42:40 UTC) #8
tkent
https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (right): https://codereview.chromium.org/1667623002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp#newcode2434 third_party/WebKit/Source/core/dom/Element.cpp:2434: ASSERT(!document().isActive() || !document().childNeedsStyleRecalc()); On 2016/02/05 at 04:42:40, falken wrote: ...
4 years, 10 months ago (2016-02-05 04:57:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1667623002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1667623002/40001
4 years, 10 months ago (2016-02-05 04:58:21 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 10 months ago (2016-02-05 08:06:58 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 08:07:44 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/401d7aa6f8dcd690badf4bf1145f17fd19cd599f
Cr-Commit-Position: refs/heads/master@{#373765}

Powered by Google App Engine
This is Rietveld 408576698