cku
f008efa984
Bug 1295065 - Fix assertion failure at FragmentOrURL::SetValue after enabling mask-as-shorthand. r=heycam
...
MozReview-Commit-ID: AUySGzzqjQo
2016-08-15 12:00:03 +08:00
Emilio Cobos Álvarez
28c92a0716
Bug 1292930: Handle the case of having unresolved URIs in nsStyleDisplay::mBinding. r=heycam
...
This handles the case of the URIs not being resolved during stylo's parallel
traversal.
MozReview-Commit-ID: ExYsFbeaYWo
2016-08-16 16:10:16 -07:00
cku
70f5971663
Bug 1295062 - Fix mask-position initial value in nsRuleNode::ComputeSVGResetData. r=astley,heycam
...
MozReview-Commit-ID: EvbSdG0xLtV
2016-08-15 15:33:03 +08:00
Manish Goregaokar
573a62e695
Bug 1295895 - Correctly capitalize StyleFillRule; r=heycam
...
MozReview-Commit-ID: ZfHrllA9QV
2016-08-17 12:13:26 +05:30
Ravi Shankar
62a1eae26d
Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
...
MozReview-Commit-ID: IcDt3XYvdlj
2016-08-10 21:42:21 +05:30
cku
28e97be99a
Bug 1277788 - Part 1. Set initial value of mask-position as center. r=dbaron.
...
MozReview-Commit-ID: BflQ6tz8ZjM
2016-08-10 16:10:45 +08:00
Ting-Yu Lin
d42431d103
Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
...
MozReview-Commit-ID: 4K6TyIm6cs3
2016-08-09 17:32:54 +08:00
cku
52de163e38
Bug 1258623 - Set initial value of mask-repeat as no-repeat. r=dbaron
...
MozReview-Commit-ID: 4VgvRXdVL2F
2016-07-18 17:02:58 +08:00
Ting-Yu Lin
1bcd857cd6
Bug 1288626 Part 8 - Add shape-outside support to style system. r=heycam
...
I have to move the definition of StyleBasicShape and StyleShapeSource prior to
where nsStyleDisplay::mShapeOutside is defined since the template struct need to
be fully defined before using as a member variable.
Use SetIdent() in CreatePrimitiveValueForBasicShapeOrURL() in
nsComputedDOMStyle.cpp per bug 1288626 comment 6.
MozReview-Commit-ID: 1KZS299CFul
2016-07-22 15:40:01 +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
608464ed2b
Bug 1291280 - Part 2. Declare nsStyleImageLayers::Layer::mSourceURI as FragmentOrURI r=heycam
...
MozReview-Commit-ID: 6KFb7MjlLqj
2016-08-06 06:38:44 +08:00
cku
e71c384e15
Bug 1291280 - Part 1. Move the definition of FragmentOrURL up. r=heycam
...
MozReview-Commit-ID: 3TtUtnE2ZBh
2016-08-06 06:16:50 +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
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
Jonathan Chan
fea3e20501
Bug 1290269 - Add missing includes to nsStyleStruct.cpp. r=dholbert
...
MozReview-Commit-ID: 1dsnqyvAanr
2016-07-28 14:51:12 -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
Daisuke Akatsuka
42a2970b44
Bug 1264865 - Part 2: Remove trailing whitespaces. r=birtles
...
MozReview-Commit-ID: AFdXnvmbFfD
2016-07-27 10:13:04 +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
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