Closed Bug 174905 Opened 22 years ago Closed 21 years ago

Unexpected space within attribute value of tag

Categories

(Core Graveyard :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 154120

People

(Reporter: mike, Assigned: doronr)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016

A file containing:
<html>
<div id="hello">Hello</div>
</html>

In the view source is shown as:
<html>
<div id=" hello">Hello</div>
</html>



Reproducible: Always

Steps to Reproduce:
1. Load http://www.mike95.com/test.html with IE and view source
2. Load http://www.mike95.com/test.html with latest Mozilla build and view source
3. Compare attribute value; there is a space at the beginning of the attribute
value that was originally situated outside of the attribute value between the
equal and the first quote.

Actual Results:  
A space appears within the attribute value (the left most part) that was
originally outside of the attribute value between the equal sign and the first
quote.

Expected Results:  
Displayed the source just as it resides on the filesystem.
> <div id="hello">Hello</div>

That's not what the file contains.  It has:

<div id= "hello">Hello</div>


And this is a known view-source bug....
Whiteboard: DUPEME
found it

*** This bug has been marked as a duplicate of 154120 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
Product: SeaMonkey → Core Graveyard
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.