Bug 48394

Summary: Spatial Navigation: Cannot focus on node in iframe inside frameset
Product: WebKit Reporter: pgbasin
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: tonikitoo, yael
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on: 49382    
Bug Blocks: 46905    

Description pgbasin 2010-10-26 20:38:09 PDT
In the test pages below, the node in iframe (frame11.html) cannot be focused.
However, if we directly load the page frame1.html (without frameset index.html), the node in iframe can be focused.

==========================================================
$ cat index.html 
<html>
<frameset rows="0,*,0">
  <frame name="refrWin" src="empty.html" noresize="noresize" frameborder="0" style="visibility: hidden;" scrolling="no">
  <frame name="mainWin" src="frame1.html" noresize="noresize" frameborder="0">
  <frame name="extrWin" src="empty.html" noresize="noresize" frameborder="0" style="visibility: hidden;" scrolling="no">
  <noframes>Sorry,this documnet can be viewed only with a frames-capable browser.</noframes>
</frameset>
</html>

$ cat frame1.html 
<html>
<body>
<a href="#">This is an element</a><br>
<a href="#">This is an element</a><br>
<iframe src="frame11.html" width=300 height=60></iframe><br>
<a href="#">This is an element</a><br>
<a href="#">This is an element</a><br>
</body>
</html>

$ cat frame11.html 
<html>
<body>
This is filler text 1<br>
<a href="#">This is an element</a><br>
</body>
</html>
==========================================================
Comment 1 Yael 2010-11-12 07:41:50 PST
This test is working fine with the patch I attached to https://bugs.webkit.org/show_bug.cgi?id=49382.
Comment 2 Yael 2010-11-22 07:25:42 PST
Now that https://bugs.webkit.org/show_bug.cgi?id=49382 was committed, can you please retest and close this bug?
Comment 3 pgbasin 2010-11-24 23:58:37 PST
Retested with the fix in https://bugs.webkit.org/show_bug.cgi?id=49382 , and it works correctly now.
Closed the bug.