Arseniy Ivanov
ca73b30fcf
Add tests for windowless element's event handler behaviour
2017-02-02 19:14:49 -05:00
bors-servo
99899d0eb5
Auto merge of #15353 - bholley:inline_more_ffi, r=emilio
...
stylo: Optimize some FFI calls
https://bugzilla.mozilla.org/show_bug.cgi?id=1335863
<!-- 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/15353 )
<!-- Reviewable:end -->
2017-02-02 14:32:54 -08:00
Bobby Holley
001f258322
Bug 1335863 - Inline common case parent access. r=emilio
2017-02-02 14:32:23 -08:00
Bobby Holley
e78f2404e1
Bug 1335863 - Inline Gecko_IsHTMLElementInHTMLDocument. r=emilio
2017-02-02 14:32:23 -08:00
Bobby Holley
ae88d22399
Update bindings.
2017-02-02 14:32:22 -08:00
L. David Baron
7a65a472a2
Make additional properties be reset by the 'font' shorthand.
...
A number of properties are supposed to be reset to initial values by the
'font' shorthand. This does so for all such properties that Servo
currently supports (conditional on when they're supported).
Fixes #15033 .
2017-02-02 12:28:52 -08:00
bors-servo
6553a5c1e0
Auto merge of #15355 - mbrubeck:always-be-updating, r=jdm
...
Update clap, clippy, deflate, flate2, open, unicode-segmentation, owning_ref, parking_lot, phf, quote, walkdir
<!-- 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/15355 )
<!-- Reviewable:end -->
2017-02-02 11:44:01 -08:00
Simon Sapin
4701850f37
Add unicode-range descriptor to @font-face
2017-02-02 20:28:21 +01:00
Matt Brubeck
727a1fe3de
Update clap, clippy, deflate, flate2, open, unicode-segmentation, owning_ref, parking_lot, phf, quote, walkdir
2017-02-02 11:18:33 -08:00
Simon Sapin
0f351cb851
Fix incorrectly copy-pasted doc-comments.
2017-02-02 20:00:40 +01:00
Simon Sapin
f6bf397bb2
Add font-stretch descriptor to @font-face
2017-02-02 19:59:03 +01:00
Simon Sapin
fe8f5fad16
Add font-weight descriptor to @font-face
2017-02-02 19:58:40 +01:00
Simon Sapin
8767b0d7cc
Add font-style descriptor in @font-face
2017-02-02 19:57:40 +01:00
Simon Sapin
5405fb0d73
Use FamilyName instead of FontFamily in @font-face
...
… to exclude generic families, per spec:
https://drafts.csswg.org/css-fonts/#font-family-desc
2017-02-02 19:37:31 +01:00
Simon Sapin
52aa2431a9
Introduce a FamilyName type, like FontFamily but not a generic family.
2017-02-02 19:13:06 +01:00
bors-servo
94e3c90029
Auto merge of #15347 - andreastt:libssl-debian, r=mbrubeck
...
Upgrade libssl dependency on Debian
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _non-functional changes_
<!-- 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/15347 )
<!-- Reviewable:end -->
2017-02-02 10:12:57 -08:00
Simon Sapin
44f6c60d91
Separate mandatory and optional descriptors in @font-face parsing macro.
2017-02-02 19:02:57 +01:00
Simon Sapin
4bcae573b3
Macroize @font-face descriptor definitions
2017-02-02 18:32:02 +01:00
Simon Sapin
2b83d844da
Use the Parse trait for @font-face
parsing.
2017-02-02 18:32:01 +01:00
Simon Sapin
7724bb01a3
Remove intermediate FontFaceDescriptorDeclaration enum.
...
Have `@font-face` parsing write to `FontFaceRule` directly.
2017-02-02 18:32:01 +01:00
bors-servo
df487197e8
Auto merge of #15348 - emilio:unused-macro-use, r=SimonSapin
...
stylo: Remove unused macro_use annotation that warns on nightly.
r? anyone
<!-- 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/15348 )
<!-- Reviewable:end -->
2017-02-02 08:28:52 -08:00
Emilio Cobos Álvarez
e903fc117d
stylo: Remove unused macro_use annotation that warns on nightly.
2017-02-02 16:40:09 +01:00
Andreas Tolfsen
0ce18db3b1
readme: use apt(8) on debian
...
apt-get(8) has been replaced with apt(8) on Debian stable.
2017-02-02 13:37:00 +00:00
Andreas Tolfsen
ddc0771215
readme: use libssl1.0-dev build dependency on debian
...
The openssl-sys-extras crate used by Servo uses the outdated version
1.0 of libssl, and this exists as the libssl1.0-dev on Debian ever since
Debian upgraded to libssl 1.1.
See https://github.com/sfackler/rust-openssl/issues/522 for more context.
2017-02-02 13:35:30 +00:00
bors-servo
fb7f65fc57
Auto merge of #15317 - emilio:style-attr-restyle, r=bholley
...
style: Avoid selector-matching when only the style attribute is changed.
r? @bholley
<!-- 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/15317 )
<!-- Reviewable:end -->
2017-02-02 03:00:22 -08:00
Emilio Cobos Álvarez
2594cb9c33
style: Refactor the traversal so it's more easy to read and straight-forward.
2017-02-02 11:58:36 +01:00
Emilio Cobos Álvarez
8859aa004f
style: Avoid selector-matching when only the style attribute is changed.
2017-02-02 11:58:08 +01:00
bors-servo
8aa23b46db
Auto merge of #15340 - upsuper:border-image-width, r=Wafflespeanut
...
Reject negative value for border-image-width
<!-- 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/15340 )
<!-- Reviewable:end -->
2017-02-02 01:10:21 -08:00
bors-servo
f3d22ee1a8
Auto merge of #15336 - upsuper:text-decoration, r=Manishearth
...
Ignore initial values in text-decoration
<!-- 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/15336 )
<!-- Reviewable:end -->
2017-02-01 23:44:51 -08:00
Xidorn Quan
bf52419716
Reject negative value for border-image-width
2017-02-02 17:09:10 +11:00
Xidorn Quan
d06ffc2289
Parse value entirely for setting property via CSSOM
...
Fixes #15037
2017-02-02 16:07:49 +11:00
Xidorn Quan
c8970f7e21
Ignore initial values in text-decoration
2017-02-02 15:41:56 +11:00
bors-servo
8b9dc9392b
Auto merge of #15333 - mbrubeck:update_mouse_position_when_receiving_wheel_events, r=mbrubeck
...
update mouse position when receiving mouse wheel events
Rebase of #14808 .
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14290 (github issue number if applicable).
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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/15333 )
<!-- Reviewable:end -->
2017-02-01 15:48:30 -08:00
Gregory Terzian
7717e83206
update mouse position when receiving mouse wheel events
2017-02-01 15:15:18 -08:00
bors-servo
d161f6ec44
Auto merge of #13506 - veer66:master, r=mbrubeck
...
A test case change is added to #13442 : Fix #12193 Servo displays upper level Thai character in wrong place.
<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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/13506 )
<!-- Reviewable:end -->
2017-02-01 12:08:44 -08:00
Vee Satayamas
a83fd079df
reftest for issue #12193 Servo displays upper level Thai character in wrong place.
2017-02-01 15:08:14 -05:00
Vee Satayamas
c69567406e
Fix #12193 Servo displays upper level Thai character in wrong place.
2017-02-01 14:28:15 -05:00
bors-servo
b7887a1980
Auto merge of #15323 - Manishearth:gradient-stop, r=heycam
...
Ensure that gradients have at least 2 stops
fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1335656
r? @heycam
<!-- 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/15323 )
<!-- Reviewable:end -->
2017-02-01 11:17:13 -08:00
bors-servo
8066315855
Auto merge of #15330 - mbrubeck:always-be-updating, r=jdm
...
Update bincode, byteorder, libc
<!-- 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/15330 )
<!-- Reviewable:end -->
2017-02-01 10:20:29 -08:00
Josh Matthews
60d1717eca
Remove incorrect uses of asynchronous tasks from ServiceWorker job queue.
2017-02-01 12:54:33 -05:00
Josh Matthews
b5d2bd757b
Perform a microtask checkpoint after executing classic scripts and callbacks.
2017-02-01 12:54:33 -05:00
Josh Matthews
32d4f84a30
Generalize promise job queue into solitary microtask queue.
2017-02-01 12:54:33 -05:00
Matt Brubeck
083d1e9a76
Update bincode, byteorder, libc
2017-02-01 09:40:54 -08:00
bors-servo
bac2f68b54
Auto merge of #15327 - servo:missing-newline-wrap-panic, r=jdm
...
Add a missing newline in wrap_panic() calls.
<!-- 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/15327 )
<!-- Reviewable:end -->
2017-02-01 06:25:40 -08:00
Ms2ger
49ce1332e1
Add a missing newline in wrap_panic() calls.
2017-02-01 14:46:06 +01:00
bors-servo
4524bb2bda
Auto merge of #15326 - servo:root-callback-args, r=nox
...
Root the arguments to callback functions.
Note that this relies on the fact that Heap<JSVal> and JSVal are binary
compatible.
Fixes #15324 .
<!-- 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/15326 )
<!-- Reviewable:end -->
2017-02-01 05:31:22 -08:00
Ms2ger
d9013e069c
Root the arguments to callback functions.
...
Note that this relies on the fact that Heap<JSVal> and JSVal are binary
compatible.
Fixes #15324 .
2017-02-01 14:27:37 +01:00
Manish Goregaokar
c0e1a1f963
Ensure that gradients have at least 2 stops
2017-01-31 22:23:00 -08:00
bors-servo
da89099e26
Auto merge of #15321 - Manishearth:preallocate, r=bholley
...
Preallocate in deduplicate_property_declarations
r? @bholley
<!-- 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/15321 )
<!-- Reviewable:end -->
2017-01-31 17:58:18 -08:00
Manish Goregaokar
5117b7ec5a
Preallocate in deduplicate_property_declarations
2017-01-31 16:43:57 -08:00