Closed Bug 762601 Opened 12 years ago Closed 12 years ago

⇐ ⇑ ⇒ ⇔ ​ cause Firefox to insert empty lines before and after

Categories

(Firefox :: General, defect)

13 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 739804

People

(Reporter: 17542899.20.Elomir, Unassigned)

Details

Attachments

(2 files)

Attached image testcase.png
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0
Build ID: 20120601045813

Steps to reproduce:

<html>
<body>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum
gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a,
magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique
senectus et netus et &lArr; &uArr; &rArr; &hArr; malesuada fames ac turpis egestas. 
Mauris ut leo. Cras viverra metus rhoncus sem. 
Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit 
amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, 
viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. 
Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur 
auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, 
accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim 
rutrum. Lo&#8203;rem ipsum dolor sit amet, consectetuer adipiscing elit. 
Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum
gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a,
magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique
senectus et netus et malesuada fames ac turpis egestas.
</p>
</body>
</html>


Actual results:

Firefox 13 @ WinXP adds some empty lines over and under those characters.


Expected results:

There should be no additional vertical space.
Attachment #631056 - Attachment mime type: text/plain → text/html
How strange. Could it be a problem with the font that's being used? What happens if you try it with a different font?
I tried different fonts (Times New Roman, Arial, Borg, Century Gothic, cmb10,...): same result, thus it appears to be independent of the used font. And with the same font and Firefox 12 this error did not happen, therefore I suspect that somewhere in FF something has been changed from version 12 to 13.
Component: Untriaged → General
I can confirm this. Looks like it may only affect WinXP, but using the double arrow characters introduces blank lines.

Can be seen on this page: http://www.blooberry.com/indexdot/html/tagpages/entities/arrow.htm

Spacing should be the same as single line arrows, but it's not.
This is the issue of certain symbols now being assigned the Cambria Math font, which under the GDI backend renders with excessive ascent/descent metrics.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: