Cameron McCormack
bc2ee20052
Bug 1319982 - Move Servo_GetStyleVariables definition to the Servo side. r=manishearth
...
MozReview-Commit-ID: roXO95icic
2016-11-25 09:41:41 +08:00
Carsten "Tomcat" Book
61849e269d
merge mozilla-inbound to mozilla-central a=merge
2016-11-24 16:41:59 +01:00
Cameron McCormack
5cd7f5c288
Bug 1319336 - Add some assertions and early returns to animation code to make stylo tests progress further. r=birtles
...
MozReview-Commit-ID: 14rghu0zYG1
2016-11-24 12:45:51 +08:00
Ting-Yu Lin
754b6c9659
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
--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Ting-Yu Lin
c9cfd878cb
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
--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Ting-Yu Lin
3a4c674931
Bug 1317588 Part 1 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h. r=mats
...
Make them live with the definition of enum Side.
MozReview-Commit-ID: 5uJPxFPOj79
--HG--
extra : rebase_source : 566f1a680ae85b61b1af0f643f59a4d1ac7472d3
2016-11-18 15:25:33 +08:00
Boris Chiou
f045a91867
Bug 1317178 - Pass the property name to Servo_DeclarationBlock_SerializeOneValue. r=birtles
...
In order to use single_value_to_css() in
Servo_DeclarationBlock_SerializeOneValue(), we need to pass the property name
and a flag for custom properties.
MozReview-Commit-ID: 5HfI2qOmPwP
--HG--
extra : rebase_source : 968468b3c9313c4ec3007ee9883075c8fc4ab769
2016-11-22 19:18:18 +08:00
Xidorn Quan
934b500aa8
Bug 1319994 - Use NS_ERROR for not-implemented CSS rules. r=heycam
...
MozReview-Commit-ID: 9E1ThQuqBf1
--HG--
extra : rebase_source : be254d83da1f1969f26b5e1f92a6df72323c7202
2016-11-24 16:28:28 +11:00
Astley Chen
438b9ab220
Bug 1270406 - Remove :-moz-dir support. r=xidorn
...
MozReview-Commit-ID: HRBj6YF4hZS
--HG--
extra : rebase_source : 6375c14e9f2a79d3d84c8e929569fc818b137762
2016-11-22 23:05:18 +08:00
Carsten "Tomcat" Book
ad928dbca5
Merge mozilla-central to autoland
2016-11-23 16:45:11 +01:00
Xidorn Quan
e1ee43ee63
Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
...
MozReview-Commit-ID: 5ohJW9U65dr
--HG--
extra : rebase_source : 6354a9d2f351a926c8dfb97fac342f634364cf57
2016-11-22 16:31:56 +11:00
Iris Hsiao
11e8b7fb2a
Backed out changeset 535f8682016b (bug 1223561) for test_fullscreen-api.html timeout
2016-11-23 16:53:03 +08:00
Xidorn Quan
d5356f5f67
Bug 1307357 followup 2 - Add AddRef/Release bindings to ServoBindingList.
...
MozReview-Commit-ID: 8U55TaPvAhs
--HG--
extra : amend_source : 6b5ec55ef9eb94e0bc93394dd862b03e1bb1af0a
2016-11-23 11:18:24 +11:00
Xidorn Quan
64618d07dd
Bug 1307357 followup - Fix build failures.
...
MozReview-Commit-ID: 1apR3cVDjsC
2016-11-23 10:53:01 +11:00
Xidorn Quan
3646178578
Bug 1307357 part 7 - Implement ServoStyleRule::List. r=heycam
...
MozReview-Commit-ID: 1XRoc43RJKP
--HG--
extra : source : 9fb78fb599d0ac14d700a66fc297cba6991783e5
2016-11-23 10:26:20 +11:00
Xidorn Quan
4f4107f4b9
Bug 1307357 part 6 - Implement CSSStyleRule.style. r=heycam
...
MozReview-Commit-ID: 8Qvzc74wveE
--HG--
extra : source : 0661e153a0422bad7019724369e11200e92d9962
2016-11-23 10:26:20 +11:00
Xidorn Quan
b30b5741f1
Bug 1307357 part 5 - Implement css text getters for ServoStyleRule. r=SimonSapin,heycam
...
MozReview-Commit-ID: 44bKwabU4eJ
--HG--
extra : source : f71cf6b7eb43202078462501da261a2b768a7610
2016-11-23 10:26:20 +11:00
Xidorn Quan
caacda2881
Bug 1307357 part 4 - Add impl class of CSSStyleRule for stylo. r=heycam,manishearth
...
MozReview-Commit-ID: CNrvA0HuuL6
--HG--
extra : source : 0444c8f08953fe4d32ea6f6fa0ecf2c33eb97b05
2016-11-23 10:26:20 +11:00
Xidorn Quan
e887e33696
Bug 1307357 part 3 - Implement CSSRuleList interface for stylo. r=heycam,manishearth
...
MozReview-Commit-ID: Ecnbj66yKOE
--HG--
extra : source : e2e51877116f4dde6bd054e9b6e681f3e7f4250b
2016-11-23 10:26:20 +11:00
Xidorn Quan
dc820f67ee
Bug 1307357 part 2 - Fix issues appear after adding file to unified source. r=heycam
...
MozReview-Commit-ID: 5FkisMn3LKq
--HG--
extra : source : 1f83f48485df328f516b95f0c72f190441959068
2016-11-23 10:26:20 +11:00
Xidorn Quan
9be0143f3a
Bug 1307357 part 1 - Make css::Rule hold StyleSheet rather than CSSStyleSheet. r=heycam
...
MozReview-Commit-ID: JsJa4YqpCZy
--HG--
extra : source : b2ad813e35665e9bfede2753f19de3730869fc2f
2016-11-23 10:26:20 +11:00
Hiroyuki Ikezoe
598b376e51
Bug 1319072 - Don't assert even if coefficient is out of range [0, 1]. r=boris
...
MozReview-Commit-ID: 6TnuoNnHcSc
--HG--
extra : rebase_source : c112546cae35050f1c02cc09e3cff1cb5f9ac41b
2016-11-22 08:11:42 +09:00
Xidorn Quan
8f0f7a04c9
Bug 1315403 followup - Fix mochitest failure and lint error.
...
MozReview-Commit-ID: KKKCybofksU
CLOSED TREE
2016-11-22 13:59:47 +11:00
Conache Cristian
5d2a9d651a
Bug 1315403-no whitespace between "!" and "important" in Declaration::AppendPropertyAndValueToString and Declaration::AppendVariableAndValueToStr, r=xidorn
...
MozReview-Commit-ID: BKGqEpn0utp
--HG--
extra : rebase_source : dab61f244d5ca7ec13603d55cbf091b9dd6400d7
2016-11-20 14:42:11 +02:00
Mike Conley
a4fdeba2e9
Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
...
MozReview-Commit-ID: 86X3PHxmKFg
--HG--
extra : rebase_source : fa55a2d4f585d62a48aeb190a29afa327ab1d4e9
2016-10-21 14:07:43 -04:00
Wes Johnston
5b987fba4a
Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
...
MozReview-Commit-ID: HqyXXuYzjrE
--HG--
extra : rebase_source : 9d2c887e0bdef26b4b32b7b45c80ac456ea6ebd3
2016-11-03 16:54:49 -04:00
Carsten "Tomcat" Book
59bb309e38
merge mozilla-inbound to mozilla-central a=merge
2016-11-21 15:44:20 +01:00
Cameron McCormack
21cc93d13e
Bug 1310560 - Part 3: Add FFI functions for setting cursor url() lists. r=xidorn
...
MozReview-Commit-ID: 7SYA5BPELPe
--HG--
extra : rebase_source : 089a1cbcbdbec1812d488ce18e9da5f8357e4f30
2016-11-21 14:34:17 +08:00
Cameron McCormack
1d9afbc1fb
Bug 1310560 - Part 2: Remove unused EqualImages and EqualURIs functions. r=xidorn
...
MozReview-Commit-ID: 28nyrNMcxXq
--HG--
extra : rebase_source : 5593f9e6596b9c05fd2541908b4cecf05d1c0797
2016-11-21 14:34:15 +08:00
Cameron McCormack
5bb56a7bb5
Bug 1310560 - Part 1: Make cursor use nsStyleImageRequest for url() value storage. r=xidorn
...
MozReview-Commit-ID: JU76TS3kxbz
--HG--
extra : rebase_source : 37f9538fca48c6bf90495bf44582c192977658e7
2016-11-21 14:34:11 +08:00
Boris Chiou
239fc2d508
Bug 1286151 - Part 7: Make ComputeShapeDistance return the status. r=hiro
...
We should follow the rules used by other types - return false if computing
the distance is failed. So make ComputeShapeDistance and return the status
and let the last argument be the output distance.
MozReview-Commit-ID: CFoQhgyqILB
--HG--
extra : rebase_source : 353c42e54e554b0477e88ad8c1ee0d611e16618b
2016-11-17 11:52:41 +08:00
Boris Chiou
23b961ef60
Bug 1286151 - Part 4: Factor out ComputeSingleShadowSquareDistance. r=dholbert
...
Both eUnit_Shadow and the drop-shadow of eUnit_Filter needs to compute the
distance of two shadows, so we can factor out the implementation.
MozReview-Commit-ID: IGdxQWMXdE1
--HG--
extra : rebase_source : 9889c556c0cc007102a152859575cfe56830ca61
2016-11-15 11:58:16 +08:00
Boris Chiou
4dccb33bc5
Bug 1286151 - Part 3: Implement filter distance for the rest. r=hiro
...
MozReview-Commit-ID: EXBzvJ7PIwQ
--HG--
extra : rebase_source : 768c45a16d365952c46ba6124a37d6c4f3ae69ca
2016-11-10 17:25:10 +08:00
Boris Chiou
ab8ac0bf92
Bug 1286151 - Part 2: Implement filter distance for drop-shadow. r=hiro
...
MozReview-Commit-ID: 5Ad0GiWGkJg
--HG--
extra : rebase_source : 3d3103bf976de199aed257e5f555d5f5158b20d3
2016-11-10 17:46:35 +08:00
Boris Chiou
1aaa8ce437
Bug 1286151 - Part 1: Implement filter distance for blur. r=hiro
...
MozReview-Commit-ID: 44EP55V8ldg
--HG--
extra : rebase_source : 16d23a8f7578b5b86a82916fc7088c4cb4b41cb8
2016-11-10 15:15:52 +08:00
Xidorn Quan
b283046733
Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
...
MozReview-Commit-ID: 5ohJW9U65dr
--HG--
extra : rebase_source : 3edab41eb85239cc765d7305b1a6083397d4a158
2016-11-22 16:31:56 +11:00
Wei-Cheng Pan
8915c51723
Bug 1046166 - Send userContent.css URL to content processes. r=dbaron,haik
...
MozReview-Commit-ID: 4NTxwYeFGSU
--HG--
extra : rebase_source : 194c526eaf3270cf71de16065d425d1bb13f5847
2016-07-21 18:57:35 +08:00
Brad Werth
c973750b3d
Bug 1304636 Part 4: Rename test_flexbox_min_size_auto.html to a more inclusive name. r=dholbert
...
MozReview-Commit-ID: B72Q8z5zvxc
--HG--
rename : layout/style/test/test_flexbox_min_size_auto.html => layout/style/test/test_computed_style_min_size_auto.html
extra : rebase_source : a30e6b5801425664ab359c862c3e4c0c615c9d63
2016-11-17 16:17:34 -08:00
Brad Werth
bd30e23c19
Bug 1304636 Part 3: Update the existing test_flexbox_min_size_auto.html test to match new behavior. r=dholbert
...
MozReview-Commit-ID: 8jyaDttWF6e
--HG--
extra : rebase_source : 221e7d302cf30942b5b618f6c45503f0679b0845
2016-11-17 16:12:19 -08:00
Brad Werth
7e8c2c8166
Bug 1304636 Part 2: Make GetComputedStyle report 'auto' for min-height:auto flex/grid items. r=dholbert
...
MozReview-Commit-ID: BmMvny3HePe
--HG--
extra : rebase_source : c9f155bc550091d491fd25d71bb2ca8d2c42320d
2016-11-17 15:41:49 -08:00
Brad Werth
8796e8969d
Bug 1304636 Part 1: Make GetComputedStyle report 'auto' for min-width:auto flex/grid items. r=dholbert
...
MozReview-Commit-ID: 3snktoHTohq
--HG--
extra : rebase_source : 2f8c4e62cf25bcb82ea52a8e984dc1dab0c00737
2016-11-18 13:47:30 -08:00
Carsten "Tomcat" Book
866da9f9c6
merge mozilla-inbound to mozilla-central a=merge
2016-11-18 16:51:17 +01:00
Cameron McCormack
4406edcd3a
Bug 1318238 - Clear all ServoNodeData during style set shutdown. r=bholley
...
MozReview-Commit-ID: 9MvBTAWeawC
2016-11-18 16:54:10 +08:00
Phil Ringnalda
61baa2aa9a
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Phil Ringnalda
ae361307c7
Merge m-c to autoland
2016-11-17 20:11:25 -08:00
Vincent Lequertier
15d1386c74
Bug 1312155 - Move border-width constants out of nsPresContext; r=heycam
2016-11-16 10:11:00 +01:00
Carsten "Tomcat" Book
e0ff800a74
merge mozilla-inbound to mozilla-central a=merge
2016-11-17 14:34:44 +01:00
Jeremy Chen
086d94490c
Bug 1295788 - Remove layout.css.display-contents.enabled pref.
...
1. Remove the preference setting in reftest.list
2. Remove the preference guard in property_database.js
3. Remove the callback function of preference change
4. Remove the preference from all.js
MozReview-Commit-ID: 6aqYmhz6c9M
2016-11-17 10:52:51 +08:00
Hiroyuki Ikezoe
0ed742577b
Bug 1304886
- Part 9: Accumulate mismatched transform list properly. r=boris
...
MozReview-Commit-ID: LTz4TkCsMbQ
--HG--
extra : rebase_source : d7213a0616fba5d4af393b3d7496a2b9a340c90e
2016-11-16 20:32:33 +09:00
Hiroyuki Ikezoe
c661a36ecc
Bug 1304886
- Part 8: Add Accumulate operator. r=boris,derf
...
MozReview-Commit-ID: Bzcn3IRSx6L
--HG--
extra : rebase_source : 854c39f38953a400407bcf976ebd68f25f4b6396
2016-11-16 20:32:33 +09:00