Closed Bug 82955 Opened 24 years ago Closed 24 years ago

XML unable to load chrome stylesheets without type="text/css" attribute

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: scc, Assigned: peterv)

References

()

Details

Attachments

(1 file)

Something changed recently that broke the loading of chrome stylesheets from XML. You can still load them from XUL but not from XML. Go to the URL given above and install my sidebar. The bottom third is an XML file included in an iframe. It does not get the style it requests. You can see that it is doing the right thing by viewing its source from http://ScottCollins.net/panels/pb.xml
<?xml-stylesheet?> requires a type attribute. Adding type="text/css" enables the stylesheet call for me on Win32 build 2001052708.
:-) OK, in my defense ... hyatt looked at this, we viewed source, and he told me to file the bug. But adding type="text/css" makes it work. Maybe then, this is related to Peter van Der Beken's XML/HTML stylesheet loading changes (thanks jst for this pointer), since it affects the XML part of the panel, but not the XUL part. Does that mean this is still a bug? Maybe the bug is that the XUL parser loads the stylesheet even when the type is absent. That would make this be hyatt's problem. Sorry, Dave. Over to you.
Assignee: mstoltz → hyatt
Summary: XML unable to load chrome stylesheets → XUL able to load chrome stylesheets (without type="text/css" attribute)
Component: Security: CAPS → XP Toolkit/Widgets: XUL
Actually, the |type| is not required, per the errata: http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/errata
re-assigning to peterv
Assignee: hyatt → peterv
Summary: XUL able to load chrome stylesheets (without type="text/css" attribute) → XML unable to load chrome stylesheets without type="text/css" attribute
Status: NEW → ASSIGNED
Looking for r and sr.
sr=jst
r=scc
->jrgm
QA Contact: ckritzer → jrgm
Priority: -- → P3
Target Milestone: --- → mozilla0.9.2
Blocks: 83989
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: