MSN News site locks up
Moderator: trava90
Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
thefossil
- Apollo supporter

- Posts: 40
- Joined: 2014-04-26, 11:05
- Location: Minnesota
MSN News site locks up
https://www.msn.com/en-us/news/us/minne ... a168&ei=22
Locks up Pale Moon on Win 11 Prof
Just get a finger pointer (ironic) but track pad on my Lenovo laptop won't work.
PgUp and PgDn buttons still work, however.
Content Security Policy: Couldn’t parse invalid host 'report-sample'
(unknown)
Content Security Policy: Couldn’t process unknown directive ‘report-to’
(unknown)
AST library loaded: 1.10.56
ast.js:5:126950
Use of removeAttributeNode() is deprecated. Use removeAttribute() instead.
microsoft.b73c16e0ec41b55b3d24.js:29:14377
unreachable code after return statement[Learn More]
en-us_script.js:1:87004
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/
en-us_script.js:1:20172
Viewable Complete Fri Dec 26 2025 18:54:28 GMT-0600 (Central Standard Time) Object { percentViewable: 1, technique: "IntersectionObserver", viewable: true, viewportWidth: 300, viewportHeight: 250, elementWidth: 300, elementHeight: 250, iframeContext: "same domain iframe", focus: true }
v.js:50:15
Viewable Complete Fri Dec 26 2025 18:56:10 GMT-0600 (Central Standard Time) Object { percentViewable: 0.9842767295597484, technique: "IntersectionObserver", viewable: true, viewportWidth: 300, viewportHeight: 254, elementWidth: 300, elementHeight: 254, iframeContext: "same domain iframe", focus: true }
v.js:50:15
Viewable Complete Fri Dec 26 2025 18:56:10 GMT-0600 (Central Standard Time) Object { percentViewable: 0.9827044025157232, technique: "IntersectionObserver", viewable: true, viewportWidth: 970, viewportHeight: 254, elementWidth: 970, elementHeight: 254, iframeContext: "same domain iframe", focus: true }
v.js:50:15
Locks up Pale Moon on Win 11 Prof
Just get a finger pointer (ironic) but track pad on my Lenovo laptop won't work.
PgUp and PgDn buttons still work, however.
Content Security Policy: Couldn’t parse invalid host 'report-sample'
(unknown)
Content Security Policy: Couldn’t process unknown directive ‘report-to’
(unknown)
AST library loaded: 1.10.56
ast.js:5:126950
Use of removeAttributeNode() is deprecated. Use removeAttribute() instead.
microsoft.b73c16e0ec41b55b3d24.js:29:14377
unreachable code after return statement[Learn More]
en-us_script.js:1:87004
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/
en-us_script.js:1:20172
Viewable Complete Fri Dec 26 2025 18:54:28 GMT-0600 (Central Standard Time) Object { percentViewable: 1, technique: "IntersectionObserver", viewable: true, viewportWidth: 300, viewportHeight: 250, elementWidth: 300, elementHeight: 250, iframeContext: "same domain iframe", focus: true }
v.js:50:15
Viewable Complete Fri Dec 26 2025 18:56:10 GMT-0600 (Central Standard Time) Object { percentViewable: 0.9842767295597484, technique: "IntersectionObserver", viewable: true, viewportWidth: 300, viewportHeight: 254, elementWidth: 300, elementHeight: 254, iframeContext: "same domain iframe", focus: true }
v.js:50:15
Viewable Complete Fri Dec 26 2025 18:56:10 GMT-0600 (Central Standard Time) Object { percentViewable: 0.9827044025157232, technique: "IntersectionObserver", viewable: true, viewportWidth: 970, viewportHeight: 254, elementWidth: 970, elementHeight: 254, iframeContext: "same domain iframe", focus: true }
v.js:50:15
-
jobbautista9
- Board Warrior

- Posts: 1137
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: MSN News site locks up
This is a bug in the website itself. The <body> is styled with overflow-x: clip without a corresponding overflow-y. This pretty much tells the browser that scrolling is not to be expected. See Issue #2853 (UXP)
A workaround is to revert them with userContent.css (you can use the Stylem extension for this). You can apply this globally (there isn't a good reason to change the overflow behavior of the html and body anyway AFAICS):
A workaround is to revert them with userContent.css (you can use the Stylem extension for this). You can apply this globally (there isn't a good reason to change the overflow behavior of the html and body anyway AFAICS):
Code: Select all
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http") {
html, body, html body { overflow-x: revert !important; overflow-y: revert !important; }
}

Tired of creating stuff!
Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
-
Moonchild
- Project founder

- Posts: 38825
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: MSN News site locks up
Of course getting a hold of a webmaster at MSN (to let them know what they are doing wrong) will be almost impossible. I guess the best one can do is use the "feedback" widget on MSN pages.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
THX-1139
- Lunatic

- Posts: 486
- Joined: 2019-06-13, 13:42
- Location: In a place with no YT
Re: MSN News site locks up
The site's page worked okay for me, no lock ups or crash and burns, the scrolling was a bit jankey but otherwise worked... But then I am still using Win7 pro (64)
Never made the move to win10, nor will I until all the mess is 'maybe' eventually, sorted out (I'm just too old to deal with all that BS at this time...my personal memory is shot..(not the PC's)
Never made the move to win10, nor will I until all the mess is 'maybe' eventually, sorted out (I'm just too old to deal with all that BS at this time...my personal memory is shot..(not the PC's)
Pale Moon 33.9.1. (64) Win7 pro (64) Intel Core i5-3570 3.4GHz-16 GB DDR3
"The biggest joke on mankind is that computers have started asking humans to prove they're not a robot."
"Man needs difficulties; they are necessary for health." ~Carl Jung
"The biggest joke on mankind is that computers have started asking humans to prove they're not a robot."
"Man needs difficulties; they are necessary for health." ~Carl Jung
-
Enobarbous
- Fanatic

- Posts: 104
- Joined: 2022-12-06, 17:44
Re: MSN News site locks up
I think we should make a change to how clip is handled. Sure, what we have now seems to match the spec, but it's poorly written, and website developers rely on behavior in other browsers.
Maybe we could add an additional setting? After all, we already have "button.standards_compliant"...
Because, based on my experience, our current clip implementation breaks more websites than it fixes.
I am sorry for the use of auto-translator to post
-
Moonchild
- Project founder

- Posts: 38825
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: MSN News site locks up
I firmly disagree. The spec is very clear what it's for and how it should be used.
I had no trouble reading and understanding it without ambiguity, once I took a moment to go through it. So no, I don't think it's poorly written. Have you read it?
Website developers rely on copy-pasting a rather nonsensical CSS rule across sites. There's not been given a reason whatsoever (other than hard-coding quirk behaviour into styling) why websites are even using this on full-page elements like HTML and BODY, to begin with. It seems to just be a case of "other sites do this so we do this too". Even if they want a specific rule to prevent full-page x-scrolling at all costs (which is the only somewhat understandable reason why a poorly-informed webmaster might add this...?) then they should be using overflow-x:hidden instead. The keyword clip behaves differently than hidden on purpose.
Probably not. Before our current clip implementation, more websites were broken (any site using clip, whether correctly or incorrectly). By definition, we fixed all sites using clip correctly. It just exposes incorrect use by having a standards implementation. Just because a mistake appears on higher-profile websites doesn't mean "we broke a large number of sites".Enobarbous wrote: ↑2025-12-27, 18:29our current clip implementation breaks more websites than it fixes.
No. Not being standards compliant and duplicating the quirk in this case would mean making specific element-by-element exceptions to standard behaviour. That is a lot more complicated than changing overall behaviour and would be introducing a lot of fragility and complexity just to compensate for very obvious wrong CSS use. The answer here is informing webmasters.Enobarbous wrote: ↑2025-12-27, 18:29Maybe we could add an additional setting? After all, we already have "button.standards_compliant"...
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
Enobarbous
- Fanatic

- Posts: 104
- Joined: 2022-12-06, 17:44
Re: MSN News site locks up
Ok. This is your browser.
Yes. Just like your comments in uxp#2853 and bug #1531609, and https://www.w3.org/TR/css-overflow-3/#o ... ropagation where
So yes, I think the specification is written quite strangely.If visible is applied to the viewport, it must be interpreted as auto. If clip is applied to the viewport, it must be interpreted as hidden.
And there is also a discussion at https://github.com/w3c/csswg-drafts/issues/1971 that's a bit more confusing...
So, I'm unlucky with the websites I visit. My fault (?)Moonchild wrote: ↑2025-12-27, 19:01Probably not. Before our current clip implementation, more websites were broken.Enobarbous wrote: ↑2025-12-27, 18:29our current clip implementation breaks more websites than it fixes.
I agree, from a technical point of view, the websites aren't "broken." From a user perspective, it's more questionable...
Ok. It was just a suggestion.Moonchild wrote: ↑2025-12-27, 19:01No.Enobarbous wrote: ↑2025-12-27, 18:29Maybe we could add an additional setting? After all, we already have "button.standards_compliant"...
I am sorry for the use of auto-translator to post
-
Enobarbous
- Fanatic

- Posts: 104
- Joined: 2022-12-06, 17:44
Re: MSN News site locks up
From what I've found, this is exactly what clip is used for for html and body. Hidden is not used because of how it interacts with position:sticky.Moonchild wrote: ↑2025-12-27, 19:01Even if they want a specific rule to prevent full-page x-scrolling at all costs (which is the only somewhat understandable reason why a poorly-informed webmaster might add this...?) then they should be using overflow-x:hidden instead. The keyword clip behaves differently than hidden on purpose.
In the example
Code: Select all
html, body {
overflow-x: hidden;
}
header {
position: sticky;
top: 0px;
}
Of course, this is not the only (and perhaps not the best) way to achieve these goals, but if all websites were written as perfectly as possible...
I am sorry for the use of auto-translator to post
-
vannilla
- Moon Magic practitioner

- Posts: 2519
- Joined: 2018-05-05, 13:29
Re: MSN News site locks up
Whenever I try to investigate overflow-x: clip all I see are examples for specific "sub-layouts" like hero images (the banners you see at the top of many service-selling websites) and never something about placing it on <body> or higher.
When it comes to "sub-layouts" it kind of makes sense: you want something to appear only partially like hero banners often want, but you can't edit the background picture because it's acceptable to see the whole thing on very large screens; CSS can then clip horizontally with all that entails, when hidden doesn't do the job quite right (the explanations I've read make a good case for clipping here).
I think clipping on <body> is part of the mentality of hoisting every definitions up and let children inherit them, then revert or override as needed. It's fine to let styles cascade (it's in the name!) but it's often done without any criteria and it's clearly wrong here.
When it comes to "sub-layouts" it kind of makes sense: you want something to appear only partially like hero banners often want, but you can't edit the background picture because it's acceptable to see the whole thing on very large screens; CSS can then clip horizontally with all that entails, when hidden doesn't do the job quite right (the explanations I've read make a good case for clipping here).
I think clipping on <body> is part of the mentality of hoisting every definitions up and let children inherit them, then revert or override as needed. It's fine to let styles cascade (it's in the name!) but it's often done without any criteria and it's clearly wrong here.
-
Enobarbous
- Fanatic

