Xidorn Quan
3b74963c68
Bug 1307357 part 2 - Fix issues appear after adding file to unified source. r=heycam
...
MozReview-Commit-ID: 5FkisMn3LKq
2016-11-23 10:26:20 +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
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
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
83118574f0
Bug 1306212 part 3 - Move the only constructor of StyleSheetInfo to StyleSheet.cpp. r=heycam
...
MozReview-Commit-ID: Fv2AyBE1Js0
2016-09-29 16:19:06 +10:00
Xidorn Quan
7d6c4129ab
Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
...
This commit is generated by the following commands with some minor
manual adjustment:
find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
-e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
-e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
-e 's/StyleSheetHandle()/nullptr/g' \
-e 's/->AsStyleSheet()//g' \
-e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp
MozReview-Commit-ID: 7abdvlKHukd
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
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
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
Jonathan Chan
9b3dfb521f
Bug 1285365 - Part 2: Add missing includes and namespace qualifiers. r=dholbert
...
MozReview-Commit-ID: 5vDmc1yGe1P
2016-07-07 14:05:28 -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
Cameron McCormack
b638fafd4a
Bug 1250788 - Part 3.2: Factor out CSSStyleSheet members so they can be used by ServoStyleSheet. r=bholley
2016-02-26 12:51:01 +11:00