Bug 28088
| Summary: | [GTK] document.activeElement does not work properly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | gustavo, mrobinson |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | Other | ||
Darin Adler
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)
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)
(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
This seems to be passing now. I'll unskip and reopen the bug if we have problems in the future.