Carsten "Tomcat" Book
b318c7dca7
merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
...
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Xidorn Quan
7b8459d725
Bug 1352968 part 9 - Notify document about rule insertion only if a rule doesn't have pending child sheet. r=heycam
...
MozReview-Commit-ID: 3ADpnJuhHXf
--HG--
extra : source : 17633a6e12bf4f9651d35ae0c40fa2b6bca2faa0
2017-05-30 11:10:25 +10:00
Xidorn Quan
a17c79bc30
Bug 1352968 part 5 - Add a param to ctor of ServoCSSRuleList for top level list. r=heycam
...
@import rules can only exist in top level rule lists, and we need the
stylesheet to construct the import rules.
MozReview-Commit-ID: APCyGW8re8f
--HG--
extra : source : b9b78672249f390d56d71fa46dfa4b4cd49ef182
2017-05-30 11:10:25 +10:00
Xidorn Quan
4daf3c74b9
Bug 1352968 part 2 - Move mOwnerRule to StyleSheet and use dom::CSSImportRule instead of css::ImportRule. r=heycam
...
MozReview-Commit-ID: DTAWGHIUAQX
--HG--
extra : source : 6e84cc987e02c932c95b79cebc89e9b49f22f86a
2017-05-30 11:10:25 +10:00
Nicholas Nethercote
da7ad06b3b
Bug 1353998 - Start measuring Stylo style sheet memory usage. r=heycam.
...
--HG--
extra : rebase_source : 85f83566643e7b4c2276f0bf3fbb1a907f58fe0e
2017-05-30 11:03:51 +10:00
Emilio Cobos Álvarez
a9f348149b
Bug 1357583: Remove ServoStyleSheet::ClearRuleCascades. r=heycam
...
These invalidations are already handled from the PresShell notifications, no
need to handle it somewhere else.
MozReview-Commit-ID: G9KDVvSKMJY
2017-05-29 23:01:26 +02:00
Brad Werth
7e38654ee0
Bug 1339629 Part 12: Define UUID for ServoStyleSheet, which is needed for tests. r=heycam
...
MozReview-Commit-ID: GVUcZ7L0Ro5
--HG--
extra : rebase_source : e198e1d17e3304ff9c8f8b1c91ef0ab6f9720104
2017-05-18 16:36:44 -07:00
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
Brad Werth
1af9f090ed
Bug 1339629 Part 8: Uplift ClearRuleCascades into StyleSheet. r=heycam
...
MozReview-Commit-ID: CCYIYjWrw86
--HG--
extra : rebase_source : c9f3e4bced29d46ab9c906e58e97465e60fda5ae
2017-05-18 14:21:11 -07:00
Brad Werth
2a2c39ef1d
Bug 1339629 Part 4: Uplift CloneFor into StyleSheetInfo, and EnsureUniqueInner into StyleSheet. r=heycam
...
MozReview-Commit-ID: 4aZJYAsmZ2h
--HG--
extra : rebase_source : 196529a87197a569694428269a3f3244fa25cf38
2017-05-15 16:19:17 -07:00
Wes Kocher
c23cbd4a57
Backed out 2 changesets (bug 1342289) for crashtest leaks a=backout
...
Backed out changeset 3744676f7923 (bug 1342289)
Backed out changeset d0a029765f69 (bug 1342289)
MozReview-Commit-ID: Fb6GfKo6AhJ
--HG--
extra : rebase_source : 8ac1045485a4f3b0aa94b01103933814ff89e23a
2017-05-22 12:50:23 -07:00
Brad Werth
fd12ca74cc
Bug 1342289 Part 1: Define UUID for ServoStyleSheet. r=heycam
...
MozReview-Commit-ID: GVUcZ7L0Ro5
--HG--
extra : rebase_source : cb85b6f04fe27de7c6a246e52afa6eb07a61c6ed
2017-05-18 16:36:44 -07:00
Nazım Can Altınova
e7316ee8fe
Bug 1364746 - stylo: Continue to propagate quirks mode information to Servo r=bholley
...
I've propagated quirks mode information on some places. But we needed to pass
quirks mode to some other FFI functions to be able to handle that information
properly.
MozReview-Commit-ID: JovQWjN3YJx
--HG--
extra : rebase_source : bd25ba4276ae21ff4feb80e56b311202019268a0
2017-05-14 18:11:18 +03:00
Fernando Jimenez Moreno
50301fae54
Bug 1350175 - Part 1: Set stylesheet line offset. r=xidorn
...
MozReview-Commit-ID: 49B3bZaWjWc
--HG--
extra : rebase_source : 005986f47fd243d7faddffa31689eff50a7161e5
2017-04-25 21:01:45 +02:00
Emilio Cobos Álvarez
f7cf08128a
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
c54a8b6198
Bug 1353948 - Add SizeOfIncludingThis() methods to ServoStyle{Set,Sheet,SheetInner}. r=heycam.
...
This fills things in a bit more on the Gecko side.
--HG--
extra : rebase_source : a7cd16969fa0ce06f7d9e39f83d67bf3bd472ea4
2017-04-06 12:22:36 +10:00
Xidorn Quan
4400d347a2
Bug 1343964 part 3 - Have ServoStyleSheet own a URLExtraData. r=heycam
...
MozReview-Commit-ID: CQyvrVtl0hr
--HG--
extra : rebase_source : 547fce2e9118bf9d6714775df847e8236aec74b6
2017-04-04 13:41:44 +10:00
Xidorn Quan
2df49dbac2
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
--HG--
extra : rebase_source : 400fe0d7cc422f22592c302cfd4e457830b77e3e
2017-04-04 10:04:13 +10:00
Xidorn Quan
2da48b454d
Bug 1352025 part 2 - Stop passing in url as string for parsing. r=manishearth
...
MozReview-Commit-ID: CRgOO7NyYd9
--HG--
extra : rebase_source : 6b04d1c001082740abfc344fdb2a7f0351c3d7d9
2017-04-01 16:17:55 +11: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
e3e4554871
Bug 1351957 - Create URLExtraData for holding base uri, referrer, and principal. r=heycam
...
MozReview-Commit-ID: 1wqTb3kvvWh
--HG--
extra : rebase_source : cae3dba21c916ab0f52056bd9db215249b650cd3
2017-03-30 18:54:48 +11:00
Xidorn Quan
4e903ddf5c
Bug 1315601 part 14 - Add InsertRuleIntoGroup support to ServoStyleSheet. r=heycam
...
MozReview-Commit-ID: GUHtvjQXECW
--HG--
extra : rebase_source : dadf70886038ae4d1d62945ee4f4fbc4a3e756aa
2017-03-08 18:27:53 +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
Brad Werth
881f857bac
Bug 1290218 Part 8: Implement ServoStyleSheet Clone. r=heycam
...
MozReview-Commit-ID: Y2KcoMjhbn
--HG--
extra : rebase_source : dc45ede181017fb372fdce23d7449c868a0cb8e6
2017-02-15 13:33:17 -08:00
Brad Werth
5b02746302
Bug 1290218 Part 5: Subclass StyleSheetInfo to move the ServoStyleSheet raw sheet into its mInner. r=heycam
...
MozReview-Commit-ID: Cu0qp3e8L5n
--HG--
extra : rebase_source : ab24fcba44e8ccfccbaf81f17e3511a2904a4ce4
2017-02-14 12:05:12 -08:00
Brad Werth
01f02e499e
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
--HG--
extra : rebase_source : 0d0783ba73e55790832e9ae1e656374b565ed6e6
2017-02-17 15:48:35 -08:00
Brad Werth
8ae73eab74
Bug 1290218 Part 3: Transition ServoStyleSheet to use mInner pointer, instead of maintaining a static StyleSheetInfo. r=heycam
...
MozReview-Commit-ID: K0hjThqClhN
--HG--
extra : rebase_source : 76b0eacebc1a76eec378f26f9bb8121560228112
2017-02-03 15:57:51 -08:00
Brad Werth
5ef9727540
Bug 1328420 Part 8: Uplift SizeOfIncludingThis into StyleSheet, with override in CSSStyleSheet. r=heycam
...
MozReview-Commit-ID: 5f1WldhnP2
--HG--
extra : rebase_source : 28fb1718028961dd5fe3e25c8deeb38ebfd6ee87
2017-01-23 16:42:31 -08:00
Brad Werth
f9a4e85ea6
Bug 1328420 Part 7: Uplift List debug method into StyleSheet. r=heycam
...
MozReview-Commit-ID: 7aqC6N6cZst
--HG--
extra : rebase_source : 059b441aa12c77aee5734d61a244248b5ccd06d8
2017-01-23 16:40:28 -08:00
Brad Werth
9fd72f68f3
Bug 1328420 Part 6: Implement ServoStyleSheet destructor. r=heycam
...
MozReview-Commit-ID: iVaza2s7d
--HG--
extra : rebase_source : 354979d2cb3d5ef95f2063f6c3a3c1dd3774c91f
2017-01-23 16:37:59 -08:00
Brad Werth
6f5346abb4
Bug 1328420 Part 5: Uplift AppendStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: CwNGWsJi65G
--HG--
extra : rebase_source : e493df5984f92b4d2b3c9bbf153f24ac2dffc441
2017-01-23 16:23:40 -08:00
Brad Werth
98d1dbc01c
Bug 1328420 Part 4: Uplift SetOwningDocument into StyleSheet. r=heycam
...
MozReview-Commit-ID: 3TnTaFYkZS3
--HG--
extra : rebase_source : 1f15b8228f2dcccd0b00b41248617f5dac66f226
2017-01-24 13:12:40 -08:00
Brad Werth
f85fc3564c
Bug 1328420 Part 1: Uplift parent pointer and accessor to StyleSheet class. r=heycam
...
MozReview-Commit-ID: C63yRZM3ORC
--HG--
extra : rebase_source : 92f7628506176d728e4b2ac4ae804729bc3738b3
2017-01-24 13:09:33 -08: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
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
89948607fd
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
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
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
Iris Hsiao
7adb57a57f
merge autoland to mozilla-central a=merge
2017-01-06 11:06:17 -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
Cameron McCormack
ff8152efd2
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
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
Daniel Holbert
560110f36c
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
--HG--
extra : rebase_source : 3b710c576a590b97251512d875d3365fd6fb0314
2016-12-01 10:40:04 -08:00
Daniel Holbert
14dede68ec
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
--HG--
extra : rebase_source : 17a90dbe63af0b4e3a7c29881336fc31fbaf726d
2016-12-01 10:37:44 -08: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
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
Matt Brubeck
9c2c0561df
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
--HG--
extra : rebase_source : 0b46c9f9327eec0bac3bb2ca697198887948e2e6
2016-10-25 10:15:38 -07:00