CSS seems not to parse correctly if values are quoted

VERIFIED INVALID

Status

()

Core
CSS Parsing and Computation
--
trivial
VERIFIED INVALID
13 years ago
13 years ago

People

(Reporter: Sean Kelly, Assigned: dbaron)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
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

13 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
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.