Closed
Bug 492863
Opened 16 years ago
Closed 15 years ago
Gecko creates [inline element|free space] for space at beginning of HTML line
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: zajec5, Unassigned)
Details
Attachments
(1 file)
730 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20090504 Minefield/3.6a1pre
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20090504 Minefield/3.6a1pre
If I understand W3C correctly [1], every space at beginning of line in (X)HTML should be removed. Currently Gecko doesn't do that and creates some space for text.
[1] http://www.w3.org/TR/CSS2/text.html#white-space-model
Reproducible: Always
Reporter | ||
Comment 1•16 years ago
|
||
Space in line 20 (before <p>) causes additional space.
Comment 2•16 years ago
|
||
I do not think Gecko is wrong here. The first character on line 20 is a 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF) / BOM. This shouldn't be removed, according to the specification you cite.
Comment 3•15 years ago
|
||
Resolving per comment 2.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•