Boris Zbarsky
6fa1539ab5
Bug 1358056. Fix stylesheet handling of associated documents in various edge cases. r=heycam
2017-04-24 15:44:19 -04:00
Emilio Cobos Álvarez
60ba1d4997
Bug 1325878: followup - cleanup MediaList::Matches callers. r=me
...
MozReview-Commit-ID: Ck9hlZ0qkxj
2017-04-14 11:31:47 +08:00
Emilio Cobos Álvarez
186d6d903f
Bug 1325878: Create less hardcoded nsMediaList instances. r=xidorn
...
MozReview-Commit-ID: K6T3MM1ZrFb
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io >
2017-04-13 00:30:03 +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
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
6eb87266b6
Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam
...
The next patch moves nsCSSFontFaceRule into a separate header, which
somehow affects lots of header dependencies. I'm not completely sure
why this happens, though.
MozReview-Commit-ID: KuXbsaX0NUd
2017-03-28 20:05:12 +11:00
Cameron McCormack
12c6102e0e
Bug 1350789 - Make CSSStyleSheet::SizeOfIncludingThis correctly check for shared inners. r=bradwerth
...
MozReview-Commit-ID: 3hsuiR5SwZT
2017-03-27 16:49:37 +08:00
Andrea Marchesini
8f5f953fba
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
2017-03-22 11:38:40 +01:00
Ting-Yu Lin
900bd55b15
Bug 1338446 Part 3 - Label SheetLoadData in Loader::PostLoadEvent. r=heycam
...
When constructing a Loader without passing a document, we added a DocGroup
parameter so that we could still use it to dispatch events to the DocGroup.
Delete NS_ENSURE_TRUE because new() is infallable.
Use another runnable pointer for calling dispatching because forget() will
nuke the pointer and we need to use evt afterwards.
MozReview-Commit-ID: Ce2K6j4pUhA
2017-03-13 17:00:57 +08:00
Xidorn Quan
abb46b4fde
Bug 1315601 part 13 - Move common code of DeleteRuleFromGroup/InsertRuleIntoGroup from CSSStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: BDxnYb0OkCk
2017-03-08 18:04:15 +11:00
Xidorn Quan
2cf5c7d300
Bug 1315601 part 12 - Remove useless retval out param from InsertRuleIntoGroup. r=heycam
...
MozReview-Commit-ID: Iyj0zLj8nsL
2017-03-08 17:11:42 +11:00
Xidorn Quan
a1f85f934d
Bug 1315601 part 3 - Add base class MediaList and move part of nsMediaList to it. r=heycam
...
MozReview-Commit-ID: A2uJpbGgO55
2016-11-09 17:28:24 +11:00
Brad Werth
533d5ac5ed
Bug 1342869 Part 1: Uplift ChildSheetListBuilder into StyleSheet so that all StyleSheet subclasses can fixup parent chains when children are removed. r=heycam
...
MozReview-Commit-ID: F9KnuPC0h7K
2017-03-06 16:27:32 -08:00
Xidorn Quan
b6dc2b4da9
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam
...
MozReview-Commit-ID: UjIZgeWRwh
2017-03-03 15:19:06 +11:00
Wes Kocher
29eb490f36
Backed out 6 changesets (bug 1342303) for build bustage a=backout
...
Backed out changeset 89137679a68c (bug 1342303)
Backed out changeset 20a1bcb47c33 (bug 1342303)
Backed out changeset bc3b2e7a383b (bug 1342303)
Backed out changeset bdc491b9ebde (bug 1342303)
Backed out changeset 5c6042dee665 (bug 1342303)
Backed out changeset b5de1dfff82f (bug 1342303)
MozReview-Commit-ID: BjlVAX480jI
2017-03-02 16:35:43 -08:00
Xidorn Quan
c66865e725
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam
...
MozReview-Commit-ID: UjIZgeWRwh
2017-02-27 10:45:45 +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
a2095b5907
Bug 1290218 Part 4b: Fixup cycle collector declarations for mInner moving into StyleSheetInfo. r=heycam
...
MozReview-Commit-ID: 9cAvEf7y8JN
2017-02-15 16:19:33 -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
0ef4bd93de
Bug 1290218 Part 2: Uplift mInner pointer from CSSStyleSheetInner into StyleSheetInfo. r=heycam
...
MozReview-Commit-ID: K6FbTN1r4Qg
2017-02-14 09:41:33 -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
88ca4998cc
Bug 1328420 Part 3: Uplift the first child to StyleSheet via a new method, abstracting out the inner sheet concept (which is not present in Stylo sheets). r=heycam
...
MozReview-Commit-ID: KUeIlOhAJXr
2017-01-23 15:52:56 -08:00
Brad Werth
03699681a4
Bug 1328420 Part 2: Uplift mNext into StyleSheet. r=heycam
...
MozReview-Commit-ID: 1yHUtEAJZnl
2017-01-23 15:36:09 -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
Boris Zbarsky
fcffc1fbb1
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
e152128ba1
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -05:00
Sebastian Hengst
f7032ba0ea
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
4249f1e162
Backed out changeset 9ef39356f62c (bug 851892)
2017-01-20 19:30:32 +01: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
4bc1b026f0
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
7d2cf86b2f
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -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
Wes Kocher
a22c09664e
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -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
7f8d92e598
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
83cfd06680
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -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
Boris Zbarsky
f5cfc1f710
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
5865c43716
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -05:00
Cameron McCormack
31c38d9368
Bug 1330909 - Remove unused ListEnumData struct. r=xidorn
...
MozReview-Commit-ID: KSpORr80TTP
2017-01-13 16:38:14 +08:00
Cameron McCormack
58cbf1f191
Bug 1290209 - Part 8: Move CSSStyleSheet::SetEnabled up to StyleSheet. r=xidorn
...
MozReview-Commit-ID: 7shpy5ghnVR
2017-01-06 15:05:24 +08: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