Bug 217388 - Scrolling to an anchor inside multicol scrolls to the wrong place
Summary: Scrolling to an anchor inside multicol scrolls to the wrong place
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Other
Hardware: Other All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-06 08:45 PDT by john-ivan
Modified: 2021-10-15 16:23 PDT (History)
4 users (show)

See Also:


Attachments
Test (3.32 KB, text/html)
2021-10-15 16:22 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description john-ivan 2020-10-06 08:45:30 PDT
SYSTEM:  Debian Buster x86_64
BROWSER: Epiphany 3.32.1.2
WEBKIT:  WebKitGTK+ 2.28.4

REPLICATION:
1. Go to https://yltbible.site/study/tool.html
2. Click 'A-piece to Angle'
3. Click 'A-piece to Abhor'
4. Click 'A-piece'
5. In top-right frame, click 'Numbers 3:47'

PROBLEM:
The proper result(as in Firefox78.3.0esr) is to go to the internal link at Numbers 3:47.
WebKit seems to be not realizing that the iframe only has 49.5% of the screen height;
it seems to be rendering as if the iframe has 100% height but is covered.
Comment 1 Alexey Proskuryakov 2020-10-06 12:01:15 PDT
I can reproduce in Safari, it scrolls to the wrong position.
Comment 2 Radar WebKit Bug Importer 2020-10-06 12:01:25 PDT
<rdar://problem/70010429>
Comment 3 Simon Fraser (smfr) 2020-10-06 16:25:30 PDT
This is about multicol. The "columns: 2" triggers it.
Comment 4 Simon Fraser (smfr) 2021-10-15 16:22:56 PDT
Created attachment 441449 [details]
Test
Comment 5 Simon Fraser (smfr) 2021-10-15 16:23:22 PDT
This works now. Test:
https://bug-217388-attachments.webkit.org/attachment.cgi?id=441449#link