From c19c0bf05fae49b0ca08ae592c967e230b9cd74a Mon Sep 17 00:00:00 2001 From: "tdanderson@chromium.org" Date: Tue, 14 Jan 2014 18:31:46 +0000 Subject: Revert of Make ancestors of modal inert (https://codereview.chromium.org/133393002/) Reason for revert: This patch is the most probable cause of the failing content_browsertests: AccessibilityModalDialogInIframeOpened AccessibilityModalDialogOpened AccessibilityModalDialogStack See: http://build.chromium.org/p/chromium.webkit/builders/Win7%20Tests/builds/529 http://build.chromium.org/p/chromium.webkit/builders/Win7%20%28dbg%29/builds/13227 http://build.chromium.org/p/chromium.webkit/builders/Mac10.6%20Tests/builds/22361 http://build.chromium.org/p/chromium.webkit/builders/Mac10.8%20Tests/builds/5388 I could not reach the patch author on IRC due to the time zone difference. Original issue's description: > Make ancestors of modal inert > > As per spec change: http://html5.org/r/8343 > > Now, document.body is also inert. Previously events that > "skipped" an inert node were fired on document.body; now, > they are fired on document. > > Test: modal-dialog-ancestor-is-inert.html > Also, other tests cover some of this behavior and have > expectations updated. > > BUG=329407 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165040 TBR=esprehn@chromium.org,falken@chromium.org NOTREECHECKS=true NOTRY=true BUG=329407 Review URL: https://codereview.chromium.org/138183003 git-svn-id: svn://svn.chromium.org/blink/trunk@165086 bbb929c8-8fbe-4397-9dbb-9b2b20218538 --- .../inert-node-is-not-highlighted-expected.html | 3 +- .../fast/dom/HTMLDialogElement/inert-inlines.html | 6 +- .../inert-node-is-unfocusable-expected.txt | 4 +- .../inert-node-is-unfocusable.html | 6 +- .../modal-dialog-ancestor-is-inert-expected.txt | 19 ---- .../modal-dialog-ancestor-is-inert.html | 111 --------------------- .../modal-dialog-blocks-mouse-events-expected.txt | 8 +- .../modal-dialog-blocks-mouse-events.html | 44 ++++---- third_party/WebKit/Source/core/dom/Node.cpp | 2 +- 9 files changed, 40 insertions(+), 163 deletions(-) delete mode 100644 third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-ancestor-is-inert-expected.txt delete mode 100644 third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-ancestor-is-inert.html diff --git a/third_party/WebKit/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html b/third_party/WebKit/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html index 3aaeb5f..64796e7 100644 --- a/third_party/WebKit/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html +++ b/third_party/WebKit/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html @@ -24,8 +24,7 @@ none (crbug.com/147490).