Closed
Bug 286109
Opened 19 years ago
Closed 19 years ago
Extra spacing in attribute values when viewing source
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
DUPLICATE
of bug 154120
People
(Reporter: bugzilla.mozilla.org, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 When displaying attributes of tags, Mozilla's View Source command will munge the spacing if a page has been coded with spaces around the equal signs. For example, if the source document has align = "center" Mozilla will display it as Align =" center" Notice the extra space in front of center. As far as I know, there's nothing in the HTML spec that says an attributes must be assigned with no spaces around the equal sign. Example at: http://gliff.org/testbed/bugzilla/view-source.html Reproducible: Always Steps to Reproduce: 1. Create tag with an attribute 2. Format with spaces around equal sign ex. align = "center" 3. Load Page in browser 4. View Source Actual Results: Attribute is "rendered" by Mozilla as align =" center" Expected Results: Attribute should be "rendered" by Mozilla as align = "center" or align="center"
Comment 1•19 years ago
|
||
This has already been fixed on the main development trunk (along with several other such bugs in view-source). *** This bug has been marked as a duplicate of 43267 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 2•19 years ago
|
||
Reopening because I used the wrong bug number.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 3•19 years ago
|
||
Re-resolving with the right bug number this time. Sorry for the spam. *** This bug has been marked as a duplicate of 154120 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•