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
J. Ryan Stinnett
0bbef73202
Bug 1345206 - Extract CSSPageRule base class. r=xidorn
...
Extract a `CSSPageRule` base class from the existing Gecko `nsCSSPageRule`
class. This will be used in the next commit as the parent of a new
`ServoPageRule` for the Servo variant.
MozReview-Commit-ID: 1F3FWfVKH29
2017-03-31 19:14:49 -05:00
Xidorn Quan
c61841a1ad
Bug 1343964 part 7 - Use URLExtraData for declaration modification directly for Servo backend. r=heycam
...
MozReview-Commit-ID: 78JRYKk9hgV
2017-04-04 16:09:20 +10:00
Xidorn Quan
f4f44a7d01
Bug 1345696 part 2 - Move nsCSSFontFaceRule to a separate header. r=heycam
...
MozReview-Commit-ID: 5UsODlVQV7a
2017-03-29 10:20:40 +11:00
Xidorn Quan
d5132ff417
Bug 1345698 part 4 - Create a new CSSNamespaceRule as a base class. r=heycam
...
MozReview-Commit-ID: 5QvGWfb18cY
2017-03-14 18:50:28 +11:00
Xidorn Quan
fca095b8b4
Bug 1315601 part 15 - Move some common methods to a new CSSMediaRule binding class. r=heycam
...
MozReview-Commit-ID: GWpIzTex2le
2017-03-09 17:37:38 +11:00
Xidorn Quan
04507da0b9
Bug 1315601 part 9 - Split Gecko-specific GroupRule logic into a separate struct. r=heycam
...
MozReview-Commit-ID: 7CkGO2KgJN3
2017-03-09 22:02:26 +11:00
Xidorn Quan
43050b50ce
Bug 1315601 part 6 - Move GroupRule-related code into a separate source file. r=heycam
...
MozReview-Commit-ID: 7vgqnYC8Y0j
2017-03-07 15:19:03 +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
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
Daniel Holbert
d74b889d67
Bug 1339546 part 2: Make layout/style/*.cpp include corresponding .h file as the first header. r=xidorn
...
MozReview-Commit-ID: 2rZ9z0BgRvN
2017-02-14 11:23:11 -08:00
Boris Zbarsky
33b60b6ff4
Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8
2017-01-24 20:38:58 -05:00
Boris Zbarsky
809fc1de39
Bug 1333001. Ensure that ImportRule in fact always has a non-null mMedia. r=heycam
2017-01-24 10:02:46 -05:00
Boris Zbarsky
111247800c
Bug 1332704. Have ~nsDocument actually clear the self-pointer from _all_ its sheets, and reenable Rule::IsKnownLive bits that depends on that pointer being managed correctly. r=heycam
2017-01-23 11:15:58 -05:00
Boris Zbarsky
43a03bfdbe
Bug 851892 followup. Disable most of Rule::IsKnownLive for now to reopen CLOSED TREE
2017-01-20 13:57:42 -05:00
Boris Zbarsky
cde19cde0e
Bug 851892 part 20. Remove the remaining bits we added to support a mix of WebIDL and non-WebIDL rules. r=peterv
2017-01-13 10:41:05 -05:00
Boris Zbarsky
c69a8a8862
Bug 851892 part 19. Convert CSSCounterStyleRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
f87a32aab0
Bug 851892 part 18. Convert CSSKeyframesRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
75d5181a1e
Bug 851892 part 17. Convert CSSKeyframeRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
587c32b403
Bug 851892 part 16. Convert CSSFontFeatureValuesRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
8b0d30d020
Bug 851892 part 15. Convert CSSFontFaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
2b9d7a3595
Bug 851892 part 14. Convert CSSPageRule to WebIDL. r=peterv,heycam
...
The PutForwards bit is a new feature, but easy enough to implement here.
2017-01-13 10:41:04 -05:00
Boris Zbarsky
6fc07f0d49
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
296e4232a8
Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
...
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
234ce79592
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05: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
7f8371f7b5
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
048878096a
Bug 851892 part 6. Make css::Rule inherit from nsIDOMCSSRule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
29566dfbe6
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv,smaug
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
b6afec6f99
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -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
2520f8d517
Backed out changeset 795ebf4423ba (bug 851892)
2017-01-20 19:30:59 +01:00
Sebastian Hengst
189192c717
Backed out changeset 3be6690b9f0a (bug 851892)
2017-01-20 19:30:50 +01:00
Sebastian Hengst
f21d58966b
Backed out changeset 271c7cd7b59a (bug 851892)
2017-01-20 19:30:41 +01:00
Sebastian Hengst
d61de95f28
Backed out changeset 659550973d4d (bug 851892)
2017-01-20 19:30:37 +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
Sebastian Hengst
dd5318db84
Backed out changeset 9dee4f98503c (bug 851892)
2017-01-20 19:30:23 +01:00
Sebastian Hengst
43da372354
Backed out changeset eab8ccda41b8 (bug 851892)
2017-01-20 19:30:19 +01:00
Sebastian Hengst
c5d4662d6f
Backed out changeset 1bbbc436690d (bug 851892)
2017-01-20 19:30:10 +01:00
Sebastian Hengst
e618866b54
Backed out changeset 34c280ac5f73 (bug 851892)
2017-01-20 19:30:05 +01:00
Sebastian Hengst
b549542828
Backed out changeset 332bb85695a9 (bug 851892)
2017-01-20 19:30:01 +01:00
Sebastian Hengst
5210e8b2a2
Backed out changeset 430f2759de65 (bug 851892)
2017-01-20 19:29:56 +01:00
Sebastian Hengst
38f8942c5e
Backed out changeset 76136a4cadcc (bug 851892)
2017-01-20 19:29:52 +01:00