Commit Graph

936 Commits

Author SHA1 Message Date
Ethan Lin
005fa0580d Bug 1275957 - Part 1. Apply space property to gradient. r=mstange 2016-06-02 02:09:00 +02:00
Kartikaya Gupta
f5e6d432a7 Bug 1275604 - Ensure that we schedule a paint if the touch-action property changes. r=tnikkel
MozReview-Commit-ID: Jy10Qa2JpSE
2016-06-01 13:13:14 -04: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
Jet Villegas
8425b3addc Bug 1273455: Let CSS Image surface caches expire, rather than immediately discarding. r=seth 2016-07-19 13:29:21 +08: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
e18b390d40 Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
MozReview-Commit-ID: IIOT9jq8hOl
2016-05-23 11:26:03 +08: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
Keith Yeung
9a712653ce Bug 1273424 - Rename -moz-float-edge constants to be more consistent with keywords. r=bholley 2016-05-18 11:07:46 -07:00
Cameron McCormack
3bb5936996 Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack
837905243a Bug 1271510 - Part 2: Improve nsStyleOutline::CalcDifference to make better use of mActualOutlineWidth. r=dholbert 2016-05-11 14:03:34 +10: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
Xidorn Quan
90f7282451 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen
39f3eff072 Backed out 4 changesets (bug 1269975) for bustage.
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04:00
Xidorn Quan
38e4a7340d Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI
2016-05-10 13:36:25 +10: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
Bobby Holley
4bab2201c8 Bug 1269901 - Remove mCachedMargin. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley
d6afd769d3 Bug 1269901 - Remove mCachedPadding. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley
57c715b61d Bug 1269901 - Refactor Helpers. r=dbaron 2016-05-04 16:56:17 -07:00
Markus Stange
feefd17b7e Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO
2016-04-28 13:01:22 -04:00
Ting-Yu Lin
e5da56b407 Bug 1267524 followup - Revert list-initialization for array in Part 19. r=me
This revert the new C++11 syntax used in Part 19. which should fix build
errors for msvc 2013.
https://msdn.microsoft.com/en-us/library/9f53ks1w.aspx
2016-05-04 13:35:21 +08:00
Phil Ringnalda
a821e6f3f5 Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
CLOSED TREE

Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Markus Stange
4b2612a531 Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO
2016-04-28 13:01:22 -04:00
Ting-Yu Lin
be898b098c Bug 1267524 Part 19 - Move nsStyleCoord members to initializer list. r=heycam
MozReview-Commit-ID: BOjeQGlCbV9
2016-05-03 17:26:30 +08:00
Ting-Yu Lin
7927fd60d2 Bug 1267524 Part 18 - Remove "void" from zero argument functions. r=heycam
MozReview-Commit-ID: GW6RsdgcC1j
2016-05-03 17:26:30 +08:00
Ting-Yu Lin
d9685c5669 Bug 1267524 Part 17 - Use member initializer list for nsStyleVariables. r=heycam
MozReview-Commit-ID: Ag7VZKgrNf3
2016-05-03 17:26:30 +08:00
Ting-Yu Lin
5d61dfa381 Bug 1267524 Part 16 - Use member initializer list for nsStyleUIReset. r=heycam
MozReview-Commit-ID: 58XpFZLLskk
2016-05-03 17:26:30 +08:00
Ting-Yu Lin
c85cb15b39 Bug 1267524 Part 15 - Use member initializer list for nsStyleUserInterface. r=heycam
MozReview-Commit-ID: KqSikZnyKd0
2016-05-03 17:26:30 +08:00
Ting-Yu Lin
89ae3efce7 Bug 1267524 Part 14 - Use member initializer list for nsStyleText. r=heycam
MozReview-Commit-ID: 2akpRSE1Kkv
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
156ea3cddb Bug 1267524 Part 13 - Use member initializer list for nsStyleTextReset. r=heycam
MozReview-Commit-ID: GqlFSXXCSZ9
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
a531648c66 Bug 1267524 Part 12 - Use member initializer list for nsStyleContent. r=heycam
MozReview-Commit-ID: L7kQDKfAOVb
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
fffb42c50d Bug 1267524 Part 11 - Use member initializer list for nsStyleVisibility. r=heycam
MozReview-Commit-ID: I8YHela8U4Z
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
fd34da0d89 Bug 1267524 Part 10 - Use member initializer list for nsStyleDisplay. r=heycam
MozReview-Commit-ID: 2tW9RYNTOMD
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
1eb99440d8 Bug 1267524 Part 9 - Use member initializer list for nsStyleColor. r=heycam
MozReview-Commit-ID: 61fklP4Ojev
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
ee2c612a80 Bug 1267524 Part 8 - Use member initializer list for nsStyleTableBorder. r=heycam
MozReview-Commit-ID: DO40OraGWoj
2016-05-03 17:26:29 +08:00
Ting-Yu Lin
03a9e41b65 Bug 1267524 Part 7 - Use member initializer list for nsStyleTable. r=heycam
MozReview-Commit-ID: 4WUjx8rONVt
2016-05-03 17:26:28 +08:00
Ting-Yu Lin
23131600f9 Bug 1267524 Part 6 - Use member initializer list for nsStylePosition. r=heycam
MozReview-Commit-ID: En2yLFd0WGs
2016-05-03 17:26:28 +08:00
Ting-Yu Lin
adf9644f2f Bug 1267524 Part 5 - Use member initializer list for nsStyleSVGReset. r=heycam
MozReview-Commit-ID: 8Lzhifb6uir
2016-05-03 17:26:28 +08:00
Ting-Yu Lin
656adc96dc Bug 1267524 Part 4.2 - Use member initializer list for nsStyleSVG. r=heycam
In the initializer list of the copy constructor, mStrokeDasharray and
mStrokeDasharrayLength are both initialized to nullptr and 0
respectively. If aSource.mStrokeDasharray has value, they're further be
set to proper values later in the function body. In this way, the two
'else' clauses can be removed.

MozReview-Commit-ID: DGybV7zFcyo
2016-05-03 17:26:28 +08:00
Ting-Yu Lin
5fa42a9324 Bug 1267524 Part 4.1 - Add Reset() and rewrite methods for nsStyleSVGPaint. r=heycam
Eliminate the explicit destructor / placement new calls in SetType().

MozReview-Commit-ID: 1CtjX1AEbFR
2016-05-03 17:26:27 +08:00
Ting-Yu Lin
1757ed259c Bug 1267524 Part 3 - Use member initializer list for nsStyleColumn. r=heycam
MozReview-Commit-ID: 8xvVUe9QaRF
2016-05-02 11:11:45 +08:00
Ting-Yu Lin
1092cfe1d5 Bug 1267524 Part 2 - Use member initializer list for nsStyleXUL. r=heycam
MozReview-Commit-ID: FHb0yTvYAXR
2016-05-02 11:11:45 +08:00
Ting-Yu Lin
dddcaa3c0b Bug 1267524 Part 1 - Use member initializer list for nsStyleOutline. r=heycam
mCachedOutlineWidth was not initialized. I set it to 0.

MozReview-Commit-ID: fqaoZj1iMm
2016-05-02 11:11:45 +08:00
Phil Ringnalda
65d27cf8fc Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
e51736e71a Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO
2016-04-28 13:01:22 -04:00
Markus Stange
e3f2c79921 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv
2016-04-29 14:12:10 -04:00