Hiroyuki Ikezoe
00914b9633
Bug 1331704 - Part 1: Store base styles in KeyframeEffectReadOnly instead of EffectSet. r=birtles a=abillings
...
Now we dropped mNeedsBaseStyleSet bit set.
MozReview-Commit-ID: Gv2rU0jpyk1
2017-02-11 19:11:45 +09:00
Kartikaya Gupta
f441112c9f
Merge m-c to graphics
...
MozReview-Commit-ID: AXRXwXgkOTv
2017-02-10 13:57:53 -05:00
Kartikaya Gupta
b551916223
Merge m-c to graphics
...
MozReview-Commit-ID: Ejcj1CD87t3
2017-02-09 10:12:03 -05:00
Ryan Hunt
3b45fe13ff
Merge m-c to graphics
2017-02-08 10:57:06 -06:00
cku
0846dd2a0a
Bug 1287492 - Part 1. Implement nsLayoutUtils::HasCSSBoxLayout. r=mstange
...
There is no direct relation between this patch and the bug. Read through the code
and think we may reuse some logic.
MozReview-Commit-ID: HGEvDNGoIBS
2017-02-08 20:15:28 +08:00
Ryan Hunt
b101f2272c
Merge m-c to graphics
2017-02-07 09:05:18 +00:00
Kartikaya Gupta
bf02e9ff78
Merge m-c to graphics
...
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Ryan Hunt
b60d405ff9
Merge m-c to graphics
2017-01-27 10:07:37 -06:00
Ryan Hunt
fda7c21991
Merge m-c to graphics
2017-01-26 08:59:21 -06:00
Mats Palmgren
0becbde666
Bug 1317464 - Zero size images are valid and shouldn't trigger warnings. Assert that the image size isn't negative though. r=tn
...
(intentinally skipping DrawSingleUnscaledImage for now)
2017-01-27 00:24:00 +01:00
Kartikaya Gupta
ffccc882ca
Merge m-c to graphics
...
MozReview-Commit-ID: Id83SqNnzku
2017-01-16 07:38:20 -05:00
Jonathan Watt
8b4dac7b4f
Bug 1058040, part 11 - Convert DrawImage/DrawImageInternal's SVGImageContext param from pointer to Maybe<>. r=dholbert
2017-01-11 01:48:29 +00:00
Neerja Pancholi
d77826e76a
Bug 1166147 - Part1: Ignore writing mode while printing header and footer r=dholbert
...
MozReview-Commit-ID: Kesy6LG2KNe
2017-01-19 11:45:30 -08:00
Kartikaya Gupta
c72106b831
Merge m-c to graphics
...
MozReview-Commit-ID: HGa7QgtJVwu
2017-01-06 11:24:57 -05:00
Ting-Yu Lin
7d7ef90375
Bug 1320014 Part 7 - Convert half corner indices #define to an enum. r=mats
...
MozReview-Commit-ID: 8lNtjV14WTN
2017-01-05 11:31:38 +08:00
Ting-Yu Lin
e74fee8fd7
Bug 1333366 Part 1 - Update document related to Corner and HalfCorner. r=mats
...
MozReview-Commit-ID: 4wnjQOvploH
2017-01-24 18:37:05 +08:00
Ting-Yu Lin
9feaa919bb
Bug 1320014 Part 6 - Remove #define NS_CORNER_[TOP_LEFT/TOP_RIGHT/BOTTOM_RIGHT/BOTTOM_LEFT] r=mats
...
MozReview-Commit-ID: ERAwdxKZPf7
2017-01-04 18:15:30 +08:00
Kartikaya Gupta
e024b0a7ae
Merge m-c to graphics
...
MozReview-Commit-ID: FIRww20wbCc
2017-01-03 08:43:47 -05:00
Kartikaya Gupta
10b17b0728
Merge m-c to graphics
...
MozReview-Commit-ID: EVRgJB0urSI
2016-12-27 09:33:52 -05:00
Kartikaya Gupta
26f427122c
Merge m-c to graphics
...
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
Mats Palmgren
05b26d81fe
Bug 1312379 part 1 - [css-align][css-flexbox][css-grid] Introduce nsIFrame methods for calculating baselines per CSS Alignment and CSS2 'vertical-align'. r=dholbert
2016-12-20 23:56:35 +01:00
Mats Palmgren
4d072fe01c
Bug 1313068 - [css-grid] Synthesize a grid container baseline from the margin-box when in an inline-level context, and from the border-box otherwise. r=dholbert
2016-12-20 23:56:34 +01:00
Kartikaya Gupta
25f03c07f1
Merge m-c to graphics
...
MozReview-Commit-ID: 6ocpYm7MBCV
2016-12-19 13:35:32 -05:00
Boris Chiou
d1fd8dc56d
Bug 1335942 - Part 5: Add AnimationValue::GetScaleValue(). r=hiro
...
Move the common part of GetScaleValue into nsStyleTransformMatrix, and add a
new method, GetScaleValue, on AnimationValue, which can get the scale value from
StyleAnimationValue or RawServoAnimationValue.
MozReview-Commit-ID: 4spi1LkZrWP
2017-02-06 16:32:21 +08:00
Boris Chiou
afe4b3dc4b
Bug 1335942 - Part 2: Use mozilla::AnimationValue in AnimationPropertySegment. r=hiro,manishearth
...
MozReview-Commit-ID: L6U1A223jsa
2017-02-04 13:57:08 +08:00
Kartikaya Gupta
ad6399e383
Merge m-c to graphics
...
MozReview-Commit-ID: 1CB1iRcrX36
2016-12-13 10:02:54 -05:00
Phil Ringnalda
24bab31d9a
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: BnSh8kutBaR
2016-12-10 08:27:52 -08:00
Kartikaya Gupta
17245d5f13
Merge m-c to graphics
...
MozReview-Commit-ID: KhxBqJbwxv8
2016-12-06 23:45:24 -05: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
sotaro
d6ad646b8c
Bug 1320864 - Add DidComposite handling r=nical
2016-12-01 13:36:41 +09:00
Ting-Yu Lin
5112942a94
Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
...
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.
The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'
MozReview-Commit-ID: A8xTSPgh8Ls
2017-01-06 16:34:33 +08: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
cku
45e5563bae
Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
...
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.
MozReview-Commit-ID: EMkLnG3YXA1
2017-01-03 13:53:22 +08:00
Iris Hsiao
f05dc61a9f
Backed out changeset c868ab532766 (bug 1323912)
2017-01-04 21:47:12 -05:00
cku
f1ffeaa1c2
Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
...
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.
MozReview-Commit-ID: EMkLnG3YXA1
2017-01-03 13:53:22 +08: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
Carsten "Tomcat" Book
67eb2b14d1
Backed out changeset 09115127684a (bug 1311244) for reftest failures
2017-01-12 14:19:42 +01:00
Ting-Yu Lin
3d76ec43fb
Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
...
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.
The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'
MozReview-Commit-ID: A8xTSPgh8Ls
2017-01-06 16:34:33 +08:00
Kartikaya Gupta
75606aab33
Bug 1337388 - Remove unnecessary AsyncPanZoomEnabled check, and add a null guard. r=tnikkel
...
MozReview-Commit-ID: 87zwTEwPyLt
2017-02-07 10:43:17 -05: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
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
cku
5e33d5d53f
Bug 1311270 - Part 1. Move geomery box computing from nsCSSClipPathInstance to nsLayoutUtils.
...
Simply move ComputeHTMLReferenceRect and ComputeSVGReferenceRect from
nsCSSClipPathInstance to nsLayoutUtils to reuse the code in both clip-path and
mask.
MozReview-Commit-ID: 59LofAeEhKQ
2016-11-22 11:19:11 +08:00
Phil Ringnalda
0a5c5ff40e
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: CO7PdhmLZCq
2016-12-04 07:04:02 -08:00
Mats Palmgren
6205ff7d2d
Bug 1321703 - Use the margin-box when synthesizing a baseline from a block line with a non-visible-overflow child frame. r=dholbert
2016-12-03 18:53:56 +01:00
Hiroyuki Ikezoe
9c0432758d
Bug 1305325 - Part 13: Factor the base value's scale in GetMinAndMaxScaleForAnimationProperty. r=birtles
...
MozReview-Commit-ID: IlDNyJwrbKW
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe
d92d4141d2
Bug 1305325 - Part 6: Handle missing keyframe whose offset 0 or 1 on the main thread. r=birtles
...
MozReview-Commit-ID: 5WMiTJQKfZd
2016-12-04 08:07:40 +09:00
Brad Werth
0cf8efaa76
Bug 1319560 Part 2: Add a nsLayoutUtils::FrameForPointFlags value to only retrieve visible frames. r=mattwoodrow
...
MozReview-Commit-ID: 1mNIXdyBkw4
2016-11-28 14:50:34 -08:00
Phil Ringnalda
6a908b136a
Backed out 8 changesets (bug 1311244) for OOM failures in Win7 debug R1
...
Backed out changeset d5411799a28f (bug 1311244)
Backed out changeset ff9c71e1dbc8 (bug 1311244)
Backed out changeset 96988ec5b81c (bug 1311244)
Backed out changeset 9d257713833a (bug 1311244)
Backed out changeset 2c33905ccb04 (bug 1311244)
Backed out changeset 20148e33d523 (bug 1311244)
Backed out changeset f36cd1532fdb (bug 1311244)
Backed out changeset 2ee4ea83a6b4 (bug 1311244)
2017-01-08 21:11:25 -08:00
Ting-Yu Lin
6025636ca4
Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
...
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.
The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'
MozReview-Commit-ID: A8xTSPgh8Ls
2017-01-06 16:34:33 +08:00