Moodle sites will be broken by bug 1958432, the sites need to be changed in a spec compatible way
Categories
(Web Compatibility :: Site Reports, task)
Tracking
(Webcompat Score:1)
Webcompat Score | 1 |
People
(Reporter: hiro, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:needs-contact)
What one of the Moodle sites (in bug 1947223 comment 0) does is that it invokes focus()
function for a position:fixed element whose top/left position is outside of the layout viewport. I initially/naively thought that scrollIntoView should never try to scroll to such outside of the layout viewport positions since the position is unreachable. But a chromium guy told me that scrollIntoView needs to try to scroll to positions as much as possible even if it's unreachable (see https://issues.chromium.org/issues/407801070#comment2).
Then I found the behavior is defined in the CSOM Vew spec (see bug 1946409 comment 28). Thus what I did to fix bug 1947223 was totally wrong,
what moodle sites do is basically NOT spec compatible. We need to revert the change for bug 1947223, reverting the change will fix another webcompat bug, bug 1946409 (lush.com case).
That means, moodle sites will be broken again, that's why I am filing this task.
CCing :dholbert and :honza to make them aware of this webcompat issue, and hope this issue will be discussed in a webcompat meeting.
Also CCing :denschub and :twisniewski.
Updated•17 days ago
|
Description
•