Commit Graph

1056 Commits

Author SHA1 Message Date
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
Chris Peterson
6c0f810682 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
ced3db78fa Merge mozilla-central to autoland 2016-07-20 11:24:44 +02:00
Carsten "Tomcat" Book
db1afeede8 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
cku
c71c11c569 Bug 1235494 - Optimize nsStyleImageLayers::Layer::CalcDifference r=dbaron
MozReview-Commit-ID: K8lxA8S4EW2
2016-07-19 12:35:44 +08:00
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
Jeremy Chen
a8e6c93d07 Bug 1287308 - part1: replace uses of NS_STYLE_HINT_NONE with nsChangeHint(0). r=dbaron
MozReview-Commit-ID: CN66AimiuEu
2016-07-17 22:20:21 +08:00
Jeremy Chen
b2de05971d Bug 906116 - part3.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame in
nsStyle*::CalcDifference.

MozReview-Commit-ID: 85WPCyYolal
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
6cd7520c75 Backed out changeset 17d17aeec1fa (bug 906116) 2016-07-06 05:40:07 +02:00
Jeremy Chen
58f90e8029 Bug 906116 - part3.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame in
nsStyle*::CalcDifference.

MozReview-Commit-ID: 85WPCyYolal
2016-07-06 09:59:55 +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
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
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
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