Closed
Bug 497332
Opened 16 years ago
Closed 14 years ago
Invisible Character "EF BB BF" (hex) creates blank line
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: daim, Unassigned)
Details
(Whiteboard: [CLOSEME 2010-11-15])
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
The following is an extract of the page showing the HEX for it. The symptom was that there was a blank line (vertical white space of 20px) at the top of the page. This was present in IE7 as 15px of white space and Safari showd no white space. It appears that the white space is caused by the invisible character before the start of the open tag for DOCTYPE. I have no idea where the invisible character came from but after deleting it the page renders correctly.
.......<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0A 0A 0A 0A EF BB BF 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 20 50 55 42 4C 49 43 20 22 2D 2F 2F 57 33 43
2F 2F 44 54 44 20 58 48 54 4D 4C 20 31 2E 30 20 54 72 61 6E 73 69 74 69 6F 6E 61 6C 2F 2F 45 4E 22 20 22 68
74 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 2F 54 52 2F 78 68 74 6D 6C 31 2F 44 54 44 2F 78 68 74 6D 6C
31 2D 74 72 61 6E 73 69 74 69 6F 6E 61 6C 2E 64 74 64 22 3E
It stats with 0a0a0a0a, the next 2-3 characters are the dodgy one
Reproducible: Always
Steps to Reproduce:
1. Create a document with a character of the given hex value before the doctype declaration tag.
2. Render the page and you will see white space at the top of the page as if there is an implicit margin or padding, even when collapsed.
3.
Actual Results:
You see white space at the top of the rendered page.
Expected Results:
There should not be any white space caused by the spurious invisible character.
Comment 1•14 years ago
|
||
Reporter, are you still seeing this issue with Firefox 3.6.11 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-11-15]
Comment 2•14 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•