Emilio Cobos Álvarez
3ac9510c9e
Bug 1325878: Pass the MediaList down to Servo, making <style media> work. r=xidorn
...
MozReview-Commit-ID: BUCSQJs2CNI
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io >
2017-04-13 00:30:10 +08:00
Nicholas Nethercote
d1e195a649
Bug 1353948 - Add SizeOfIncludingThis() methods to ServoStyle{Set,Sheet,SheetInner}. r=heycam.
...
This fills things in a bit more on the Gecko side.
2017-04-06 12:22:36 +10:00
Xidorn Quan
7fb3169426
Bug 1343964 part 3 - Have ServoStyleSheet own a URLExtraData. r=heycam
...
MozReview-Commit-ID: CQyvrVtl0hr
2017-04-04 13:41:44 +10:00
Xidorn Quan
93655e51b9
Bug 1343964 part 1 - Move URLExtraData into its own header. r=heycam
...
This patch does the following in addition to a simple move:
* change the type of the pointers from RefPtr to nsCOMPtr
* move it from mozilla::css namespace to mozilla
MozReview-Commit-ID: 72MYq6kWm4s
2017-04-04 10:04:13 +10:00
Xidorn Quan
d119ed8817
Bug 1352025 part 2 - Stop passing in url as string for parsing. r=manishearth
...
MozReview-Commit-ID: CRgOO7NyYd9
2017-04-01 16:17:55 +11:00
Xidorn Quan
bf22378ea2
Bug 1352763 part 3 - Have ServoStyleSheet also implement nsICSSLoaderObserver. r=heycam
...
MozReview-Commit-ID: 1Z6jAmQ9CY6
2017-04-03 19:55:06 +10:00
Xidorn Quan
95cf226194
Bug 1351957 - Create URLExtraData for holding base uri, referrer, and principal. r=heycam
...
MozReview-Commit-ID: 1wqTb3kvvWh
2017-03-30 18:54:48 +11:00
Xidorn Quan
799b5f1cd0
Bug 1315601 part 14 - Add InsertRuleIntoGroup support to ServoStyleSheet. r=heycam
...
MozReview-Commit-ID: GUHtvjQXECW
2017-03-08 18:27:53 +11:00
Xidorn Quan
70ca7be4d6
Bug 1315601 part 10 - Make ServoCSSRuleList support being nested. r=heycam
...
MozReview-Commit-ID: 8IUGxkMZPMj
2017-03-09 20:53:34 +11:00
Brad Werth
79bc1141f0
Bug 1290218 Part 8: Implement ServoStyleSheet Clone. r=heycam
...
MozReview-Commit-ID: Y2KcoMjhbn
2017-02-15 13:33:17 -08:00
Brad Werth
d81658ddef
Bug 1290218 Part 5: Subclass StyleSheetInfo to move the ServoStyleSheet raw sheet into its mInner. r=heycam
...
MozReview-Commit-ID: Cu0qp3e8L5n
2017-02-14 12:05:12 -08:00
Brad Werth
35fe39a003
Bug 1290218 Part 4: Implement shared mInners for ServoStyleSheets, and standardize calling of AddSheet into CSSStyleSheet and ServoStyleSheet constructors. r=heycam
...
MozReview-Commit-ID: 7u89J0WfMcX
2017-02-17 15:48:35 -08:00
Brad Werth
6255690c69
Bug 1290218 Part 3: Transition ServoStyleSheet to use mInner pointer, instead of maintaining a static StyleSheetInfo. r=heycam
...
MozReview-Commit-ID: K0hjThqClhN
2017-02-03 15:57:51 -08:00
Brad Werth
6403dc67fc
Bug 1328420 Part 8: Uplift SizeOfIncludingThis into StyleSheet, with override in CSSStyleSheet. r=heycam
...
MozReview-Commit-ID: 5f1WldhnP2
2017-01-23 16:42:31 -08:00
Brad Werth
7468980400
Bug 1328420 Part 7: Uplift List debug method into StyleSheet. r=heycam
...
MozReview-Commit-ID: 7aqC6N6cZst
2017-01-23 16:40:28 -08:00
Brad Werth
034e91ce4d
Bug 1328420 Part 6: Implement ServoStyleSheet destructor. r=heycam
...
MozReview-Commit-ID: iVaza2s7d
2017-01-23 16:37:59 -08:00
Brad Werth
637dfced70
Bug 1328420 Part 5: Uplift AppendStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: CwNGWsJi65G
2017-01-23 16:23:40 -08:00
Brad Werth
d2b2e92def
Bug 1328420 Part 4: Uplift SetOwningDocument into StyleSheet. r=heycam
...
MozReview-Commit-ID: 3TnTaFYkZS3
2017-01-24 13:12:40 -08:00
Brad Werth
d6c2d2c058
Bug 1328420 Part 1: Uplift parent pointer and accessor to StyleSheet class. r=heycam
...
MozReview-Commit-ID: C63yRZM3ORC
2017-01-24 13:09:33 -08:00
Boris Zbarsky
2e97c18674
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
Sebastian Hengst
d3d6fbf9ca
Backed out changeset b975a988fb33 (bug 851892)
2017-01-20 19:30:28 +01:00
Boris Zbarsky
ac65687b62
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
cdbd6b5265
Bug 1332353. Make it clearer when a stylesheet is really owned by its mDocument. r=heycam
2017-01-19 23:49:44 -05:00
Phil Ringnalda
7646bbe020
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
4dfbb97de9
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
17194e597d
Back out bug 851892 for Windows build bustage on CLOSED TREE
2017-01-13 11:47:22 -05:00
Boris Zbarsky
daf074968f
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
Iris Hsiao
273fb0f3c2
merge autoland to mozilla-central a=merge
2017-01-06 11:06:17 -05:00
Xidorn Quan
9d088a292f
Bug 1326167 - Hook ServoStyleSheet and ServoCSSRuleList into cycle collection. r=bz
...
MozReview-Commit-ID: 6n1rjB8aMqp
2017-01-06 15:14:28 +11:00
Cameron McCormack
859fc6143f
Bug 1290209 - Part 6: Move CSSStyleSheet::mMedia up to StyleSheet. r=bzbarsky
...
MozReview-Commit-ID: LZraHzme6vj
2017-01-06 15:05:24 +08:00
Emilio Cobos Álvarez
6d7b2e91b9
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
Daniel Holbert
e73b560488
Bug 1321495 part 3: Add needed #includes to various .cpp files in layout/style, to preemptively fix unified-build bustage. r=TYLin
...
MozReview-Commit-ID: GEjKZqc06FO
2016-12-01 10:40:04 -08:00
Daniel Holbert
c4fc8bad5f
Bug 1321495 part 2: Add needed "using namespace" declarations to several .cpp files in layout/style, to preemptively fix unified-build bustage. r=TYLin
...
MozReview-Commit-ID: 5p6DhiZ5YFg
2016-12-01 10:37:44 -08:00
Xidorn Quan
41fd53fd2c
Bug 1313293 - Implement CSSStyleSheet.insertRule and deleteRule. r=heycam
...
MozReview-Commit-ID: DLHWrNqVH0D
2016-11-29 22:59:55 +11:00
Xidorn Quan
75d1331a59
Bug 1307357 part 3 - Implement CSSRuleList interface for stylo. r=heycam,manishearth
...
MozReview-Commit-ID: Ecnbj66yKOE
2016-11-23 10:26:20 +11:00
Matt Brubeck
5a10c201ca
Bug 1292275 - Stylo: Fix crash after failed stylesheet load. r=heycam
...
Fixes a crash ServoStyleSet::AddDocStyleSheet caused by
ServoStyleSheet::RawSheet returning null.
MozReview-Commit-ID: BdDosompqTv
2016-10-25 10:15:38 -07:00
Xidorn Quan
9d580e8263
Bug 1312338 part 2 - Use nsACString to pass string parameters in binding functions. r=manishearth
...
MozReview-Commit-ID: BRKZBQJCrMQ
2016-10-25 10:19:45 +11:00
Xidorn Quan
850976ea9c
Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: 5AXhsuvvrwe
2016-10-14 22:25:38 +11:00
Xidorn Quan
3631ceaf3e
Bug 1292432 part 8 - Move XPCOM IDL methods which just call WebIDL methods to StyleSheet. r=heycam
...
MozReview-Commit-ID: 3xpdLGc6hqH
2016-10-14 22:25:38 +11:00
Xidorn Quan
d438ebf740
Bug 1292432 part 6 - Make StyleSheet implement GetCssRules/InsertRule/DeleteRule. r=heycam
...
MozReview-Commit-ID: KD552jWZnA3
2016-10-14 22:25:38 +11:00
Xidorn Quan
42a86c72db
Bug 1292432 part 2 - Make StyleSheet inherit nsIDOMCSSStyleSheet. r=heycam
...
Some method impls are also moved from CSSStyleSheet to StyleSheet so
that they can be shared between the two subclasses.
The new interface methods added to ServoStyleSheet is currently left
unimplemented. They would be implemented in later patches.
MozReview-Commit-ID: 45wHT9BSHTK
2016-10-14 22:25:38 +11:00
Xidorn Quan
e6ff715f5b
Bug 1306212 part 1 - Make StyleSheetInfo a member of ServoStyleSheet. r=heycam
...
MozReview-Commit-ID: 1gAu507RLfE
2016-09-29 16:11:52 +10:00
Xidorn Quan
1eca1c563c
Bug 1304302 part 4 - Add all methods StyleSheetHandle needs to StyleSheet. r=heycam
...
The methods are written in the same order as in StyleSheetHandle::Ptr.
MozReview-Commit-ID: 6b4311ailNj
2016-09-26 22:03:25 +10:00
Xidorn Quan
b575dbcfd9
Bug 1304302 part 3 - Use ServoStyleSheet* instead of Handle in ServoStyleSheet. r=heycam
...
MozReview-Commit-ID: WV8eRxSOnp
2016-09-26 22:03:25 +10:00
Xidorn Quan
bb435b8c71
Bug 1304302 part 2 - Some small fixes. r=heycam
...
MozReview-Commit-ID: 7rnl4wkMorC
2016-09-26 22:03:25 +10:00
Nicholas Nethercote
c57fffaa55
Bug 1297300 - Add missing checks to GetSpec() calls in layout/. r=dholbert,heycam.
2016-08-31 20:10:10 +10:00
Xidorn Quan
a87b549cbc
Bug 1296173 part 2 - Rename the servo binding functions. r=bholley
...
MozReview-Commit-ID: Gxqx52v3sDQ
2016-08-23 13:14:27 +10:00
Manish Goregaokar
6eb3ca0a81
Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
...
MozReview-Commit-ID: 5FDS8J2Fo1G
2016-08-16 10:38:46 +05:30
Phil Ringnalda
a5bcb4d23c
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
af75fd460e
Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
...
MozReview-Commit-ID: 5FDS8J2Fo1G
2016-08-16 10:38:46 +05:30