Closed
Bug 269077
Opened 20 years ago
Closed 20 years ago
CSS seems not to parse correctly if values are quoted
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: sean, Assigned: dbaron)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
I coded a simple example page to demonstrate a parsing issue in the CSS handler.
It does not accept values that are contained in quotes. The non-quoted values
are accepted fine. Though it may be incorrect to supply quotes in this fashion
in CSS, it is not altogether uncommon and should not be a difficult matter to
take such optional value encapsulation into account.
Reproducible: Always
Steps to Reproduce:
1. Make a CSS script with values encapsulatedin quotes such as:
.normal { color: "black"; }
2. apply the CSS to text in an HTML document by class name
3. Pull up the document in FireFox.
Actual Results:
CSS property value is not applied to the text
Expected Results:
The software should discard/ignore quotation marks (both single quote and double
quote) surrounding values so that they can be applied correctly.| Assignee | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Comment 1•20 years ago
|
||
Verified. The CSS spec explicitly prohibits "taking such optional value encapsulation into account".
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•