Closed Bug 71151 Opened 24 years ago Closed 24 years ago

support for inline styles in XML ?

Categories

(Core :: DOM: CSS Object Model, defect)

Other
Other
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: rvj, Assigned: jst)

Details

Attachments

(2 files)

Not sure if inline styles in XML are supported in Mozilla I may be using the wrong syntax but the following Mozilla example displays correctly via IE
and the same question for XUL... is inline css supported in XUL?
The examples you gave are not inline style, they are using the html/xhtml <style> element. This is reported in the wrong component. I'm not sure what component it should be in, but DOM Style is not it, maybe Style System? The problem is not that Mozilla does not reconizes the <style> element, the problem is that when <?xml-stylesheet?> does not have a href attribute, Mozilla ignores any style after that. To work around this use <?xml-stylesheet type="text/css" href=""?> or remove it completely. To specify the style type, you should use <html:style type="text/css"> and not <?xml-stylesheet type="text/css"?> <?xml-stylesheet?> tag should be used for linking to an external stylesheet not defining the documents stylesheet type.
Marking INVALID feel free to change it if you feel otherwise.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
ksosez: did you see the comment above?: : The problem is not that Mozilla does not reconizes the <style> element, the : problem is that when <?xml-stylesheet?> does not have a href attribute, : Mozilla ignores any style after that. Should this be reopened?
Hmmm your right..I moved to fast on this one...reopening feel free to move whereever (style?)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
I take it then that Mozilla not recognising the style element is covered by this bug report (for future tracking purposes) Thanks
we _do_ support <html:style>... no? It works for me...
Status: UNCONFIRMED → NEW
Ever confirmed: true
might be related to bug 53030 ?
XHTML style elements work in XHTML/XML. Also xml-stylesheet PI without href does no longer stop parsing of the document. However, the erroneous (href is REQUIRED) PI breaks XUL. I do not know if XHTML style element works, or even if it should work in XUL. I opened bug 82022 and bug 82024 for these, respectively. Marking this worksforme.
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: