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