Emilio Cobos Álvarez
2d395a48aa
style: Update bindings.
...
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2018-01-27 03:18:32 +01:00
Emilio Cobos Álvarez
1183b47e69
style: Update bindings.
2018-01-22 16:12:36 +01:00
Emilio Cobos Álvarez
3d5bd40766
style: Update bindings.
2018-01-22 13:40:43 +01:00
Emilio Cobos Álvarez
d14c979fb2
Revert "style: Remove new function added to the build from bindings.rs"
...
This reverts commit 8c0e455d9e
.
2018-01-20 02:10:59 +01:00
Emilio Cobos Álvarez
8c0e455d9e
style: Remove new function added to the build from bindings.rs
...
Since it was removed from gecko, and this confuses a lot to
ports/geckolib/tests/build.rs.
2018-01-18 03:33:42 +01:00
Emilio Cobos Álvarez
3cd4f5780f
style: Update bindings.
2018-01-17 18:03:17 +01:00
Bobby Holley
ac74cf7a60
Add machinery to assert single-threadedness from geckolib.
...
MozReview-Commit-ID: 9LBNm2h5Ct3
2018-01-12 10:19:06 -08:00
Emilio Cobos Álvarez
bfc91c5e12
style: Update bindings.
2018-01-09 14:26:06 +01:00
Emilio Cobos Álvarez
51e2942c25
style: Make GetFlattenedTreeParent more straight-forward.
...
Now that accessing nsIContent slots is not a blob of virtual function calls, we
should be able to unify logic here, and speed up the not-so-rare case for
chrome, while keeping the usual case fast.
Bug: 1427511
Reviewed-by: smaug
MozReview-Commit-ID: 87iY5Cbhx4T
2018-01-02 16:25:59 +01:00
Manish Goregaokar
337e5288c2
Add weighted telemetry probes for parallel restyles
2017-12-12 10:13:23 -06:00
Xidorn Quan
d2042d7ed1
Add @supports -moz-bool-pref() support for stylo.
2017-12-08 14:12:02 -06:00
Emilio Cobos Álvarez
8c18e01425
style: Update bindings.
2017-12-05 19:00:42 +01:00
Boris Chiou
aa52e644fe
Implement the Servo parser for FontFaceSet Web API.
2017-12-05 21:33:14 +08:00
Boris Chiou
1e29e64000
Implement the Servo parser for font descriptors Web API.
...
According to the spec, this parser should follow what we do for
@font_face rule, so we use the same type to parse the input, instead of
using the parser of their specified values.
2017-12-05 21:33:07 +08:00
Emilio Cobos Álvarez
dcd81b92e0
style: Update bindings.
2017-12-05 11:07:37 +01:00
Cameron McCormack
64c5a8a6e8
style: Regenerate Gecko bindings.
2017-12-05 13:22:22 +08:00
Cameron McCormack
c5a3d752b8
style: Regenerate Gecko bindings.
2017-12-05 10:11:48 +08:00
Gecko Backout
25436276ae
Backed out 1 changesets because the gecko part (bug 1420117) has to be backed out for the mochitests r=backout on a CLOSED TREE
...
Backed out changeset baada68cad47
Backs out https://github.com/servo/servo/pull/19441
2017-12-05 00:18:35 +00:00
Cameron McCormack
ec4f9a5f3b
style: Update Gecko bindings.
2017-12-04 09:21:54 +08:00
Ting-Yu Lin
668795ad16
style: Update gecko bindings
...
MozReview-Commit-ID: CBPdp0e1k6h
2017-12-01 15:01:15 +08:00
Ting-Yu Lin
14ec5a662f
style: Update Gecko bindings
...
MozReview-Commit-ID: FUsLXeucoz2
2017-11-29 11:27:42 +08:00
Boris Chiou
3a38e815ec
Implement Servo_ParseTransformIntoMatrix.
...
DOMMatrix needs to convert a specified transform list into a matrix, so
we could rewrite to_transform_3d_matrix by generics for both specified
and computed transform lists.
Besides, we have to update the test case because we use Transform3D<f64> to
compute the matrix, instead of Transform3D<f32>, so the result will be
the same as that in Gecko. Using 0.3 may cause floating point issue
because (0.3f32 as f64) is not equal to 0.3 (i.e. floating point precision
issue), so using 0.25 instead.
2017-11-28 10:08:12 +08:00
Gecko Backout
8679bafa93
Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE
...
Backs out https://github.com/servo/servo/pull/19374
2017-11-26 11:02:41 +00:00
Gecko Backout
9651a5572e
Backed out changeset 1fdcd69d2524 for Build Bustage. r=backout on a CLOSED TREE
...
Backs out https://github.com/servo/servo/pull/19376
2017-11-26 11:00:42 +00:00
Ting-Yu Lin
a04d0cb5f1
style: Update Gecko bindings
...
MozReview-Commit-ID: FUsLXeucoz2
2017-11-26 17:08:00 +08:00
Cameron McCormack
c0dc50d90d
style: Update Gecko bindings.
2017-11-26 11:25:01 +08:00
Hiroyuki Ikezoe
64bd97a0d3
Update bindings.
2017-11-22 13:02:45 +09:00
Cameron McCormack
ca10caa85d
style: Regenerate Gecko bindings.
2017-11-21 13:59:18 +08:00
Cameron McCormack
e286ad7dca
style: Regenerate Gecko bindings.
2017-11-17 17:12:10 +08:00
Emilio Cobos Álvarez
1309573b98
style: Update bindings.
...
MozReview-Commit-ID: BAXvyXmZWzo
2017-11-13 02:48:50 +01:00
Emilio Cobos Álvarez
72567505d9
style: Update bindings.
...
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-11-04 11:34:41 +01:00
Gecko Backout
8f8fd517ed
Backed out changeset dbd300f4d75b for build bustage. r=backout on a CLOSED TREE
...
Backs out https://github.com/servo/servo/pull/19108
2017-11-03 23:56:42 +00:00
Emilio Cobos Álvarez
15ef6b0d8a
style: Update bindings.
2017-11-03 20:25:01 +01:00
Emilio Cobos Álvarez
4e6af723d8
style: Update bindings.
2017-10-31 20:09:20 +01:00
Boris Chiou
52c81a0a84
Add Servo_ComposeAnimationSegment which composes an animation segment.
2017-10-27 21:18:21 +02:00
Boris Chiou
1f5551c397
Add Servo_AnimationValue_Transform which creates an AnimationValue of transform.
2017-10-27 21:18:11 +02:00
Boris Chiou
f02bd01add
Add Servo_AnimationValue_Opacity which creates an AnimationValue of opacity.
2017-10-27 21:18:01 +02:00
Emilio Cobos Álvarez
21b314e633
stylo: Honor CallerType for media query parsing.
...
So that matchMedia can parse internal stuff in Chrome code.
Bug: 1410074
Reviewed-by: xidorn
MozReview-Commit-ID: 6M4HHqVJ1dp
2017-10-25 14:27:16 +02:00
Emilio Cobos Álvarez
9a804f68f9
style: Update bindings.
2017-10-23 08:32:00 +02:00
bors-servo
7b61e3b6ee
Auto merge of #18963 - heycam:rm-property-id, r=upsuper
...
geckolib: Make Servo_DeclarationBlock_RemovePropertyById return whether it did remove a property.
From https://bugzilla.mozilla.org/show_bug.cgi?id=1408311 , reviewed there by Xidorn.
<!-- 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/18963 )
<!-- Reviewable:end -->
2017-10-20 05:26:18 -05:00
Cameron McCormack
01ed7fe4dd
geckolib: Make Servo_DeclarationBlock_RemovePropertyById return whether it did remove a property.
2017-10-20 12:00:32 +08:00
Xidorn Quan
2dc714f0ac
Implement XUL tree pseudo style resolution for stylo.
2017-10-20 14:08:56 +11:00
Boris Chiou
aa72970f0a
Add Servo_StyleSet_GetComputedValuesByAddingAnimation FFI.
...
Add an FFI to create a temporary ServoStyleContext with the animation value.
We need this because we calculate the Cumulative change hints to check
if we can ignore this animation segment.
2017-10-19 11:05:07 +08:00
Emilio Cobos Álvarez
e9a26f3a89
style: Update bindings.
2017-10-14 14:04:53 +02:00
Emilio Cobos Álvarez
77f115b467
stylo: Remove unused function.
2017-10-13 17:01:36 +02:00
Xidorn Quan
0c40ae70ed
Support pseudo-element properly in HasAuthorSpecifiedRules.
2017-10-11 10:29:32 +11:00
Hiroyuki Ikezoe
fd2ccee84d
Update bindings.
2017-10-10 18:33:49 +09:00
Hiroyuki Ikezoe
1e5ee9d2d4
Update bindings.
2017-10-10 06:35:49 +09:00
Nicholas Nethercote
7628c1236a
Rename nsIAtom as nsAtom.
...
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than
nsIAtom.
2017-10-09 09:27:11 +11:00
Cameron McCormack
fde77ee693
style: Regenerate Gecko bindings.
2017-10-04 13:38:07 +08:00