Closed
Bug 274847
Opened 20 years ago
Closed 20 years ago
External .css containing HTML tags only partially recognized
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: andreas.hoefler, Assigned: bugzilla)
Details
I know, it's not correct external CSS, but if an external css-file with the content:
<style type="text/css">
<!--
.dummy { color: red; }
.dummy2 { color: blue; }
-->
</style>
is referenced with <LINK ...> then the .dummy2-Style is usable in the including
file whereas the .dummy-Style is not. Checked with DOM-Inspector.
Shouldn't the content in the .css be either fully ignored or fully recognized?
Partially presence of the styles easily leads to confusion.
Comment 1•20 years ago
|
||
That's because your improper inclusion of HTML created a CSS selector called: <style type="text/css"><!--.dummy Which obviously does not exist in your HTML code.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•20 years ago
|
||
But in that case the DOM Inspector (Document Stylesheets) should display two CSS styles: - <style type="text/css"><!--.dummy - .dummy2 but it only lists .dummy2 Could this perhaps be a bug in the DOM Inspector then?
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 3•20 years ago
|
||
See http://www.w3.org/TR/CSS21/syndata.html#ignore . Marking Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•