Iris Hsiao
273fb0f3c2
merge autoland to mozilla-central a=merge
2017-01-06 11:06:17 -05:00
Ting-Yu Lin
9eb2a46c79
Bug 1320014 Part 11 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. r=mats
...
Because the new function checks types, we need to change the fullCorner type
in nsComputedDOMStyle::GetEllipseRadii() and
StyleAnimationValue::ExtractComputedValue() from uint8_t to |Corner| to fix
build error.
MozReview-Commit-ID: 5NuFE3yA2QD
2017-01-05 14:59:17 +08:00
Ting-Yu Lin
9feaa919bb
Bug 1320014 Part 6 - Remove #define NS_CORNER_[TOP_LEFT/TOP_RIGHT/BOTTOM_RIGHT/BOTTOM_LEFT] r=mats
...
MozReview-Commit-ID: ERAwdxKZPf7
2017-01-04 18:15:30 +08:00
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Olli Pettay
3898f7d882
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
2017-01-03 21:47:55 +02:00
Daniel Holbert
d7f3526208
Bug 1326574: Add some needed includes/forward-declarations in layout/style, to preemptively fix unified bustage. r=xidorn
...
MozReview-Commit-ID: 2vM3aiR87T3
2016-12-31 16:10:45 -08:00
Xidorn Quan
8de7838e67
Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
...
MozReview-Commit-ID: 1n3TC3CVY7U
2016-12-30 02:03:29 +11:00
Bobby Holley
fa4099d657
Bug 1324627 - Add a special, explicit path for lazy style resolution and use it for GetComputedStyle. r=heycam
2016-12-28 15:49:12 +08:00
Phil Ringnalda
091c8b0527
Backed out changeset 5986d8880ad1 (bug 1324627) for a variety of computed style failures
...
MozReview-Commit-ID: AMTshx423hQ
2016-12-27 21:34:45 -08:00
Phil Ringnalda
9815c1cbe7
Merge m-c to m-i
...
MozReview-Commit-ID: 28f3Y4WDMFL
2016-12-27 20:38:00 -08:00
Bobby Holley
5245f35145
Bug 1324627 - Add a special, explicit path for lazy style resolution and use it for GetComputedStyle. r=heycam
...
MozReview-Commit-ID: ECnoeHYkpT
2016-12-28 11:33:18 +08:00
cku
b00f9ec88d
Bug 1311270 - Part 3. Replace {bg|mask}-origin/{bg|mask}-clip constants by StyleGeometryBox.
...
MozReview-Commit-ID: DYokhDa9fFQ
2016-11-22 15:30:01 +08:00
Ethan Lin
a4566c4e99
Bug 1303623 - Part2. Style structure changes. r=heycam
...
MozReview-Commit-ID: Lkdd5nAQRwG
2016-10-19 15:48:47 +08:00
Xidorn Quan
7749bec582
Bug 1063162 part 2 - Implement caret-color property. r=dholbert
...
MozReview-Commit-ID: DH7CX1d477R
2016-12-22 11:04:15 +11:00
Jonathan Kew
458d6a28c3
Bug 1321022 pt 4 - Implement CSS parsing of the font-variations-setting property, storing the value into nsFont. r=dholbert
2016-12-03 12:18:36 +00:00
Jeremy Chen
bf66a904c1
Bug 1320239 - use nscoord instead of nsStyleCoord for -webkit-text-stroke-width. r=heycam
...
MozReview-Commit-ID: 94fL7YgZqCl
2016-11-29 20:08:08 +08:00
Thomas Wisniewski
11bbab08f4
Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam
2016-11-24 23:23:14 -05:00
Sebastian Hengst
522acb2d7f
Backed out changeset 8a6c538cf61a (bug 943918) for failing own test tab-size-length.html on at least Windows 8 x64 opt+debug and OS X debug. r=backout
2016-11-28 00:41:19 +01:00
Thomas Wisniewski
1b2eecfd95
Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam
2016-11-24 23:23:14 -05:00
Bobby Holley
3775205e64
Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
...
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Ting-Yu Lin
7e10b6ab51
Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
...
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.
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 "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"
MozReview-Commit-ID: 9T0ORsqM6nP
2016-11-18 18:12:25 +08:00
Ting-Yu Lin
03d0c3c4c4
Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
...
This patch is written with the help of 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 "css::Side" "Side"
MozReview-Commit-ID: DPV6vivpPUp
2016-11-18 16:28:38 +08:00
Cameron McCormack
317693f39e
Bug 1310560 - Part 1: Make cursor use nsStyleImageRequest for url() value storage. r=xidorn
...
MozReview-Commit-ID: JU76TS3kxbz
2016-11-21 14:34:11 +08:00
Brad Werth
efc46abdc4
Bug 1304636 Part 2: Make GetComputedStyle report 'auto' for min-height:auto flex/grid items. r=dholbert
...
MozReview-Commit-ID: BmMvny3HePe
2016-11-17 15:41:49 -08:00
Brad Werth
a55dd18df2
Bug 1304636 Part 1: Make GetComputedStyle report 'auto' for min-width:auto flex/grid items. r=dholbert
...
MozReview-Commit-ID: 3snktoHTohq
2016-11-18 13:47:30 -08:00
Xidorn Quan
0124519d82
Bug 1294299 part 1 - Make nsDOMCSSDeclaration use DeclarationBlock. r=heycam
...
MozReview-Commit-ID: B2eHrpxOMJ8
2016-11-03 14:41:02 +11:00
Cameron McCormack
95e1ea2f0d
Bug 1310463 - Part 2: Simplify nsComputedDOMStyle::DoGetListStyleImage a little. r=xidorn
...
MozReview-Commit-ID: Kxbxu8mZcQs
2016-11-03 09:40:53 +08:00
Cameron McCormack
17a4006815
Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
...
This makes background-image, mask-image and border-image settable
from Servo.
Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null. So all of the users of
nsStyleImage now null check its result.
MozReview-Commit-ID: FMRUrC3SfOs
2016-11-02 16:58:32 +08:00
Cameron McCormack
5d59a3458e
Merge backout.
2016-11-01 08:43:23 +08:00
Cameron McCormack
1fc3436c96
Back out a0488e9c0024..5ebcedea1fa5 (bug 1288302 and bug 1310463) for Talos RSS regressions.
...
MozReview-Commit-ID: JB5uwDeO0We
2016-11-01 08:42:49 +08:00
Cameron McCormack
fe584a08c1
Bug 1310463 - Part 2: Simplify nsComputedDOMStyle::DoGetListStyleImage a little. r=xidorn
...
MozReview-Commit-ID: Kxbxu8mZcQs
---
layout/style/nsComputedDOMStyle.cpp | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
2016-10-20 08:53:45 +08:00
Cameron McCormack
b874e422c9
Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
...
This makes background-image, mask-image and border-image settable
from Servo.
Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null. So all of the users of
nsStyleImage now null check its result.
MozReview-Commit-ID: FMRUrC3SfOs
2016-10-20 08:36:25 +08:00
Mats Palmgren
364298ca2d
Bug 1305244 part 1 - [css-grid] Serialize minmax(auto, <flex>) track sizes as <flex>. r=dholbert
2016-10-29 01:30:10 +02:00
cku
42b203b91b
Bug 1308963 - Part 1. Set initial value of mask-repeat as repeat. r=xidorn
...
MozReview-Commit-ID: 8VrPiEyKF4n
2016-10-13 22:57:10 +08:00
Cameron McCormack
a9fde7344c
Bug 1298774 - Part 9: Remove FragmentOrURL. r=cjku
...
MozReview-Commit-ID: Du10tRgKtQ4
2016-10-11 14:56:12 +08:00
Cameron McCormack
433830e46c
Bug 1298774 - Part 8: Make mask-image use css::URLValueData for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: 2Xm3IP3SXK0
2016-10-11 14:56:12 +08:00
Cameron McCormack
1a1523e02c
Bug 1298774 - Part 7: Make nsStyleFilter use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: FyhH9QG9vYq
2016-10-11 14:56:12 +08:00
Cameron McCormack
0dc5a78c72
Bug 1298774 - Part 6: Make SVG marker properties use css::URLValue for storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: 8OQWmDpP7Ax
2016-10-11 14:56:11 +08:00
Cameron McCormack
7e89cd1f28
Bug 1298774 - Part 5: Make nsStyleSVGPaint use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: CkNcSxVToTL
2016-10-11 14:56:11 +08:00
Cameron McCormack
6c5d4ffa1f
Bug 1298774 - Part 4: Make ShapeStyleSource use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: CQy6ArR48Sp
2016-10-11 14:56:11 +08:00
Phil Ringnalda
3e495c57c3
Merge m-c to m-i
...
MozReview-Commit-ID: EDdoYQ8zdUw
2016-10-03 20:35:14 -07:00
Astley Chen
10c10320c9
Bug 1292447: part 4 - Get vertical-align prop resolved to computed value. r=TYLin,xidorn
...
MozReview-Commit-ID: 542KRnVAojo
2016-10-03 18:14:20 +08:00
Astley Chen
0e2595f2c7
Bug 1292447: part 3 - Get text-indent prop resolved to computed value. r=TYLin,xidorn
...
MozReview-Commit-ID: 4xp4iLzcn5S
2016-10-03 18:14:20 +08:00
Astley Chen
91185e25aa
Bug 1292447: part 2 - Get border-*-radius and outline-radius-* props value resolved to computed value. r=xidorn
...
MozReview-Commit-ID: L05tISAdu0q
2016-10-03 18:14:20 +08:00
Astley Chen
2b88b8f75a
Bug 1292447: part 1 - Get {min,max}-{width,height} prop resolved to computed value. r=TYLin,xidorn
...
MozReview-Commit-ID: JGT1A5By5Vp
2016-10-03 18:14:20 +08:00
Brad Werth
9c1fa6d6bd
Bug 1304012 -- Part 1: Don't bother resolving align-self/justify-self 'auto' value for getComputedStyle & inheritance. r=dholbert
...
MozReview-Commit-ID: 8LMn8oQhUz8
2016-09-27 14:45:51 -07:00
Brad Werth
dd331658a6
Bug 1305844 - Make most align/justify nsStylePosition members public, and remove trivial accessors. r=dholbert
2016-10-03 13:05:35 -07:00
Manish Goregaokar
f35d90e274
Bug 1311959 - Remove marker-offset; r=tromey,xidorn
...
MozReview-Commit-ID: 72Fse0z1BiY
2016-10-21 15:34:46 +05:30
Xidorn Quan
1cfc0298d4
Bug 1266621 part 5 - Convert border-color to store complex color. r=heycam
...
MozReview-Commit-ID: 19sl9f3EVgt
2016-09-27 20:16:35 +10:00
Xidorn Quan
793cd1a575
Bug 1266621 part 3 - Convert outline-color to store complex color. r=heycam
...
MozReview-Commit-ID: 70tre2pYqi3
2016-09-27 20:44:19 +10:00