Commit Graph

989 Commits

Author SHA1 Message Date
cku
9db54d5a1a Bug 1340044 - Part 1. Declare mTransformBox as StyleGeometryBox. r=heycam
MozReview-Commit-ID: 9fcHkDtNHhL
2017-03-15 12:21:07 +08:00
Bobby Holley
53ffcaaef5 Bug 1347399 - Use a thread-safe URI comparison in CalcStyleDifference. r=heycam
MozReview-Commit-ID: Fpb1guCxXUZ
2017-03-16 20:18:57 -07:00
Manish Goregaokar
ceb5b11b52 Bug 1296477 - Part 2: stylo: Implement remaining content values; r=heycam
MozReview-Commit-ID: 9fLM5bdR8hr
2017-03-11 22:40:54 -08:00
Xidorn Quan
eeb451c4a2 Bug 1345804 part 3 - Change will-change to store nsIAtom rather than nsString. r=heycam
MozReview-Commit-ID: 5ISVZwKw6LI
2017-03-10 12:26:53 +11:00
Hiroyuki Ikezoe
44ac870868 Bug 1341985 - Split nsStyleAutoArray into a new header to avoid including nsStyleStruct.h in ServoBindingTypes.h. r=birtles
MozReview-Commit-ID: CMJkds7TKH0
2017-03-10 11:53:17 +09:00
cku
07333a0c53 Bug 1345739 - Implement nsStyleImageRequest::GetImageURI. r=heycam
MozReview-Commit-ID: Jqhio1RaqG1
2017-03-09 13:03:32 +08:00
Boris Chiou
2e08ec42b1 Bug 1248340 - Part 1: Add the type of Frames in nsTimingFunction. r=birtles
MozReview-Commit-ID: GPn8D9gwjqa
2017-02-24 14:34:08 +08:00
Neerja Pancholi
5fddb99f6b Bug 1339298 - Add boilerplate code for CSS3 multicol column-span parsing and define pref 'layout.css.column-span.enabled' to toggle it. r=dholbert
MozReview-Commit-ID: 6aSlRhcKm8i
2017-02-13 16:57:33 -08:00
Xidorn Quan
ce13c1b2dd Bug 1344133 - Add simple replace for nsCOMArray. r=bholley
MozReview-Commit-ID: 7zTi45CeWBC
2017-03-03 17:22:15 +11:00
jeremychen@mozilla.com
8e500e1044 Bug 276079 - parse and compute CSS text-justify property. r=xidorn
MozReview-Commit-ID: K3bh0H2SPnE
2017-03-01 20:58:25 +08:00
cku
1819876e04 Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. r=heycam,TYLin
MozReview-Commit-ID: FHTwGyXHsce
2017-02-21 23:26:17 +08:00
Iris Hsiao
b5a0c8c111 Backed out 4 changesets (bug 1335876) for stylo tc build bustage
Backed out changeset b870f9671bcd (bug 1335876)
Backed out changeset 3e160602fc1a (bug 1335876)
Backed out changeset 9d290cbe5aad (bug 1335876)
Backed out changeset 6e447c3fcd79 (bug 1335876)
2017-02-15 10:20:11 +08:00
cku
84dbe2a1c2 Bug 1335876 - Part 1. Declare mTransformBox as StyleGeometryBox. r=heycam
MozReview-Commit-ID: 9fcHkDtNHhL
2017-02-02 13:57:49 +08:00
Cameron McCormack
cffd576e58 White space fix; no bug. (DONTBUILD)
MozReview-Commit-ID: LiEfvt4z1Ks
2017-02-14 13:29:47 +08:00
Bobby Holley
864c9835d0 Bug 1335308 - Proxy mSpecifiedTransform releases that occur during the servo traversal to the main thread. r=heycam 2017-02-08 17:04:46 -08:00
Xidorn Quan
907f502a32 Bug 1332193 - Fix several properties to return NeutralChange hint. r=heycam
MozReview-Commit-ID: GDNRy6vqmL8
2017-01-19 19:13:02 +11:00
Ryan VanderMeulen
127c9e5534 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
cku
5f0226d79a Bug 1329091 - Keep mask style value to determine whether cached mask layer is corrupt. r=mstange
MozReview-Commit-ID: J2CFFi5pN7H
2017-01-06 17:53:30 +08:00
Phil Ringnalda
659a7d8a80 Merge m-c to autoland 2017-01-04 19:01:49 -08:00
Phil Ringnalda
2903fb9e55 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Boris Zbarsky
de151155ed Bug 1298588 part 16. Remove StyleStructContext. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky
64be577ca4 Bug 1298588 part 15, gecko piece. Rip out the initial() methods on style structs in stylo. r=bholley 2017-01-04 14:52:27 -05:00
Xidorn Quan
db94c3e82c Bug 1303241 part 2 - Make GetVisitedDependentColor use style structs directly. r=dbaron
I think there are three advantages of this change:
1. removes some dependencies from layout / painting code to pre-computed
   value stuff in the style system;
2. makes it easier to audit usage of specific fields in style structs
   (which is probably a side effect of the first one);
3. potentially improves performance since it doesn't go through the
   unnecessary general logic in ExtractComputedValue.

Also, combined with the part before, we get a unified list for visited-
dependent properties so that we can ensure the assertion here and the
style difference calc code are consistent.

