aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/invalidation/stylesheets.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* style: Inline RestyleData.Emilio Cobos Álvarez2017-06-161-8/+6
| | | | | Bug: 1368236 MozReview-Commit-ID: 49s3SO0PMHf
* style: Kill StoredRestyleHint.Emilio Cobos Álvarez2017-06-141-3/+3
| | | | | | Reviewed-By: bholley Bug: 1368236 MozReview-Commit-ID: 43Cf0rJyhzO
* style: Move one-off checks out of the recursive invalidation function.Emilio Cobos Álvarez2017-06-131-13/+26
| | | | | | | There isn't a need to pay the cost for them multiple times. Bug: 1372068 MozReview-Commit-ID: 3K2mRcWTheJ
* style: Don't try to go down the tree if there aren't invalidations.Emilio Cobos Álvarez2017-06-131-0/+5
| | | | | | | This can happen when adding an empty stylesheet, for example. Bug: 1372068 MozReview-Commit-ID: Jtm4eJBWjEA
* ID and class selectors are ASCII case-insensitive in quirks mode.Simon Sapin2017-06-121-1/+2
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1363778
* style: Distinguish between the tree structures used for traversal and ↵Cameron McCormack2017-06-091-1/+1
| | | | | | | | | | | | selector matching. This patch renames TNode::parent_element to traversal_parent, since it returns the parent from the perspective of traversal (which in Gecko uses the flattened tree). It also renames TNode::children to traversal_children for the saem reason. We keep parent_element and children functions on TNode to use for selector matching, which must be done on the real DOM tree structure.
* Collapse Selector, SelectorInner, and ComplexSelector into a single Selector.Bobby Holley2017-06-051-1/+1
| | | | | | The refcounting is still internal. We'll fix that up next. MozReview-Commit-ID: CTxZNaR3Qgj
* Move the ancestor hashes out of Selector.Bobby Holley2017-06-051-2/+2
| | | | MozReview-Commit-ID: 5mipXnjgSED
* style: Move the stylesheet invalidation code to another submodule.Emilio Cobos Álvarez2017-06-031-0/+296
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1357461 MozReview-Commit-ID: DIzZXoHycZs