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
5256d6f706
Bug 1288626 Part 7 - Rename StyleClipShapeSizing to StyleClipPathGeometryBox. r=heycam
...
Change to geometry box to match the name in the spec.
https://drafts.fxtf.org/css-masking-1/#the-clip-path
MozReview-Commit-ID: 8jDTynCkJ4A
2016-07-28 13:45:43 +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
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
c3dd18c64e
Bug 1288812 - Part 1. Serialize just the fragment for local urls. r=heycam
...
MozReview-Commit-ID: 7FQ5hXgG3gg
2016-08-06 06:51:44 +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
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
Carsten "Tomcat" Book
5cdad09e24
Merge mozilla-central to mozilla-inbound
2016-07-29 12:34:10 +02: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
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
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
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
Ting-Yu Lin
10912a51e3
Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename nsHTMLReflowState ReflowInput
MozReview-Commit-ID: 9r9vdVv1pXc
2016-07-21 18:36:35 +08:00
Ting-Yu Lin
216cc0ba39
Bug 1277129 Part 1b - Rename nsHTMLReflowState.h/cpp to ReflowInput.h/cpp and fix #includes. r=dbaron
...
The #includes are fixed by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsHTMLReflowState\.h" "mozilla\/ReflowInput\.h"
MozReview-Commit-ID: FjwHA4YRHNv
2016-07-21 18:36:34 +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
cku
51c23bf1e0
Bug 1286299 - Fix getComputedStyle value of a local URI mask-image. r=dholbert
...
MozReview-Commit-ID: 9gXE4bQrMTG
2016-07-13 22:08:33 +08:00
Brad Werth
3a43ab0c26
Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats
2016-07-07 11:38:12 -07:00
Carsten "Tomcat" Book
01cccf1928
Backed out changeset e98d1ac584d6 (bug 1241932)
2016-07-06 05:59:52 +02:00
Brad Werth
c553a45f33
Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats
2016-07-05 13:35:52 -07: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
Kyle Zentner
528f210152
Bug 1166728 - Remove support for "box-sizing: padding-box", per CSS WG resolution. r=dholbert r=mats
...
MozReview-Commit-ID: JClqoCUrm11
2016-06-18 23:03:30 +01:00
Astley Chen
f691419a15
Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
...
MozReview-Commit-ID: 7GIjtUH9hdZ
2016-06-16 13:35:43 +01:00
Astley Chen
ca13d10ee9
Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
...
MozReview-Commit-ID: KrSHLbmovTM
2016-06-16 13:14:08 +01: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
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
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
Ting-Yu Lin
8b56b9553d
Bug 1274835 - Refactor code to process basic shape from clip-path. r=heycam
...
This can be used in the implementation of shape-outside.
MozReview-Commit-ID: C7bd4D2Kwpm
2016-05-22 20:41:19 +08:00
Xidorn Quan
59e42a1031
Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
...
MozReview-Commit-ID: K3uFwojy6FZ
2016-05-10 18:44:05 +10: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
Ryan VanderMeulen
32bd5582e6
Backed out changesets 4e949692600a and 6f7ecae8e663 (bug 1269976) for bustage.
2016-05-09 23:58:49 -04:00
Xidorn Quan
eab81e400b
Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
...
MozReview-Commit-ID: K3uFwojy6FZ
2016-05-10 13:36:25 +10: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
Markus Stange
ccb436a498
Bug 550426 - Add support for {background,mask}-position-{x,y}, computed style additions. r=dbaron
...
MozReview-Commit-ID: 5GSsS7EYwfB
2016-04-21 20:23:02 -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
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
fe03743b6b
Bug 550426 - Add support for {background,mask}-position-{x,y}, computed style additions. r=dbaron
...
MozReview-Commit-ID: 5GSsS7EYwfB
2016-04-21 20:23:02 -04:00
Markus Stange
f6b7c79b01
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
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