bors-servo
638e1dc40b
Auto merge of #16325 - KiChjang:fix-formdata-wpt, r=cbrewster
...
Fix formdata-blob.htm
The other failure is a legitimate WPT bug, will fix upstream.
<!-- 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/16325 )
<!-- Reviewable:end -->
2017-04-10 09:27:01 -05:00
tamamu
a864300a57
Remove the serialization tests
2017-04-10 20:09:33 +09:00
tamamu
4253d6390a
Mark disable_when_testing
2017-04-10 20:08:54 +09:00
bors-servo
10f51165c4
Auto merge of #16327 - servo:jdm-patch-3, r=jdm
...
Double number of WPT processes for Linux builders.
<!-- 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/16327 )
<!-- Reviewable:end -->
2017-04-10 04:40:18 -05:00
bors-servo
a0a60ba61d
Auto merge of #16328 - bradwerth:computedStyles, r=heycam
...
Stylo: Add FFI interfaces for exposing style sources.
https://bugzilla.mozilla.org/show_bug.cgi?id=1346256
https://reviewboard.mozilla.org/r/119044/
<!-- 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/16328 )
<!-- Reviewable:end -->
2017-04-10 04:04:54 -05:00
Brad Werth
bfc7e84767
Stylo: Add FFI interfaces for exposing style sources.
...
MozReview-Commit-ID: BlAb8sQ5WYl
2017-04-10 16:40:46 +08:00
bors-servo
dafa6c94eb
Auto merge of #16333 - Manishearth:stylo-metrics, r=heycam
...
stylo: support font metrics
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1341724
<!-- 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/16333 )
<!-- Reviewable:end -->
2017-04-10 01:35:18 -05:00
Keith Yeung
912ac622e7
Follow the spec in giving blobs a 'blob' name attribute
2017-04-09 23:30:40 -07:00
Manish Goregaokar
25667d0321
stylo: Use gecko's font metrics
2017-04-10 14:29:51 +08:00
Manish Goregaokar
1154600dd4
stylo: Add bindings for fetching font metrics from Gecko
2017-04-10 14:16:02 +08:00
bors-servo
a4605855f0
Auto merge of #16332 - servo:jdm-patch-5, r=emilio
...
data-url.html is no longer intermittent.
As far as I can tell this test consistently fails and the ini file was removed unintentionally.
<!-- 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/16332 )
<!-- Reviewable:end -->
2017-04-10 00:53:58 -05:00
Josh Matthews
3f83dd6b87
data-url.html is no longer intermittent.
2017-04-10 15:38:43 +10:00
Josh Matthews
65f076b3b0
Double number of WPT processes for Linux builders.
2017-04-10 14:31:10 +10:00
bors-servo
80f6160580
Auto merge of #16315 - jryans:at-page-stylo, r=xidorn
...
Stylo: @page support
Reviewed by upsuper in https://bugzilla.mozilla.org/show_bug.cgi?id=1345206 .
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
<!-- 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/16315 )
<!-- Reviewable:end -->
2017-04-09 21:47:59 -05:00
Keith Yeung
b5722e50bb
Provide MIME type data for File in formdata::get_file
2017-04-09 17:34:16 -07:00
tamamu
bfa408255f
Add place-items shorthand property (it fails unit-test)
2017-04-10 04:38:23 +09:00
Nazım Can Altınova
9618363e08
stylo: Add -moz-element support
2017-04-09 21:25:48 +03:00
tamamu
b6cbd31b73
Add place-self shorthand property (it fails unit-test)
2017-04-10 03:16:04 +09:00
tamamu
d6f4c8c6dd
Add place-content shorthand property
2017-04-10 02:58:02 +09:00
bors-servo
d77d752990
Auto merge of #16316 - Manishearth:stylo-threadsafe, r=emilio
...
stylo: Make font base size computation threadsafe
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1351200
<!-- 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/16316 )
<!-- Reviewable:end -->
2017-04-09 06:15:51 -05:00
Manish Goregaokar
2febe7ccde
stylo: Use font metrics provider as a cache for font size results
2017-04-09 19:15:37 +08:00
Manish Goregaokar
e402c72d0e
stylo: Store font metrics provider in thread local style context
2017-04-09 19:15:35 +08:00
bors-servo
949931ec0c
Auto merge of #16293 - emilio:refactor-selectors, r=bholley
...
style: Refactor the selectors crate to remove ad-hoc logic.
Also refactors a lot of the restyle hint code to use these new hooks, and removes a lot of hacks in servo that shouldn't be needed because of correct handling of restyles due to attribute changes.
I just smoketested this, so going for a full try run now.
<!-- 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/16293 )
<!-- Reviewable:end -->
2017-04-09 05:17:55 -05:00
Emilio Cobos Álvarez
8dfef0416f
selectors: Remove unused visit_simple_selectors.
2017-04-09 18:15:56 +08:00
Emilio Cobos Álvarez
96ee4c7c66
selectors: Remove unused AFFECTED_BY_ATTRIBUTE_SELECTORS.
2017-04-09 18:15:55 +08:00
Emilio Cobos Álvarez
53cad6227e
script: Map HTMLCanvasElement width and height attributes.
2017-04-09 18:15:53 +08:00
Emilio Cobos Álvarez
df29d02026
script: Remove now-unused function.
...
MozReview-Commit-ID: Cnw5dlczJxv
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-09 18:15:52 +08:00
Emilio Cobos Álvarez
0ea58d1ffa
style: Stop special-casing a few attributes for style sharing, and use a visitor to track dependencies.
...
Also, simplify all the pre-snapshot attribute hacks in the script and style
code.
MozReview-Commit-ID: 6c9ipeb7Tnr
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-09 18:15:50 +08:00
J. Ryan Stinnett
579bc36c96
Update Gecko bindings for @page support
2017-04-09 17:49:52 +08:00
J. Ryan Stinnett
a9ecebbe32
Servo glue for @page rule
...
Expose new glue functions and types on the Servo side for working with @page
rules from Gecko.
MozReview-Commit-ID: 5g13YldTr9
2017-04-09 17:49:44 +08:00
J. Ryan Stinnett
981571f4f8
Ignore non-margin properties in @page rule
...
Extend Servo's @page parsing to match Gecko's CSS 2.2 behavior, where only
margin properties are allowed in an @page rule. Other properties are ignored.
MozReview-Commit-ID: IPYUlnkLYSb
2017-04-09 17:49:41 +08:00
J. Ryan Stinnett
f0e849cbd8
Servo parsing / serialization for @page
...
Adds basic parsing and serialization for @page rules in Servo. It is handled
in the same manner as a regular style rule.
MozReview-Commit-ID: JRr3DDGcUIl
2017-04-09 17:49:14 +08:00
Manish Goregaokar
2ea8d61fbf
stylo: Bypass cache when fetching font size prefs from Stylo
2017-04-09 17:44:00 +08:00
bors-servo
6020c2feeb
Auto merge of #16314 - Wafflespeanut:bind, r=heycam
...
Include bindings for StyleGridTemplate
Servo-side changes for [Bug 1354775](https://bugzilla.mozilla.org/show_bug.cgi?id=1354775 )
<!-- 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/16314 )
<!-- Reviewable:end -->
2017-04-09 02:29:32 -05:00
Ravi Shankar
00bb0d6a12
Include bindings for StyleGridTemplate
2017-04-09 12:38:44 +05:30
bors-servo
fd2b092839
Auto merge of #16312 - bholley:breadth_first_sequential, r=emilio
...
Make the sequential traversal breadth-first
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1354806
<!-- 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/16312 )
<!-- Reviewable:end -->
2017-04-09 01:55:09 -05:00
Bobby Holley
3f52052cf9
Do the sequential traversal breadth-first.
...
While we're at it, we also eliminate the 'unknown' dom depth for the
bloom filter. Computing depth has negligible cost relative to the
amount of work we do setting up the bloom filter at a given depth.
Doing it once per traversal should be totally fine.
I originally separated the elimination of unknown dom depth from the
traversal changes, but I got bloom filter crashes on the intermediate
patch, presumably because I didn't properly fix the sequential traversal
for this case. Given that the final state is green, I just decided to
squash and move on.
2017-04-09 14:52:49 +08:00
bors-servo
2f67f69e89
Auto merge of #16309 - heycam:restyle-reconstruct, r=bholley
...
style: add a "for frame reconstruction" mode for restyle traversal
This is the Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1351535 .
<!-- 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/16309 )
<!-- Reviewable:end -->
2017-04-09 01:04:57 -05:00
Bobby Holley
1b363ac909
Factor out the bottom-up postorder traversal logic.
2017-04-09 12:35:58 +08:00
bors-servo
3a5ed1797f
Auto merge of #16311 - nox:data-method, r=KiChjang
...
Do not return an error for non-GET data: requests (fixes #13293 )
<!-- 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/16311 )
<!-- Reviewable:end -->
2017-04-08 23:17:26 -05:00
Emilio Cobos Álvarez
1748150497
selectors: Remove custom attribute-affecting logic and sibling-affecting logic from rust-selectors.
...
MozReview-Commit-ID: BjZY6TjJbcb
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-09 05:49:47 +02:00
Anthony Ramine
c0f9fb8f55
Do not return an error for non-GET data: requests ( fixes #13293 )
2017-04-08 21:47:55 +02:00
Cameron McCormack
5c974c21d9
geckolib: Regenerate bindings.
2017-04-08 23:18:12 +08:00
Cameron McCormack
3f71c80e2f
style: Handle TraversalRestyleBehavior::ForReconstruct in the Servo restyle.
2017-04-08 23:09:00 +08:00
Cameron McCormack
2bbeb21551
style: Move TraversalFlags into SharedStyleContext.
2017-04-08 23:07:35 +08:00
Cameron McCormack
5fa9a56247
style: Don't traverse children if the root of the restyle is display:none.
...
If we append a child to a display:none element, and we use StyleNewChildren on
that parent, we should skip restyling the children.
2017-04-08 23:07:30 +08:00
bors-servo
63988b9103
Auto merge of #16306 - ahmedcharles:msvc, r=Wafflespeanut
...
Update Cargo.lock to include fix for MSVC 2017 in mozjs-sys.
<!-- Please describe your changes on the following line: -->
---
<!-- 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
- [X] `./mach test-tidy` does not report any errors
<!-- Either: -->
- [X] These changes do not require tests because it just updates to a new version of spidermonkey.
<!-- 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/16306 )
<!-- Reviewable:end -->
2017-04-08 05:11:01 -05:00
Ahmed Charles
b2bbc35781
Update Cargo.lock to include fix for MSVC 2017 in mozjs-sys.
2017-04-08 02:31:41 -07:00
bors-servo
a811776df4
Auto merge of #16070 - emilio:selectors-bloom-hash-less, r=bholley
...
selectors: Get rid of hashing overhead using the precomputed hash atoms have.
I realized of this when @bzbarsky mentioned the bloom filter in https://bugzilla.mozilla.org/show_bug.cgi?id=1348935#c7 .
Right now we hash (the hash) all the time, when we can do better.
This requires a change in string-cache, which is at https://github.com/servo/string-cache/pull/183 .
<!-- 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/16070 )
<!-- Reviewable:end -->
2017-04-07 19:03:12 -05:00
Emilio Cobos Álvarez
e29b84de18
style: Hash less stuff in the bloom filter, using the precomputed hashes we have.
2017-04-08 02:02:11 +02:00