Closed Bug 1331111 Opened 9 years ago Closed 9 years ago

Latest firefox does not preserve whitespace inside the "pre" tag

Categories

(Core :: Layout: Text and Fonts, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bwbugzilla, Unassigned)

Details

Attachments

(3 files)

Attached file example1.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161208153507 Steps to reproduce: I have a simple HTML test case attached. In older versions of Firefox (such as 45.4.0 running on Linux), as well as in latest Chrome, it displays the embedded whitespace as I would expect. In Firefox 50 (running in Windows 7), it collapses multiple spaces into a single space. This is undesirable.
I have also seen this - initially on Win7 running Firefox 43. After updating to FF-50, the problem remained. My Options->Monospace was set to "Times New Roman" - with no monospace designation. I changed it to "Arial monospace for SAP" and the problem went away.
Component: Untriaged → Layout: Text
Attached image win7-ff50.jpg
It looks fine on my Win 7.
(In reply to Ben White from comment #0) > Created attachment 8826759 [details] > example1.html > > User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 > Firefox/50.0 > Build ID: 20161208153507 > > Steps to reproduce: > > I have a simple HTML test case attached. In older versions of Firefox (such > as 45.4.0 running on Linux), as well as in latest Chrome, it displays the > embedded whitespace as I would expect. In Firefox 50 (running in Windows > 7), it collapses multiple spaces into a single space. This is undesirable. Please attach a screenshot showing how it displays for you. Thanks.
Flags: needinfo?(bwbugzilla)
Okay, I will do that on Monday Jan 16.
Attached image example1_capture.PNG
Screen shot showing how the example HTML is rendered in my Firefox browser.
Strange; that doesn't match Loic's result (comment 2) at all. Could you please (a) try with a fresh profile, to see if any local settings/addons/etc are affecting it, and if that doesn't help, (b) post your about:support content for us to see further details.
Jonathan: new profile fixed the problem, the display of example1.html now looks correct. So, I think the next step for me is to start using the new profile. I don't really want to spend the time figuring out which setting or addon in my profile is causing this.
Flags: needinfo?(bwbugzilla)
Moving the bug to resolved -- I am satisfied by creating a new profile.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: