Open Bug 1876204 Opened 2 years ago Updated 2 years ago

Firefox on Windows 10 no longer renders some equations.

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 121
defect

Tracking

()

UNCONFIRMED

People

(Reporter: AdamReed, Unassigned, NeedInfo)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

Compare Wikipedia page "Cross-ratio" https://en.wikipedia.org/wiki/Cross-ratio in Firefox and Chrome on Windows 10. Most equations on that page are not rendered by Firefox, although correctly rendered on Chrome.

Actual results:

Most equations, starting with the first equation on the page, are missing with Firefox.

Expected results:

All the equations on the page should be correctly rendered, as with Chrome.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Win32
Product: Firefox → Core

I cant repro on my Win11 machine.
Can you paste the contents of about:support here?

Flags: needinfo?(AdamReed)

The equations are OK with Firefox on my W11 desktop, but missing on my W10 laptop.

Flags: needinfo?(AdamReed)

If this page used to work on previous Firefox versions, can you use the Mozregression tool (https://mozilla.github.io/mozregression/) to do a bisection ?

Flags: needinfo?(AdamReed)

OK, I'll try when I can squeeze it in.

LaTeX equations on Wikipedia are (usually) images, rendered server-side; their absence is generally more likely to be due to a network error than a Firefox rendering issue.

If you open DevTools on that page (Ctrl + Shift + I), go to the Network tab, and hard-refresh the page (Ctrl+F5):

  • Do the equations appear?
  • If not, do you get a bunch of 4xx or 5xx errors from "wikimedia.org"?

Ray: The equations do not appear, and there are no status codes other than 200 (no error status codes.) If the equations are rendered server side, then Firefox is not asking for them; Chrome is displaying them correctly at the same time.

(In reply to Adam Reed from comment #9)

Ray: The equations do not appear, and there are no status codes other than 200 (no error status codes.) If the equations are rendered server side, then Firefox is not asking for them; Chrome is displaying them correctly at the same time.

Are you sure about the bolded part? This is a very different bug depending on whether the images are not being requested versus being requested, but not being displayed. (Either way, BugBug was incorrect about it being a "Widget: Win32" bug, but it remains to be seen where it goes.)

If you go into the Network tab again (and possibly refresh) you should see a large number of requests to "wikimedia.org" of type "svg", all with mostly-meaningless 40-character-long hexdigit names. (See attached image.)

a) Are such requests actually present?
b) If you hover over one of the requests, does an image appear in a popup? (Again, see attached image.)
c) Does anything change if you open that page in a private window? (Or non-private window, if you were already testing in a private window.)
d) If you copy the following URL into the address bar of a new window, does a small red circle appear?
data:text/html,<svg width="140" height="170" xmlns:xlink="http://www.w3.org/1999/xlink"><circle cx="70" cy="95" r="50" style="stroke: black; fill: red;"/>

The requests are present, and the images with a checkerboard background do appear. The equations are not displayed whether the window is private or non-private. The red circle does appear as specified.

I tried the same page on a different W10 system, a desktop that I have not used since a Windows security update repeatedly failed to install. The equations do appear correctly on the latter. So it may be some kind of weird interaction with the most recent W110 security update.

(In reply to Adam Reed from comment #11)

The requests are present, and the images with a checkerboard background do appear. The equations are not displayed whether the window is private or non-private. The red circle does appear as specified.

Hm. So Firefox has the bytes, the bytes are valid SVGs, and they even render in other contexts. Also, SVGs do render in at least data: URLs.

Tentatively forwarding to "DOM: Core & HTML", although I wouldn't be too surprised to see it forwarded on to "Graphics".

Component: Widget: Win32 → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: