Closed
Bug 168596
Opened 23 years ago
Closed 23 years ago
class selectors on non-subject sequence of simple selectors always match XML content
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
FIXED
mozilla1.2beta
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Keywords: testcase, Whiteboard: [patch])
Attachments
(2 files)
|
189 bytes,
text/xml
|
Details | |
|
670 bytes,
patch
|
sicking
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
Sicking noticed that class selectors on (using CSS3 terminology) in any
non-subject sequence of simple selectors always match XML content. This is bad,
and seems to be due to the NS_COMFALSE nightmare of nsIStyledContent::HasClass
and the inconsistency with GetClasses.
| Assignee | ||
Comment 1•23 years ago
|
||
There should not be any red in this testcase.
| Assignee | ||
Comment 2•23 years ago
|
||
This is the simple fix. We might want to clean things up a bit, though, to
avoid the hated NS_COMFALSE.
Comment 3•23 years ago
|
||
Yeah. I say it's time for NS_IMETHOD_(PRBool) here. sr=me on the patch if
that's needed immediately, though.
Comment on attachment 99163 [details] [diff] [review]
the simple fix without any cleanup
r=sicking
Attachment #99163 -
Flags: review+
| Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [patch]
Target Milestone: --- → mozilla1.2beta
| Assignee | ||
Updated•23 years ago
|
Attachment #99163 -
Flags: superreview+
| Assignee | ||
Comment 5•23 years ago
|
||
Fix checked in, 2002-09-16 07:17 PDT.
Filed bug 169088 on fixing the API to avoid NS_COMFALSE (yes, I'm lame).
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•