[Webkit-unassigned] [Bug 203292] Accessory bar next/previous buttons do not work on inputs in shadow roots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 11:17:17 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=203292

--- Comment #19 from Tetsuharu Ohzeki <tetsuharu.ohzeki at gmail.com> ---
(In reply to Ryosuke Niwa from comment #16)
> > LayoutTests/fast/shadow-dom/ios/accessory-bar-work-on-input-in-shadow-roots.html:112
> > +                shouldBe(() => document.activeElement.getAttribute('placeholder'), () => element.getAttribute('placeholder'));
> 
> shouldBe doesn't take functions. They take strings to be eval'ed.

If we don't pass a function, `shouldBe()` will fail by `ReferrenceError`. It cannot capture a block scupe variables...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201009/f7d36e25/attachment.htm>


More information about the webkit-unassigned mailing list