Commit Graph

989 Commits

Author SHA1 Message Date
cku
813a776895 Bug 652991 - Part 3. Using FragmentOrURL to represent SVG maker url. r=heycam
MozReview-Commit-ID: IQDGL7j5p1q
2016-06-24 02:11:51 +08:00
cku
3df93900f2 Bug 652991 - Part 2. Create FragmentOrURL to hold both local-ref/non-local-ref URL. r=heycam
MozReview-Commit-ID: FVPNqxk3Uyr
2016-06-18 00:02:43 +01:00
Kevin Chen
a78d1f8251 Bug 1285320 - Part 2: Purge border-image cache when hypothetical SVG viewport changes, if using SVG image with no aspect ratio. r=dholbert 2016-07-31 20:24:00 -04:00
Kevin Chen
78549b38d3 Bug 1285320 - Part 1: Add struct "CachedBorderImageData" to keep cached data for border in nsStyleImage. r=dholbert 2016-07-31 20:23:00 -04:00
Neerja Pancholi
dd25bad891 Bug 1288797 - Replace nsAutoPtr with UniquePtr in nsStyleStruct.h (for variable "mCropRect") r=dholbert
MozReview-Commit-ID: 1UFbO0jgM1k
2016-07-28 15:06:02 -07:00
Jeremy Chen
2c264512f6 Bug 1289007 - part1: parse and compute initial-letter property. r=heycam
MozReview-Commit-ID: E0eXolZ93oJ
2016-07-28 15:23:36 +08:00
Daisuke Akatsuka
ad6c07aadb Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles
MozReview-Commit-ID: Dhrco8madlz
2016-07-27 10:13:17 +09:00
Manish Goregaokar
d7eaba573c Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI
2016-07-25 11:56:40 +05:30
Manish Goregaokar
23be3f2e35 Bug 1288383 - Replace NS_STYLE_FLOAT_EDGE_* with an enum class; r=heycam
MozReview-Commit-ID: FrH5kGWeXkL
2016-07-25 11:56:05 +05:30
Manish Goregaokar
85ef694b65 Bug 1288383 - Replace NS_STYLE_CLIP_PATH_* with an enum class; r=heycam
MozReview-Commit-ID: H6nwOybonF3
2016-07-25 11:52:34 +05:30
Manish Goregaokar
f0b17743f1 Bug 1287755 - Replace NS_STYLE_CLIP_SHAPE_SIZING_* with an enum class; r=heycam
MozReview-Commit-ID: KutLb8H9JOk
2016-07-20 11:12:42 +05:30
Kartikaya Gupta
503c54171c Bug 1287185 - Disable paint skipping for scrollframes with background-attachment:local. r=mstange
MozReview-Commit-ID: GMgIyxUd20c
2016-07-15 15:56:39 -04:00
Jeremy Chen
7d21684027 Bug 906116 - part3.2.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=me
Remove unnecessary nsChangeHints used in
nsStyle*:DifferenceAlwaysHandledForDescendants. Accordingly,
nsStyle*:MaxDifference can be simplified as well.

This is a followup patch for part3.2 in Bug 906116.

MozReview-Commit-ID: GgU9xgghCO7
2016-07-07 16:58:51 +08:00
Jeremy Chen
3a882414ad Bug 906116 - part3.2: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame | (any ther bits needed) to replace
NS_STYLE_HINT_FRAMECHANGE in nsStyle*::MaxDifference.

For those nsStyle* that do not have nsChangeHint_NeutralChange in their
CalcDifference, we should be able to elimate nsChangeHint_NeutralChange from
their MaxDifference as well.

MozReview-Commit-ID: B3VJWt6gKoL
2016-07-06 13:06:14 +08:00
Jeremy Chen
20a0943c87 Bug 906116 - part1: Ensure bracing all controlled statements in nsStyleStruct.h and nsStyleStruct.cpp. r=dbaron
According to our coding style guide, we should always brace controlled
statements, even a single-line consequent of an if-else-statement. It avoids
dangling else bugs.

MozReview-Commit-ID: FT1AR5MqOGw
2016-07-06 13:06:13 +08:00
Carsten "Tomcat" Book
5b1ac6222e Backed out changeset 0f4e9c57ee8e (bug 906116) for bustage on a CLOSED TREE 2016-07-06 05:40:49 +02:00
Carsten "Tomcat" Book
10f14f2036 Backed out changeset 34c54dbb1b7d (bug 906116) 2016-07-06 05:40:07 +02:00
Jeremy Chen
54fe2d085b Bug 906116 - part3.2: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame | (any ther bits needed) to replace
NS_STYLE_HINT_FRAMECHANGE in nsStyle*::MaxDifference.

For those nsStyle* that do not have nsChangeHint_NeutralChange in their
CalcDifference, we should be able to elimate nsChangeHint_NeutralChange from
their MaxDifference as well.

MozReview-Commit-ID: B3VJWt6gKoL
2016-07-06 09:59:56 +08:00
Jeremy Chen
0478262436 Bug 906116 - part1: Ensure bracing all controlled statements in nsStyleStruct.h and nsStyleStruct.cpp. r=dbaron
According to our coding style guide, we should always brace controlled
statements, even a single-line consequent of an if-else-statement. It avoids
dangling else bugs.

