cku
690ab041c6
Bug 1234485 - Part 6. Implement nsStyleImageLayers::operator=. r=mstange
...
nsStyleImageLayers::operator= is required by the next patch.
MozReview-Commit-ID: CE1j2qW9TIY
--HG--
extra : rebase_source : ef2c5548e11f8d53824fe47400c79f6f90f1b1ed
2016-11-07 22:32:15 +08:00
Phil Ringnalda
7c7dd328d1
Backed out 3 changesets (bug 1271765) for -Werror bustage
...
CLOSED TREE
Backed out changeset 235ea1c681db (bug 1271765)
Backed out changeset 02d34b18d76b (bug 1271765)
Backed out changeset 088113647629 (bug 1271765)
2016-11-07 18:51:18 -08:00
Ray Lin
01a64b4413
Bug 1271765 - Part 1: Remove XUL-specific reflow code of video control. r=dholbert
...
MozReview-Commit-ID: KFn3ga2Uqq2
--HG--
extra : rebase_source : 09c9b06d40cb199114ca6777cdc992a04fb4d6eb
2016-10-12 13:41:50 +08:00
Phil Ringnalda
a7bc94158c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: H4VKCYDq5cD
--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
53d83db2ee
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/style. r=RyanVM
...
MozReview-Commit-ID: 6ivU1MPu8dU
--HG--
extra : rebase_source : 2b37dc5b88bd76f633c98c4e7a1553f66f057f0e
2016-11-05 11:29:20 +01:00
Boris Zbarsky
5c0257a736
Bug 1315368. Back out changeset bf190e326bfd (bug 790997) because what it implements doesn't actually follow the CSS syntax editor's draft and breaks some sites in the process. r=dbaron
2016-11-05 00:23:16 -04:00
Frederik Braun
61b919525e
Bug 1312272 - Marquee event handlers to adhere CSP. r=smaug
...
MozReview-Commit-ID: 6MxGnFAIhMP
--HG--
extra : histedit_source : 592bae3f50983d107169811411ab444d5efa3f22
2016-11-04 22:54:59 -04:00
Mats Palmgren
ab344ac072
Bug 1313254 part 1 - [css-align] Change "baseline|last-baseline" to "[ first | last ]? baseline". r=dholbert
2016-11-05 02:57:07 +01:00
Phil Ringnalda
0f32b67e2d
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Xidorn Quan
fe23eb51ba
Bug 1314531 - Disallow xul tree pseudo-elements with user action pseudo-classes. r=heycam
...
MozReview-Commit-ID: 85DDwDl0oYg
--HG--
extra : rebase_source : 815ac13a1991c0b155e8a78739ba346dbe2110b0
2016-11-03 11:21:19 +11:00
Phil Ringnalda
393b414467
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Xidorn Quan
f9aa28d18d
Bug 1294299 part 12 - Implemnet setter of properties. r=SimonSapin,heycam
...
MozReview-Commit-ID: 4tGUowsn6AK
--HG--
extra : source : 5d3d948883bac4624a62382d04e2cc036acb3525
2016-11-03 14:41:02 +11:00
Xidorn Quan
73635714ed
Bug 1294299 part 11 - Implement getting and removing property. r=SimonSapin,heycam
...
MozReview-Commit-ID: 4xvfXR8mkfN
--HG--
extra : source : 97da71dbf3666dd5eaf4f568c1e2a13b603fd6fa
2016-11-03 14:41:02 +11:00
Xidorn Quan
c5a5be01aa
Bug 1294299 part 10 - Implement DeclarationBlock.EnsureMutable. r=heycam
...
MozReview-Commit-ID: KpaypyY5moC
--HG--
extra : source : abf407828f1272475d7765064dd9f6c654f16079
2016-11-03 14:41:02 +11:00
Xidorn Quan
3196565e73
Bug 1294299 part 9 - Implement Clone for ServoDeclarationBlock. r=heycam
...
MozReview-Commit-ID: 5y2h26j87Sz
--HG--
extra : source : 2e09860b35c9ab89fe959f9c6895a793858c4fee
2016-11-03 14:41:02 +11:00
Xidorn Quan
5e29805363
Bug 1294299 part 8 - Refactor interface provided by css::Declaration. r=heycam
...
The main targets of this refactor are:
1. Move most of the logic of distinguishing properties and custom
properties from nsDOMCSSDeclaration into css::Declaration, which
gives ServoDeclarationBlock more flexibility to implement.
2. Rename those methods of css::Declaration to provide a clear interface
which makes sense for implementing in ServoDeclarationBlock, and also
avoid method overload, which can impede the forward macro, on them.
MozReview-Commit-ID: 2cCqF855TVK
--HG--
extra : source : 3837e1e558caac4f2901e838371e97c17821530e
2016-11-03 14:41:02 +11:00
Xidorn Quan
fd4ecd1066
Bug 1294299 part 7 - Generate static atoms for CSS properties. r=emilio,heycam
...
MozReview-Commit-ID: FCjbgKagQO1
--HG--
extra : source : aaa46ff4380bb5aecc9c2a7509323b395f4f4935
2016-11-03 14:41:02 +11:00
Xidorn Quan
ec88449c05
Bug 1294299 part 6 - Change ident of float property to float_. r=heycam
...
MozReview-Commit-ID: 9w57lJhNQKy
--HG--
extra : source : 14393c1e79f4ffefdd1a723639ea062322c3aa8c
2016-11-03 14:41:02 +11:00
Xidorn Quan
d1d1109e6f
Bug 1294299 part 5 - Implement getter and setter of cssText. r=heycam
...
MozReview-Commit-ID: Bho5PKtrT1I
--HG--
extra : source : 6db28f1d25c87fbc26125ab0a7d88d71c1a2a8ba
2016-11-03 14:41:02 +11:00
Xidorn Quan
20238e1d4c
Bug 1294299 part 4 - Implement length and item getter. r=SimonSapin,heycam
...
MozReview-Commit-ID: IQs8Wjdsi1r
--HG--
extra : source : f1550376915d299d3aef5025107785d458788e9d
2016-11-03 14:41:02 +11:00
Xidorn Quan
92119e2034
Bug 1294299 part 3 - Make it possible to create empty ServoDeclarationBlock. r=heycam
...
MozReview-Commit-ID: FSdSXDFoxM
--HG--
extra : source : 47bdaffadab2dca8be8b6e49c7decf8ef02ea1e5
2016-11-03 14:41:02 +11:00
Xidorn Quan
60ba3c835d
Bug 1294299 part 2 - Use DeclarationBlock for SMIL override style. r=heycam
...
MozReview-Commit-ID: 573o5vmC81z
--HG--
extra : source : c284764640e86b9bf63f976b79aa66252f8b635d
2016-11-03 14:41:02 +11:00
Xidorn Quan
df85c99c08
Bug 1294299 part 1 - Make nsDOMCSSDeclaration use DeclarationBlock. r=heycam
...
MozReview-Commit-ID: B2eHrpxOMJ8
--HG--
extra : source : 1fb048c40e848189bc31f5309d4f85b6101975c2
2016-11-03 14:41:02 +11:00
Cameron McCormack
e627525329
Bug 1310463 - Part 3: Add FFI functions for setting list-style-image. r=xidorn
...
MozReview-Commit-ID: LNK4UbfMfRk
2016-11-03 09:40:53 +08:00
Cameron McCormack
c0a347f7d0
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
0eb23cdd2c
Bug 1310463 - Part 1: Make list-style-image use nsStyleImageRequest for storage. r=xidorn
...
MozReview-Commit-ID: ENTo2HNbBpN
* * *
[mq]: x
MozReview-Commit-ID: 2SNJ4bXYpTH
2016-11-03 09:40:53 +08:00
Wes Kocher
df5dbf81cc
Merge central to inbound a=merge
2016-11-02 17:31:08 -07:00
Cameron McCormack
86283397d9
Bug 1288302 - Part 6: Add FFI function to set nsStyleImageRequest values. r=xidorn
...
MozReview-Commit-ID: 448vAeDiKX7
2016-11-02 16:58:32 +08:00
Cameron McCormack
356666065d
Bug 1288302 - Part 5.1: Merge Track and Lock flags so we don't set them together. r=xidorn
...
MozReview-Commit-ID: ASSWXvsczvc
2016-11-02 16:58:32 +08:00
Cameron McCormack
32c930ba08
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
642cdb8e14
Bug 1288302 - Part 4: Perform final main thread work on style structs sourced from ServoComputedValues. r=xidorn
...
MozReview-Commit-ID: D6nQQ3yI4sx
2016-11-02 16:58:32 +08:00
Cameron McCormack
195dbb2d2a
Bug 1288302 - Part 3: Add nsStyleImageRequest. r=xidorn,bholley
...
MozReview-Commit-ID: F763Dv0Nfzp
2016-11-02 16:58:31 +08:00
Cameron McCormack
2c0304b286
Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
...
MozReview-Commit-ID: AsGfXliHLRf
2016-11-02 16:58:31 +08:00
Cameron McCormack
d4de8fe94d
Bug 1288302 - Part 1: Make css::ImageValue constructable OMT. r=xidorn
...
MozReview-Commit-ID: 9J2E7VrCWJ1
2016-11-02 16:58:31 +08:00
Boris Chiou
af2940b110
Bug 1286150 - Part 5: Implement shape distance for inset. r=hiro
...
MozReview-Commit-ID: 4C2uZp9qM3D
--HG--
extra : rebase_source : 2ba906355c383b5bb7c1854279c5046806d892b5
2016-10-27 15:34:06 +08:00
Boris Chiou
3a56bfea8a
Bug 1286150 - Part 4: Implement shape distance for polygon. r=hiro
...
MozReview-Commit-ID: BONxNhUrQsF
--HG--
extra : rebase_source : 2d4282f9ee5eb6dcdad9d23eba2eebd6ad75fa9e
2016-10-26 17:32:18 +08:00
Boris Chiou
f1a58e35b3
Bug 1286150 - Part 3: Implement shape distance for circle and ellipse. r=hiro
...
MozReview-Commit-ID: EX4C4IM0nVx
--HG--
extra : rebase_source : f02f32845d11755d7821176875157affb8e1cb16
2016-10-14 16:28:16 +08:00
Boris Chiou
fca40f4d14
Bug 1286150 - Part 2: Support difference restrictions on AddShapeFunction. r=hiro
...
We want to reuse AddShapeFunction for calculating the distance, so add
one more argument to enable/disable the default restrictions, so we can
reuse AddShapeFunction to get the differences, which may be negative values,
between two shape functions.
MozReview-Commit-ID: FgzOnPzyyAQ
--HG--
extra : rebase_source : e2ee1267100ef02a43131366eef9d46fc2f63ebe
2016-10-26 18:01:41 +08:00
Boris Chiou
360bd35d49
Bug 1286150 - Part 1: Simplify AddTransformTranslate and reuse AddCSSValuePixelPercentCalc. r=hiro
...
Two things in this patch:
1. Move AddCSSValuePixelPercentCalc to the position above AddTransformTranslate.
2. Simplify AddTransformTranslate, i.e. re-use the same switch case of
AddCSSValuePixelPercentCalc.
MozReview-Commit-ID: BMEpkOHDoaT
--HG--
extra : rebase_source : 591da977266c5be01fdb5f27aa11e26f94fc6060
2016-10-14 15:22:45 +08:00
Phil Ringnalda
021e8e0cee
Merge m-i to m-c, a=merge
2016-10-30 10:55:00 -07:00
Tobias Schneider
5b2ef3c1db
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-28 10:24:00 -04:00
Ryan VanderMeulen
a41f7d1058
Merge autoland to m-c. a=merge
2016-10-29 09:12:45 -04:00
Mats Palmgren
0ec09712ad
Bug 1305244 part 2 - [css-grid] Represent single-value <flex> track sizes as minmax(auto, <flex>) internally. r=dholbert
2016-10-29 01:30:10 +02:00
Mats Palmgren
f7d882a41c
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
df1be83258
Bug 1308963 - Part 4. Correct initial value of mask-position in property_database.js r=xidorn
...
MozReview-Commit-ID: 9BUNMX8zw5r
--HG--
extra : rebase_source : 724c6061b7c456cf439c27c52a19ac4f478a5f8a
2016-10-13 23:25:00 +08:00
cku
705996b473
Bug 1308963 - Part 3. Set initial value of mask-position as (0, 0). r=xidorn
...
MozReview-Commit-ID: DN7q6FrGEMA
--HG--
extra : rebase_source : 294089f79d6925d4c47202b95e270b152054f1e7
2016-10-13 23:13:11 +08:00
cku
97f3d4a519
Bug 1308963 - Part 2. Correct initial value of mask-repeat in property_database.js. r=xidorn
...
MozReview-Commit-ID: KJOZppT48xS
--HG--
extra : rebase_source : de70784ba77ccc8efd4d255d3a7fc7c97f39ac59
2016-10-13 23:04:55 +08:00
cku
412846baa6
Bug 1308963 - Part 1. Set initial value of mask-repeat as repeat. r=xidorn
...
MozReview-Commit-ID: 8VrPiEyKF4n
--HG--
extra : rebase_source : 0203bbfbee0e2622285e4af498553fbec63c4d62
2016-10-13 22:57:10 +08:00
Adam Velebil
33caf18ccc
Bug 1313565 - Convert NS_STYLE_ORIENT_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: LHT6Aa2ojlf
--HG--
extra : rebase_source : cad726aee8e14d7ae60b899a76fcd26edb608507
2016-10-28 06:17:20 +02:00
Adam Velebil
389406c473
Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: 7I7Z4q7mLtC
--HG--
extra : rebase_source : 23ce3fddb26424aa42aea93cfdf6fc123926fe18
2016-10-29 10:51:05 +02:00