Open Bug 1047704 Opened 10 years ago Updated 1 year ago

rendering error in frasl entity rendering

Categories

(Core :: General, defect)

31 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lucas, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446

Steps to reproduce:

Using OS X 10.9.4 with Firefox 31.0,

Open http://changelog.ca/log/2008/07/01/writing_fractions_in_html

View the rendering of this code:
<sup>1</sup>&frasl;<sub>10</sub>

The slash for the frasl entity won't be shown.

Open the same underlying HTML in a different page, like http://jsfiddle.net/TGaQe/, and the bug goes away.

Open http://changelog.ca/log/2008/07/01/writing_fractions_in_html in  FireFox 29.0 on Linux Mint or in Ubuntu with FireFox 28.0 and the bug goes away.

Assuming platform doesn't matter, this would suggest a bug was introduced some time after 29.0.


Actual results:

https://pbs.twimg.com/media/Bt9kGNRCcAIeaeS.png:large
> The slash for the frasl entity won't be shown.

It's shown for me with both Firefox 31 and a nightly on Mac OS 10.9.4...
This has something to do with the font. The font rule used is:

font-family: "Lucida Grande","Jamrul",Helvetica,Verdana,Arial,Tahoma,sans-serif;

( from 2011normal.css, line 253 )

Disabling this rule in the inspector causes the page to use helvetica instead, and the fraction looks correct. I've updated my fiddle with css that now reproduces the problem:

http://jsfiddle.net/TGaQe/2/
(In reply to Boris Zbarsky [:bz] (On vacation Aug 5-18) from comment #1)
> > The slash for the frasl entity won't be shown.
> 
> It's shown for me with both Firefox 31 and a nightly on Mac OS 10.9.4...

Puzzlingly, I can repro on Nightly on 10.9.4 ( MBAir 11', not a retina display ). See the attached gif, just disabling the font rule fixes it. bz - any interesting font settings on your system? Retina display?
Flags: needinfo?(bzbarsky)
No interesting font settings, but yes a retina display.
Flags: needinfo?(bzbarsky)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.