MozReview-Commit-ID: FT1AR5MqOGw
2016-07-06 09:59:55 +08:00
Carsten "Tomcat" Book
44de2bdb8a Merge mozilla-central to mozilla-inbound 2016-06-30 12:46:28 +02:00
Andi-Bogdan Postelnicu
00070e9b85 Bug 1282408 - add ignore initialization check flag for |mOrigin| from Layer. r=dbaron
MozReview-Commit-ID: CFITyJ7IFlZ
2016-06-30 11:24:43 +03:00
Ting-Yu Lin
ac17f2fcc2 Bug 1282029 Part 1 - Remove superfluous access modifiers. r=dbaron
MozReview-Commit-ID: 5HRNtYECUjU
2016-06-24 17:47:32 +08:00
Cameron McCormack
b722865217 Bug 1277163 - Rename nsStyleContext* argument to Calc(Style)Difference methods to indicate it's the new style. r=dbaron
MozReview-Commit-ID: 9AvGc1tjJpx
2016-06-21 11:47:54 +10:00
Ting-Yu Lin
76df1c76cf Bug 1280647 - Rename nsStyleDisplay member mFloats to mFloat. r=dholbert
Also rename mOriginalFloats to mOriginalFloat.

MozReview-Commit-ID: COfmU34CtJU
2016-06-18 22:16:20 +01:00
cku
c8b8cf7b07 Bug 1273804 - Use nsChangeHint_RepaintFrame hint for position change of a mask layer r=heycam
MozReview-Commit-ID: 4W9Qmk6MVri
2016-06-14 12:36:01 +01:00
Jonathan Watt
9c5b8de022 Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Cameron McCormack
7493b8c1c7 Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn 2016-06-03 17:16:39 +10:00
Astley Chen
b6e6de9d4c Bug 1258286: Part 1 - add layer types to nsStyleImageLayers and layer initialization. r=heycam 2016-06-03 23:56:54 +08:00
Phil Ringnalda
a4fbaf0021 Back out bb39628ebe69 (bug 1277154) for reftest bustage in svg-glyph-objectvalue.svg
CLOSED TREE
2016-06-02 20:06:13 -07:00
Cameron McCormack
2f543743af Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn 2016-06-03 10:02:57 +10:00
Ethan Lin
005fa0580d Bug 1275957 - Part 1. Apply space property to gradient. r=mstange 2016-06-02 02:09:00 +02:00
Emilio Cobos Álvarez
f3398e090a Bug 1276085: stylo: Support creating and setting gradient stops from Servo r=heycam
MozReview-Commit-ID: Gh6CMrf1PE5
2016-06-01 10:36:15 +02:00
Carsten "Tomcat" Book
a9606b228f Backed out changeset a9db7e5634d7 (bug 1258286) for test_smilCSSFromTo.xhtml test failures 2016-06-01 08:47:06 +02:00
Astley Chen
cb5655f11f Bug 1258286: Part 1 - add layer types to nsStyleImageLayers and layer initialization. r=heycam
MozReview-Commit-ID: ENLXAEA62Bm
2016-06-01 11:00:58 +08:00
Ting-Yu Lin
669970ece8 Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray. r=heycam
MozReview-Commit-ID: 5TC8KBD5cO6
2016-05-26 14:01:58 +08:00
Bobby Holley
7cd61b1a73 Bug 1275766 - Give nsStyleQuoteValues threadsafe refcounting. r=heycam
The contents are immutable after creation and safe to destroy on any thread.
2016-05-25 22:06:43 -07:00
Bobby Holley
29e003edfe Bug 1275766 - Fix counter style assertion. r=heycam
This is backwards.
2016-05-25 22:06:41 -07:00
Mats Palmgren
607a612a69 Bug 1266268 - [css-grid] Implement <percentage> for grid gap properties. r=dholbert 2016-05-25 10:48:52 +02:00
Thomas Wisniewski
43fe8110fa Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN
2016-05-23 20:27:21 -04:00
Jeremy Chen
7f5f219f9b Bug 1273766 - part2: purge NS_SubtractHint inline. r=heycam
MozReview-Commit-ID: 1UX1wZJNnat
2016-05-23 11:26:03 +08:00
Jeremy Chen
ae9b673d54 Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
MozReview-Commit-ID: CWlyjREgoEk
2016-05-23 11:26:03 +08:00
Daniel Holbert
8c31fb1e50 Bug 1272983 part 4: Remove the "NoPercentage" getters for margin/padding, and fold their impls into the main getters. r=dbaron
a=KWierso for inbound metering

MozReview-Commit-ID: K2ScimpByn2
2016-05-20 15:06:31 -07:00
Mats Palmgren
b8a6a0174d Bug 1273705 - Add convenience methods to check if a margin is 'auto' on either side in an axis. r=dholbert 2016-05-18 13:49:32 +02:00
CJKu
b09af83810 Bug 1272970 - fix test_transitions_per_property failure; r=mstange
MozReview-Commit-ID: 9y9gT0dagDv
2016-05-15 22:39:31 +08:00
Cameron McCormack
153e493124 Bug 1271510 - Part 1: Rename nsStyleOutline::mCachedOutlineWidth to mActualOutlineWidth. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack
9030342403 Bug 1271168 - Part 1: Remove nsPresContext arg from nsStyleOutline::RecalcData. r=bholley 2016-05-08 20:22:00 +02:00
Bobby Holley
0fa557d0c8 Bug 1270515 - Avoid synthesizing temporary nsStyleCoords in nsStyleSides::ToLength. r=dbaron 2016-05-06 16:11:10 -07:00
Bobby Holley
1101406b71 Bug 1270515 - Avoid synthesizing temporary nsStyleCoords in nsStyleSides::ConvertsToLength. r=dbaron 2016-05-06 16:11:10 -07:00
Bobby Holley
c7ec5404fe Bug 1269933 - Add hooks for Servo to manipulate list-style-type. r=xidorn 2016-05-06 00:09:18 -07:00
Bobby Holley
061c639a7a Bug 1269933 - Teach CounterStyles their name and remove the string member from the style structs. r=xidorn 2016-05-06 00:09:18 -07:00