Josh Matthews
a08371e8eb
stylo: Create error reporters linked to documents (bug 1352669)
2017-07-10 20:46:08 -04:00
Hiroyuki Ikezoe
8f1bb25807
Update bindings.
2017-07-11 06:47:17 +09:00
Hiroyuki Ikezoe
1a5e1c6255
Update bindings.
2017-07-10 18:27:19 +09:00
Xidorn Quan
7fd4b43aea
Use ComputedValues rather than element to get style rule list.
2017-07-10 13:07:15 +10:00
Gecko Backout
32269fa7cc
Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE
...
Backs out https://github.com/servo/servo/pull/17624
2017-07-06 21:58:15 +00:00
Josh Matthews
dc2a500f4b
stylo: Create error reporters linked to documents (bug 1352669)
2017-07-06 14:05:52 -04:00
Daisuke Akatsuka
1b28d5e009
update auto generated files
2017-07-05 13:21:08 +09:00
Fernando Jiménez Moreno
fc8d0eeae0
stylo: Implement ServoStyleRule::SelectorMatchesElement
2017-07-04 13:13:48 +02:00
Emilio Cobos Álvarez
1263075776
stylo: Fix StyleSheetInner/Stylesheet mapping
...
The key of this patch is the split between Stylesheet and StylesheetContents.
Gecko will use StylesheetContents, which maps to a ServoStyleSheetInner.
2017-07-02 15:49:40 +02:00
Nazım Can Altınova
3e42684d3c
stylo: Implement -moz-prefixed linear gradients
2017-06-30 17:53:01 -07:00
bors-servo
a24600d626
Auto merge of #17577 - mbrubeck:inactive, r=emilio
...
Bug 1348489 - stylo: Implement :-moz-window-inactive.
https://bugzilla.mozilla.org/show_bug.cgi?id=1348489
<!-- 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/17577 )
<!-- Reviewable:end -->
2017-06-30 10:13:01 -07:00
Matt Brubeck
17f4d0c5d9
Bug 1348489 - stylo: Implement :-moz-window-inactive.
2017-06-30 09:31:01 -07:00
Nazım Can Altınova
5d0f7f10e0
stylo: Fix font-variant-alternates property
2017-06-29 13:33:38 -07:00
bors-servo
b3e2b26a23
Auto merge of #17551 - ferjm:bug1375555.stylevariables, r=emilio
...
stylo: implement indexed and count getters for custom properties
From https://bugzilla.mozilla.org/show_bug.cgi?id=1375555
<!-- 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/17551 )
<!-- Reviewable:end -->
2017-06-28 18:04:58 -07:00
Emilio Cobos Álvarez
9558d2d918
stylo: Fix MightHave{State,Attribute}Dependency for XBL.
...
Bug: 1375969
Reviewed-By: heycam
MozReview-Commit-ID: 8I29pMHq4uf
2017-06-28 16:02:11 -07:00
Fernando Jiménez Moreno
93f0de7899
stylo: implement indexed and count getters for custom properties
2017-06-28 12:29:56 -07:00
Cameron McCormack
8f8f01f96d
style: Update Gecko bindings.
2017-06-28 11:59:13 -07:00
Matt Brubeck
e0b864d787
Bug 1367312 - stylo: Implement :-moz-lwtheme* pseudo-classes.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1367312
2017-06-28 09:41:33 -07:00
Boris Zbarsky
746f245f32
Fix style computation for first-letter pseudo-elements with inline ancestors.
...
We should inherit from the inline, not its parent block.
Gecko bug 1324618 part 10 servo bits: https://bugzilla.mozilla.org/show_bug.cgi?id=1324618
2017-06-26 23:29:18 -07:00
Brad Werth
c617649e67
Add an update_stylesheet method to StylesheetSet.
...
MozReview-Commit-ID: KlRkApYL8wk
2017-06-20 12:24:39 -07:00
Emilio Cobos Álvarez
59a0d6616e
style: Update bindings.
2017-06-20 13:09:38 +02:00
Brian Birtles
d249c61c0d
Add IsTransitionable FFI
2017-06-15 10:20:46 +09:00
Brian Birtles
f8e2f85cdc
Drop Servo_AnimationValueMap_Push
2017-06-15 10:10:51 +09:00
Xidorn Quan
08c12062c7
Resolve counter style during parallel traversal when possible.
2017-06-14 20:05:38 +10:00
Cameron McCormack
f989a2c21c
style: Update Gecko bindings.
2017-06-13 08:30:45 +08:00
Fernando Jiménez Moreno
2cc940384d
stylo: Implement GetSpecificity for ServoStyleRule
2017-06-12 14:40:16 +02:00
Nazım Can Altınova
309531e5b3
stylo: Fix propagation of quirks mode information to servo side
...
It was getting inial value from gecko side before and that was always
eCompatibility_NavQuirks. Created an FFI to fetch quirks mode.
2017-06-10 22:18:49 +03:00
Cameron McCormack
95bdceaed5
style: Update Gecko bindings.
2017-06-09 18:37:29 +08:00
bors-servo
a6b3bf1517
Auto merge of #17247 - Manishearth:stylo-insensitive-selectors, r=SimonSapin
...
stylo: Make all attribute selectors respect case insensitivity
r=simonsapin https://bugzilla.mozilla.org/show_bug.cgi?id=1364162
<!-- 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/17247 )
<!-- Reviewable:end -->
2017-06-08 17:26:45 -07:00
Manish Goregaokar
5b86afd4f6
stylo: Make all attribute selectors respect case insensitivity
2017-06-08 16:25:52 -07:00
bors-servo
094c2c73ec
Auto merge of #17228 - hiikezoe:shorthand-for-SMIL, r=birtles
...
Shorthand support for SMIL
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1358966
---
<!-- 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's for stylo
<!-- 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/17228 )
<!-- Reviewable:end -->
2017-06-08 16:23:56 -07:00
Hiroyuki Ikezoe
11e03b20b4
Update bindings.
2017-06-09 07:03:19 +09:00
Brad Werth
78ce522eed
Define Gecko CounterStyle and FontFaceRule clone functions.
2017-06-08 09:47:40 -07:00
Ting-Yu Lin
108a169216
stylo: Update gecko generated bindings
2017-06-08 11:26:06 +08:00
Cameron McCormack
18d847227c
style: Update Gecko bindings.
2017-06-08 09:37:33 +08:00
bors-servo
eaefcbe551
Auto merge of #17211 - Manishearth:stylo-single-generic, r=heycam
...
stylo: Prefill default font when a single generic is set
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1370734
<!-- 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/17211 )
<!-- Reviewable:end -->
2017-06-07 10:53:25 -07:00
Manish Goregaokar
3db0d3b4fa
stylo: Prefill default font when a single generic is set
2017-06-07 09:40:15 -07:00
Fernando Jiménez Moreno
36f3255484
Bug 1367615 - Stylo: implement inIDOMUtils.getSelectorCount and inIDOMUtils.getSelectorTextFromIndex
2017-06-07 17:42:29 +02:00
Boris Chiou
1d44c273d3
Implement an FFI and matrix conversions for matrix decomposition/interpolation/recomposition.
...
We use Servo backend to decompose/interpolate/recompose matrices on both
main thread and compositor thread.
2017-06-07 13:04:05 +08:00
Boris Chiou
1a3845b719
Convert between {Accumulate, Interpolate}Matrix and the related gecko type.
...
We convert ComputedOperation::{Accumulate, Interpolate}Matrix into gecko type
not on the main thread, so we cannot use nsCSSValueList_heap (which is not
thread safe so we cannot create it and destroy it on different threads).
Therefore, we use nsCSSValueSharedList to represent the cloned
from_list/to_list. In this patch, we also implement the reversing way,
i.e. Convert eCSSKeyword_{accumulate, interpolate}matrix into
{Accumulate, Interpolate}Matrix.
2017-06-07 11:31:27 +08:00
KuoE0
00d3fc29bc
Update generated files
...
MozReview-Commit-ID: 3bQbda2PJLX
2017-06-05 15:12:45 +08:00
Brian Birtles
6491509f87
Add FFI for calling Servo's add and accumulate methods on animation values
2017-06-05 12:49:33 +09:00
Brian Birtles
34556f7769
Add FFI for getting the zero value of an animation value
2017-06-05 12:49:33 +09:00
J. Ryan Stinnett
b03867da5d
Update bindings
2017-06-02 14:39:13 -05:00
Hiroyuki Ikezoe
ac86d2d648
Update bindings.
2017-06-02 12:18:08 +09:00
Manish Goregaokar
25d193ba34
stylo: Use namespace ids for content: attr(..)
...
MozReview-Commit-ID: FZ9YEpHQCBh
2017-06-01 14:11:31 -07:00
Hiroyuki Ikezoe
c058eb5512
Update bindings.
2017-05-31 06:16:31 +09:00
Xidorn Quan
571d4c272b
Update binding files.
2017-05-30 09:41:31 +10:00
Emilio Cobos Álvarez
9c77dd8de6
style: Sync bindings.
2017-05-29 20:27:47 +02:00
Nicholas Nethercote
6d5b1242db
Introduce and start using the MallocSizeOf trait.
...
MallocSizeOf is similar to the existing HeapSizeOf trait from the
heapsize crate. The only difference is that MallocSizeOf's
malloc_size_of_children() function takes an additional MallocSizeOfFn
argument, which is used to measure heap blocks. This extra argument
makes MallocSizeOf match how Gecko's memory measurements work, and is
required for Stylo to integrate with DMD.
The patch also introduces a second trait, MallocSizeOfWithGuard, which
is much the same as MallocSizeOf, but with a |guard| argument for the
global style lock.
Finally, the patch uses the new traits to measure a small amount of
Stylo's memory usage.
2017-05-29 10:16:55 +10:00