Closed Bug 294487 Opened 20 years ago Closed 20 years ago

Attributes in tags with spaces between the = sign and the quote delimiter mixed.

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: IMarvinTPA, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

The actual HTML provided to Mozilla looks like <a href = "setMyCSS.asp">Change
user preferences</a> or <a href= 'setMyCSS.asp'>Change user preferences</a> but
View Source reports it as <a href=" setMyCSS.asp">Change user preferences</a> or
<a href=' setMyCSS.asp'>Change user preferences</a>

This is both wrong and confusing when trying to debug a page.  It also confuses
the HTML Validator extention.  It places the space that was BEFORE the text
delimiter AFTER the text delimiter in the View Source screen.  I have seen this
behavior in the Mozilla Suite in the past.  This error is not limited to href or
anchor tags.  I see it in option tag values and consistantly everywhere else
this happens.

Reproducible: Always

Steps to Reproduce:
1.  Go to example page (I need to actually place it there, so don't try until
after May 18th.
2.  View the source with Firefox
3.  Compare the source with the actual source from the site.

Actual Results:  
I saw <a href =" setMyCSS.asp">Change user preferences</a> in the source.

Expected Results:  
I should have seen <a href = "setMyCSS.asp">Change user preferences</a> in the
source.
I get 404 page there. Please attach the testcase here:
https://bugzilla.mozilla.org/attachment.cgi?bugid=294487&action=enter
The test URL now works.  I didn't get the time I needed to make it.  I'm sorry
for the delay.

IMarv
WFM, no problems here with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8b2) Gecko/20050527 Firefox/1.0+

Try reproducing using Firefox 1.1a, when it's released, without any extensions.
I just tried the page with Deer Park alpha 1 and did not see the issue.

this may have been a duplicate for
https://bugzilla.mozilla.org/show_bug.cgi?id=57724 with a slightly different
kind of problem.  
Also I was using  HTML VALIDATOR (based on Tidy) 0.5.9, the extention's site may
have it fixed in 0.6.0

IMarv/Andy
HTML Validator 0.6.0 did not fix it in Firefox 1.0.4.
HTML Validator 0.6.0 is the only one available for Deer Park and does not break
the correct HTML source shown.

IMarv/Andy
okay, marking WFM, not sure if it's a dupe of bug 57724.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: