Closed
Bug 276865
Opened 21 years ago
Closed 15 years ago
Images always downloaded when serving as application/xhtml+xml
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla1, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041108 Firefox/1.0
I've noticed that all resources are fetched when using application/xhtml+xml
even those in <noscript></noscript> or set to display:none. I noticed this
because I have a tracker image in a <noscript> to determine % of users with JS
disabled. When serving as application/xhtml+xml Mozilla always attempts to
download this image, regardless of JS being enabled or not. When serving as
text/html the image is not fetched.
I'm not sure if this is related to bug 18333 (do we download *everything* before
rendering, or just wait for the XHTML?)
Reproducible: Always
Steps to Reproduce:
Comment 1•21 years ago
|
||
This is likely the correct behavior for XML, since we _do_ want to create an
image node for the <img> tag (in HTML we mess with the DOM and don't create an
<img> node, but that's not an option in XML). See also bug 242298.
Depends on: 242298
| Reporter | ||
Comment 2•21 years ago
|
||
(In reply to comment #1)
> This is likely the correct behavior for XML, since we _do_ want to create an
> image node for the <img> tag (in HTML we mess with the DOM and don't create an
> <img> node, but that's not an option in XML). See also bug 242298.
Is this a 'valid' bug or not? (being UNCO it's heading for auto-resolving...)
Comment 3•21 years ago
|
||
Whether it's valid basically depends on the outcome of bug 242298.... Confirming
for now, pending that.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•16 years ago
|
Assignee: xml → nobody
QA Contact: ashshbhatt → xml
Resolving INVALID in the "not a bug" sense. The behavior here is compliant with the HTML spec now. The spec says:
"The noscript element must not be used in XML documents. Note: The noscript element is only effective in the HTML syntax, it has no effect in the XHTML syntax."
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•