- Posts: 104
- Joined: 2022-12-06, 17:44
Re: MSN News site locks up
That's it. But there also the issue of adaptability and dynamic content. If some content is added using js - ads or widgets, or the site is built like a spa - in this case, overflow becomes a problem on narrow screens. And clipping content at the body level looks no worse than the endless hell of nested div's.
Of course, this can be solved in other ways, but it's not always possible to control how the framework handles the addition of elements...
I am sorry for the use of auto-translator to post
-
Enobarbous
- Fanatic

- Posts: 104
- Joined: 2022-12-06, 17:44
Re: MSN News site locks up
I think I've found the reason why problems arise when clip is applied to body. A close comparison bug #1531609 and pr#2788, shows that for some reason MeladJM ignored the entire second part - “Implement overflow:clip/visible combinations” (of course, I'm no expert, but I don't see even part of the work that mozilla has done), as a result of which our implementation ignores section https://www.w3.org/TR/css-overflow-3/#o ... ropagation of the specification.
So I apologize for my words - the implementation of clip in pm is correct, just incomplete.
I am sorry for the use of auto-translator to post
-
Moonchild
- Project founder

- Posts: 38825
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: MSN News site locks up
I see. there's an extra specced step/circumstance. While we do have equivalent logic there, it's not correct for viewport propagation (not entirely sure how we missed that, since it's been in the spec for quite some time). The situation wasn't entirely skipped as you think, because our code is just significantly different and it was written from spec more than by porting what Mozilla did.
Thanks for pointing me in the right direction so I can complete the implementation as-specced.
Thanks for pointing me in the right direction so I can complete the implementation as-specced.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite