rok.lilith.com - The page is blank
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Priority:P3, Webcompat Score:1, firefox150 affected, firefox151 affected, firefox152 affected)
People
(Reporter: rbucata, Assigned: twisniewski)
References
()
Details
(4 keywords, Whiteboard: [webcompat-source:web-bugs])
User Story
user-impact-score:0 platform:windows,mac,linux impact:site-broken configuration:general affects:all branch:release diagnosis-team:webcompat
Attachments
(1 file)
Environment:
Operating system: Windows 10
Firefox version: /Firefox 150 / Floorp 12.12.1@149.0.3
Steps to reproduce:
- Navigate to: https://rok.lilith.com/
- Observe
Expected Behavior:
The page loads
Actual Behavior:
Blank page
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/217349
| Reporter | ||
Comment 1•27 days ago
|
||
Chrome mask loads the page
| Reporter | ||
Updated•27 days ago
|
Updated•27 days ago
|
Comment 2•27 days ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•22 days ago
|
Updated•21 days ago
|
| Assignee | ||
Comment 3•13 days ago
|
||
The page appears if I open the debugger or resize the window, so something weird is going on here. Indeed, if I call window.onresize, the page's content appears. I think we should find out why, even if I figure out a good intervention. This is the related code:
$(document).ready(function () {
const isFirefox = navigator.userAgent.indexOf("Firefox") != -1;
function resize () {
const ww = document.documentElement.clientWidth || window.innerWidth;
let zoom = ww / 1920;
if (isFirefox) {
const mlr = (1920 - (zoom * 1920)) / 2;
$('.mod-responsive').css({
'-webkit-transform': 'scale(' + zoom + ')',
'-mod-transform': 'scale(' + zoom + ')',
'transform': 'scale(' + zoom + ')',
'-webkit-transform-origin': 'top center',
'-mod-transform-origin': 'top center',
'transform-origin': 'top center',
margin: `-${0}px -${ mlr }px`
});
setTimeout(() => {
const modH = $('.mod-responsive').height() * zoom;
$('.view').css({'height': `${modH}px`});
}, 100);
} else {
zoom = document.body.clientWidth / 1920;
$('.mod-responsive').css({ zoom: zoom });
}
}
resize();
window.onresize = resize;
})
It looks like it ought to be working...
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 4•13 days ago
|
||
The problem isn't happening on Android (they don't even have an onresize method there). So I will make this a desktop-only intervention for now.
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 5•13 days ago
|
||
Updated•13 days ago
|
Updated•13 days ago
|
Comment 7•13 days ago
|
||
| bugherder | ||
| Assignee | ||
Updated•13 days ago
|
Updated•6 days ago
|
Description
•