MozReview-Commit-ID: 5B9aN7CfRgI
2016-12-31 00:57:37 +11:00
Xidorn Quan
8de7838e67 Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
MozReview-Commit-ID: 1n3TC3CVY7U
2016-12-30 02:03:29 +11:00
Jeremy Chen
9e2ea144ef Bug 1328540 - convert NS_STYLE_HYPHENS_* to an enum class. r=xidorn
MozReview-Commit-ID: BwTzbA29Y3H
2017-01-04 23:55:16 +08:00
Cameron McCormack
6af3fcfa3f Bug 1315155 - Part 2: Make nsStyleContentData use nsStyleImageRequest for images. r=xidorn
MozReview-Commit-ID: 80gQBdNrGq1
2016-10-21 08:14:56 +08:00
Cameron McCormack
b0bc3dd2b1 Bug 1315155 - Part 1: Encapsulate nsStyleContentData. r=xidorn
MozReview-Commit-ID: LfEMxyM5meF
2016-10-20 10:22:46 +08:00
Xidorn Quan
7749bec582 Bug 1063162 part 2 - Implement caret-color property. r=dholbert
MozReview-Commit-ID: DH7CX1d477R
2016-12-22 11:04:15 +11:00
Mats Palmgren
e9205611c1 Bug 1322191 part 1 - [css-display] Add style system support for display:flow-root. Enable it by default. r=dholbert 2016-12-23 19:11:03 +01:00
Timothy Nikkel
2c127a3224 Bug 1325297. Create a variant of imgIContainer::StartDecoding that returns if the current image frame is complete. r=aosmond
During painting we do some image decoding, but we want to send the image progress notifications from that decoding async. The CSS image renderer checks if the image is complete before painting it. So if the decoding we did during painting resulted in the images becoming complete there is no way to tell that during the same paint. Thus making that decoding a waste of time.

So we add a limited way of telling if the result of a StartDecoding call has resulting in an image that is ready to paint so we can get that result during the same paint.

I would have prefered to change StartDecoding to just return a bool but that would have made the bool an outparam, which would make every StartDecoding call uglier with extra code. Changing it to a notxpcom function would have fixed that, but I'm not sure if that is safe.
2016-12-23 01:07:45 -06:00
cku
b00f9ec88d Bug 1311270 - Part 3. Replace {bg|mask}-origin/{bg|mask}-clip constants by StyleGeometryBox.
MozReview-Commit-ID: DYokhDa9fFQ
2016-11-22 15:30:01 +08:00
cku
c0fd83b73b Bug 1311270 - Part 2. Rename StyleClipPathGeometryBox to StyleGeometryBox and extend contained values.
MozReview-Commit-ID: 85zjcifAycX
2016-11-22 14:49:43 +08:00
Andrew McCreight
209d4ee048 Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
f2d50c26f4 Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
2f93d6e48d Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Emilio Cobos Álvarez
fd00a54e76 Bug 1322446: Use namespaces in stylo's bindings. r=heycam
Servo patch: https://github.com/servo/servo/pull/14472

MozReview-Commit-ID: 1YHF10pP19s
2016-12-07 17:30:52 -10:00
Cameron McCormack
da21cae689 Bug 1322185 - Rename some StyleDisplay enum values for consistency. r=xidorn
MozReview-Commit-ID: K27LmXKWNdk
2016-12-05 21:36:28 -10:00
Cameron McCormack
1825b8efd3 Comment typo fix; no bug. 2016-12-05 15:14:59 -10:00
Emilio Cobos Álvarez
b169fed2a1 Bug 1322094: Fixes for Stylo's binding generation in master bindgen. r=heycam
MozReview-Commit-ID: FSp9XfwX3FJ
2016-12-05 03:39:24 +01:00
Xidorn Quan
7583f55e18 Bug 1310404 part 1 - Convert SetImageRequest to CreateImageRequest. r=heycam
MozReview-Commit-ID: JEzRpSMJ6XY
2016-12-01 13:40:00 +11:00
Jeremy Chen
d5f515435d Bug 1320239 - use nscoord instead of nsStyleCoord for outline-width. r=heycam
MozReview-Commit-ID: CaM12OvYeSW
2016-11-29 20:08:08 +08:00
Jeremy Chen
bf66a904c1 Bug 1320239 - use nscoord instead of nsStyleCoord for -webkit-text-stroke-width. r=heycam
MozReview-Commit-ID: 94fL7YgZqCl
2016-11-29 20:08:08 +08:00
Thomas Wisniewski
11bbab08f4 Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam 2016-11-24 23:23:14 -05:00
Sebastian Hengst
522acb2d7f Backed out changeset 8a6c538cf61a (bug 943918) for failing own test tab-size-length.html on at least Windows 8 x64 opt+debug and OS X debug. r=backout 2016-11-28 00:41:19 +01:00
Thomas Wisniewski
1b2eecfd95 Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam 2016-11-24 23:23:14 -05:00
Ting-Yu Lin
7e10b6ab51 Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"

MozReview-Commit-ID: 9T0ORsqM6nP
2016-11-18 18:12:25 +08:00
Ting-Yu Lin
03d0c3c4c4 Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
This patch is written with the help of the following script.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "css::Side" "Side"

MozReview-Commit-ID: DPV6vivpPUp
2016-11-18 16:28:38 +08:00
Cameron McCormack
317693f39e Bug 1310560 - Part 1: Make cursor use nsStyleImageRequest for url() value storage. r=xidorn
MozReview-Commit-ID: JU76TS3kxbz
2016-11-21 14:34:11 +08:00
cku
58b049d0de Bug 1234485 - Part 6. Implement nsStyleImageLayers::operator=. r=mstange
nsStyleImageLayers::operator= is required by the next patch.
MozReview-Commit-ID: CE1j2qW9TIY
2016-11-07 22:32:15 +08:00
Cameron McCormack
16d1855f49 Bug 1310463 - Part 1: Make list-style-image use nsStyleImageRequest for storage. r=xidorn
MozReview-Commit-ID: ENTo2HNbBpN
* * *
[mq]: x

MozReview-Commit-ID: 2SNJ4bXYpTH
2016-11-03 09:40:53 +08:00