Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Upadated the readme #9

Merged
merged 1 commit into from
Dec 14, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ See [W3C calcuating selector specificity](http://www.w3.org/TR/CSS21/cascade.htm

Category index key selector falls under. Either `'id'`, `'class'`, `'tag'` or `'universal'`.

Modeled after WebKit's rule set grouping optimizations. Rules are indexed are indexed and grouped in a hash table to avoid having to do a full test on the element being matched. So its better to have selectors fall under unique id or class indexes rather than under more broad indexes like tags. Selectors in the universal category will always have to be tested against every element.
Modeled after WebKit's rule set grouping optimizations. CSS rules in WebKit are indexed and grouped in a hash table to avoid having to do a full test on the element being matched. So its better to have selectors fall under unique id or class indexes rather than under more broad indexes like tags. Selectors in the universal category will always have to be tested against every element.

``` json
{
Expand All @@ -64,7 +64,7 @@ See [`RuleSet::addRule`](https://github.com/WebKit/webkit/blob/d674eba907a703e8b

#### key

Hash hash used for indexing under the category.
Hash used for indexing under the category.

#### score

Expand Down