Emilio Cobos Álvarez
a1d224b823
Remove style system serialization tests that are tested via wpt.
2019-04-12 12:20:17 +02:00
Peter Hall
8bfd4dc1e2
#8539 Config preferences backend restructure
2019-03-20 15:01:26 +00:00
Emilio Cobos Álvarez
8020faed9b
style: Fix unit tests.
2019-03-13 15:08:40 +01:00
Emilio Cobos Álvarez
6daebcc5df
Fix servo build.
2019-02-10 07:23:51 +01:00
Emilio Cobos Álvarez
2a6cdaa30a
Rustfmt recent changes.
2019-01-08 12:01:28 +01:00
Emilio Cobos Álvarez
c7f30ad0df
style: Fix servo build.
2019-01-08 12:01:11 +01:00
Emilio Cobos Álvarez
4a31509215
style: Fix servo build.
...
This also fixes a bunch of calc handling issues and such.
Also remove tests that no longer compile and are covered by WPT.
2019-01-08 12:00:42 +01:00
Emilio Cobos Álvarez
ecd9794a81
style: Remove a bunch of unit tests that are not very useful.
...
And no longer compile. This is fairly well tested in WPT and Gecko tests.
2019-01-07 01:26:23 +01:00
Simon Sapin
be69f9c3e6
Rustfmt has changed its default style :/
2018-12-28 13:17:47 +01:00
Jan Andre Ikenmeyer
f1f409ffb6
Update MPL license to https (part 5)
2018-11-27 19:09:17 +01:00
Simon Sapin
a15d33a10e
cargo fix --edition
2018-11-10 17:47:28 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Pyfisch
cb07debcb6
Format remaining files
2018-11-06 22:30:31 +01:00
Emilio Cobos Álvarez
ac6f921588
style: Fix servo build.
2018-11-05 12:44:54 +01:00
Emilio Cobos Álvarez
b7da1bac88
style: Implement the env() function with hardcoded zeros for safe-area-inset.
...
Intent to Implement and Ship: https://groups.google.com/d/msg/mozilla.dev.platform/EVKyR1B87T0/_l-_qK8SAAAJ
Differential Revision: https://phabricator.services.mozilla.com/D9609
2018-11-05 12:33:16 +01:00
Emilio Cobos Álvarez
05f9f10a1c
style: Fix servo build and tidy lints.
2018-10-28 23:52:13 +01:00
Emilio Cobos Álvarez
1505eaaade
style: Fix Servo build.
2018-10-19 01:15:26 +02:00
Simon Sapin
1f7ebfc8a2
Make mach test-unit
not recompile components after mach build
...
Previously, the `tests` feature flag of the `embedder_traits` crate
caused it and every crate recursively depending on it to be built twice.
This feature flag was used to provide a specific set of "resources"
when running tests. Instead, this commits overrides the `main()` function
of the test harness to change resources at runtime before running any test.
This is done by adding a dependency that has `name = "test"` in its
`[lib]` section of `Cargo.toml`. This overrides the crate found by
`extern crate test;` in code generated by `rustc --test`.
2018-10-07 13:27:23 +02:00
Emilio Cobos Álvarez
c7fc80c5a3
Fix unit test build.
2018-09-18 12:01:31 +02:00
Emilio Cobos Álvarez
46b360cb75
style: Fix unit tests build.
2018-09-03 14:08:14 +02:00
Emilio Cobos Álvarez
689293e4fb
Fix Servo build.
2018-08-08 01:34:35 +02:00
Paul Rouget
0d9161dd7b
WR update
2018-08-06 07:22:24 +02:00
Emilio Cobos Álvarez
e1855b3b3b
style: Fix unit tests.
2018-07-24 12:59:55 +02:00
Bastien Orivel
ba9cbd87fb
Update parking_lot to 0.6
2018-07-20 00:44:08 +02:00
Bastien Orivel
9e446971a8
Update euclid to 0.18
2018-07-18 09:27:24 +02:00
Emilio Cobos Álvarez
fde93a60fe
style: Fix build and unit tests.
2018-07-16 19:44:19 +02:00
Emilio Cobos Álvarez
e149059608
style: Fix build / unit tests.
2018-07-01 00:54:30 +02:00
Emilio Cobos Álvarez
fc4998367b
style: Fix / remove unit tests.
...
Unit tests removed have WPT equivalents.
2018-06-23 20:34:10 +02:00
bors-servo
b0cb92176a
Auto merge of #20819 - servo:fourchette, r=jdm
...
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 -->
2018-05-19 06:22:21 -04:00
bors-servo
67370b37d3
Auto merge of #20718 - paulrouget:res2, r=emilio
...
Automatically provide a resource reader for tests
Fix #20710
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [ ] `./mach build-geckolib` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20710 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/20718 )
<!-- Reviewable:end -->
2018-05-18 15:25:54 -04:00
Emilio Cobos Álvarez
66ff70dd3e
Remove ports/geckolib.
2018-05-17 11:24:59 -05:00
Emilio Cobos Álvarez
953ba58b68
style: Remove a useless unit test that no longer compiles.
2018-05-05 18:53:53 +02:00
Paul Rouget
e02a23b2f6
Automatically provide a resource reader for tests
2018-04-30 22:19:33 +08:00
Emilio Cobos Álvarez
292f899631
style: Fix tidy issues and Servo build.
2018-04-29 05:09:43 +02:00
Emilio Cobos Álvarez
48de556f8c
style: Fixups for css-fonts-4 font-weight.
2018-04-28 10:26:03 +02:00
Paul Rouget
9fb5795f37
delegate resource reading to embedder
2018-04-27 15:34:52 +08:00
Emilio Cobos Álvarez
061c87ad00
style: Let overflow parse two values.
...
Per https://github.com/w3c/csswg-drafts/issues/2484 .
Bug: 1453148
Reviewed-by: xidorn
MozReview-Commit-ID: D7M3PhnTtD2
2018-04-12 10:44:38 +02:00
Bobby Holley
9b5354f953
Stop using Gecko namespace ids in servo.
...
MozReview-Commit-ID: 2532dHCGPXW
2018-04-06 11:32:00 -07:00
Fausto Núñez Alberro
cc838f54e5
Implement a URL-generic type for list-style-image
...
This should fix the following two "expected to fail" tests:
- getComputedStyle(elem) for url() listStyleImage uses the resolved URL
and elem.style uses the original URL
- getComputedStyle(elem) for url() listStyle uses the resolved URL
and elem.style uses the original URL
2018-04-03 22:01:26 +02:00
Emilio Cobos Álvarez
744809a8b2
style: Add support for 'flex-basis:content' in the style system.
...
Bug: 1105111
Reviewed-by: xidorn
MozReview-Commit-ID: 5WhgHJJ0mDB
2018-04-02 03:17:56 +02:00
Bastien Orivel
f71e34ccab
Bump parking_lot to 0.5
2018-03-21 18:19:29 +01:00
Bastien Orivel
c28dcbc3e5
Bump euclid to 0.17
2018-02-28 09:46:59 +01:00
bors-servo
b6bd719c5d
Auto merge of #20058 - Eijebong:rayon1.0, r=jdm
...
Bump rayon to 1.0
<!-- 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/20058 )
<!-- Reviewable:end -->
2018-02-27 00:10:51 -05:00
Anthony Ramine
f10e485740
Remove 2 unused type aliases
2018-02-26 16:40:19 +01:00
Bastien Orivel
fae2d9839f
Bump rayon to 1.0
2018-02-24 13:50:03 +01:00
Emilio Cobos Álvarez
4c979a8346
style: Remove a unit test that relies on disabled-by-default properties.
2018-02-20 14:21:34 +01:00
Anthony Ramine
5195eb38f2
Make all PropertyDeclaration variants have only one field
2018-02-06 13:45:18 +01:00
Jonas Reinwald
d24301b7a0
moved css longhand counter-reset out of mako
2018-02-01 15:43:40 +01:00
Anthony Ramine
bac8781cc7
Kill define_numbered_css_keyword_enum
2018-02-01 12:43:28 +01:00
CYBAI
9c7ff219d7
Use specific assertion for unit tests style viewport
2018-01-26 01:30:30 +08:00