Firefox on the Pi works just fine too.Not Pi chromium specific by the look of it, as Chrome on Android phone does not scroll the marquee.
Safari on iPad works OK, as does Firefox on Pi or PC
I've actually figured out the nature of the bug. Apparently something got broken in Chrome/Chromium such that, if you set text-indent to a non-zero value, all subsequent non-zero values get ignored.
The only way I've found to get around this is to set text-indent to 0 between non-zero values (which ruins the animation effect -- you get a faded non-scrolling marquee overlaid by a faded scrolling one), or twiddle with some other aspect of the element, like height, to coax Chrome into rendering the changed text-indent value.
For now I'm using an ugly hack of setting the height of my marquee element to alternating values of 100% or 99% every time I change text-indent. Stupid, but it works.
I'm clearly going to have to taken the time to make a simplified CodePen demo of the bug and find out how to report the problem.
Statistics: Posted by kshetline — Thu Feb 06, 2025 10:18 pm