Closed
Bug 53435
Opened 25 years ago
Closed 25 years ago
The XML element names containing underscore doesn't get style sheet rendering
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: francisf, Assigned: clayton)
Details
(Keywords: verifyme)
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16 i686)
BuildID: 2000092008
Mozilla is unable to render xml element that use the underscore in the XML
element name like this <hot_browser></hot_browser> with a style sheet, the style
sheet doesn't apply to it.
Reproducible: Always
Steps to Reproduce:
Just write a little XML document like this:
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="data.css"?>
<facture>
<FA_S>
<description> INstallation réseau</description>
<prix>100.00</prix>
</FA_S>
</facture>
and a little stylesheet named data.css
facture, FA_S, description {display:block; text-align:center;}
facture, FA_S, prix {display:block; text-align:center;}
Actual Results: the text stay to the left, the style sheet doesn't apply to
it.
Expected Results: The style sheet should apply to it and the text should get
centered
Using netscape 4.7x to post this, Mozilla doesn't want me to register this bug
:(
Comment 1•25 years ago
|
||
The underscore '_' is invalid in CSS, you must escape it, like
FA\_S { color: green }
-> INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Keywords: verifyme
Resolution: --- → INVALID
Summary: The XML element names containing underscore doesn't get style sheet rendering → The XML element names containing underscore doesn't get style sheet rendering
You need to log in
before you can comment on or make changes to this bug.
Description
•