Closed
Bug 218362
Opened 21 years ago
Closed 21 years ago
Does not recognize class applications when defined in the document head
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: amethyst42, Assigned: dbaron)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827
Applied style classes assigned to html elements in css do not display at all
when used, at least when defined in the head of the document rather than a
seperate style sheet.
In the example provided, the left table running the length of the left side,
under the logo, should have a blue background. The centered "Enrollment" at
the top should be yellow and bold.
Reproducible: Always
Steps to Reproduce:
1.Just load up the page
2.
3.
Actual Results:
Didn't display the style classes as applied;.
Expected Results:
Display the style classes.
Comment 1•21 years ago
|
||
.
Assignee: general → dbaron
Component: Browser-General → Style System
QA Contact: general → ian
![]() |
||
Comment 2•21 years ago
|
||
> "p, table ("
This should be a '{', not a '('. As it is, this is an unknown selector, so we
have to skip the whole rule. So we start searching for the end of the rule,
which means we have to find the matching ')' for the '('. There isn't one, so
we skip the whole sheet as part of this unknown selector; as a result the parsed
version of the sheet only has the "body" rule in it.
Marking invalid, since the parsing behavior is correct.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•