WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
28088
[GTK] document.activeElement does not work properly
https://bugs.webkit.org/show_bug.cgi?id=28088
Summary
[GTK] document.activeElement does not work properly
Darin Adler
Reported
2009-08-07 17:06:13 PDT
editing/selection/find-in-text-control.html is failing, because document.activeElement does not seem to be returning the active element. Perhaps this is only in DumpRenderTree?
Attachments
Add attachment
proposed patch, testcase, etc.
Gustavo Noronha (kov)
Comment 1
2009-09-01 13:16:25 PDT
Probably only in DRT, yeah, I just tried using the Web Inspector with Epiphany, and it contains the correct elements.
> document.activeElement
<body onload="" class="bugs-webkit-org">
> document.activeElement
<a href="./">Home</a>
Gustavo Noronha (kov)
Comment 2
2009-09-01 17:06:16 PDT
(In reply to
comment #1
)
> Probably only in DRT, yeah, I just tried using the Web Inspector with Epiphany, > and it contains the correct elements. > > > document.activeElement > <body onload="" class="bugs-webkit-org"> > > document.activeElement > <a href="./">Home</a>
Showing the window instead of just realizing it, and making sure this test is not the first (I believe the window is not always being sized correctly for the first test) makes this test pass for me.
Martin Robinson
Comment 3
2010-09-30 16:04:18 PDT
This seems to be passing now. I'll unskip and reopen the bug if we have problems in the future.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug