Edgar Chen
5fedbb92b8
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
...
MozReview-Commit-ID: HgbFo9ddr0o
--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Kris Maglione
96722433e6
Bug 1415352: Part 1d - Use correct subject principal in CSS environment when modifying attr declarations. r=bz
...
MozReview-Commit-ID: AnurVwl65fX
--HG--
extra : rebase_source : 05d3820aab2c86b010728b5d2882a7a2e75e0617
2017-11-05 13:23:49 -08:00
Cameron McCormack
6e9ab08423
Bug 1408311 - Part 2: Add GetDeclarationBlock method to BindingStyleRule. r=xidorn
...
MozReview-Commit-ID: 5adkbeTOHQU
--HG--
extra : rebase_source : 67d196ac36b5f6daca8e20f6ec6063b3f2f8c84d
2017-10-19 15:55:42 +08:00
Xidorn Quan
e3c82192cb
Bug 1359217 part 6 - Add ServoStyleRuleMap to handle style rule mapping. r=heycam
...
This commit adds class ServoStyleRuleMap which caches the mapping from
raw Servo style rule to Gecko's wrapper object.
It is a per-document object, and is added as an observer of document
when constructed, so that it updates data inside when possible.
For safety consideration, this change also makes ServoStyleRule support
weak pointer, and use weak pointer inside ServoStyleRuleMap.
MozReview-Commit-ID: YxBnZ88tjf
--HG--
extra : source : 0f2bc306d27b8ab22f1aa08aa9d44af0dba4694d
2017-06-19 15:45:43 +10:00
Xidorn Quan
227dc5cb6b
Bug 1359217 part 0 - Some fixup for later patches. r=heycam
...
MozReview-Commit-ID: CHCDf3z2MQ3
--HG--
extra : source : 72c4f2a7e0a5750241d347a09b5b8035404ea2f7
2017-06-19 15:45:43 +10:00
Manish Goregaokar
01dc13b311
Bug 1373018 - Part 1: stylo: Introduce ServoStyleContext and GeckoStyleContext subclasses; r=bholley
...
MozReview-Commit-ID: GY1GfkWMK0n
--HG--
extra : rebase_source : a631b068cf0d54f5105e3dfe411365157490cac5
2017-06-10 22:27:45 -07:00
Fernando Jimenez Moreno
edb7fd5bd3
Bug 1367615 - Part 2: Make ServoStyleRule implement nsICSSStyleRuleDOMWrapper. r=xidorn
...
MozReview-Commit-ID: 20UWQl50zvl
--HG--
extra : rebase_source : 12f7131ca2090d85423163c0488b4f2dd37b2d96
2017-06-07 17:48:49 +02:00
Fernando Jimenez Moreno
31a637df14
Bug 1367615 - Part 1: Move inDOMUtils style rules related functionality to BindingStyleRule. r=emilio
...
MozReview-Commit-ID: 7d96KT2yYBF
--HG--
extra : rebase_source : ebfff1ea39b8c360c731fa721fd0d67127fb23f3
2017-06-07 17:48:49 +02:00
Fernando Jimenez Moreno
9e66b37474
Bug 1350175 - Part 2: FFI changes to get line and column. r=xidorn
...
MozReview-Commit-ID: 87pVnoLmjPl
--HG--
extra : rebase_source : 1decaf9bc3aa75d64254aea8fdb08679c2557ca2
2017-04-25 16:24:39 +02:00
Nazım Can Altınova
ce383280c3
Bug 1360488 - Part 1: stylo: Add ServoCSSParsingEnvironment and pass this instead of URLExtraData r=bholley
...
It was inconsistent with gecko side and also we needed to pass nsCompatibility enum along with URLExtraData.
MozReview-Commit-ID: 2ceutBfqBrg
--HG--
extra : rebase_source : f342774ed349c65f377cf85865f5905520784ca5
2017-05-11 19:06:43 +03:00
J. Ryan Stinnett
7a5e0808ba
Bug 1345206 - Create ServoPageRule. r=xidorn
...
Adds `ServoPageRule` for use as the CSSOM representation of @page rules parsed
by Servo.
MozReview-Commit-ID: 7AIErJmoZN
--HG--
extra : rebase_source : f47448b9053e6a49023799631ca1d36f058272f4
2017-03-31 16:13:12 -05:00
Xidorn Quan
987754e4dc
Bug 1343964 part 7 - Use URLExtraData for declaration modification directly for Servo backend. r=heycam
...
MozReview-Commit-ID: 78JRYKk9hgV
--HG--
extra : rebase_source : 1a86db507451637379e35ea17d9dbd88e8dc6902
2017-04-04 16:09:20 +10:00
Xidorn Quan
3d5b648721
Bug 1343964 part 6 - Add a const Rule() method for ServoStyleRule. r=heycam
...
MozReview-Commit-ID: 1rvWrN3Biut
--HG--
extra : rebase_source : 174ccdeb847c8f3f0807690a0ab0fa2bc949a2f2
2017-04-04 16:07:44 +10:00
Boris Zbarsky
2daa8920fe
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
0da388ba25
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
4fe3d0c6dd
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
637e48e6e3
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv,smaug
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
6e795d159b
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
65f894384a
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -05:00
Sebastian Hengst
3c9c348769
Backed out changeset 9a4b96c10b23 (bug 851892) for build bustage. r=backout on a CLOSED TREE
2017-01-20 19:31:31 +01:00
Sebastian Hengst
c2dff8d692
Backed out changeset 795ebf4423ba (bug 851892)
2017-01-20 19:30:59 +01:00
Sebastian Hengst
63caf1fba9
Backed out changeset 3be6690b9f0a (bug 851892)
2017-01-20 19:30:50 +01:00
Sebastian Hengst
24246c7ba1
Backed out changeset 659550973d4d (bug 851892)
2017-01-20 19:30:37 +01:00
Sebastian Hengst
bcb6968086
Backed out changeset 9ef39356f62c (bug 851892)
2017-01-20 19:30:32 +01:00
Sebastian Hengst
d4070f77eb
Backed out changeset 31103a03f2c2 (bug 851892)
2017-01-20 19:30:14 +01:00
Boris Zbarsky
2132f0075d
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
4cc8d36e13
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
e1ec75387e
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
ec2fad773f
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv,smaug
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
5bb4a84030
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
e92f7dfbdc
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -05:00
Phil Ringnalda
686006613e
Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
...
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Boris Zbarsky
12d9bfeec4
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
13b4594e28
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
52920d72fc
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
56e3ade4f8
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
ff9df2fc65
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
b428dc3b24
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -05:00
Boris Zbarsky
0c844d909c
Back out bug 851892 for Windows build bustage on CLOSED TREE
2017-01-13 11:47:22 -05:00
Boris Zbarsky
440a3a3356
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
c2d6f05094
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
75a4f847c1
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
d4570e4e2e
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
87ecdeb643
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
b775cd73c7
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -05:00
Xidorn Quan
64618d07dd
Bug 1307357 followup - Fix build failures.
...
MozReview-Commit-ID: 1apR3cVDjsC
2016-11-23 10:53:01 +11:00
Xidorn Quan
4f4107f4b9
Bug 1307357 part 6 - Implement CSSStyleRule.style. r=heycam
...
MozReview-Commit-ID: 8Qvzc74wveE
--HG--
extra : source : 0661e153a0422bad7019724369e11200e92d9962
2016-11-23 10:26:20 +11:00
Xidorn Quan
caacda2881
Bug 1307357 part 4 - Add impl class of CSSStyleRule for stylo. r=heycam,manishearth
...
MozReview-Commit-ID: CNrvA0HuuL6
--HG--
extra : source : 0444c8f08953fe4d32ea6f6fa0ecf2c33eb97b05
2016-11-23 10:26:20 +11:00