bors-servo
6e3c776387
auto merge of #3635 : SimonSapin/servo/ua-stylesheet, r=pcwalton
...
Based on https://html.spec.whatwg.org/multipage/rendering.html rather than http://dev.w3.org/csswg/css2/grammar.html
Fixes #3629 .
r? @pcwalton
2014-10-13 12:21:44 -06:00
Patrick Walton
2a790d06dd
Use Gecko's simpler Bloom filter instead of one based on hash
...
stretching.
This preserves the usage of the Bloom filter throughout style recalc,
but the implementation is rewritten. Provides a 15% improvement on
Guardians of the Galaxy.
2014-10-10 17:02:27 -07:00
Simon Sapin
e9ebfb74fc
Rewrite the user-agent stysheet(s)
...
Based on https://html.spec.whatwg.org/multipage/rendering.html
rather than http://dev.w3.org/csswg/css2/grammar.html
2014-10-10 17:27:38 +01:00
Simon Sapin
1117d86b63
Add [foo=bar i] case-insensitive attribute selectors.
2014-10-10 14:29:24 +01:00
Simon Sapin
cf1785ecb1
Read user-agent.css at run time. Fix #3516
2014-10-07 21:16:54 +01:00
Jack Moffitt
7f6f072b02
Fix up and run unit tests.
...
This adds the subpackages to `./mach test-unit`.
2014-10-02 23:14:42 -06:00
Keegan McAllister
d50114c41d
Use string-cache's Namespace type
2014-09-29 21:40:54 -07:00
Keegan McAllister
6429750b33
Eliminate servo_util::atom
...
We only needed this for Encodable, and now we use JSTraceable instead.
2014-09-29 18:39:36 -07:00
Simon Sapin
b3245fa407
Upgrade to rustc d2b30f7d3 2014-09-23
2014-09-29 17:41:45 +01:00
Cameron Zwarich
61ae80e186
Add an extra lifetime parameter to TElement / TNode
...
This isn't used for anything yet, but it's easier to propagate this
change in a separate commit.
2014-09-27 11:14:10 -07:00
Keegan McAllister
dc86e83654
Eliminate warnings
2014-09-20 13:00:55 -07:00
Josh Matthews
9607b468bc
Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.
...
This reverts commit 874db26104
.
2014-09-18 09:20:19 -04:00
Patrick Walton
874db26104
script: Use atom comparison in more places, especially for attributes.
...
75% improvement in style recalc for Guardians of the Galaxy.
2014-09-17 13:17:12 -07:00
Clark Gaebel
acd83ff47b
Added a bloom filter to CSS selector matching.
2014-09-15 16:29:45 -07:00
Gilles Leblanc
81a0d065f1
Make use of the list of Atoms in ClassSelector
...
Make use of the list of Atoms in the class attribute selector
(ClassSelector) in selector_matching.
Fixes #3111
2014-09-11 23:19:26 -04:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00