aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/style/rule_tree/bench.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update rayon to dedupe crossbeam-epochBastien Orivel2019-07-121-6/+6
| | | | As a bonus this also removes one version of crossbeam-utils
* style: Allow printing the rule tree on unit tests.Emilio Cobos Álvarez2019-06-041-26/+29
|
* Update MPL license to https (part 5)Jan Andre Ikenmeyer2018-11-271-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Format remaining filesPyfisch2018-11-061-45/+70
|
* style: Fix / remove unit tests.Emilio Cobos Álvarez2018-06-231-1/+1
| | | | Unit tests removed have WPT equivalents.
* style: Fix tidy issues and Servo build.Emilio Cobos Álvarez2018-04-291-4/+5
|
* style: Make all keywords CamelCase for consistency.Emilio Cobos Álvarez2017-12-061-1/+1
| | | | This prevents confusion and paves the ground for derive(Parse) of them.
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-301-6/+6
|
* Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵Gecko Backout2017-10-191-6/+6
| | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809
* Update bitflags to 1.0 in every servo crateBastien Orivel2017-10-191-6/+6
| | | | | It still needs dependencies update to remove all the other bitflags versions.
* Remove uses of `format!` in components/style/error_reporting.rsSimon Sapin2017-09-021-1/+1
|
* Use cssparser's new_with_line_number_offsetTom Tromey2017-08-281-1/+1
| | | | | | cssparser provides a way to set the initial line number on a ParserInput. This patch changes servo to use this facility, rather than reimplement the same functionality itself.
* Update to cssparser 0.19, count line numbers during tokenizationSimon Sapin2017-08-091-10/+6
|
* Remove testing feature from style crateManish Goregaokar2017-08-071-1/+7
|
* Replace all uses of the style::stylearc alias with servo_arc.Michael Partheil2017-07-191-1/+1
| | | | | | The alias is left there temporarilly and will be removed completely in a later commit where also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still use the old alias).
* stylo: Fix StyleSheetInner/Stylesheet mappingEmilio Cobos Álvarez2017-07-021-1/+1
| | | | | | The key of this patch is the split between Stylesheet and StylesheetContents. Gecko will use StylesheetContents, which maps to a ServoStyleSheetInner.
* Bump serde to 1.0Bastien Orivel2017-06-161-1/+1
|
* Thread ParseError return values through CSS parsing.Josh Matthews2017-06-091-8/+8
|
* Use StyleArc in the style system.Bobby Holley2017-05-021-1/+1
| | | | MozReview-Commit-ID: flF0fv9E9M
* Propagate quirks mode all the way to ParserContextAnthony Ramine2017-04-271-0/+2
| | | | The quirks mode is still not properly propagated in geckolib.
* Support line number offsets for inline stylesheetsmckaymatt2017-04-131-4/+11
|
* Bug 1325878: Pass the MediaList down to Servo, making <style media> work. ↵Emilio Cobos Álvarez2017-04-121-4/+5
| | | | | | | r=xidorn MozReview-Commit-ID: BUCSQJs2CNI Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
* Auto merge of #15562 - emilio:rule-mem-order, r=bholleybors-servo2017-04-031-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | style: Tweak rule tree memory ordering. I've commented on the ones that I think are the most tricky. Note that this code is stress-tested in the style tests (tests/unit/style/rule_tree/bench.rs). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15562) <!-- Reviewable:end -->
| * style: Tweak rule tree memory ordering.Emilio Cobos Álvarez2017-04-031-1/+6
| | | | | | | | | | I've commented on the ones that I think are the most tricky. Note that this code is stress-tested in the style tests (tests/unit/style/rule_tree/bench.rs).
* | Use a UrlExtraData type alias to unify url handling logic.Xidorn Quan2017-04-031-3/+1
|/
* Move all PropertyDeclarationBlock from RwLock<_> to Locked<_>Simon Sapin2017-03-191-6/+11
|
* Replace RwLock<CssRules> with Locked<CssRules>Simon Sapin2017-03-191-1/+2
|
* Replace RwLock<MediaList> with shared_lock::Locked<MediaList>Simon Sapin2017-03-191-0/+2
|
* Rearrange PropertyDeclaration to avoid embedding DeclaredValue.Bobby Holley2017-03-161-3/+3
| | | | | | | | | From https://bugzilla.mozilla.org/show_bug.cgi?id=1347719 This effectively combines the discriminants of the two enums and reduces the size of PropertyDeclaration by one word. MozReview-Commit-ID: 9rCRiSVZTQT
* style: Avoid cloning all over the error reporter.Emilio Cobos Álvarez2017-03-141-5/+1
|
* Make PropertyDeclarationBlock::important_count private.Simon Sapin2017-03-071-8/+5
|
* Fix a warningSimon Sapin2017-03-071-1/+1
|
* Add ServoUrl as a parameter to report_error(...) of ParseErrorReporteravinash2017-03-061-2/+3
| | | | | | | | | | | | | | | | | passes test-tidy removed match and used map added new test test_report_error_passing_correct_url(...) and modified old unit tests removed the option for servourl and tidied up removed the duplicate test. made a few more changes after @cbrewster suggestions. changed _url to url in few places fixed the indenting
* style: Define a CascadeLevel enum, and make the rule tree operate on it.Emilio Cobos Álvarez2017-01-301-6/+6
| | | | We'll use this level to know where to stop replacing nodes in the tree.
* style: Add simple rule-tree benchmarks. Fix rule node drop race.Emilio Cobos Álvarez2016-12-191-0/+196