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> ==========================================================
This test is working fine with the patch I attached to https://bugs.webkit.org/show_bug.cgi?id=49382.
Now that https://bugs.webkit.org/show_bug.cgi?id=49382 was committed, can you please retest and close this bug?
Retested with the fix in https://bugs.webkit.org/show_bug.cgi?id=49382 , and it works correctly now. Closed the bug.