phetsims/scenery

Layout of RTL broken in Firefox 128

Closed this issue · 7 comments

Found during phetsims/qa#1105, but occurs in published sims.
Between Firefox 127 and Firefox 128 the layout of rtl strings in sims was broken. They appear far right of where they should. This is both in the locale selection page and in the sim itself if those locales are chosen. Happens with both dynamic locale and non-dynamic locale.
ugh
wha

@kathy-phet @marlitas FYI. I believe that some investigation here should be a pretty high priority.

@zepumph I completely agree. It looks like @jonathanolson is looking at it already according to slack.

Reproducing. Also seems broken in Firefox nightly 130.0a1, so likely not temporary.

Appears to be specific to SVG, does not happen with rootRenderer=canvas.

Looks like one of the necessary components to this is the directional marks.

10 year old issue (https://bugzilla.mozilla.org/show_bug.cgi?id=1131192) led to me trying text-anchor="end". This results in the correct display of text when this issue occurs, so there might be a good possibility for an ugly workaround.

However this likely is... version specific.

This looks like it will likely be fixed in Firefox 130. MR workaround complete, so closing for now.