NEW 191284
[iOS] REGRESSION: Fragment navigation inside cross-origin frameset frame does not work
https://bugs.webkit.org/show_bug.cgi?id=191284
Summary [iOS] REGRESSION: Fragment navigation inside cross-origin frameset frame does...
Daniel Bates
Reported 2018-11-05 15:04:40 PST
Seen on iOS 12. Perform the following: 1. Visit <http://www.microconcepts.com.au/italkaussie/data/italkaussiehelp-en.htm>. 2. Click one of the list item hyperlinks at the top of the page, e.g. Sounds. Then nothing happens. But the page should have scrolled to section Sounds.
Attachments
LayoutTest (2.50 KB, patch)
2018-11-05 17:15 PST, Daniel Bates
no flags
Daniel Bates
Comment 1 2018-11-05 15:04:48 PST
Daniel Bates
Comment 2 2018-11-05 15:07:07 PST
Notice that the web page with the hyperlinks is in a frame loaded in a frames. If you visit the page directly <http://users.tpg.com.au/mpinnuck/iTalkAussie/Data/iTalkAussieHelp-en.htm> and click one of the hyperlinks then we scroll to the section as expected. So, we do not seem to scroll to anchors in a framed page. And this behavior is consistent with the failure of test http/tests/navigation/anchor-frames-same-origin.html on iOS.
Daniel Bates
Comment 3 2018-11-05 15:09:28 PST
This regressed in iOS 6.
Daniel Bates
Comment 4 2018-11-05 16:04:42 PST
(In reply to Daniel Bates from comment #2) > Notice that the web page with the hyperlinks is in a frame loaded in a > frames.[...] *frameset > And this behavior > is consistent with the failure of test > http/tests/navigation/anchor-frames-same-origin.html on iOS. Disregard this remark.
Daniel Bates
Comment 5 2018-11-05 17:15:36 PST
Created attachment 353931 [details] LayoutTest
Simon Fraser (smfr)
Comment 6 2018-11-05 22:00:58 PST
Pretty sure this is about the "if (delegatesScrolling())" checks in coordinate conversion methods. See bug 164512, bug 176451 etc.
Daniel Bates
Comment 7 2018-11-05 23:28:47 PST
Comment on attachment 353931 [details] LayoutTest View in context: https://bugs.webkit.org/attachment.cgi?id=353931&action=review > LayoutTests/http/tests/navigation/frameset-cross-origin-frame-scrolls-to-anchor.html:13 > +<frame src="http://127.0.0.1:8000/navigation/resources/frameset-scroll-to-anchor.html"> 127.0.0.1 should be localhost
Note You need to log in before you can comment on or make changes to this bug.