Nicholas Nethercote
7dbfdaf890
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Andrew McCreight
84ee98de3c
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
2017-08-29 16:02:48 -07:00
Josh Matthews
34594ebaa7
Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter. r=emilio
...
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-10 17:52:00 -04:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Wes Kocher
8cbe4b5d79
Backed out changeset f220d8060c14 (bug 1352669) for build bustage CLOSED TREE a=bustage
...
MozReview-Commit-ID: INYGT4WT1pO
2017-07-06 14:56:06 -07:00
Josh Matthews
6416600b5e
Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter.
...
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-06 13:15:08 -07:00
Xidorn Quan
c27fb6df6b
Bug 1373484 - Drop all reference to StyleSheet when last strong reference is dropped. r=bz
...
MozReview-Commit-ID: 2RrNZDIjx3s
2017-06-19 10:15:49 +10:00
Xidorn Quan
b143d2b5e1
Bug 1359217 part 3 - Remove unused ErrorResult param from GetCssRulesInternal. r=heycam
...
MozReview-Commit-ID: KxUN9cCkoZG
2017-06-19 15:45:43 +10:00
Emilio Cobos Álvarez
02e12853ab
Bug 1368986: Cleanup stylesheet copy-constructor. r=heycam
...
MozReview-Commit-ID: I8vUuJfET24
2017-05-31 13:12:33 +02:00
Emilio Cobos Álvarez
0d0c9b1ab4
Bug 1368690: Move EnsureUniqueInner call after all the members have been initialized. r=xidorn
...
MozReview-Commit-ID: GoeLsjSAU00
2017-05-31 13:05:15 +02:00
Xidorn Quan
08c91e75e4
Bug 1352968 part 7 - Make RuleHasPendingChildSheet a static method of StyleSheet. r=heycam
...
MozReview-Commit-ID: HPJgsFftT6f
2017-05-30 11:10:25 +10:00
Xidorn Quan
477205b2b5
Bug 1352968 part 2 - Move mOwnerRule to StyleSheet and use dom::CSSImportRule instead of css::ImportRule. r=heycam
...
MozReview-Commit-ID: DTAWGHIUAQX
2017-05-30 11:10:25 +10:00
Emilio Cobos Álvarez
b7a7a08a94
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
fdeacb1873
Bug 1339629 Part 10: Implement ServoStyleSet::EnsureUniqueInnerOnCSSSheets. r=heycam
...
MozReview-Commit-ID: GuUqKYrV60z
2017-05-15 17:11:08 -07:00
Brad Werth
84b701f39e
Bug 1339629 Part 9: Uplift EnsureUniqueInnerOnCSSSheets and SetNeedsRestyleAfterEnsureUniqueInner into StyleSetHandle, and eliminate CSSStyleSheet::EnsureUniqueInner. r=heycam
...
MozReview-Commit-ID: LH7vTKUmuv8
2017-05-15 16:30:10 -07:00
Brad Werth
d5d552db30
Bug 1339629 Part 8: Uplift ClearRuleCascades into StyleSheet. r=heycam
...
MozReview-Commit-ID: CCYIYjWrw86
2017-05-18 14:21:11 -07:00
Brad Werth
26ed5d2848
Bug 1339629 Part 6: Uplift mStyleSets into StyleSheet. r=heycam
...
MozReview-Commit-ID: G8xQ5gLJ3dr
2017-05-15 16:27:15 -07:00
Brad Werth
632291d729
Bug 1339629 Part 5: Change CSSStyleSet::mStyleSets to use StyleSetHandles. r=heycam
...
MozReview-Commit-ID: 7KFbhh4fCW9
2017-05-15 15:01:23 -07:00
Brad Werth
720274de63
Bug 1339629 Part 4: Uplift CloneFor into StyleSheetInfo, and EnsureUniqueInner into StyleSheet. r=heycam
...
MozReview-Commit-ID: 4aZJYAsmZ2h
2017-05-15 16:19:17 -07:00
Brad Werth
2fae31f0d5
Bug 1339629 Part 3: Uplift mDirty into StyleSheet. r=heycam
...
MozReview-Commit-ID: iZKdg0fWss
2017-05-15 14:48:24 -07:00
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