tlin@mozilla.com
299b487db0
Bug 1295084 Part 3 - Move nsStyleImageLayers::Position to mozilla::Position. r=dholbert
2016-08-25 09:59:51 +00:00
tlin@mozilla.com
b6b81459fc
Bug 1295084 Part 2 - Move two Position methods into nsStyleImageLayers. r=dholbert
2016-08-25 09:59:51 +00:00
Emilio Cobos Álvarez
85a8b5641a
Bug 1292618: Tidy up nsStyleContent's API now allocations are infallible. r=heycam
...
MozReview-Commit-ID: BrHn4RiEWeg
2016-08-19 13:17:54 -07:00
Phil Ringnalda
069e5d30dc
Backed out 5 changesets (bug 1292618) for !mImageTracked assertion failures
...
CLOSED TREE
Backed out changeset 1d767147e160 (bug 1292618)
Backed out changeset e6034e58efe4 (bug 1292618)
Backed out changeset 928dd363efa0 (bug 1292618)
Backed out changeset 8e274c66ae7f (bug 1292618)
Backed out changeset 6c347701d343 (bug 1292618)
2016-08-19 00:23:42 -07:00
Emilio Cobos Álvarez
b69b850664
Bug 1292618: Tidy up nsStyleContent's API now allocations are infallible. r=heycam
...
MozReview-Commit-ID: BrHn4RiEWeg
2016-08-18 22:16:13 -07:00
Manish Goregaokar
573a62e695
Bug 1295895 - Correctly capitalize StyleFillRule; r=heycam
...
MozReview-Commit-ID: ZfHrllA9QV
2016-08-17 12:13:26 +05:30
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
Manish Goregaokar
1a43d137cb
Bug 1295177 - Convert STYLE_FILL_RULE_* to an enum class; r=xidorn
...
MozReview-Commit-ID: HnNFNyD4oVJ
2016-08-15 21:47:04 +05:30
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
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
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