Xidorn Quan
0be8f38737
Bug 1258916 part 7 - Use the directory structure from upstream repo for test and reference files. r=dbaron
...
MozReview-Commit-ID: E9HCyCGMtqp
--HG--
rename : layout/reftests/w3c-css/received/css-conditional-3/background-lime.html => layout/reftests/w3c-css/received/css-conditional-3/reference/background-lime.html
rename : layout/reftests/w3c-css/received/css-multicol-1/multicol-basic-ref.html => layout/reftests/w3c-css/received/css-multicol-1/reference/multicol-basic-ref.html
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1-block.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1-generic.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-2-generic.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-2.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-3.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-3.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-5.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-5.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-6.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-6.xml
rename : layout/reftests/w3c-css/received/css-values-3/200-200-green.html => layout/reftests/w3c-css/received/css-values-3/reference/200-200-green.html
rename : layout/reftests/w3c-css/received/css-values-3/all-green.html => layout/reftests/w3c-css/received/css-values-3/reference/all-green.html
rename : layout/reftests/w3c-css/received/css-values-3/ch-unit-001-ref.html => layout/reftests/w3c-css/received/css-values-3/reference/ch-unit-001-ref.html
rename : layout/reftests/w3c-css/received/css-values-3/vh_not_refreshing_on_chrome-ref.html => layout/reftests/w3c-css/received/css-values-3/reference/vh_not_refreshing_on_chrome-ref.html
rename : layout/reftests/w3c-css/received/css-multicol-1/ref-filled-green-100px-square.xht => layout/reftests/w3c-css/received/reference/ref-filled-green-100px-square.xht
extra : source : f2cca58157c5bbd7cfa54af98cfe8b32bc215f7b
2016-11-11 21:35:38 +11:00
Manish Goregaokar
c34e67ff4d
Bug 1314200 - stylo: support transform; r=heycam
...
MozReview-Commit-ID: 50YhZtjF3vH
--HG--
extra : rebase_source : 9aaf3f1bdd317c8c0e541a5ff6ff6d734a3e3f32
2016-10-31 16:30:43 -07:00
Gerald Squelart
0affeb4ab0
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Daisuke Akatsuka
b0388916e5
Bug 1064937 - Part 1: CSS Animations and Transitions should support transitions/animations of non-interpolable properties. r=birtles,pbro
...
MozReview-Commit-ID: 4kMytRCKK79
--HG--
extra : rebase_source : 864b568a96b399231a1cb75742d8c428f5ee2c5c
2016-11-11 16:40:38 +09:00
Jet Villegas
246805dcfd
Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
...
MozReview-Commit-ID: LWfmMoBcbnL
2016-08-25 18:57:56 -07:00
Daniel Holbert
60c50c3f43
Bug 1316762: Add fuzzy annotation for box-sizing-replaced-003.xht on linux. r=neerja
...
MozReview-Commit-ID: PLCAeVOvb1
2016-11-10 16:50:25 -08:00
Wes Kocher
bfd47fa62d
Backed out changeset ff60dd49591d (bug 1283302) for linux64 debug reftest failures a=backout
2016-11-10 16:10:54 -08:00
Daniel Holbert
0bac0fe86b
Bug 1269017 followup: Fix typo in <link rel="match"> reference metadata, in reftests for CSS Box Alignment of abspos grid children. (test-only)
...
This patch is only updating metadata inside of tests, so DONTBUILD.
MozReview-Commit-ID: DDOU4oAd64W
2016-11-10 11:25:01 -08:00
Jet Villegas
08cf6c2481
Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
...
MozReview-Commit-ID: LWfmMoBcbnL
2016-08-25 18:57:56 -07:00
Carsten "Tomcat" Book
f93282b491
Merge mozilla-central to mozilla-inbound
2016-11-10 17:08:43 +01:00
Carsten "Tomcat" Book
4b6cab91f9
merge mozilla-inbound to mozilla-central a=merge
2016-11-10 16:59:38 +01:00
cku
62cf65bb77
Bug 1298774 - followup: fix compile error by disable mask-as-shorthand. r=me
...
MozReview-Commit-ID: 99is2akQI3k
--HG--
extra : source : 384181056c35c5c90d38926d5e9f928965eff9a4
2016-11-09 18:54:44 +08:00
Cameron McCormack
b3db3c2002
Bug 1316247 - stylo: Handle restyles generated during change hint processing sooner. r=emilio
...
MozReview-Commit-ID: HpgJ94ifJ7e
2016-11-09 14:25:28 +08:00
Cameron McCormack
ff10ad8bc2
Bug 1315889 - stylo: don't try to restyle elements that have been removed from the document. r=emilio
...
MozReview-Commit-ID: EiFS1KAKAj6
2016-11-08 16:24:34 +08:00
Cameron McCormack
1b5c96f9f7
Bug 1315894 - Clear dirty bits on entire subtree when stopping in RecreateStyleContexts due to no frame or ReconstructFrame hint. r=emilio
...
MozReview-Commit-ID: 5ch5gtOn0Zr
2016-11-09 14:25:58 +08:00
Keshav Prasad
8d534ac19c
Bug 1314158 - Remove declaration of IsChromeSlow in nsPresContext.h. r=mstange
...
MozReview-Commit-ID: MXq75nKDQM
--HG--
extra : rebase_source : 2d22dc5aaf9d66f528067882eca5c5eb8b0e64f0
2016-11-04 16:46:30 -04:00
Jonathan Watt
9aad32cd64
Bug 1313386, part 2 - Make AutoPrintEventDispatcher::DispatchEventToWindowTree non-static. r=dholbert
2016-11-01 21:29:30 +00:00
Jonathan Watt
fdc97b0759
Bug 1313386, part 1 - Clean up the beforeprint/afterprint event dispatching code. r=dholbert
2016-11-01 21:29:30 +00:00
Jonathan Watt
07c5338755
Bug 1313525 - Remove the nsIPrintOptions interface. r=mstange
...
--HG--
rename : widget/nsIPrintOptions.idl => widget/nsIPrinterEnumerator.idl
2016-10-28 00:31:14 +01:00
Carsten "Tomcat" Book
846adaea6c
merge mozilla-inbound to mozilla-central a=merge
2016-11-09 16:38:04 +01:00
Matt Woodrow
f880884b57
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
Ethan Lin
24bda82351
Bug 1315353 - Part 2: Add testcase for border-image-repeat with SVG content. r=dbaron
...
--HG--
extra : rebase_source : 7ed0f7e6d37cd497ba1efb3876a0ee8f342ddca4
2016-11-08 11:46:46 +08:00
Ethan Lin
dfc8522b08
Bug 1315353 - Part 1: Fix the wrong image size of border-image-repeat while the content is SVG. r=dbaron
...
--HG--
extra : rebase_source : 645cfd900a937bfe3356f5cdce607bc08bacf34b
2016-11-08 11:46:46 +08:00
Ting-Yu Lin
384e9e119b
Bug 1291110 Part 4 - Use line BSize to query available space when updating nsLineLayout. r=dbaron
...
In nsBlockFrame::PlaceLine(), we query the float available space by
using the line's BSize(), which may cause the line to reflow again due
to available space shrunk.
The first issue lies in the second reflow. That is, we do not leverage
the line's BSize() computed in the first reflow to query the float
available space when updating the inline reflow engine in
BlockReflowInput::AddFloat(). So some tall inline elements could still
overlap the floats as in the first reflow.
To solve this, we cache current line's BSize so that it could be
used to update the inline reflow engine when redo the line.
Another issue is in nsBlockFrame::PlaceLine(). When determined whether
the available space is shrunk, we use the float manager's state *before*
placing the line. So if current line has floats, they're not considered.
To solve this, we use the current set of floats to get the float available
space for comparison, and leave the original aFloatAvailableSpace to provide
the information when redoing the line.
MozReview-Commit-ID: GqqNlphgxYS
--HG--
extra : rebase_source : e2c64ab1ac363c7a08e532dc043bee69d6455049
2016-08-22 19:42:37 +08:00
Ting-Yu Lin
8fa65e4f5d
Bug 1291110 Part 3 - Enforce float available space never grow on either side. r=dbaron
...
This patch is based on bug 1291110 comment 29, but |aCanGrow| is preserved,
since the set of float available spaces we'll be testing in Part 4 are
difference from the one we enforced here.
MozReview-Commit-ID: LswbIaRukVR
--HG--
extra : rebase_source : 007d55fd867d052163ea5bb4222baf201fe30bcf
2016-11-08 15:20:58 +08:00
Ting-Yu Lin
76dba9d5d5
Bug 1291110 Part 2 - Rename availableSpaceHeight to availableSpaceBSize. r=dbaron
...
Rename to make the variable name consistent with the writing-mode
terminology used in PlaceLine().
MozReview-Commit-ID: AvhwHyHz7hV
--HG--
extra : rebase_source : bcec67d9959c1b881b4d287dbbab47dd0d6e0de9
2016-11-08 13:42:14 +08:00
Ting-Yu Lin
bb1491fb5a
Bug 1291110 Part 1 - Fix log and comment related to float. r=dbaron
...
MozReview-Commit-ID: ICUflMUOsD2
--HG--
extra : rebase_source : ccba872d056edcfb07095f3f2995492324394ab0
2016-08-22 19:41:53 +08:00
Ting-Yu Lin
5851f10c95
Bug 1316040 - Change target to non-target in test_caret_not_appear_when_typing_in_scrollable_content. r=mtseng
...
In this test, we assume the caret does not appear at the end of the input.
However in this case, self.actions.flick() will select all text within the
input, and then send_keys() will replace it with '!'. As a result, the final
content might varies on different platforms. Test the final content match
tho target_content might not be reliable.
To fix this, we instead assert that final content does *not* match the
non_target_content as the bug occurs.
MozReview-Commit-ID: 2YRN8W3PUXG
--HG--
extra : rebase_source : c63b631c609992fccf350d3088bba8e0621d9a55
2016-11-09 14:14:53 +08:00
Neerja Pancholi
f5845ba7b6
Bug 1316430 - Add fuzzy annotation for reftests/details-summary/mouse-click-twice-float-details.html r=dholbert
...
MozReview-Commit-ID: 47XhcgMrOu6
--HG--
extra : rebase_source : 3cea0a9ec50dfc465bdf0eb1c87ba451a434024a
2016-11-09 13:15:27 -08:00
Neerja Pancholi
0f13b458fc
Bug 1295466 - Use MozReftestInvalidate event in box-sizing-replaced-001.xht to avoid test failure when paint delay is reduced r=mstange
...
MozReview-Commit-ID: IXK2WwM3mrH
--HG--
extra : rebase_source : 2e8dd60536eeb9fdf708d8e2716b49a5f83f41ac
2016-11-07 16:32:48 -08:00
Neerja Pancholi
57478826a0
Bug 1315846 - Fix reftests with minor AA and layerization issues by replacing text with tall divs as placeholders r=dholbert
...
MozReview-Commit-ID: 4FB1MrQjGhE
--HG--
extra : rebase_source : fb0ecd03e167c3d815e7ae013366914bad278dbb
2016-11-08 13:34:09 -08:00
Neerja Pancholi
433e9d5892
Bug 1315834 - Add fuzzy annotation for layout/reftests/bugs/502447-1.html r=mstange
...
MozReview-Commit-ID: 4GNORDTwnQC
--HG--
extra : rebase_source : 5fdcd90ae5eb95248040f33616e580a85f0eb6b1
2016-11-07 17:00:45 -08:00
Neerja Pancholi
0919e111e2
Bug 1178202 - Use MozReftestInvalidate event in invalidate-1.html for landing Bug 1283302 r=mstange
...
MozReview-Commit-ID: G4Towoy0XpF
--HG--
extra : rebase_source : b6a7c996c6fb7b209d873748898219920b24fdb0
2016-11-02 18:14:22 -07:00
Matt Brubeck
9c2c0561df
Bug 1292275 - Stylo: Fix crash after failed stylesheet load. r=heycam
...
Fixes a crash ServoStyleSet::AddDocStyleSheet caused by
ServoStyleSheet::RawSheet returning null.
MozReview-Commit-ID: BdDosompqTv
--HG--
extra : rebase_source : 0b46c9f9327eec0bac3bb2ca697198887948e2e6
2016-10-25 10:15:38 -07:00
Carsten "Tomcat" Book
6999313142
Merge mozilla-central to autoland
2016-11-09 16:42:13 +01:00
cku
be2238288b
Bug 1250490 - Part 6. Test case. r=mstange
...
MozReview-Commit-ID: 91Qidd0ADve
--HG--
extra : rebase_source : 2ca06137a909b76c81dacb74761f175650023687
2016-11-03 14:29:15 +08:00
cku
efbebcc1a8
Bug 1250490 - Part 5. Use CreateBlendTarget/BlendToTarget. r=mstange
...
MozReview-Commit-ID: ERSXrcOW9PQ
--HG--
extra : rebase_source : 04f18848f51612e7d84570d026607e83aebf2366
2016-11-03 12:38:36 +08:00
cku
dcbcec68cf
Bug 1250490 - Part 4. Bring back CreateBlendTarget/BlendToTarget. r=mstange
...
MozReview-Commit-ID: DMSm5d2SI3j
--HG--
extra : rebase_source : a8108cd3088a5f530bded2e20c408f3b4787d658
2016-11-03 12:17:20 +08:00
cku
626b83ae89
Bug 1250490 - Part 3. Use DetermineMaskUsage in nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: 3CxHG0oB6f9
--HG--
extra : rebase_source : e13291f0c5277c1a10723be7a4665cf40b576947
2016-11-03 11:58:15 +08:00
cku
282a24594a
Bug 1250490 - Part 2. Remove DetermineMaskUsage and ComputeOpacity from nsSVGIntegrationUtils. r=mstange
...
MozReview-Commit-ID: 4gHW7PyMNhd
--HG--
extra : rebase_source : 68507df64232ebef68535e85cc9934833a428456
2016-11-03 11:16:46 +08:00
cku
511431abbf
Bug 1250490 - Part 1. Move DetermineMaskUsage and ComputeOpacity to nsSVGUtils. r=mstange
...
MozReview-Commit-ID: K06trG9nuvU
--HG--
extra : rebase_source : ad7651daa0752ba6c128853de19e758694705793
2016-11-03 11:08:06 +08:00
cku
8147e6d4e1
Bug 1314001 - Part 2. Draw mask by single opaque green. r=mstange
...
MozReview-Commit-ID: 12S5vBGYRpb
--HG--
extra : rebase_source : ef9bfa3251610732a0a6d2becb0e07737a40ac12
2016-11-04 12:25:33 +08:00
cku
bb74527cff
Bug 1234485 - Part 12. Extract PaintMaskSurface from GenerateMaskSurface. r=mstange
...
MozReview-Commit-ID: Bg4Kt6yCtNe
--HG--
extra : rebase_source : e13ce7753bede0e9edc58f8406c60d4120fbd329
2016-11-02 15:10:46 +08:00
cku
575b4ea688
Bug 1234485 - Part 11. Paint SVG mask on PaintedLayer before bug 1313877 fixed. r=mstange
...
MozReview-Commit-ID: C8XIZ4ttp1P
--HG--
extra : rebase_source : 71940c3ba9f3597e39c82c1b8ba39636dcf006b8
2016-10-30 02:55:24 +08:00
cku
b146d87275
Bug 1234485 - Part 10. Paint mask onto mask layer when possible. r=mattwoodrow,mstange
...
MozReview-Commit-ID: GEMprzpfYw3
--HG--
extra : rebase_source : aa72a7b84ed21fae5638b5a83b2e739716537864
extra : intermediate-source : 6b90195d53da590b153c0ee7317767ae15ef6b16
extra : source : fcd9d758f37adb4d28f2fd72b458f1576e5cd2f8
2016-10-30 15:43:43 +08:00
cku
bbd37411c6
Bug 1234485 - Part 9. Implement MaskLayerUserData::constructor & operator=. r=mstange
...
Move MaskLayerUserData member data setup code into assign operator to reduce
codes in CreateMaskLayer.
MozReview-Commit-ID: FKsM3OfWhvS
--HG--
extra : rebase_source : 1fc2f40615de048805e30133b0eecd4ef3d5ae92
2016-11-07 23:27:35 +08:00
cku
fc22c48445
Bug 1234485 - Part 8. Implement ContainerState::SetupMaskLayerForCSSMask. r=mattwoodrow,mstange
...
MozReview-Commit-ID: Gu1u4WvL2Cy
--HG--
extra : rebase_source : 46788af208f0122747c0a8c90f308461c7a44f6d
2016-11-07 22:32:43 +08:00
cku
73c622f3dc
Bug 1234485 - Part 7. Implement CSSMaskLayerUserData to store css positioned mask user data. r=mstange
...
MozReview-Commit-ID: JZVcAfipKYX
--HG--
extra : rebase_source : f123995c61dda5cc27d57d4d09bc829495923c47
2016-11-01 16:43:34 +08:00
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
cku
580b53705f
Bug 1234485 - Part 5. Implement MaskImageData::CreateImageAndImageContainer. r=mstange
...
Simply move some code from ContainerState::CreateMaskLayer into MaskImageData,
so that we can reuse it later.
MozReview-Commit-ID: H2zktYL9PIh
--HG--
extra : rebase_source : 091c877af171adcef26fc6f8b1a03e56197be6ef
2016-10-26 22:17:24 +08:00
cku
51fd365a1a
Bug 1234485 - Part 4. Implement nsDisplayMask::ShouldPaintOnMaskLayer. r=mstange
...
MozReview-Commit-ID: CChi1vbLLh8
--HG--
extra : rebase_source : d869aeb9993e6d631a494f0b63494de3b576b5b3
2016-10-19 11:44:15 +08:00
cku
4d9495cf77
Bug 1234485 - Part 3. Implement nsSVGIntegrationUtils::PaintMask. r=mstange
...
Unlike nsSVGIntegrationUtils::PaintMaskAndClipPath, which paints masked content
onto aParam.ctx, nsSVGIntegrationUtils::PaintMask paints only mask, no content,
onto aParams.ctx.
MozReview-Commit-ID: BaRbtHpoHzj
--HG--
extra : rebase_source : 4a258b7332ba7a7edbffdc13c7f4b065fbe5eaa4
2016-10-19 17:31:36 +08:00
cku
999ca66251
Bug 1234485 - Part 2. Implement nsSVGIntegrationUtils::IsMaskResourceReady. r=mstange
...
We need this new function to determine whether paint mask onto mask layer.
MozReview-Commit-ID: IeEamPi9S8v
--HG--
extra : rebase_source : 993ae4bbe31c2c21704813c318f5328719194930
2016-10-30 21:41:06 +08:00
cku
882c5bf086
Bug 1234485 - Part 1. Extract DetermineMaskUsage from PaintMaskAndClipPath. r=mstange
...
Two reasons that we should do this:
1. Make PaintMaskAndClipPath even simpler.
2. We need this new function to determine LayerState of a nsDisplayMask later.
MozReview-Commit-ID: 2ga0VFOs6u3
--HG--
extra : rebase_source : 8a8c4da05acf5aa1cf13eb7366116944df9c8409
2016-10-19 13:38:35 +08:00
Wes Kocher
0330db10eb
Merge m-c to autoland, a=merge
2016-11-08 14:09:10 -08:00
Wes Kocher
008fdd9329
Merge inbound to central, a=merge
2016-11-08 13:58:20 -08:00
Olli Pettay
cb803253a5
bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
...
--HG--
extra : rebase_source : 2ce6e06783e399e787d0445943f9f39bcef1cc22
2016-11-08 14:05:45 +02:00
Phil Ringnalda
27a5b8d2ae
Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
...
CLOSED TREE
MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
cku
2fbd5c11c2
Bug 1258751 - followup: remove out-of-date comment. r=me DONTBUILD
...
MozReview-Commit-ID: 8M8yHsDc1Lg
--HG--
extra : rebase_source : 3f0d695e8307bb735d2026470dcec90c9887ec1a
2016-11-07 17:09:57 +08:00
Phil Ringnalda
592b02e148
Merge m-c to m-i
...
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -08:00
Phil Ringnalda
2c7a3afd66
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Matt Woodrow
7afb98ff2b
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
Cameron McCormack
38fd958f01
Bug 1315851 - stylo: tweak temporary eRestyle_StyleAttribute handling. r=xidorn
...
MozReview-Commit-ID: Jgv5El6Kxdu
2016-11-08 10:39:30 +08:00
Brad Werth
175fc88729
Bug 1314080 Part 4: Implement the new text retrieval behavior. r=smaug
...
MozReview-Commit-ID: 7j5BjruBNb9
--HG--
extra : rebase_source : a5649d5552a0ee9f1a9bc5e07cac2ca12610d5a1
2016-11-02 16:39:43 -07:00
Brad Werth
1e29a9cf1c
Bug 1314080 Part 1: Rename CollectClientRects method and add a new parameter for collecting text. r=smaug
...
MozReview-Commit-ID: KQPky6Fh8sG
--HG--
extra : rebase_source : 33bce65c1752aeb7a2225a981f2dadf7e2ce5916
2016-11-02 13:49:43 -07:00
Cameron McCormack
6001074f5a
Bug 1315632 - stylo: Leave old style on frames when nsChangeHint_ReconstructFrame was generated. r=emilio
...
MozReview-Commit-ID: 4rtsOwwZFkS
--HG--
extra : rebase_source : 4b3963a49cfecbd6b44e2a7599d912b63f9b5b7a
2016-11-07 18:15:32 +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
8f6c082926
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/xul. r=RyanVM
...
MozReview-Commit-ID: 7L2yY2Jc3FI
--HG--
extra : rebase_source : e82cecfca06ba99103245b23578a03829e18f764
2016-11-05 11:29:20 +01: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
Sebastian Hengst
b99436131d
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/inspector. r=RyanVM
...
MozReview-Commit-ID: 4eoTmdhBzjk
--HG--
extra : rebase_source : 202f3f0ee35f692c09e9b466b323ded65b1c5532
2016-11-05 11:29:20 +01:00
Sebastian Hengst
21b6a70f58
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/generic. r=RyanVM
...
MozReview-Commit-ID: 2Klhlu481mS
--HG--
extra : rebase_source : 848600cd18690e3308da370429c591200425c0cb
2016-11-05 11:29:20 +01:00
Sebastian Hengst
f4374c637f
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/forms. r=RyanVM
...
MozReview-Commit-ID: 1EWreOC5iXw
--HG--
extra : rebase_source : 1981e810a32195dac93ba890fea1847f63219517
2016-11-05 11:29:20 +01:00
Sebastian Hengst
431a51bafd
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/base. r=RyanVM
...
MozReview-Commit-ID: M0EASZk09I
--HG--
extra : rebase_source : e606f93a93c0f4149ba3d81d6b3893ef2b12d2da
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
Phil Ringnalda
06521a66a4
Merge m-c to m-i
...
MozReview-Commit-ID: 7W5SwSOspcB
2016-11-04 21:04:44 -07:00
Andreas Farre
261494e785
Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly
...
MozReview-Commit-ID: L9ZTVFeHGTw
--HG--
extra : rebase_source : 7178cd47eba6b95539bf9e7f44df8e596de13ebf
2016-11-03 18:47:23 +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
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
8a1574da55
Bug 1314206 part 3 - [css-grid] Reftests for <button> grid items.
2016-11-05 02:57:08 +01:00
Mats Palmgren
667529f852
Bug 1314206 part 2 - [css-grid] Don't check for unconstrained inline size since it never occurs (other than by accident). r=dholbert
2016-11-05 02:57:08 +01:00
Mats Palmgren
0a5e98068a
Bug 1314206 part 1 - [css-grid] Stretch the inline size when requested, unless we're measuring the shrink-wrap size. r=dholbert
2016-11-05 02:57:08 +01:00
Mats Palmgren
faf8e6f6bf
Bug 1313254 part 6 - [css-grid] A few comment tweaks. rs=dholbert
2016-11-05 02:57:08 +01:00
Mats Palmgren
979e7df2df
Bug 1313254 part 5 - [css-grid] Add a couple of uses of 'first baseline' to ensure it's a synonym for 'baseline'. r=me
2016-11-05 02:57:07 +01:00
Mats Palmgren
b1c4b6d89a
Bug 1313254 part 2 - [css-align] Change "last-baseline" to "last baseline" in layout/ (scripted change). r=dholbert
2016-11-05 02:57:07 +01: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
Mats Palmgren
5d99ef9a6b
Bug 1300369 part 13 - [css-grid] Reftests for margin-box min-size clamping.
2016-11-05 02:57:07 +01:00
Mats Palmgren
bb4421d329
Bug 1300369 part 12b - Make nsIFrame::ComputeISizeValue clamp the min-content size when eIClampMarginBoxMinSize is in aFlags. r=dholbert
2016-11-05 02:57:07 +01:00
Mats Palmgren
87c23dd98b
Bug 1300369 part 12a - Add a ComputeSizeFlags arg to nsIFrame::ComputeISizeValue. Propagate aFlags in nsFrame::ComputeSize in its ComputeISizeValue calls (idempotent patch). r=dholbert
2016-11-05 02:57:07 +01:00
Mats Palmgren
6b1b0153ba
Bug 1300369 part 11 - Move nsLayoutUtils::ComputeISizeValue to a nsIFrame method (idempotent patch). r=dholbert
2016-11-05 02:57:07 +01:00
Mats Palmgren
5bcffbffeb
Bug 1300369 part 10 - Make nsFrame::ComputeSizeWithIntrinsicDimensions handle margin-box min-size clamping. r=dholbert
2016-11-05 02:57:06 +01:00
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
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
Neerja Pancholi
b660865a7b
Bug 1306769 - Update tests from CSSWG repo and remove fails annotation for css-multicol-1/multicol-rule-color-inherit-002.xht r=dholbert
...
MozReview-Commit-ID: 6UL13vOQqlq
--HG--
extra : rebase_source : c8ed42eadc807ec73b5ba4fc0116ad9bea2f1930
2016-11-04 12:36:27 -07:00
Neerja Pancholi
189baba26e
Bug 1314809 - Move manual changes in reftest.list made for Bug 1299435 to failures.list and re-run import-script.py r=lsalzman
...
MozReview-Commit-ID: G1LDnPudIPC
--HG--
extra : rebase_source : 6b0cb48931f126c0c4e5f22f3a30cd7fbf6c72d7
2016-11-02 16:36:59 -07:00
Phil Ringnalda
9a35a9e7b6
Merge m-c to autoland
2016-11-07 20:41:56 -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
Brad Werth
08105c2d98
Bug 1221524 Part 5: Add a new reftest to confirm non-alignment of baseline and last baseline flex items. r=dholbert
...
MozReview-Commit-ID: 4PUx9NPrmfz
--HG--
extra : rebase_source : c650c8248e88ccaf835bdd03f56dc607083fcc0d
2016-11-07 09:59:56 -08:00
Brad Werth
6ea32ae59a
Bug 1221524 Part 4: Add align-items:last baseline to flexbox baseline tests. r=dholbert
...
MozReview-Commit-ID: 2GqXJUzV0oM
--HG--
extra : rebase_source : 7cbc0da92023224d67c44d7ef55460bb98fbc398
2016-11-07 09:46:50 -08:00
Brad Werth
0d9163aeec
Bug 1221524 Part 3: Implement align-self:last baseline behavior in flex containers. r=dholbert
...
MozReview-Commit-ID: 7Qo7LPu74Ra
--HG--
extra : rebase_source : 81bccbf7bdb7c7e83198783514acba35a690d9f2
2016-11-07 09:53:14 -08:00
Brad Werth
a7ce5670ef
Bug 1221524 Part 2: Added a new reftest to check align-items:baseline against orthogonal writing modes. r=dholbert
...
MozReview-Commit-ID: ETZXe57ta8C
--HG--
extra : rebase_source : 2c82a2279fbcb546187f4218cd722ef8050d81b3
2016-11-01 16:22:44 -07:00
Brad Werth
660c37a2d7
Bug 1221524 Part 1: Map align-self:"baseline" to "flex-start" when FlexItem writing mode is orthogonal to container main axis. r=dholbert
...
MozReview-Commit-ID: 2IlkVDWNirG
--HG--
extra : rebase_source : 6885a5a4a4247b4cec74d6ff9ca1c463cd6b0e14
2016-10-31 14:46:52 -07: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
Kartikaya Gupta
57f37706cc
Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
...
MozReview-Commit-ID: DV6XZBEXw85
--HG--
extra : rebase_source : b82f2ea2d073292c2a9514ba8a4c2d0c8397d90a
2016-11-07 11:38:45 -05:00
Kartikaya Gupta
d84df5e838
Bug 1315477 - Remove some instances of static_cast'ing to ClientLayerManager. r=mattwoodrow
...
MozReview-Commit-ID: 2oqoOE4gZK0
--HG--
extra : rebase_source : eb4bebeb6b79ec83a285facf7fde61ecbd705c43
2016-11-07 11:38:44 -05:00
Ryan VanderMeulen
48ef8de07d
Bug 1263230 - Remove in-tree references to IPC/OOP reftest modes. r=ahal
2016-11-07 08:59:49 -05: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
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
Mats Palmgren
38e563c2fe
Bug 1153478 - Crashtest.
2016-11-21 00:26:37 +01:00
Nils
2a76150eef
Bug 1281102 - Crashtest.
2016-11-21 00:26:37 +01:00
Tooru Fujisawa
d66a45ac98
Bug 1318625 - Part 2: Add testcase. r=jrmuizel
2016-11-19 12:10:47 +09:00
Tooru Fujisawa
df7c041e3a
Bug 1318625 - Part 1: Stop calculating circles around r=0 in DottedCornerFinder. r=0 in DottedCornerFinder.,jrmuizel
2016-11-19 12:10:46 +09:00
Geoff Brown
6f4d87e036
Bug 1317732 - Reduce logging in test_value_storage.html on Android only; r=dbaron
2016-11-18 15:00:41 -07:00
Mats Palmgren
876bdc3339
Bug 1317168 part 3 - [css-grid] Reftests for <input> grid items.
2016-11-18 19:08:32 +01:00
Mats Palmgren
0f6b748935
Bug 1317168 part 2 - [css-grid] Fall back to using nsContainerFrame::ComputeAutoSize when the nsTextControlFrame min-content size needs to have grid item clamping applied. r=dholbert
2016-11-18 19:08:32 +01:00
Mats Palmgren
50da517c61
Bug 1317168 part 1 - nsTextControlFrame::CalcIntrinsicSize is infallible so make it return the size result rather than NS_OK. Also, make it const. r=dholbert
2016-11-18 19:08:32 +01:00
Mats Palmgren
df1b233694
Bug 1316051 part 8 - [css-grid] Reftests for <video> grid items.
2016-11-18 19:08:32 +01:00
Mats Palmgren
c8785f6690
Bug 1316051 part 7 - [css-grid] Reftests for <fieldset> grid items.
2016-11-18 19:08:31 +01:00
Mats Palmgren
68e52d4b74
Bug 1316051 part 6 - [css-grid] Reftests for <table> grid items.
2016-11-18 19:08:31 +01:00
Mats Palmgren
74d08d3799
Bug 1316051 part 5 - [css-grid] Subtract the caption size from the CB size that is used for stretching table items. r=dholbert
2016-11-18 19:08:31 +01:00
Mats Palmgren
a8c4f0a7da
Bug 1316051 part 4 - [css-grid][css-flexbox] Use the alignment container of the table-wrapper frame also for its child frames. r=dholbert
2016-11-18 19:08:31 +01:00
Mats Palmgren
5129a5aa52
Bug 1316051 part 3 - [css-grid] Store the CB size that we give to table-wrappers on a frame property, then propagate that later (minus margins) to the inner table frame. r=dholbert
2016-11-18 19:08:31 +01:00
Mats Palmgren
dcd73d9a59
Bug 1316051 part 2 - [css-grid] Don't shrink-wrap child frames when the table is a stretched grid item. r=dholbert
2016-11-18 19:08:31 +01:00
Mats Palmgren
96e3be5ad8
Bug 1316051 part 1 - Make ChildShrinkWrapISize a method instead of a static function, to prepare for changes in the next patch (idempotent change). r=dholbert
2016-11-18 19:08:31 +01:00
Daniel Holbert
908e4c9fef
Bug 1269017 part 6 - [css-grid] Reftests for static position of abspos grid children under influence of align-self / justify-self.
...
MozReview-Commit-ID: EISfuA86aUw
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16.png => layout/reftests/w3c-css/submitted/align3/support/colors-8x16.png
2016-11-08 16:30:00 -08:00
Daniel Holbert
e8d54b0d73
Bug 1269017 part 5 - [css-grid] Tag grid placeholder children as needing CSS Box Alignment, & consolidate their placement code. r=mats
...
MozReview-Commit-ID: 5105oez3IO3
2016-11-08 16:30:00 -08:00
Daniel Holbert
d36239361c
Bug 1269017 part 4 - [css-grid] When doing CSS Box Alignment, opt out of a CalculateHypotheticalPosition() clause that disregards placeholder's inline position. r=mats
...
(We don't want to disregard this position -- it's what we use to encode the
start of the alignment container for this child, when we're doing CSS Box
Alignment. So we need it to be reflected in the hypothetical position, not
disregarded.)
MozReview-Commit-ID: 28IgPn8z1Hr
2016-11-08 16:30:00 -08:00
Daniel Holbert
b48516cdb2
Bug 1269017 part 3 - [css-grid] Reduce scope of a mStaticPosIsCBOrigin check to *just* cover hypothetical-position calculation, and update comments. r=mats
...
Previously, I'd thought the "mStaticPosIsCBOrigin" flag was going to become
obsolete -- but now I've realized it's quite useful to avert mixup between the
coordinate space of the grid vs. the coordinate space of
grid-areas-acting-as-abspos-containing-blocks.
So, this patch clarifies/removes some stale comments about this flag, and also
pulls out some code that was unnecessarily in an "else" clause, so that it
happens regardless of whether this flag is set.
(Note: the InitAbsoluteConstraints changes are basically just code-reordering & deindentation.)
MozReview-Commit-ID: 9TFrOuldVBe
2016-11-08 16:30:00 -08:00
Daniel Holbert
e2446048f6
Bug 1269017 part 2 - [css-grid] Give grid an implementation of CSSAlignmentForAbsPosChild(). r=mats
...
This grid implementation is similar to the one on nsFlexContainerFrame, with a few simplifications:
- We can simply use the LogicalAxis to decide between align-* vs justify-* prpoerties (whereas flexbox has extra abstraction from the flex axes).
- We don't have to bother with "align-content" or "justify-content", since those apply to grid areas rather than to children. (And any grid area that's involved will be sized/positioned separately.)
- Grid can unconditionally treat "flex-start" & "flex-end" as "start" & "end".
MozReview-Commit-ID: 9l1Wq9Cq5T0
2016-11-08 16:30:00 -08:00
Daniel Holbert
df60393385
Bug 1269017 part 1 - [css-grid] Adjust OffsetToAlignedStaticPos() to use correct alignment container for abpsos children of grid containers. r=mats
...
MozReview-Commit-ID: LItIGLH5GJP
2016-11-08 16:30:00 -08:00
Wes Kocher
41c087935b
Merge m-c to inbound, a=merge
2016-11-08 14:08:34 -08:00
Christoph Kerschbaumer
c267f70f91
Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb
2016-11-08 12:55:23 +01:00
Andi-Bogdan Postelnicu
fb9e09b56b
Bug 1276901
- prevent null pointer dereference on |nativeKeyEvent|. r=dholbert
...
MozReview-Commit-ID: J3GtMQDU1Yq
--HG--
extra : rebase_source : 7c4ea962e66be1a084cfc2d765cdee79d726d40e
2016-05-31 15:41:12 +03: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
Jared Wein
5ad7b0c24d
Bug 1312050 - Make loadAndRegisterSheet log a helpful error message if the URI contains a potentially-truncating unescaped #id. r=dholbert
...
MozReview-Commit-ID: 21WnD8nJRsp
--HG--
extra : rebase_source : 08c8d9a0f2cd769df859434d6bdbbf0f2fcda937
2016-10-24 10:59:09 -04:00
Ting-Yu Lin
6890b35c2b
Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn
...
The difference between the PRCList and LinkedList is that the end of a
LinkedList is represented by nullptr, so we don't need to worry about
getting the first element when we iterate pass the last element. The
majority of the changes is due to this difference.
Also, simplify do-while loops by using for-loops in nsCounterManager and
nsQuoteList.
MozReview-Commit-ID: CZQxqNm2Ksm
--HG--
extra : rebase_source : 1a27aa5effa43a46a5d24172085c6d3502cb8c47
2016-10-27 18:07:52 +08:00
Phil Ringnalda
16522e6c40
Backed out changeset 27695ca9f8cd (bug 1310864
) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html
2016-10-31 19:39:06 -07:00
Phil Ringnalda
8f3fc80e6a
Merge m-c to autoland
2016-10-31 18:46:45 -07:00
Michelangelo De Simone
8b355547fc
Bug 1310864
- Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
...
MozReview-Commit-ID: 2tWZc6hMtk5
--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
6314d37360
Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
...
MozReview-Commit-ID: IEhwzzBgb3x
--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07: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
Jonathan Watt
82b73296ed
Bug 1280324, part 3 - Fix various nsDeviceContext::CreateRenderingContext to call CreateReferenceRenderingContext instead. r=edwin
2016-10-27 19:25:01 +01:00
Ryan VanderMeulen
a41f7d1058
Merge autoland to m-c. a=merge
2016-10-29 09:12:45 -04:00
David Anderson
ecf530eb6f
Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 482b24f52da24de87dd459ac6d003b286206e54e
2016-10-28 15:48:34 -07:00
Mats Palmgren
05a1e2c9a6
Bug 1305244 part 3 - [css-grid] Stop handling <flex> track min-sizing in layout since they can't occur anymore. r=dholbert
2016-10-29 01:30:10 +02: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
Mats Palmgren
d18b43c8b2
Bug 1228455 - [css-grid] Update the 'used flex fraction' for indefinite sizes to clamp flex factors less than 1 before dividing the base size (due to CSS Grid spec change). r=dholbert
...
CSS Grid spec change:
https://hg.csswg.org/drafts/rev/42427088d71f
2016-10-27 10:32:00 -04:00
Daniel Holbert
5e2f87bff5
Bug 1269046 part 11: Add reftests for CSS Alignment of absolutely positioned flex children.
...
MozReview-Commit-ID: FpWhqZdyvBr
2016-10-31 08:59:40 -07:00
Daniel Holbert
f3a0064ac4
Bug 1269046 part 10: Skip the normal margin-adding codepath for abspos frames that undergo CSS Box Alignment (which takes care of margins). r=mats
...
MozReview-Commit-ID: Ha0o1rwFzE9
2016-10-31 08:59:40 -07:00