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
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
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
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
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
5c08bd08b0
Bug 1290218 Part 1: Uplift IsModified into StyleSheet from CSSStyleSheet, and provide empty implementation for ServoStyleSheet. r=heycam
...
MozReview-Commit-ID: IU733JoNVyC
2017-02-13 10:27:46 -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
L. David Baron
a68ac77081
Bug 1333158 - Remove StyleSheet::GetDocument in favor of the identical GetAssociatedDocument. r=bz
...
(GetAssociatedDocument was recently renamed in bug 1332353.)
Note that the inconsistency between the Rule and CSSParser method names
is slightly bothersome.
MozReview-Commit-ID: L1SBIV86H4s
2017-01-23 13:12:03 -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
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
Cameron McCormack
c9bbd159a5
Bug 1290209 - Part 1: Move CSSStyleSheet::SetTitle up to StyleSheet. r=xidorn
...
MozReview-Commit-ID: 2rzn5gba7gw
2017-01-06 15:05:24 +08: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
3c9cab6fc0
Bug 1292432 part 7 - Move other WebIDL methods to StyleSheet. r=heycam
...
MozReview-Commit-ID: J0tXKbZvcEq
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
eef885dbe9
Bug 1292432 part 5 - Unify completeness check and security check to StyleSheet. r=heycam
...
MozReview-Commit-ID: CmQ2Q9UrLAA
2016-10-14 22:25:38 +11:00
Xidorn Quan
4f732ccfd6
Bug 1292432 part 4 - Move SubjectSubsumesInnerPrincipal to StyleSheet. r=heycam
...
MozReview-Commit-ID: 1DItyq2QrDz
2016-10-14 22:25:38 +11:00
Xidorn Quan
c4feef6787
Bug 1292432 part 3 - Add WillDirty and DidDirty to StyleSheet. r=heycam
...
MozReview-Commit-ID: 17O1vYVxuCk
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
0eca659767
Bug 1292432 part 1 - Make StyleSheet.mType be const. r=heycam
...
MozReview-Commit-ID: IdatjuERDK3
2016-10-14 22:25:38 +11:00
Xidorn Quan
4c0bb7a1d6
Bug 1309202 - Factor out stylo branch dispatch utilities. r=heycam
...
MozReview-Commit-ID: 8fLL9nsJDj4
2016-10-13 23:45:03 +11:00
Xidorn Quan
992c86736d
Bug 1306212 part 2 - Remove visibility restriction of StyleSheetInfo. r=heycam
...
MozReview-Commit-ID: 8xAkfwtDpRu
2016-09-29 16:17:58 +10:00
Xidorn Quan
971487f7fe
Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
...
MozReview-Commit-ID: FfYZiShjJNX
2016-09-26 22:03:25 +10:00
Xidorn Quan
1074b680ca
Bug 1304302 part 9 - Make StyleSheet::SheetInfo inline. r=heycam
...
MozReview-Commit-ID: 9ZvnIBw6emI
2016-09-26 22:03:25 +10:00
Xidorn Quan
c4e19d3ce5
Bug 1304302 part 5 - Make StyleSheet::As{Gecko,Servo} return pointer instead of reference. r=heycam
...
To match the behavior of StyleSheetHandle so that we can simply replace
uses of StyleSheetHandle with StyleSheet* in later patch.
MozReview-Commit-ID: LfGKrUmzC4h
2016-09-26 22:03:25 +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
51c2a1c391
Bug 1304302 part 1 - Add const version of AsGecko/AsServo to StyleSheet. r=heycam
...
MozReview-Commit-ID: LGQQjmkTWsO
2016-09-26 22:03:25 +10:00
Bobby Holley
3eac0e7c8d
Bug 1291390 - Make parsing mode an immutable property of the StyleSheet. r=heycam
2016-08-03 10:26:14 -07:00
Bobby Holley
6edd59aa3d
Bug 1291390 - Use the parsing mode from the stylesheet when building preferences stylesheet. r=heycam
...
In practice this will be the 'agent' level rather than the 'author' level, given
the SetParsingMode call immediately after creating the stylesheet. This change
aligns behavior with CSSStyleSheet::ReparseSheet.
2016-08-03 10:26:14 -07:00
Bobby Holley
e5253ea54e
Bug 1291390 - Hoist the ParsingMode getter to the superclass and give it a special binary name for WebIDL. r=bholley,r=heycam
...
In the next patch we want to introduce an accessor called ParsingMode, which conflicts with this one.
2016-08-03 10:26:14 -07:00
Bobby Holley
0a533d159f
Bug 1252611 - Hoist IsComplete/SetComplete into StyleSheet. r=dholbert
2016-03-10 22:18:59 -08:00
Bobby Holley
019759dcb4
Bug 1252611 - Add a method to get the StyleSheetInfo for a given StyleSheet. r=dholbert
...
One of the annoying things about sharing algorithms on the superclass here is that
certain members live on StyleSheet and others live on StyleSheetInfo (a situation
resulting from the split between CSSStyleSheet and CSSStyleSheetInner). This allows
us to write general algorithms on StyleSheet that touch members on StyleSheetInfo
without paying the price of virtual dispatch.
2016-03-10 22:18:57 -08:00
Bobby Holley
cfa801bbc7
Bug 1252611 - Hoist mDocument into StyleSheet. r=dholbert
2016-03-10 22:18:56 -08:00