Closed
Bug 221531
Opened 22 years ago
Closed 22 years ago
clean up selector matching code
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(2 files)
|
22.68 KB,
patch
|
Details | Diff | Splinter Review | |
|
9.25 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
I have a patch with some cleanup in SelectorMatchesTree and SelectorMatches.
| Assignee | ||
Comment 1•22 years ago
|
||
The changes are:
* remove extra |if| around loop, and convert it from |while| to |for|.
* remove extra test for |result|
* rename |curdata| -> |prevdata| and |newdata| -> |data|.
* use |IsContentOfType| instead of |GetTag|
| Assignee | ||
Comment 2•22 years ago
|
||
| Assignee | ||
Updated•22 years ago
|
Attachment #132845 -
Flags: superreview?(bzbarsky)
Attachment #132845 -
Flags: review?(bzbarsky)
Comment 3•22 years ago
|
||
Comment on attachment 132845 [details] [diff] [review]
patch (diff -uw)
>Index: nsCSSStyleSheet.cpp
>+ // For the appropriate content (whether parent or previous sibling)
>+ // to check next, if we don't already have a RuleProcessorData
> // for it, create one.
"If we don't already have a RuleProcessorData for the next appropriate content
(whether parent or previous sibling), create one."
r+sr=bzbarsky with that.
Attachment #132845 -
Flags: superreview?(bzbarsky)
Attachment #132845 -
Flags: superreview+
Attachment #132845 -
Flags: review?(bzbarsky)
Attachment #132845 -
Flags: review+
| Assignee | ||
Comment 4•22 years ago
|
||
Fix checked in to trunk, 2003-10-13 14:54 -0700.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Seems like this might have pushed up Tp slightly ... is that possible?
| Assignee | ||
Comment 6•22 years ago
|
||
I don't see any noticeable change on btek, and I doubt it would have.
Something pushed btek from mostly below 1000ms to mostly above 1000ms and I
thought it might have been this patch, but it's so noisy that it's hard to tell.
You need to log in
before you can comment on or make changes to this bug.
Description
•