aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/style/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* style: Give up on test_parse_stylesheet.Emilio Cobos Álvarez2019-06-251-1/+0
| | | | It's not particularly useful.
* Update MPL license to https (part 5)Jan Andre Ikenmeyer2018-11-271-1/+1
|
* Format remaining filesPyfisch2018-11-061-3/+6
|
* style: Fix build and unit tests.Emilio Cobos Álvarez2018-07-161-1/+0
|
* style: Fix build / unit tests.Emilio Cobos Álvarez2018-07-011-14/+0
|
* style: Fix / remove unit tests.Emilio Cobos Álvarez2018-06-231-1/+1
| | | | Unit tests removed have WPT equivalents.
* Auto merge of #20819 - servo:fourchette, r=jdmbors-servo2018-05-191-1/+0
|\ | | | | | | | | | | | | | | Remove unused build targets <!-- 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/20819) <!-- Reviewable:end -->
| * Remove ports/geckolib.Emilio Cobos Álvarez2018-05-171-1/+0
| |
* | Automatically provide a resource reader for testsPaul Rouget2018-04-301-1/+0
|/
* delegate resource reading to embedderPaul Rouget2018-04-271-0/+1
|
* Move Stylo unit tests out of tests/unitSimon Sapin2017-12-071-1/+1
| | | | | This will allow writing `tests/unit/*` in the root `Cargo.toml` file to designate Servo unit tests.
* style: Move get_writing_mode outside of mako, and add a pointer to it.Emilio Cobos Álvarez2017-11-271-2/+5
|
* Auto merge of #18710 - mhaessig:remove-rustc-serialize, r=jdmbors-servo2017-11-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace rustc_serialize with serde_json in style_tests #12410 Stop using rustc_serialize Replaced rustc_serialize with serde_json in - [ ] ~~components/config/Cargo.toml~~ - [ ] ~~components/config/lib.rs~~ - [ ] ~~components/config/prefs.rs~~ - [ ] ~~components/script_traits/Cargo.toml~~ - [ ] ~~components/script_traits/lib.rs~~ - [ ] ~~components/script_traits/webdriver_msg.rs~~ - [ ] ~~components/webdriver_server/Cargo.toml~~ - [ ] ~~components/webdriver_server/lib.rs~~ - [X] tests/unit/style/Cargo.toml - [X] test/unit/style/lib.rs - [X] test/unit/style/properties/scaffolding.rs PR checks: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [X] These changes fix (partially) #12410. - [X] These changes do not require tests because functionality was not changed or a test itself was edited <!-- 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/18710) <!-- Reviewable:end -->
| * removed rustc_serialize in style testsManuel Hässig2017-10-151-1/+1
| |
* | Remove unused feature flagSimon Sapin2017-10-161-1/+1
|/
* style: Add a simple custom properties benchmark.Emilio Cobos Álvarez2017-10-081-0/+1
|
* Remove testing feature from style crateManish Goregaokar2017-08-071-1/+0
|
* move specified values size testing entirely into stylo_testsNathan Froyd2017-08-041-1/+3
| | | | | This change means that stylo_tests doesn't depend on a version of the style crate with the `testing` feature defined.
* Replace all uses of the style::stylearc alias with servo_arc.Michael Partheil2017-07-191-0/+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).
* style: Implement a more fine-grained invalidation method.Emilio Cobos Álvarez2017-06-131-1/+0
| | | | | | | | | | | This commit also removes the old restyle_hints module and splits it into multiple modules under components/style/invalidation/element/. The basic approach is to walk down the tree using compound selectors as needed, in order to do as little selector-matching as possible. Bug: 1368240 MozReview-Commit-ID: 2YO8fKFygZI
* Use size_of_test! macro in style and stylo tests.Simon Sapin2017-05-181-0/+1
|
* font-feature-settings gecko glue codeJuan C. Gonzalez-Zurita2017-05-031-0/+1
| | | | | | | FeatureTagValue value property changed to use u32. ToCss for FeatureTagValue changed to allow conversion from u32 to string. Parse for the same struct updated to convert from string to u32. Added two functions to transfer settings to gecko and copy settings.
* Auto merge of #16655 - servo:jdm-patch-1, r=emiliobors-servo2017-05-031-0/+1
|\ | | | | | | | | | | | | | | | | | | | | Fix broken unit tests These are tests that only get run on TravisCI, apparently, so they were broken by https://github.com/servo/servo/commit/be0139ff3ccaeff621788043b721660ab4bdf36b and https://github.com/servo/servo/commit/32c624e5852a91fbcd2fcc495cacd00a63452c6a without anybody noticing. <!-- 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/16655) <!-- Reviewable:end -->
| * Make unit tests pass on TravisCI.Josh Matthews2017-05-031-0/+1
| |
* | Upgrade to html5ever 0.16Simon Sapin2017-05-021-1/+1
|/
* Keep custom-ident and string separate in animation/keyframes name.Simon Sapin2017-04-261-1/+1
|
* Centralize ParserContext for testsJ. Ryan Stinnett2017-04-141-1/+0
| | | | | | | To simplify adding additional data to `ParserContext`, this moves test usages to a few shared locations, instead of being spread across many tests. MozReview-Commit-ID: 1OahV797eq
* Replace RwLock<StyleRule> with Locked<StyleRule>Simon Sapin2017-03-191-2/+0
|
* style: Simplify style sharing code.Emilio Cobos Álvarez2017-03-091-1/+0
|
* Make animation-name parse noneXidorn Quan2017-03-061-1/+1
|
* Revert "Auto merge of #15793 - upsuper:animation, r=emilio,bholley"Bobby Holley2017-03-031-1/+1
| | | | | This reverts commit 7cd4c69c40f90b2db6371bff27cfbd70fb045f5d, reversing changes made to 1b1fadb8b88eefe878617230a7b78c75a164332d.
* Make animation-name parse noneXidorn Quan2017-03-031-1/+1
|
* Fix unused warningSimon Sapin2017-02-281-1/+0
|
* Add a test to check the size of PropertyDeclarationNazım Can Altınova2017-02-091-0/+1
|
* Allow empty keyframe and keyframes with non-animatable properties.Hiroyuki Ikezoe2017-02-011-0/+1
| | | | | | We need to create CSS animations that have empty keyframe or keyframes which have only invalid properties or non-animatable properties to fire animation events for such animations.
* Convert text-orientation to a Gecko-only propertyMatt Brubeck2017-01-271-1/+1
| | | | | | Remove incomplete and buggy support for text-orientation in Servo. Make the property values align with Gecko and the latest draft of CSS Writing Modes Level 3.
* Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-1/+1
|
* Switch to crates.io for atomic_refcell.Bobby Holley2017-01-031-1/+0
|
* Interpolate colors with premultiplied alpha.Hiroyuki Ikezoe2016-12-281-0/+1
| | | | | We need to clamp each interpolated values because some cubic-bezier functions produce values that are out of range [0, 1].
* Remove usage of std::intrinsics::discriminant_value.Simon Sapin2016-12-201-1/+1
|
* style: Add simple rule-tree benchmarks. Fix rule node drop race.Emilio Cobos Álvarez2016-12-191-2/+4
|
* Removed util.Alan Jeffrey2016-12-141-1/+1
|
* cow_to_ascii_lowercase()Simon Sapin2016-12-091-0/+1
|
* Rename selector_matching.rs to stylist.rsSimon Sapin2016-11-201-1/+1
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-1/+1
|
* Update to string-cache 0.3Simon Sapin2016-11-031-1/+2
|
* Implement AtomicRef::map.Bobby Holley2016-11-011-0/+1
| | | | MozReview-Commit-ID: 8iOALQylOuK
* Fix tidy issuesRohit Burra2016-11-011-1/+1
|
* Implement OwningHandle in style.Bobby Holley2016-10-131-0/+2
| | | | | | | I've also PR-ed this against upstream [1], but I don't want to block on that in case it takes a while to be merged / published. [1] https://github.com/Kimundi/owning-ref-rs/pull/15
* Use parking_lot::RwLock instead of DOMRefCell for PropertyDeclarationBlockSimon Sapin2016-10-041-0/+1
|