abc.net.au - Some pics not working
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.
abc.net.au - Some pics not working
Howdy,
I'm not sure exactly how long this has gone on for as it's my Mother who asked me about it, but pictures in most pages aren't showing.
She seems to think it's been around 6 months.
Weirdly pics on the main page work but pics in news links do not. Some external things do work though, like twitter stuff and some videos.
For example -
This page works fine - https://www.abc.net.au/news/
This page does not - https://www.abc.net.au/news/2022-08-12/ ... /101310474
Librewolf appears to work fine.
I tried an unmolested profile and on a few other PC's I maintain which initially had older versions of PM (now updated), all behaved the same.
WIN10 64 AMD Ryzen and similar.
I tried getting the error console stuff but after I cleared it no more errors showed so I'm not sure what happened there?
Thanks in advance for any ideas.
I'm not sure exactly how long this has gone on for as it's my Mother who asked me about it, but pictures in most pages aren't showing.
She seems to think it's been around 6 months.
Weirdly pics on the main page work but pics in news links do not. Some external things do work though, like twitter stuff and some videos.
For example -
This page works fine - https://www.abc.net.au/news/
This page does not - https://www.abc.net.au/news/2022-08-12/ ... /101310474
Librewolf appears to work fine.
I tried an unmolested profile and on a few other PC's I maintain which initially had older versions of PM (now updated), all behaved the same.
WIN10 64 AMD Ryzen and similar.
I tried getting the error console stuff but after I cleared it no more errors showed so I'm not sure what happened there?
Thanks in advance for any ideas.
Re: abc.net.au - Some pics not working
They use weird styling that explicitly and solely relies on placing images inside a padding-bottom zone of a 0-height element with overflow:hidden where the padding-bottom is calculated using a min() CSS calc function. It seems to be explicitly designed to be incompatible with older and alternative browsers. There is no reason whatsoever why you would ever want to design a page that way unless you want it to break. I mean, seriously. place an IMG inside a 0-height (explicitly defined) element, then "force" that element to have specific padding to make room for the image (instead of just using height?) and making that padding depend on an overly-complex CSS functional calculation doing something with an aspect ratio (that is already native to an image...) ...?
Code: Select all
height: 0;
max-width: 100%;
overflow: hidden;
padding-bottom: min(var( --aspect-ratio-container-max-height,calc(100%/var(--aspect-ratio)) ),calc(100%/var(--aspect-ratio)));
position: relative;
width: calc(var(--aspect-ratio-container-max-height, auto)*var(--aspect-ratio));
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"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
- andyprough
- Astronaut
- Posts: 748
- Joined: 2020-05-31, 04:33
Re: abc.net.au - Some pics not working
Something funny - if I turn off all javascript for the site using the eMatrix extension BUT I allow images on the page, then I get the text and images.
Edit: no, it's not the javascript, it's the css as Moonchild said.
Edit: no, it's not the javascript, it's the css as Moonchild said.
Re: abc.net.au - Some pics not working
unnecessary design choices aside, the reason this doesn't work in Pale Moon is because we don't support the min() calculation function (or calculation in general) in-line in many places at the moment. CSS was never designed to be a scripting language and our CSS parsing and computation simply isn't very well suited for it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"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
Re: abc.net.au - Some pics not working
Well that's just crappy, dumb web designers at it again.
Thanks for sussing it out.
Moonchild - You said PM doesn't support such and such 'at the moment'. Does this mean sometime in the future PM will be supporting it, or is it a case of only the site designers can make that happen if they decide to do the right thing?
Thanks for sussing it out.
Moonchild - You said PM doesn't support such and such 'at the moment'. Does this mean sometime in the future PM will be supporting it, or is it a case of only the site designers can make that happen if they decide to do the right thing?
Re: abc.net.au - Some pics not working
As with many of these things, web designers can fix this today on their side. We do intend to have more complete support for this kind of stuff (there are open issues for it) hence the "at the moment" but I honestly don't have an idea when anyone would get around to solving the puzzle how to make that happen in coding. It honestly may not be very feasible since they keep changing the standards and specs and we have to pick and choose carefully to know what the biggest and most important improvements are we need to prioritize. So I can't say we will support it in the future. We hope to support it in the future, sure, but if/when that is, I don't know. Crystal balls are hard to come by (working ones, I mean )
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"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
Re: abc.net.au - Some pics not working
Understood loud and clear.
Thanks for the explanation and what you've given us with PM.
Thanks for the explanation and what you've given us with PM.