Nazım Can Altınova
ce383280c3
Bug 1360488 - Part 1: stylo: Add ServoCSSParsingEnvironment and pass this instead of URLExtraData r=bholley
...
It was inconsistent with gecko side and also we needed to pass nsCompatibility enum along with URLExtraData.
MozReview-Commit-ID: 2ceutBfqBrg
--HG--
extra : rebase_source : f342774ed349c65f377cf85865f5905520784ca5
2017-05-11 19:06:43 +03:00
Fernando Jimenez Moreno
74d09d6ab3
Bug 1361994 - Part 1: Add separate CSSDocumentRule class. r=xidorn
...
MozReview-Commit-ID: DMDOHvBWLHX
--HG--
extra : rebase_source : 5602924c03eb0821d304bae264f73f1db7ea8591
2017-05-11 14:11:15 +02:00
Fernando Jimenez Moreno
6b3f90e5b4
Bug 1355408 - Part 1: Support @-moz-document rule in stylo. r=xidorn
...
MozReview-Commit-ID: BMoA7tb7ixj
--HG--
extra : rebase_source : 1329b4c008b4ee3e2623a496c8ef82f610d6e3ce
2017-04-18 18:59:43 +02:00
Xidorn Quan
98f239480d
Bug 1362302 part 1 - Use nsIAtom for counter style names. r=dbaron
...
MozReview-Commit-ID: 5VK6BgGRVRs
--HG--
extra : rebase_source : 104a28eddeb7984bd9f691693cf8debc1387fb87
2017-05-06 11:34:35 +10:00
Cameron McCormack
2fadc51f72
Bug 1352531 - Make dom::FontFace cache its gfxCharacterMap instead of rebuilding it every time. r=dbaron
...
MozReview-Commit-ID: INmKPdC9dq5
--HG--
extra : rebase_source : a7f0636168784227fb2b6a381fa72cf652038c12
2017-04-20 17:00:59 +10:00
Xidorn Quan
1489bc2c0e
Bug 1355394 part 1 - Add separate CSSSupportsRule base class. r=heycam
...
MozReview-Commit-ID: 3rCRn6YQ8Gx
--HG--
extra : rebase_source : 657d41029e65c647f7ea92c2cb34126496015e88
2017-04-26 16:55:36 +08:00
Emilio Cobos Álvarez
a2a4795bd3
Bug 1325878: followup - cleanup MediaList::Matches callers. r=me
...
MozReview-Commit-ID: Ck9hlZ0qkxj
2017-04-14 11:31:47 +08:00
Emilio Cobos Álvarez
16cd642c17
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
0ccdacdf3a
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
--HG--
extra : rebase_source : 5186cf2e233f3a757676a0127752faa8cc748cd4
2017-03-31 19:14:49 -05:00
Xidorn Quan
987754e4dc
Bug 1343964 part 7 - Use URLExtraData for declaration modification directly for Servo backend. r=heycam
...
MozReview-Commit-ID: 78JRYKk9hgV
--HG--
extra : rebase_source : 1a86db507451637379e35ea17d9dbd88e8dc6902
2017-04-04 16:09:20 +10:00
Xidorn Quan
c84000415d
Bug 1345696 part 2 - Move nsCSSFontFaceRule to a separate header. r=heycam
...
MozReview-Commit-ID: 5UsODlVQV7a
--HG--
extra : rebase_source : 48ed07a86666fd313786ca03818947b10ca7a2ce
2017-03-29 10:20:40 +11:00
Xidorn Quan
cc3896262e
Bug 1345698 part 4 - Create a new CSSNamespaceRule as a base class. r=heycam
...
MozReview-Commit-ID: 5QvGWfb18cY
--HG--
extra : rebase_source : 1a85b59a71ca920371bc94bf4376e4e42863f6df
2017-03-14 18:50:28 +11:00
Xidorn Quan
05122c4a24
Bug 1315601 part 15 - Move some common methods to a new CSSMediaRule binding class. r=heycam
...
MozReview-Commit-ID: GWpIzTex2le
--HG--
extra : rebase_source : bac2c6fe225ddc19b107de66986623627ce51a8d
2017-03-09 17:37:38 +11:00
Xidorn Quan
5155993e83
Bug 1315601 part 9 - Split Gecko-specific GroupRule logic into a separate struct. r=heycam
...
MozReview-Commit-ID: 7CkGO2KgJN3
--HG--
extra : rebase_source : 04cb9ea11e01a4f57497b4edf148adbd4fc1311b
2017-03-09 22:02:26 +11:00
Xidorn Quan
60fc385265
Bug 1315601 part 6 - Move GroupRule-related code into a separate source file. r=heycam
...
MozReview-Commit-ID: 7vgqnYC8Y0j
--HG--
extra : rebase_source : 3dc10330853b1e486be83aec6d11388c8bbe8dac
2017-03-07 15:19:03 +11:00
Xidorn Quan
85464df1c1
Bug 1315601 part 3 - Add base class MediaList and move part of nsMediaList to it. r=heycam
...
MozReview-Commit-ID: A2uJpbGgO55
--HG--
extra : rebase_source : 40a9171307b6a30288169e27caa43595349d2df7
2016-11-09 17:28:24 +11:00
Xidorn Quan
6cfb39e127
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam
...
MozReview-Commit-ID: UjIZgeWRwh
--HG--
extra : rebase_source : ab20efdda8706a3443038abea25a9de6d73a0b60
2017-03-03 15:19:06 +11:00
Wes Kocher
5bb9a497ef
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
321b99076d
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam
...
MozReview-Commit-ID: UjIZgeWRwh
--HG--
extra : rebase_source : 87b81a5eccb9744a4edd99e82b309b4910811640
2017-02-27 10:45:45 +11:00
Brad Werth
881f857bac
Bug 1290218 Part 8: Implement ServoStyleSheet Clone. r=heycam
...
MozReview-Commit-ID: Y2KcoMjhbn
--HG--
extra : rebase_source : dc45ede181017fb372fdce23d7449c868a0cb8e6
2017-02-15 13:33:17 -08:00
Daniel Holbert
f8a884b751
Bug 1339546 part 2: Make layout/style/*.cpp include corresponding .h file as the first header. r=xidorn
...
MozReview-Commit-ID: 2rZ9z0BgRvN
--HG--
extra : rebase_source : d046a915283dd45ec8ff39f1b63da8ae59d3fac8
2017-02-14 11:23:11 -08:00
Boris Zbarsky
cce1668e68
Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8
2017-01-24 20:38:58 -05:00
Boris Zbarsky
95a8ef9e62
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
fde7c43bb1
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
f40fa57e5c
Bug 851892 followup. Disable most of Rule::IsKnownLive for now to reopen CLOSED TREE
2017-01-20 13:57:42 -05:00
Boris Zbarsky
41da750c3e
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
bbf09020fb
Bug 851892 part 19. Convert CSSCounterStyleRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
b7f22f88b0
Bug 851892 part 18. Convert CSSKeyframesRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
fa5fe536da
Bug 851892 part 17. Convert CSSKeyframeRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
284cc54462
Bug 851892 part 16. Convert CSSFontFeatureValuesRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
5398bc5f13
Bug 851892 part 15. Convert CSSFontFaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:04 -05:00
Boris Zbarsky
b1b80495aa
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
4ce77bc3a3
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
d274f30b35
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
03dbb8c08b
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
7f64e99cc4
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
0da388ba25
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
4fe3d0c6dd
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
1d545c87da
Bug 851892 part 6. Make css::Rule inherit from nsIDOMCSSRule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
637e48e6e3
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
6e795d159b
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
65f894384a
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -05:00
Sebastian Hengst
3c9c348769
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
c2dff8d692
Backed out changeset 795ebf4423ba (bug 851892)
2017-01-20 19:30:59 +01:00
Sebastian Hengst
63caf1fba9
Backed out changeset 3be6690b9f0a (bug 851892)
2017-01-20 19:30:50 +01:00
Sebastian Hengst
7f2820fd7b
Backed out changeset 271c7cd7b59a (bug 851892)
2017-01-20 19:30:41 +01:00
Sebastian Hengst
24246c7ba1
Backed out changeset 659550973d4d (bug 851892)
2017-01-20 19:30:37 +01:00
Sebastian Hengst
bcb6968086
Backed out changeset 9ef39356f62c (bug 851892)
2017-01-20 19:30:32 +01:00
Sebastian Hengst
6a2dfd7d83
Backed out changeset b975a988fb33 (bug 851892)
2017-01-20 19:30:28 +01:00
Sebastian Hengst
e21b4b941f
Backed out changeset 9dee4f98503c (bug 851892)
2017-01-20 19:30:23 +01:00