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)
Core
XUL
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: scc, Assigned: peterv)
References
()
Details
Attachments
(1 file)
|
693 bytes,
patch
|
Details | Diff | Splinter Review |
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
Comment 1•24 years ago
|
||
<?xml-stylesheet?> requires a type attribute. Adding type="text/css" enables
the stylesheet call for me on Win32 build 2001052708.
| Reporter | ||
Comment 2•24 years ago
|
||
:-)
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)
| Reporter | ||
Updated•24 years ago
|
Component: Security: CAPS → XP Toolkit/Widgets: XUL
Comment 3•24 years ago
|
||
Actually, the |type| is not required, per the errata:
http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/errata
| Reporter | ||
Comment 4•24 years ago
|
||
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
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•24 years ago
|
||
| Assignee | ||
Comment 6•24 years ago
|
||
Looking for r and sr.
Comment 7•24 years ago
|
||
sr=jst
| Reporter | ||
Comment 8•24 years ago
|
||
r=scc
| Assignee | ||
Updated•24 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla0.9.2
Comment 10•24 years ago
|
||
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
| Assignee | ||
Comment 11•24 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
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.
Description
•