Nazım Can Altınova
6d162a15e1
Bug 1338936 - Part 3: stylo: Support lang property; r=emilio
...
MozReview-Commit-ID: 6wg32flypt7
2017-02-19 14:03:45 -08:00
Sebastian Hengst
c7c107adf2
Backed out changeset 38de3820ca81 (bug 1338936)
2017-02-19 10:37:21 +01:00
Nazım Can Altınova
016d247d64
Bug 1338936 - Part 3: stylo: Support lang property; r=emilio
...
MozReview-Commit-ID: 6wg32flypt7
2017-02-18 21:51:14 -08:00
Manish Goregaokar
3fef7c9e57
Bug 1338388 - Part 6: stylo: Support stroke-dasharray and stroke-dashoffset; r=heycam
...
MozReview-Commit-ID: 4QKKzJ1DVYP
--HG--
extra : rebase_source : 6d350a8ed3b5e157651edad155de2b92e042ae99
2017-02-09 17:43:52 -08:00
Manish Goregaokar
a1953373cd
Bug 1338388 - Part 5: stylo: Add mako template for URLOrNone, use for marker-* properties; r=heycam
...
MozReview-Commit-ID: 4QKKzJ1DVYP
--HG--
extra : rebase_source : 68947510d2a4fb91d70c9e0d9d261d980cb2d313
2017-02-09 17:43:52 -08:00
Manish Goregaokar
884050c549
Bug 1338388 - Part 4: stylo: Add Gecko bindings for <paint>, use for stroke/fill; r=heycam
...
MozReview-Commit-ID: 4QKKzJ1DVYP
--HG--
extra : rebase_source : 9097d4bc634eb45a5f850a11fa403b4b12735ef8
2017-02-09 17:43:52 -08:00
Manish Goregaokar
110627f6f6
Bug 1338388 - Part 3: stylo: Support URL clip-paths ; r=heycam
...
MozReview-Commit-ID: 4QKKzJ1DVYP
--HG--
extra : rebase_source : fde4eb7a3d69ff0c18b18c741b0343c37040a6cd
2017-02-09 17:43:52 -08:00
Manish Goregaokar
1d2c7f67fb
Bug 1338388 - Part 2: stylo: Support URL filters ; r=heycam
...
MozReview-Commit-ID: 4QKKzJ1DVYP
--HG--
extra : rebase_source : b795f2cfc58caa34c444fa64bad05131224ae895
2017-02-09 17:43:52 -08:00
Manish Goregaokar
4f52619ddb
Bug 1338388 - Part 1: stylo: Add ServoBundledURI abstraction for use when setting css::URLValues; r=heycam
...
MozReview-Commit-ID: 4QKKzJ1DVYP
--HG--
extra : rebase_source : 22c92d2803281abbeda20f0f8244b7eb7e4f8116
2017-02-09 17:43:52 -08:00
Bobby Holley
eaee1dbb37
Bug 1340022 - Implement "handled for descendants" tracking for RestyleDamage. r=emilio
...
MozReview-Commit-ID: Bbk99ogILXC
--HG--
extra : rebase_source : 2998f39a67c39073ea66e3e12815e1a7a25f7c9d
2017-02-15 19:36:57 -08:00
Carsten "Tomcat" Book
d49b3f08d6
Backed out changeset fb3c04effbd1 (bug 1336905) for bustage in stylo builds
2017-02-14 11:07:17 +01:00
cku
80f22f74f4
Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. r=heycam,TYLin
...
MozReview-Commit-ID: FHTwGyXHsce
--HG--
extra : rebase_source : e1346a2ec89d023b2aa0c2cd5ced94529b7f9067
2017-02-06 15:50:22 +08:00
Cameron McCormack
267ff12653
Bug 1331294 - Part 2: Call nsIPresShell::SetNeedStyleFlush after propagating dirty descendants bits up the tree. r=bholley
...
MozReview-Commit-ID: 4k5AXK5J4pi
2017-02-10 10:42:29 +08:00
Hiroyuki Ikezoe
287d10e9c5
Bug 1332657 - Part 2: Implement clone_transform. r=heycam,manishearth
...
The implementation of clone_transform is an adaptation of set_transform.
MozReview-Commit-ID: ESE1ha0x666
2017-02-03 14:41:29 +09:00
Bobby Holley
c35f772b59
Bug 1335863 - Inline common case parent access. r=emilio
2017-02-02 11:24:43 -08:00
Bobby Holley
bd672b2ad1
Bug 1335863 - Inline Gecko_IsHTMLElementInHTMLDocument. r=emilio
2017-02-02 11:24:37 -08:00
Manish Goregaokar
5b55368eda
Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio
...
This introduces a basic framework for servo's style system to be able
to query the style of presentation attributes which it can then insert
into the cascade. It uses that framework to implement the size and
color attributes on <font>.
There are a number of improvements that can be done on top of this:
- Implement all other properties
- Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead
- Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this)
- Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko
I'd prefer for these to be done in separate steps.
MozReview-Commit-ID: GO60qfeZOfl
--HG--
extra : rebase_source : 516d369a8627e413983361aaf85ccb7132b0a06c
2017-01-19 15:56:53 -08:00
Hiroyuki Ikezoe
e4b48af5ae
Bug 1328787 - Part 4: Add Gecko_AnimationAppendKeyframe. r=heycam
...
This is a function which is called in Servo_StyleSet_FillKeyframesForName to
append a Gecko's Keyframe into nsTArray<Keyframe>.
Without this function we need to end up exposing ComputedTimingFunction class
and Maybe<> as FFI.
MozReview-Commit-ID: 2EpltR4rMVh
2017-01-29 12:58:39 +09:00
Emilio Cobos Álvarez
1c4f61bf3d
Bug 1334579: Ensure constructors for nsStyleContentData run. r=bholley
...
MozReview-Commit-ID: 9Y6tQ6BD2c8
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-28 14:38:27 +01:00
Boris Chiou
d45e2346f6
Bug 1317209 - Part 6: Support transition cascade level. r=heycam
...
Implement the mapping between EffectCompositor::CascadeLevel in Gecko and
EffectCompositor_CascadeLevel in Servo, so we can pass it as a parameter into
Gecko_GetAnimationRule.
MozReview-Commit-ID: GRedooyGE8c
--HG--
extra : rebase_source : c18d54dabb093242c66d46be8ca03424a2c6ca78
2017-01-24 15:33:10 +08:00
Boris Chiou
f338c9e47d
Bug 1317209 - Part 5: Trigger composeStyle if there is an animation. r=heycam
...
1. Add one new FFI, Gecko_GetAnimationRule, which will try
to update the animation rule and retrieve a ServoAnimationRule
from EffectSet.
2. Add GetServoAnimationRule, which calls Animation::ComposeStyle and updates
mElementsToRestyle.
3. There is no eRestyle_{CSSAnimations|CSSTransitions}, so we use
eRestyle_Self and eRestyle_Subtree for stylo.
MozReview-Commit-ID: 9RpJurPSFMk
--HG--
extra : rebase_source : 6f1246b73a920aee86faeeaccc42b7f51ed2a6c8
2017-01-24 15:27:56 +08:00
Emilio Cobos Álvarez
672bb172f2
Bug 1331213: Add an API to drop a nsCSSValue in the stack. r=heycam
...
The getter function may create an nsCSSValue with allocated stuff, and we don't
want to leak it.
MozReview-Commit-ID: DYkUD8CW88E
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:20:08 +01:00
Emilio Cobos Álvarez
367ac14b53
Bug 1331213: Add an API to get nsMediaFeatures::features. r=heycam
...
We can't use the generated ones if we want a windows build.
MozReview-Commit-ID: 200LNgWl5Lm
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:19:57 +01:00
Manish Goregaokar
a14215063b
Bug 1297322: stylo: Hook property parsing into Gecko prefs; r=heycam
...
MozReview-Commit-ID: 7evWOUFwa3K
--HG--
extra : rebase_source : 7144248eee3f8af6863a4a401b6e504d3704e597
2017-01-09 16:05:18 -08:00
Hiroyuki Ikezoe
4c6a6fbadb
Bug 1328786 - Part 1: Add an FFI function for expanding nsStyleAutoArray. r=heycam
2017-01-06 21:45:16 +09:00
Xidorn Quan
d1ef4e2659
Bug 1329076 part 3 - Add :-moz-browser-frame pseudo-class. r=heycam
...
MozReview-Commit-ID: 8W9jqD4iJlN
--HG--
extra : source : fcb6a787f0cd4dc015af8801f9820fd3dbcf389d
2017-01-06 21:12:08 +11:00
Xidorn Quan
92aa905e96
Bug 1328806 - Map more state bits from Gecko to Servo. r=bholley
...
MozReview-Commit-ID: CX54Z1cERBZ
--HG--
extra : rebase_source : 50f9472d623e85066d9a2a7611146fb246143195
extra : amend_source : 0ecf0ab4a49efa1d29b081b08c6a5bdd2d9527da
extra : source : 6dc5adaddc4221bf5268986433c2cc99668139fc
2017-01-06 10:01:59 +11:00
Boris Zbarsky
e95482db38
Bug 1298588 part 15, gecko piece. Rip out the initial() methods on style structs in stylo. r=bholley
2017-01-04 14:52:27 -05:00
Boris Zbarsky
6104ba14f9
Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley
2017-01-04 14:52:26 -05:00
Emilio Cobos Álvarez
f5651bd75d
Bug 1304792: Use borrowed types for ServoImportRule. r=Manishearth r=heycam
...
MozReview-Commit-ID: HKjsOaE2qAp
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2016-12-30 16:30:42 +01:00
Emilio Cobos Álvarez
a25a3083ce
Bug 1304792: stylo: Implement @import. r=heycam
...
MozReview-Commit-ID: Hw1V66JxIBD
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2016-12-30 16:30:41 +01:00
Cameron McCormack
e686107ee8
Bug 1324983 - Don't persist styles on elements not in the document. r=emilio
...
MozReview-Commit-ID: 4Z8IxPS6rfE
2016-12-29 15:04:32 +08:00
Boris Chiou
c8c82c263f
Bug 1317179 - Use nsAString as the parameter type and drop Gecko_Utf8SliceToString. r=manishearth
...
MozReview-Commit-ID: TtA9P8FIAZ
--HG--
extra : rebase_source : 3d3339e2f648db34e4cc917ae0d90d0b8d785c8a
2016-11-23 19:24:46 +08:00
Bobby Holley
f8c9d884fc
Bug 1317016
- Basic infrastructure for RestyleHint-driven traversal. r=emilio
...
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Xidorn Quan
e887e33696
Bug 1307357 part 3 - Implement CSSRuleList interface for stylo. r=heycam,manishearth
...
MozReview-Commit-ID: Ecnbj66yKOE
--HG--
extra : source : e2e51877116f4dde6bd054e9b6e681f3e7f4250b
2016-11-23 10:26:20 +11:00
Cameron McCormack
21cc93d13e
Bug 1310560 - Part 3: Add FFI functions for setting cursor url() lists. r=xidorn
...
MozReview-Commit-ID: 7SYA5BPELPe
--HG--
extra : rebase_source : 089a1cbcbdbec1812d488ce18e9da5f8357e4f30
2016-11-21 14:34:17 +08:00
Manish Goregaokar
c34e67ff4d
Bug 1314200 - stylo: support transform; r=heycam
...
MozReview-Commit-ID: 50YhZtjF3vH
--HG--
extra : rebase_source : 9aaf3f1bdd317c8c0e541a5ff6ff6d734a3e3f32
2016-10-31 16:30:43 -07:00
Cameron McCormack
e627525329
Bug 1310463 - Part 3: Add FFI functions for setting list-style-image. r=xidorn
...
MozReview-Commit-ID: LNK4UbfMfRk
2016-11-03 09:40:53 +08:00
Cameron McCormack
86283397d9
Bug 1288302 - Part 6: Add FFI function to set nsStyleImageRequest values. r=xidorn
...
MozReview-Commit-ID: 448vAeDiKX7
2016-11-02 16:58:32 +08:00
Cameron McCormack
13f86cd932
Merge backout.
2016-11-01 08:43:23 +08:00
Cameron McCormack
02f1de5bbd
Back out a0488e9c0024..5ebcedea1fa5 (bug 1288302 and bug 1310463) for Talos RSS regressions.
...
MozReview-Commit-ID: JB5uwDeO0We
2016-11-01 08:42:49 +08:00
Cameron McCormack
5948e5280e
Bug 1310463 - Part 3: Add FFI functions for setting list-style-image. r=xidorn
...
MozReview-Commit-ID: LNK4UbfMfRk
---
layout/style/ServoBindings.cpp | 60 +++++++++++++++++++++++++++++++++---------
layout/style/ServoBindings.h | 9 +++++++
2 files changed, 57 insertions(+), 12 deletions(-)
2016-10-20 08:53:45 +08:00
Cameron McCormack
3b86d2992f
Bug 1288302 - Part 6: Add FFI function to set nsStyleImageRequest values. r=xidorn
...
MozReview-Commit-ID: 448vAeDiKX7
2016-10-20 08:36:26 +08:00
Shing Lyu
d2c96de863
Bug 1310117 - Implement Stylo CSS filter except url and drop-shadow. r=manishearth
...
MozReview-Commit-ID: HoF7KZdfuGe
--HG--
extra : rebase_source : 29f490a0e6055c538c1d5602bdc7f9c49088c88b
2016-10-17 14:16:16 +08:00
Xidorn Quan
e49cb9930b
Bug 1309109 part 7 - Remove the extra level of GeckoDeclarationBlock. r=manishearth,mystor
...
MozReview-Commit-ID: 2TzqrAWbaeD
--HG--
extra : source : fdd8dfc2cbe94dac981783c41c92188398c2f27f
2016-10-18 15:29:03 +11:00
Manish Goregaokar
e110cbadab
Bug 1309109 part 6 - Declare nullable strong borrowed ref type for RawServoDeclarationBlock. r=mystor
...
MozReview-Commit-ID: 2SDPK6lp4ue
--HG--
extra : source : 96f1ccc5f0b60b92d56de0ff75be011ac52cbb6f
2016-10-18 15:29:03 +11:00
Xidorn Quan
00100a750f
Bug 1309109 part 3 - Rename ServoDeclarationBlock to RawServoDeclarationBlock. r=heycam
...
So that the new subclass of DeclarationBlock could just be
ServoDeclarationBlock.
MozReview-Commit-ID: 55KgfmWmmyU
--HG--
extra : source : 27c55355da341fce112b15d966eb9b2fa2c8834b
2016-10-18 15:29:03 +11:00
Xidorn Quan
2e8b536eff
Bug 1309868 part 5 - Use const pointer in C++ side for immutable borrowed reference. r=manishearth,heycam
...
MozReview-Commit-ID: 3aSOgckBtS7
--HG--
extra : source : 75117a5bef6ed1bd81864059f45429838686b2c7
2016-10-18 15:29:03 +11:00
Xidorn Quan
be6a724c94
Bug 1309868 part 4 - Use mutable reference for Gecko_GetNextStyleChild. r=heycam
...
MozReview-Commit-ID: FIrh34PSOZy
--HG--
extra : source : 4ba2850ebc605a8e006f0331a06d59d515c115b2
2016-10-18 15:29:03 +11:00
Manish Goregaokar
6539d8d64f
Bug 1309848 - Add bindings for constructing nsStyleQuoteValues; r=bholley,emilio
...
MozReview-Commit-ID: EjuzgZKMpPp
--HG--
extra : rebase_source : 75ee5c123b5a4754975c4568391c882ac149a01f
2016-10-13 17:15:01 +05:30
Cameron McCormack
e05a781a4f
Bug 1309081 - Initialize image layer as part of Gecko_EnsureImageLayersLength. r=manishearth
...
MozReview-Commit-ID: 4MszPafvcKs
2016-10-11 17:55:15 +08:00
Xidorn Quan
0e7a21831d
Bug 1311598 part 4 - Split binding types from ServoBindings.h into ServoBindingTypes, and merge ServoBindingHelpers into it. r=heycam
...
MozReview-Commit-ID: CKvBMOapqlI
--HG--
extra : rebase_source : 83531296b4b8a8a9c54f03953cab2a48e8c6cbad
extra : source : e1c6c680a4718619e1a4cbecd84cccac4101d69b
2016-10-24 20:16:46 +11:00
Brian Birtles
0f8222d843
Bug 1302949 - Add a method to serialize a declaration block as a single value; r=heycam
...
MozReview-Commit-ID: 59CCT0P4CBm
--HG--
extra : rebase_source : 4a44d4265603c982483e5d7ef9460a7ab35c1e1e
2016-09-15 16:55:08 +09:00
Bobby Holley
6351b3ffb8
Bug 1304913 - Have Servo manage node data directly without FFI calls. r=Manishearth
...
MozReview-Commit-ID: H8f8VP18TbM
2016-09-23 15:58:48 -07:00
Manish Goregaokar
72b2c59e0f
Bug 1300731 - stylo: Implement mask-image; r=heycam
...
MozReview-Commit-ID: DyGNnP07tZm
--HG--
extra : rebase_source : eadea6aa867eeeade198d30fa339f695bab10745
2016-09-06 18:20:30 +08:00
Manish Goregaokar
532f240619
Bug 1299392 - stylo: Add safety glue for borrowed and owned types, use for nodes/documents/iterators; r=bholley,mystor
...
--HG--
extra : rebase_source : 1b1ba19ce6149bed70fa464d41e82c36c8cd7670
2016-08-23 18:41:02 +05:30
Manish Goregaokar
97989b02e7
Bug 1298655 - Add bindings for constructing nsCSSShadowArray; r=bholley
...
MozReview-Commit-ID: IFaQwuhsKqH
--HG--
extra : rebase_source : 4ecc974b4edef66a48ae1d46d2fec382994f6a29
2016-08-28 10:11:17 +05:30
Manish Goregaokar
71b464a2fc
Bug 1297064 - stylo: Add bindings for filling nsStyleImageLayers lists; r=heycam
...
MozReview-Commit-ID: Bstgf23gMRu
--HG--
extra : rebase_source : 7c98dcbd2cc1ae730ce788e9db0071c1595ceb6b
2016-08-22 18:31:41 +05:30
Bobby Holley
7681e4498e
Bug 1292662 - Add an API for the Servo style system to traverse anonymous children. r=heycam
2016-08-25 21:36:43 -07:00
Xidorn Quan
b1014aeb0c
Bug 1296186 part 2 - Make ServoDeclarationBlock refcounted. r=heycam
...
MozReview-Commit-ID: 2X0JX8HA4ej
--HG--
extra : rebase_source : e5e888be0fb98f995a7ac17bd0985177206914a2
extra : source : 53ce9619813b91b26a5bc51b7417c55e8b9cb505
2016-08-23 10:32:20 +10:00
Xidorn Quan
0fab79f248
Bug 1296186 part 1 - Make borrowed type just alias of corresponding pointer type. r=bholley
...
Compilers would complain about using user-defined type as return type
of extern "C" functions. A struct is considered a user-defined type if
there is any non-trivial constructor.
Having a type without non-trivial constructor for borrowed type would
be very inconvenient. Actually the currently borrowed type doesn't seem
to provide any additional safety / benefit over a plain pointer.
MozReview-Commit-ID: ncxmCEWCkv
--HG--
extra : rebase_source : 43a95bbcb05759f27837629daec6ce915a68b062
extra : source : 2a544c24bfb6a3412e59acbee89a5a393c31d5b6
2016-08-23 10:32:20 +10:00
Emilio Cobos Álvarez
3c832018ee
Bug 1292618: Add Gecko_CopyStyleContentsFrom. r=heycam
...
This allows to copy the `content` property value from one nsStyleContent to
another, in order to implement content: inherit.
MozReview-Commit-ID: 75mQpGRKKba
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:28 -07:00
Emilio Cobos Álvarez
e7bc43ddc7
Bug 1292618: Support basic pseudo-element restyling. r=heycam
...
:before and :after only, for now.
MozReview-Commit-ID: 9hLFvVhqIrN
2016-08-19 20:24:27 -07:00
Emilio Cobos Álvarez
00ab304ee2
Bug 1292618: Add Gecko_ClearPODTArray to clear arrays of types without destructors. r=heycam
...
MozReview-Commit-ID: 3RRvrXn6ZTD
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:24 -07:00
Xidorn Quan
6cde2b431b
Bug 1296594 - Move Servo binding functions to a list file. r=bholley
...
MozReview-Commit-ID: GvF8E7LXM1g
--HG--
extra : rebase_source : d2fbe617368bf8d216ca0d6ac6bc394dc4a26b24
2016-08-19 21:44:43 +10:00
Manish Goregaokar
ef51453f37
Bug 1295662 - stylo: Add bindings for StyleClipPath; r=heycam
...
MozReview-Commit-ID: E1ALXo7qd43
--HG--
extra : rebase_source : 60c6dcddc13d0e5ca2c9214dc22ca232200faf56
2016-08-15 21:18:11 +05:30
Manish Goregaokar
41f64b0230
Bug 1275913 - Add Borrowed types for sharing arcs with Rust; r=bholley
...
MozReview-Commit-ID: 8FyVPXRogDV
--HG--
extra : rebase_source : 57880ce82632b75fd7e4ad760a6c85ead91639a1
2016-08-16 10:40:05 +05:30
Manish Goregaokar
f054dcd843
Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
...
MozReview-Commit-ID: 5FDS8J2Fo1G
--HG--
extra : rebase_source : d58c4a9ceeaa64c522bd25452d607e3593eab619
2016-08-16 10:38:46 +05:30
Phil Ringnalda
0ba1763460
Backed out 2 changesets (bug 1275913) for static analysis bustage
...
CLOSED TREE
Backed out changeset 4420244e8fba (bug 1275913)
Backed out changeset 324554b04f19 (bug 1275913)
2016-08-15 22:27:16 -07:00
Manish Goregaokar
f1013b42d3
Bug 1275913 - Add Borrowed types for sharing arcs with Rust; r=bholley
...
MozReview-Commit-ID: 8FyVPXRogDV
--HG--
extra : rebase_source : b6fde5464138b5956982ec148822adacd55d7427
2016-08-16 10:40:05 +05:30
Manish Goregaokar
3f96d89612
Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
...
MozReview-Commit-ID: 5FDS8J2Fo1G
--HG--
extra : rebase_source : ecbcb3c2eff5a390a24ab97f93899c87a463c791
2016-08-16 10:38:46 +05:30
Bobby Holley
ba66557dc5
Bug 1291885 - Rejigger init hook and add shutdown hook. r=emilio
2016-08-03 18:31:01 -07:00
Emilio Cobos Álvarez
7f36b64101
Bug 1290335: stylo: Allow processing change hints generated from Servo. r=heycam
...
MozReview-Commit-ID: Alc0wcXvHcD
2016-08-03 15:11:15 -07:00
Cameron McCormack
41505f6b25
Bug 1291207 - Pass base URI string to Servo_StylesheetFromUTF8Bytes. r=bholley
...
MozReview-Commit-ID: KrsEycGJMFl
--HG--
extra : rebase_source : 2a29870cc51aff18d91a9644a53116e26f10f065
2016-08-02 17:05:22 +08:00
Bobby Holley
e18d0ea3db
Bug 1289622 - Add an API for Servo traversal to call CalcStyleDifference. r=heycam
2016-07-27 13:35:14 -07:00
Emilio Cobos Álvarez
253dfd8aad
Bug 1287951: stylo: Add support for computing style hints from Servo. r=heycam
...
MozReview-Commit-ID: ALuJxcfAMuL
2016-07-21 16:57:52 -07:00
Carsten "Tomcat" Book
8428cd56e3
merge mozilla-inbound to mozilla-central a=merge
2016-07-20 11:20:15 +02:00
Cameron McCormack
c233ad3334
Bug 1287382 - Hook up the 1-arg version of CSS.supports() to the Servo backend. r=dholbert
...
MozReview-Commit-ID: EDQGXOVgWEC
--HG--
extra : rebase_source : 66583e4a5961404d9c6da9a21466041d710a87ed
2016-07-18 16:29:04 +08:00
Cameron McCormack
037f4f8a4b
Bug 1287383 - Support style="" attributes longer than 255 characters when using the Servo style backend. r=emilio
...
MozReview-Commit-ID: 9o5Go7lnAhG
--HG--
extra : rebase_source : 822420930ae7c74f56258a82d90cf3b46c7317c9
2016-07-18 16:36:59 +08:00
Manish Goregaokar
25cbdb0042
Bug 1285235 - Use fully qualified inner types instead of casting; r=emilio
2016-07-12 13:40:39 +05:30
Manish Goregaokar
53070c2807
Bug 1285235 - Add EnsureLengthAtLeast function to nsStyleImageLayers for Stylo; r=bholley
2016-07-14 14:29:48 +05:30
Manish Goregaokar
4d3c9798eb
Bug 1285235 - Add bindings for growing nsTArrays; r=bholley
2016-07-14 14:29:37 +05:30
Emilio Cobos Álvarez
474ff66ca4
Bug 1285474: stylo: Add dirtiness-tracking hooks for Servo and convenient methods. r=bholley
...
Also, guard with asserts the access to the new shared flags.
MozReview-Commit-ID: H9UFFHRPmiu
2016-07-12 00:33:57 -07:00
Bobby Holley
91a48b929e
Bug 1283620 - Implement attribute API for servo. r=mrbkap
2016-07-07 09:59:09 -07:00
Cameron McCormack
3265f73629
Bug 1280772 - Part 3: Store Servo-parsed style="" attributes in nsAttrValues. r=bholley
2016-06-24 13:35:12 +10:00
Cameron McCormack
a80b00abf4
Bug 1281082 - Move static_assert in NS_DECL_THREADSAFE_FFI_REFCOUNTING to the IMPL. r=bholley
2016-06-22 09:57:43 +10:00
Cameron McCormack
fcd9433659
Bug 1280746 - Remove Gecko_HashAtom in favor of stylo poking at mHash directly. r=dholbert
2016-06-22 09:36:43 +10:00
Emilio Cobos Álvarez
7d1a406c3f
Bug 1276085: followup: Remove Gecko_SetGradientStop now we have nsTArray bindings r=heycam
...
See https://github.com/servo/servo/pull/11456 , when they where added.
MozReview-Commit-ID: FsHMk9FjOo1
2016-06-09 13:33:21 +02:00
Matt Brubeck
618e68471e
Bug 1278647 [stylo] Add font family bindings for Servo r=heycam
...
MozReview-Commit-ID: IlEB0f1xrKF
--HG--
extra : rebase_source : aa9cd08f0abf281dcf149435fbb2e39fc37c8367
2016-06-07 12:13:24 -07:00
Emilio Cobos Álvarez
e149d9fa0d
Bug 1276085: stylo: Support creating and setting gradient stops from Servo r=heycam
...
MozReview-Commit-ID: Gh6CMrf1PE5
2016-06-01 10:36:15 +02:00
Manish Goregaokar
16e3e13447
Bug 1287435 - stylo: Add bindings for nsStyleCoord::Calc; r=heycam
2016-07-15 20:56:48 +05:30
Bobby Holley
2f28cfe4db
Bug 1275766 - Implement Gecko_GetElementId and Gecko_GetClassOrClassList. r=heycam
2016-05-25 22:06:45 -07:00
Cameron McCormack
4e94a3cb48
Bug 1275452 - Part 1: Add Servo_RestyleSubtree for eagerly restyling a subtree of a document. r=bholley
...
--HG--
extra : rebase_source : add50774bc74cc2651b057e5a9518cf2b8b0bb12
2016-05-25 16:55:49 +10:00
Cameron McCormack
b42139ed5f
Bug 1273838 - Part 4: Add FFI set/copy methods for -moz-binding. r=bholley
...
--HG--
extra : rebase_source : 2f635bf73bf93482a64b4e5d269ab034b20200a2
2016-05-21 10:02:54 +10:00
Cameron McCormack
b2758c810d
Bug 1273838 - Part 3: Pass sheet base/referrer/principal to Servo_StylesheetFromUTF8Bytes. r=bholley
...
--HG--
extra : rebase_source : 79e386f605f08e07f4737f044b6bbd3b413e388d
2016-05-21 10:02:54 +10:00
Cameron McCormack
2af45ab23d
Bug 1273838 - Part 2: Add stylo bindings glue for refcounting nsIPrincipals and nsIURIs. r=bholley
...
--HG--
extra : rebase_source : 3feef1315c4c8716952f630a38a4802e118b44ed
2016-05-21 10:02:54 +10:00
Bobby Holley
54e2b1cf7e
Bug 1273771 - Atom infrastructure for Servo. r=heycam
...
This is based on earlier work by Ms2ger.
2016-05-18 18:14:02 -07:00
Sebastian Hengst
542bd271b5
Backed out changeset 48d8323378ac (bug 1273771) for Windows build bustage. r=backout on a CLOSED TREE
2016-05-18 22:32:30 +02:00
Bobby Holley
495a804524
Bug 1273771 - Atom infrastructure for Servo. r=heycam
...
This is based on earlier work by Ms2ger.
2016-05-18 12:22:44 -07:00
Cameron McCormack
0e7490d676
Bug 1270741 - Correctly resolve styles for non-elements. r=bholley
2016-05-06 00:32:00 +02:00
Bobby Holley
b852e0988e
Bug 1269933 - Add hooks for Servo to manipulate list-style-type. r=xidorn
2016-05-06 00:09:18 -07:00
Bobby Holley
a8015a6b72
Bug 1269936 - Introduce and call a runtime-wide servo initialization hook. r=heycam
2016-05-04 15:34:21 -07:00
Bobby Holley
ef87858910
Bug 1268748 - Implement {Resolve,Probe}PseudoElementStyle. r=heycam
2016-04-29 19:21:48 -07:00
Cameron McCormack
9eeb5dc2a9
Bug 1268390 - Part 2: Add bindings for Servo_InsertStyleSheetBefore. r=bholley
2016-04-29 14:01:44 +10:00
Cameron McCormack
26c0413d34
Bug 1268392 - Make Servo_GetComputedValues take a node rather than an element. r=bholley
2016-04-29 14:01:44 +10:00
Emilio Cobos Álvarez
3a00e86293
Bug 1268290: stylo: Pass SheetParsingMode to Servo, r=bholley
2016-04-28 11:13:45 +02:00
Bobby Holley
70f077146d
Bug 1267833 - Pass the RawServoStyleSet to Servo_GetComputedValuesForAnonymousBox. r=heycam
2016-04-26 23:39:44 -07:00
Cameron McCormack
75c6df145e
Bug 1267560 - Get style structs from ServoComputedValues rather than the rule node, when using the Servo-backed style system. r=bholley
2016-04-27 12:34:49 +10:00
Bobby Holley
9a4350598d
Bug 1261552 - Add FFI hooks to construct, copy, and destroy gecko style structs from servo. r=heycam
2016-04-04 23:14:31 -07:00
Bobby Holley
3831864b3d
Bug 1260310 - Create servo style contexts from ServoStyleSet. r=heycam
2016-03-29 22:16:38 -07:00
Bobby Holley
57b406bba3
Bug 1260310 - Generalize nsStyleContext to support resolving styles from either nsRuleNode or ServoComputedValues. r=heycam
2016-03-29 22:16:35 -07:00
Bobby Holley
9440c9f754
Bug 1253149
- Use bool instead of int for boolean return values. r=SimonSapin
2016-03-05 19:58:04 -08:00
Bobby Holley
293f493107
Bug 1253149
- Remove the #ifdef __cplusplus bits from ServoBindings.h. r=SimonSapin
2016-03-05 19:58:03 -08:00
Bobby Holley
5c409b2ed2
Bug 1251496 - Forward stylesheet management to RawServoStyleSet. r=heycam
2016-02-28 00:25:34 -08:00
Bobby Holley
205b124ab5
Bug 1251496 - Introduce a servo-side data structure to represent the style set. r=heycam
2016-02-28 00:25:33 -08:00
Cameron McCormack
59c55b2932
Bug 1250788 - Part 1: Add interface to create and parse Servo style sheets. r=bholley
2016-02-26 12:51:01 +11:00
Bobby Holley
3b95f5b981
Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz
2016-02-23 17:51:47 -08:00
Bobby Holley
eb6ef53678
Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz
2016-02-23 17:28:50 -08:00
Bobby Holley
bb80449368
Bug 1250767 - Basic Servo Bindings. r=heycam
2015-11-24 17:14:39 -08:00
Sebastian Hengst
7988324ccb
Backed out changeset 24309d9b5c7e (bug 1250767) for Windows bustage. r=bustage on a CLOSED TREE
2016-02-24 22:51:02 +01:00
Sebastian Hengst
48649adbe3
Backed out changeset 59ee7ae2519d (bug 1250767)
2016-02-24 22:50:51 +01:00
Sebastian Hengst
005b11b368
Backed out changeset 796b681561a7 (bug 1250767)
2016-02-24 22:50:40 +01:00
Bobby Holley
628b01c94e
Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz
2016-02-24 13:01:18 -08:00
Bobby Holley
e1f6eb4ca5
Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz
2016-02-24 13:01:15 -08:00
Bobby Holley
3ee259b378
Bug 1250767 - Basic Servo Bindings. r=heycam
2016-02-24 13:01:04 -08:00