Nicholas Nethercote
177f76c5cc
Bug 1298722 - Use MOZ_MUST_USE in StyleAnimationValue. r=birtles.
2016-08-30 16:10:59 +10:00
Neerja Pancholi
6ae194574b
Bug 1295271 - Remove all _moz_ prefixes from all instances of _moz_column r=dbaron
...
Command used:
find -E ./* -iregex '.*(\.cpp|\.h)' | xargs egrep -l '.*_moz_column.*' | xargs sed -i '' 's/_moz_column/column/g'
MozReview-Commit-ID: CJbSfDfhmle
2016-08-30 17:21:03 -07:00
tlin@mozilla.com
ac64370cdb
Bug 1295084 Part 4 - Rename Position::PositionCoord to Position::Coord. r=dholbert
2016-08-25 09:59:51 +00:00
tlin@mozilla.com
299b487db0
Bug 1295084 Part 3 - Move nsStyleImageLayers::Position to mozilla::Position. r=dholbert
2016-08-25 09:59:51 +00:00
Hiroyuki Ikezoe
e1cd17f477
Bug 1294614 - Part 3: Add DiluteColor(). r=dholbert.
...
MozReview-Commit-ID: A82Oesv8aor
2016-08-26 09:10:25 +09:00
Hiroyuki Ikezoe
acb9e107bf
Bug 1294614 - Part 2: Factor out AddWeightedColors. r=dholbert
...
MozReview-Commit-ID: 2DhPWr7tRA1
2016-08-26 09:10:25 +09:00
Sebastian Hengst
94b187bdc0
Backed out changeset e262963372ae (bug 1294614)
2016-08-25 13:45:09 +02:00
Sebastian Hengst
a38cc88799
Backed out changeset ac729cd10150 (bug 1294614)
2016-08-25 13:45:05 +02:00
Hiroyuki Ikezoe
275c389ccf
Bug 1294614 - Part 3: Add DiluteColor(). r=dholbert.
...
MozReview-Commit-ID: AKfVLgeN9ZO
2016-08-25 09:27:42 +09:00
Hiroyuki Ikezoe
eded258923
Bug 1294614 - Part 2: Factor out AddWeightedColors. r=dholbert
...
MozReview-Commit-ID: HdmrI1S7BGE
2016-08-25 09:08:34 +09:00
Jonathan Chan
e201b93c16
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
2016-08-16 18:37:48 -07:00
Gregory Szorc
3bcd02ebea
Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
...
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.
CLOSED TREE
2016-08-16 17:50:40 -07:00
Wes Kocher
bb9e0744e6
Merge inbound to central, a=merge
...
a=release to get around the webidl hook for a comment-only change
2016-08-16 17:05:30 -07:00
Daisuke Akatsuka
98346869c2
Bug 1277433 - Part 7: Remove eStyleAnimType_EnumU8 related codes. r=birtles
...
MozReview-Commit-ID: nVN8r0QK4u
2016-08-16 14:30:16 +09:00
Daisuke Akatsuka
4edb206914
Bug 1277433 - Part 5: Replace eStyleAnimType_EnumU8 to eStyleAnimType_Discrete. r=birtles
...
MozReview-Commit-ID: IeQQ9rdcWD2
2016-08-16 14:30:16 +09:00
Daisuke Akatsuka
f2b0e52be2
Bug 1277433 - Part 1: Use discrete animation for appropriate CSS Alignment properties. r=dholbert,heycam
...
MozReview-Commit-ID: BHtzuwJOuB5
2016-08-16 14:29:21 +09:00
Jonathan Chan
23ccd0531f
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
2016-08-09 16:28:19 -07:00
cku
a46372a5ca
Bug 1269990 -Refuse to interpolate when animating between clip-path shape values that have different reference boxes. r=dholbert
...
MozReview-Commit-ID: JzWestyfGoT
2016-08-08 18:13:42 +08:00
Ting-Yu Lin
db41f5c015
Bug 1288626 Part 6 - Generalize StyleClipPath to be template struct StyleShapeSource. r=heycam
...
The only difference between clip-path and shape-outside is the reference box
enum, so I generalize StyleClipPath to be a template struct StyleShapeSource to
accommodate both. I'll have to move all the method definition to the header to
make the linker happy.
The only logic change is calling operator==() instead of EqualURIs to compare
urls in StyleShapeSource::operator==().
MozReview-Commit-ID: LOBGVVpnnB
2016-08-04 13:43:08 +08:00
Ting-Yu Lin
0a01c9eca4
Bug 1288626 Part 5 - Rename StyleClipPathType to StyleShapeSourceType. r=heycam
...
StyleClipPathType will be generalized to StyleShapeSourceType to match this
change.
MozReview-Commit-ID: Igaad2EoSSt
2016-08-04 11:51:20 +08:00
Ting-Yu Lin
00dc2871aa
Bug 1288626 Part 4 - Rename nsStyleClipPath to StyleClipPath. r=heycam
...
MozReview-Commit-ID: 2iT4elvtTGd
2016-07-28 10:29:33 +08:00
Ting-Yu Lin
403c83e1f8
Bug 1288626 Part 3 - Rename nsStyleBasicShape to StyleBasicShape. r=heycam
...
MozReview-Commit-ID: 9NUKpZ4s4kG
2016-07-27 18:14:36 +08:00
Ting-Yu Lin
f4871b826d
Bug 1288626 Part 2 - Use basic shape enum class defined in nsStyleConsts.h. r=heycam
...
Rename StyleBasicShape to StyleBasicShapeType in nsStyleConsts.h, and
replace the old enum nsStyleBasicShape::Type by the enum class
StyleBasicShapeType.
Also, replace NS_ASSERTION() by MOZ_ASSERT().
MozReview-Commit-ID: EuS4ZtYKsk6
2016-07-27 17:59:33 +08:00
cku
31c970fe69
Bug 652991 - Part 9. Using FragmentOrURL to represent PanitServer url. r=heycam
...
MozReview-Commit-ID: IZf0fGantoB
2016-07-05 01:00:15 +08:00
cku
773e94febb
Bug 652991 - Part 7. Using FragmentOrURL to represent SVG filter url. r=heycam
...
MozReview-Commit-ID: F6BpTQfC82i
2016-07-23 16:16:59 +08:00
cku
3f66d7ecff
Bug 652991 - Part 5. Using FragmentOrURL to represent SVG clippath. r=heycam
...
MozReview-Commit-ID: BErpWUQ5iQ1
2016-07-05 00:59:57 +08:00
Cameron McCormack
547ed4efcb
Bug 1290023 - Allow enum class values to be passed to other nsCSSProps methods and stored in nsCSSValue/StyleAnimationValue. r=xidorn
...
MozReview-Commit-ID: 62usVamI3GA
2016-07-29 16:18:48 +08:00
Boris Chiou
bfcdbafad5
Bug 1272475 - Part 1: Clamp max/min float value in the parser of CSS Transform function. r=heycam
...
To avoid calculate +/-infinite function value, we clamp it in the parser level.
Also, we use EnsureNotNan while calculating the interpolation for translate
function, so it's also better to do EnsureNotNan before call SetFloatValue()
while calculating the interpolation for rotate (AddCSSValueAngle) and scale
functions.
MozReview-Commit-ID: 1k19ytyNG1N
2016-07-20 15:14:05 +08:00
Manish Goregaokar
fa33e2df00
Bug 1288383 - Replace NS_STYLE_BOX_SHADOW_* and NS_STYLE_BASIC_SHAPE_* with enum classes; r=heycam
...
MozReview-Commit-ID: EgC9rPNXbod
2016-07-25 11:53:27 +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
Daniel Holbert
9da52241dd
Bug 1278463: Better-distinguish between "stroke-dasharray" keyword values vs. list values, in StyleAnimationValue.cpp. r=birtles
...
MozReview-Commit-ID: 9U4v322RIw7
2016-06-28 12:41:33 -07: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
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
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
Jonathan Watt
c5159136c4
Bug 1266868, part 3 - Avoid Maybe::ref() where not necessary. r=dholbert
2016-05-02 18:54:58 +01:00
Jonathan Watt
f7b0cabc38
Bug 1266868, part 2 - Fix leaks of the values passed to nsCSSValue::.SetPairValue in the StyleAnimationValue code. r=dholbert
2016-05-02 18:40:08 +01:00
Jonathan Watt
1da20efc5f
Bug 1266868, part 1 - Fix nsCSSValue::Array leaks in the StyleAnimationValue code. r=dholbert
2016-05-02 18:39:23 +01:00
Markus Stange
94cd9c9960
Bug 550426 - Add support for {background,mask}-position-{x,y}, StyleAnimation changes. r=dbaron
...
MozReview-Commit-ID: 8Qb0asWMgVA
2016-04-21 20:23:35 -04:00
Wes Kocher
1a290e54b0
Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
...
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)
MozReview-Commit-ID: AlUihrLtlhL
2016-04-29 14:47:43 -07:00
Markus Stange
96a62345d1
Bug 550426 - Add support for {background,mask}-position-{x,y}, StyleAnimation changes. r=dbaron
...
MozReview-Commit-ID: 8Qb0asWMgVA
***
2016-04-21 20:23:35 -04:00
CJKu
647da23a2f
Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
...
MozReview-Commit-ID: 2SfENZieSzQ
2016-04-26 23:56:44 +08:00
Jeremy Chen
753e4f7268
Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam
2016-04-23 01:40:39 +08:00
Xidorn Quan
60633d5469
Bug 1260543 - Treat currentcolor as computed value which is not interpolatable with actual color for text-emphasis-color and -webkit-text-fill-color. r=birtles
...
MozReview-Commit-ID: GUXEDHxOdNC
2016-04-08 13:43:09 +10:00
Daniel Holbert
19c2319e94
Bug 1264787: Make nsCSSValue's AdoptListValue & AdoptPairListValue methods take a UniquePtr. r=heycam
...
MozReview-Commit-ID: 94aYEtySHsW
2016-04-20 10:37:06 -07:00
Mantaroh Yoshinaga
db1fb5e7d7
Bug 1259285 - Part1 - Move CSS/Web Animations-specific visibility handling. r=birtles
...
MozReview-Commit-ID: 5ZYUhvI1cqV
2016-04-20 09:05:29 +09:00
Jonathan Watt
79f3420ee2
Bug 1110460, part 8 - Support CSS animation of clip-path basic shapes. r=dholbert
2016-04-18 23:04:20 +01:00
Jonathan Watt
3c9369f032
Bug 1110460, part 7 - Factor out code for adding two nsCSSValuePairList lists. r=dholbert
2016-04-15 13:28:32 +01:00