[Webkit-unassigned] [Bug 81102] New: blur() on shadow host should work when a shadow host contains a focused element in its shadow DOM subtrees.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 14 06:58:27 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81102
Summary: blur() on shadow host should work when a shadow host
contains a focused element in its shadow DOM subtrees.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hayato at chromium.org
CC: dglazkov at chromium.org, rolandsteiner at chromium.org,
dominicc at chromium.org, morrita at google.com,
shinyak at chromium.org
Blocks: 63606
The example is here:
var shadowHost = document.createElement("div");
document.body.appendChild(shadowHost);
var shadowRoot = new WebKitShadowRoot(shadowHost);
var childInShadowRoot = document.createElement("p");
childInShadowRoot.tabIndex = "1";
shadowRoot.appendChild(childInShadowRoot);
shouldBe("childInShadowRoot.focus();document.activeElement", "shadowHost");
shouldBe("shadowHost.blur();document.activeElement", "document.body"); // (A)
(A) fails. The current implementation does not blur a focused element when its shadowHost's blur() is called().
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list