Граф коммитов

52913 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren a6089b50fc Bug 1300369 part 9 - Add a ComputeSizeFlags param to nsFrame::ComputeSizeWithIntrinsicDimensions (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren ddb49488f0 Bug 1300369 part 8 - Move nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to a nsFrame method (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren e54d8218a4 Bug 1300369 part 7 - [css-grid] Implement margin-box min-size clamping for grid item reflow. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren a0c5be1ac8 Bug 1300369 part 6 - Make nsBlockFrame::ComputeFinalSize handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 1296ddcec3 Bug 1300369 part 5 - Make nsFrame::ComputeSize and nsFrame::ShrinkWidthToFit handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren e78d14df88 Bug 1300369 part 4 - Refactor all ComputeAutoSize methods to take the full ComputeSizeFlags instead of just a "bool aShrinkWrap" for the eShrinkWrap flag (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 6b8c4c8679 Bug 1300369 part 3 - [css-grid] Implement margin-box min-size clamping during track sizing. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 1ce5803c3a Bug 1300369 part 2 - Make nsLayoutUtils::IntrinsicForAxis handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren d523cbcf73 Bug 1300369 part 1 - Add two new ComputeSizeFlags flags e{I,B}ClampMarginBoxMinSize and associated reflow state flags to indicate we want margin-box min-size clamping in the indicated axis. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 15f5e457ab Bug 1218178 part 4 - [css-grid][css-align] Add more reftests with image grid items. 2016-11-05 02:57:06 +01:00
Mats Palmgren 49f3373b77 Bug 1218178 part 3 - [css-grid][css-align] Implement ratio-preserving 'stretch' alignment for grid items with an intrinsic ratio. r=dholbert
https://github.com/w3c/csswg-drafts/issues/523
2016-11-05 02:57:05 +01:00
Mats Palmgren 8e6e085ed6 Bug 1218178 part 2 - Minor code cleanup (idempotent). r=dholbert 2016-11-05 02:57:05 +01:00
Mats Palmgren 3f3758dff0 Bug 1218178 part 1 - [css-grid] Implement the transferred size part of Automatic Minimum Size for grid items. r=dholbert
https://drafts.csswg.org/css-grid/#min-size-auto
https://www.w3.org/TR/css-flexbox-1/#min-width-automatic-minimum-size
2016-11-05 02:57:05 +01:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Phil Ringnalda 0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Michelangelo De Simone 80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Milan Sreckovic a781e2b943 Bug 1309913: Pass the compositor type to canvas on creation. r=dvander
MozReview-Commit-ID: F29GQbuXJgj

--HG--
extra : rebase_source : 6e88bb859e5fa86a2d3ab3ffa12974a36e0ca192
2016-11-03 13:10:21 -04: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
Matt Woodrow 12feacb4da Bug 1314191 - Make sure we shut down VideoDecoderManagerChild before threads go away. r=dvander 2016-11-03 09:57:17 +13:00
Matt Woodrow 9e56f22190 Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander 2016-11-03 09:55:07 +13:00
Milan Sreckovic 976fdb1420 Bug 1309913: Pass the compositor type to canvas on creation. r=dvander
MozReview-Commit-ID: 81HtvWPdLQa

--HG--
extra : rebase_source : a448447fcb573beb320b2b2a352b97f77a5bafe3
2016-11-03 10:57:33 -04:00
Frédéric Wang 5f755e9bc4 Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame 2016-11-02 11:47:18 -07:00
Wes Kocher c91def63e7 Backed out changeset 961a84574836 (bug 1305977) for multiscripts-1.html failures a=backout 2016-11-02 11:45:41 -07:00
Sebastian Hengst d53e8774dd Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table: really disable test multiscripts-1.html on Windows. r=developer-request 2016-11-02 18:51:26 +01:00
Sebastian Hengst b7ebe3d595 Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table: disable test multiscripts-1.html on Windows. r=developer-request on a CLOSED TREE 2016-11-02 16:54:08 +01:00
Frédéric Wang 1c9167ba68 Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame
--HG--
extra : rebase_source : 743927b509e8e4b37334c46f32e4e69b3ba35091
2016-10-31 04:18:00 +01:00
Xidorn Quan 67de44415a Bug 1294299 part 13 - Post restyle event with style attribute hint for style change. r=heycam
MozReview-Commit-ID: 8quLmF0xaxv

--HG--
extra : source : 756be1f6f24db58250575910149e3c63f2320615
2016-11-03 14:41:02 +11: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