Brad Werth
47826ded85
Bug 1339629 Part 11: Call EnsureUniqueInner from ServoCSSRuleList when a StyleSheet is set. r=heycam
...
MozReview-Commit-ID: cvdITwpREk
--HG--
extra : rebase_source : 1b3745d2b10337a6a93fe700f4d18efd526ce03b
2017-05-18 15:48:48 -07:00
Xidorn Quan
153f90c76a
Bug 1345697 part 3 - Implement CSSKeyframesRule and CSSKeyframeRule for stylo. r=heycam
...
MozReview-Commit-ID: AeU0BWaBfYe
--HG--
extra : source : 41460384de0116c90dcbcb2caf9f2763a62b5f40
2017-05-19 16:12:34 +10:00
Xidorn Quan
2723728359
Bug 1328319 part 2 - Add basic integration of @counter-style. r=heycam
...
MozReview-Commit-ID: 68CcxyWuINu
--HG--
extra : rebase_source : 2772c4ab938daf61e4a14fa952b24ecd4220de6b
2017-05-15 14:18:44 +10: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
Fernando Jimenez Moreno
321888d66f
Bug 1361994 - Part 3: Implement CSSOM support for @-moz-document. r=xidorn
...
MozReview-Commit-ID: HnFDV9h7SYW
--HG--
extra : rebase_source : 326d86d96c34102b31c855d9083316558dd2a3df
2017-05-11 14:11:16 +02:00
Fernando Jimenez Moreno
c98d07f3f9
Bug 1361994 - Part 2: Fix build error in ServoCSSRuleList. r=xidorn
...
MozReview-Commit-ID: wiowblsACq
--HG--
extra : rebase_source : f679ebfb45fea71b8ed1d2b5b0b09abe221b4736
2017-05-11 14:11:16 +02:00
Xidorn Quan
a82f5a5ae1
Bug 1355394 part 3 - Implement CSSOM support for @supports. r=heycam
...
MozReview-Commit-ID: AV1t6mIFF0J
--HG--
extra : rebase_source : b69ba50070290aef27dfe00866da8a59d3c8520f
2017-04-26 15:59:29 +08:00
Brad Werth
7c2789c8d2
Bug 1346256 Part 2: Define methods in ServoCSSRuleList to fill a hash of RawServoStyleRule to ServoStyleRule. r=heycam,xidorn
...
MozReview-Commit-ID: 4Swb9KwV0uO
--HG--
extra : rebase_source : 771ac051648526b2cef59acc8f700548762b73b6
2017-04-07 08:07:37 -07:00
J. Ryan Stinnett
7f0b8b2dd6
Bug 1345206 - Wire up bindings for @page rule. r=xidorn
...
Connect the Servo types and functions for working with @page rules to Gecko.
This also adjusts the Stylo test expectations to match the current state with
@page support.
MozReview-Commit-ID: 513d05m51wK
--HG--
extra : rebase_source : aa92dc1ad4b3949418759b3893a918663ec6ee0c
2017-03-30 21:25:22 -05:00
Xidorn Quan
1e6b39eb51
Bug 1352763 part 4 - Pass CSS loader to Servo for insertRule. r=emilio
...
MozReview-Commit-ID: 6yalz8D8BWc
--HG--
extra : rebase_source : a76c8ee72806b0326cab9fe251ce23d4bf935609
2017-04-03 20:04:32 +10:00
Xidorn Quan
b49153b29e
Bug 1352763 part 3 - Have ServoStyleSheet also implement nsICSSLoaderObserver. r=heycam
...
MozReview-Commit-ID: 1Z6jAmQ9CY6
--HG--
extra : rebase_source : 1e228d29b6cd6afdc1b47dd28e5a4ff9a79d5af7
2017-04-03 19:55:06 +10:00
Xidorn Quan
9558f57119
Bug 1345696 part 6 - Fix cycle collection for font-face rule. r=heycam,mccr8
...
Having Servo's FontFaceRule owning Gecko's nsCSSFontFaceRule object opens an
untracked edge, because we generally don't track the reference through Servo
objects, so there is a chance that nsCSSFontFaceRule can form a undroppable
reference cycle.
This patch adds a workaround that we track @font-face rule twice in CSS rule
list. This is not perfect, but the idea is that, if someone wants to put some
reference on the @font-face rule, the rule itself and its parent list should
have been constructed in the CSSOM tree. If they are not there, we are
probably safe from cycle reference.
For @font-face rule, that assumption isn't strictly true. Script can still
get a font-face rule via layout inspector's nsIDOMFontFace::rule. If some
script puts an object which references the stylesheet of the rule or any of
its parent rule / rule list into font-face rule's expando, we would leak
again... But as far as that is an internal interface, we are probably safe?
MozReview-Commit-ID: DDMJh3mxDCH
--HG--
extra : rebase_source : 646fcf076195151e6890ebffb7597e58c8a7d522
2017-03-28 16:11:44 +11:00
Xidorn Quan
8f66ffc743
Bug 1345696 part 5 - Support CSSOM access to @font-face rules. r=manishearth
...
MozReview-Commit-ID: Gm4Bm0zgsh3
--HG--
extra : rebase_source : 26972312c5dcdb3de4033786e21ab7eecac23d6e
2017-03-27 14:49:26 +11:00
Xidorn Quan
7be07ee519
Bug 1345698 part 5 - Add support of CSSNamespaceRule for stylo. r=heycam
...
MozReview-Commit-ID: Kl4Wd3eh9ll
--HG--
extra : rebase_source : 7c649dd885ad31ddfb1e563dedf6272038d560da
2017-03-14 18:51:59 +11:00
Xidorn Quan
c0a293e41b
Bug 1345698 part 1 - Unify common code for implementing a rule type. r=heycam
...
MozReview-Commit-ID: ABwAq2HXrkC
--HG--
extra : rebase_source : 76dd1436234ae351d13ccc218c31754705d70bfe
2017-03-14 17:52:37 +11:00
Xidorn Quan
6d88ee92fc
Bug 1315601 part 16 - Implement ServoMediaRule. r=heycam
...
MozReview-Commit-ID: GcDNr5Lv73m
--HG--
extra : rebase_source : 0266aba01f11f75256535bc03769f8edffec8e5b
2017-03-09 17:37:45 +11:00
Xidorn Quan
3c7372ed02
Bug 1315601 part 10 - Make ServoCSSRuleList support being nested. r=heycam
...
MozReview-Commit-ID: 8IUGxkMZPMj
--HG--
extra : rebase_source : a51c88fd19cf85376a52b4c61b3bd84df6356dab
2017-03-09 20:53:34 +11:00
Xidorn Quan
ad09e1f480
Bug 1339301 - Downgrade unimplemented CSS rule from error to warning. r=heycam
...
MozReview-Commit-ID: 7brKkeCrbhZ
--HG--
extra : rebase_source : d4f0888673c94e593af53e2ad08a1f63efe425b0
2017-02-14 12:19:54 +11:00
Xidorn Quan
35f2f9ad03
Bug 1337637 - Release rule when deleting from ServoCSSRuleList. r=heycam
...
MozReview-Commit-ID: CrVNCTEJ7l6
--HG--
extra : rebase_source : 69473337c5b7833486c3b7d0f3bfe452d950a2ba
2017-02-08 14:19:08 +11:00
Boris Zbarsky
7f64e99cc4
Bug 851892 part 9. Add a CSSRule Web IDL interface. r=peterv,heycam
...
Note that this explicitly drops CSSRule.UNKNOWN_RULE.
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
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
bcb6968086
Backed out changeset 9ef39356f62c (bug 851892)
2017-01-20 19:30:32 +01:00
Sebastian Hengst
6a2dfd7d83
Backed out changeset b975a988fb33 (bug 851892)
2017-01-20 19:30:28 +01:00
Boris Zbarsky
7d89c9b854
Bug 851892 part 9. Add a CSSRule Web IDL interface. r=peterv,heycam
...
Note that this explicitly drops CSSRule.UNKNOWN_RULE.
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
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
cea6088d45
Bug 851892 part 9. Add a CSSRule Web IDL interface. r=peterv,heycam
...
Note that this explicitly drops CSSRule.UNKNOWN_RULE.
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
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
8cfef678c8
Bug 851892 part 9. Add a CSSRule Web IDL interface. r=peterv,heycam
...
Note that this explicitly drops CSSRule.UNKNOWN_RULE.
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
b775cd73c7
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -05:00
Xidorn Quan
cd5b8893bf
Bug 1326167 - Hook ServoStyleSheet and ServoCSSRuleList into cycle collection. r=bz
...
MozReview-Commit-ID: 6n1rjB8aMqp
--HG--
extra : rebase_source : 8bab3247e2ef101c190881ec4d19a8bb543587e0
extra : source : 3e774461c2cf59f3835806c1e6441c0ef263aec4
2017-01-06 15:14:28 +11:00
Xidorn Quan
56ba06edd2
Bug 1313293 followup - Fix small issue of ServoCSSRuleList::InsertRule.
...
MozReview-Commit-ID: GGN5mXQSp7f
--HG--
extra : rebase_source : 4d7ecaa1e66d682cd833558bd0fef5e880e78c76
extra : source : 56d52ccdcb81135314966da33dcf3217599a0fbe
2016-11-30 14:36:00 +11:00
Xidorn Quan
118ed51896
Bug 1313293 - Implement CSSStyleSheet.insertRule and deleteRule. r=heycam
...
MozReview-Commit-ID: DLHWrNqVH0D
--HG--
extra : source : 48833e04a77f692121b691d197a02b9310bf3162
2016-11-29 22:59:55 +11:00
Xidorn Quan
934b500aa8
Bug 1319994 - Use NS_ERROR for not-implemented CSS rules. r=heycam
...
MozReview-Commit-ID: 9E1ThQuqBf1
--HG--
extra : rebase_source : be254d83da1f1969f26b5e1f92a6df72323c7202
2016-11-24 16:28:28 +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
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