Summary: | Selector usage flags should not be set by the CSS parser | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Antti Koivisto
2011-03-02 05:42:06 PST
Created attachment 84410 [details]
move figuring out the selector flags to CSSStyleSelector
- Use the selector traversal in style selector constructor to figure out which flags actually are needed for the currently active style sheets.
- Remove the flag related code from the CSS parser/grammar.
- Remove the usesDescendantRules flag completely. We have descendant rules in the default style sheet, so every document uses them.
Comment on attachment 84410 [details]
move figuring out the selector flags to CSSStyleSelector
r=me
|