lines beginning with hyphen (dash) are indented

RESOLVED INVALID

Status

()

Firefox
Untriaged
RESOLVED INVALID
6 years ago
6 years ago

People

(Reporter: Steve Trussel, Unassigned)

Tracking

10 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 600811 [details]
haw-i.htm

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120215223356

Steps to reproduce:

I'm outputting an html dictionary page. Some headwords begin with a hyphen.






Actual results:

Lines beginning with a headword that begins with a "-" hyphen are indented 3-4 spaces.
In the attached file, see entries 
-i
-ia
-iele 
-iho
-ihoiho
etc.
This seems to happen with a lead "+" (plus) sign as well, and the lead minus indents even if preceded by a "." (period)


Expected results:

Lines beginning with a headword that begins with a hyphen should display like other lines. They display correctly in Chrome and IE.
If I remove the hyphen, the line moves left to the correct margin.
(there's css file here: http://www.trussel2.com/haw/haw.css
The attached file is also online here: http://www.trussel2.com/haw/haw-i.htm
The problem occurs on all the dictionary pages)
That's a lot of stuff, could you please minimize this down to a small example that illustrates the problem? That would greatly help with diagnosing and fixing.
(Reporter)

Comment 2

6 years ago
(In reply to Justin Dolske [:Dolske] from comment #1)
> That's a lot of stuff, could you please minimize this down to a small
> example that illustrates the problem? That would greatly help with
> diagnosing and fixing.

Sorry, let me do that and submit it again.
(Reporter)

Comment 3

6 years ago
I'm sorry. Please cancel this. It's not a Firefox bug, it's my mistake.

Updated

6 years ago
Attachment #600811 - Attachment mime type: text/plain → text/html

Updated

6 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.