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

Issue 141733006: Move focus management API from HTMLDocument to Document (Closed)

Created:
6 years, 11 months ago by Inactive
Modified:
6 years, 11 months ago
CC:
blink-reviews, arv+blink, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move focus management API from HTMLDocument to Document Move focus management API from HTMLDocument to Document as per the HTML5 specification: http://www.whatwg.org/specs/web-apps/current-work/#focus-management The hasFocus() / activeElement API is now available to both HTML and XML documents, not only HTML documents. This change is consistent with the behavior of Firefox 26 and IE 11. R=tkent, arv BUG=335788 TEST=fast/dom/Document/xml-document-focus.xml Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165515

Patch Set 1 #

Patch Set 2 : Add extra prototype check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -43 lines) Patch
A LayoutTests/fast/dom/Document/xml-document-focus.xml View 1 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/Document/xml-document-focus-expected.txt View 1 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/dom/Document.h View 1 3 chunks +7 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 8 chunks +33 lines, -12 lines 0 comments Download
M Source/core/dom/Document.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLDocument.h View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/html/HTMLDocument.cpp View 1 chunk +0 lines, -21 lines 0 comments Download
M Source/core/html/HTMLDocument.idl View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Inactive
6 years, 11 months ago (2014-01-21 16:16:28 UTC) #1
arv (Not doing code reviews)
LGTM Do you want another test that ensures that the document is a Document and ...
6 years, 11 months ago (2014-01-21 19:18:15 UTC) #2
Inactive
On 2014/01/21 19:18:15, arv wrote: > LGTM > > Do you want another test that ...
6 years, 11 months ago (2014-01-21 19:22:28 UTC) #3
arv (Not doing code reviews)
I think it would be worth while to add the test now. Once we fix ...
6 years, 11 months ago (2014-01-21 19:29:24 UTC) #4
Inactive
On 2014/01/21 19:29:24, arv wrote: > I think it would be worth while to add ...
6 years, 11 months ago (2014-01-21 19:55:52 UTC) #5
arv (Not doing code reviews)
On 2014/01/21 19:55:52, Chris Dumez wrote: > On 2014/01/21 19:29:24, arv wrote: > > I ...
6 years, 11 months ago (2014-01-21 20:13:46 UTC) #6
Inactive
On 2014/01/21 20:13:46, arv wrote: > On 2014/01/21 19:55:52, Chris Dumez wrote: > > On ...
6 years, 11 months ago (2014-01-21 20:19:23 UTC) #7
arv (Not doing code reviews)
On 2014/01/21 20:19:23, Chris Dumez wrote: > On 2014/01/21 20:13:46, arv wrote: > > On ...
6 years, 11 months ago (2014-01-21 20:38:23 UTC) #8
tkent
lgtm
6 years, 11 months ago (2014-01-21 23:50:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/141733006/70001
6 years, 11 months ago (2014-01-21 23:50:55 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-22 07:09:53 UTC) #11
Message was sent while issue was closed.
Change committed as 165515

Powered by Google App Engine
This is Rietveld 408576698