Make ancestors of modal <dialog> 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
6 years, 11 months ago
(2014-01-14 01:50:47 UTC)
#3
https://codereview.chromium.org/133393002/diff/60001/LayoutTests/fast/dom/HTM...
File
LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-blocks-mouse-events.html
(right):
https://codereview.chromium.org/133393002/diff/60001/LayoutTests/fast/dom/HTM...
LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-blocks-mouse-events.html:81:
document.expectedEventCount = events.length - 1; // document won't get
'mouseout'
On 2014/01/14 01:43:29, esprehn wrote:
> Why are you storing these properties on the document and now in the window?
It's
> really weird to add these expandos.
Seemed a bit nicer to say document.expectedEventCount than
expectedEventCountForDocument etc, but I'll move them to window.
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/133393002/220001
6 years, 11 months ago
(2014-01-14 04:50:17 UTC)
#4
Issue 133393002: Make ancestors of modal <dialog> inert
(Closed)
Created 6 years, 11 months ago by falken
Modified 6 years, 11 months ago
Reviewers: esprehn
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 2