Commit Graph

44676 Commits

Author SHA1 Message Date
Phil Ringnalda
aba7731861 Merge b-i to m-c, a=merge 2015-03-07 19:18:39 -08:00
Mason Chang
9de2773cfe Bug 1019840. Disable intermittent width-special-values tests on b2g. r=tn 2015-03-06 08:25:32 -08:00
Ryan VanderMeulen
8aaa845a81 Merge inbound to m-c. a=merge
CLOSED TREE
2015-03-06 16:18:04 -05:00
Daniel Holbert
67721f34f8 Bug 1140502 - Request longer mochitest timeout threshold for test_media_queries.html & test_selectors.html. r=dbaron, a=me 2015-03-06 11:43:00 -05:00
Bill McCloskey
54115031c4 Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug) 2015-03-05 22:03:23 -08:00
Robert O'Callahan
ed470cc6d0 Bug 1131000. Implement nsMathMLSelectedFrame::ComputeSize to delegate size computation to the selected frame. r=mats
--HG--
extra : rebase_source : d27919e87b39379ea5f6b74b3e4f71ea5cb6ef43
2015-03-05 17:06:32 +13:00
Robert O'Callahan
ac7d5cd4af Bug 1139709. Address review comments. r=mats
--HG--
extra : rebase_source : c9ddf3b8061f8624cddea8cf12b82f030330ac34
2015-03-05 17:22:26 +13:00
Robert O'Callahan
9a9d89d206 Bug 1139709. Remove unused parameters from nsMathMLChar::GetMaxWidth. r=mats
--HG--
extra : rebase_source : a2c7cc22ab0ca688cb935f470056f97409b58fe3
2015-03-05 14:46:40 +13:00
Robert O'Callahan
aaa040a415 Bug 1139709. Cache nsMathMLContainerFrame's intrinsic width. r=mats
For me, this reduces the load time of the testcase in bug 1139709 from
68s to 34s.

--HG--
extra : rebase_source : 3b308584a9985e5ce55297fff6bb7f35acadcf0e
2015-03-05 14:30:07 +13:00
Robert O'Callahan
3d3de907e0 Bug 1082249. Invalidate background-attachment:fixed table-part backgrounds when scrolled. r=mattwoodrow
--HG--
extra : rebase_source : 766292ba08aafee922c4d42d702167a08a62bb4f
2015-03-05 00:02:14 +13:00
Robert Longson
1e7c4f6beb Bug 1137859 - stroke-dashoffset not respecting pathLength property. r=dholbert
--HG--
rename : layout/reftests/svg/stroke-dasharray-and-pathLength-01.svg => layout/reftests/svg/stroke-dashoffset-and-pathLength-01.svg
2015-03-06 14:12:52 +00:00
John Daggett
4de4c29fff Bug 935862 p6 - fixup problematic reftests. r=heycam 2015-03-06 17:44:37 +09:00
Cameron McCormack
af82df86e3 Bug 935862 p5 - handle SVGTextFrame reflow correctly. r=jdaggett 2015-03-06 17:44:32 +09:00
John Daggett
48088e4882 Bug 935862 p4 - add reftests to sanity check @font-face reflow behavior. r=heycam 2015-03-06 17:44:28 +09:00
John Daggett
af0ef7b9f2 Bug 935862 p3 - implement selective reflow for downloadable fonts. r=heycam 2015-03-06 17:44:23 +09:00
John Daggett
0e183d4c4d Bug 935862 p1 - add flag for ex/ch unit usage. r=heycam 2015-03-06 17:44:14 +09:00
dvander@alliedmods.net
2598315589 Don't try to async scroll frames that have less than one pixel of scrollability. (bug 1126090 part 7, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
f1c8e08cdd Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
87a19022de Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5, r=smaug) 2015-03-06 14:26:59 -08:00
Botond Ballo
88d6362e57 Bug 914666 - Exclude the frame borders from the composition bounds. r=tn 2015-02-25 17:08:40 -05:00
L. David Baron
ba8f91bca8 Bug 1140134 - Don't skip the rest of the properties in an animation after hitting one that we shouldn't apply. r=dholbert
Both sets of new tests pass with the patch, but without the patch the
"top is animating" test fails.
2015-03-06 13:35:45 -08:00
Boris Zbarsky
1be2f186e5 Bug 1140216. Remove asserts that stuff that we never create is not null, since it clearly is null. r=jwatt 2015-03-06 16:33:30 -05:00
L. David Baron
7e86e9f582 Bug 1139640 test: Add mochitest for DOM properties for CSS properties. r=heycam 2015-03-05 18:02:16 -08:00
L. David Baron
65d9b1427e Bug 1139640: Change DOM property for -moz-osx-font-smoothing to match standard camel-casing algorithm. r=jdaggett 2015-03-05 18:02:16 -08:00
Miranda Emery
9a8cf9a686 Bug 945584: Part 9 - Tests for scroll snapping (v4 Patch) r=roc
--HG--
extra : rebase_source : aded0319deb520ff998fc5b86565d932dbc0fcaa
2014-02-04 14:54:23 +13:00
Kearwood (Kip) Gilbert
5e7a1dc4a2 Bug 945584: Part 7 - Implement Scroll Snapping for Autoscroll, r=roc
- Triggering scroll snapping at the end of an autoscroll.
- This enables text selection to be unencumbered by scroll snapping, while
  restoring the scroll position to a valid snapping position when the drag
  operation is completed.

--HG--
extra : rebase_source : 94c76d5bfe9059b73b49560089de4ca3d139e239
2015-02-19 16:00:53 -08:00
Kearwood (Kip) Gilbert
8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
467260920d Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
  when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.

--HG--
extra : rebase_source : 1fc779b8075eb7dae97c5b0f6b9bbf9fc073db71
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
5ded4eb336 Bug 945584: Part 3 - Enable cancellation of OSX synthesized mousewheel scrolling events (v2 Patch),r=roc
- Mouse wheel events synthesized by OSX for momentum scrolling can now
  be interrupted by DOM triggered and CSS scroll snapping triggered scroll
  events for consistent behavior with the scrolling and fling gestures
  in the APZC.

--HG--
extra : rebase_source : 261d1f1b03bb29f722d04e0c48b0212d1c69cd1b
2014-02-04 14:54:22 +13:00
Kearwood (Kip) Gilbert
2d11a5911a Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange
- ScrollbarStyles now carries additional variables to support new
  CSS scroll snapping attributes:
  - scroll-snap-type / scroll-snap-type-x / scroll-snap-type-y
  - scroll-snap-points-x / scroll-snap-points-y
  - scroll-snap-destination
  - (scroll-snap-coordinate does not apply to the scroll container)
- Simplified the constructor and operator== for ScrollbarStyles.

--HG--
extra : rebase_source : 91377588f8ae6b00f5ec0198000251820d4d2f85
2014-02-04 14:54:22 +13:00
Kearwood Gilbert
c9e0efb870 Bug 945584: Part 1 - Style support for scroll snapping attributes, r=cam
- Implemented style support for new attributes:
  - scroll-snap-type
  - scroll-snap-type-x
  - scroll-snap-type-y
  - scroll-snap-points-x
  - scroll-snap-points-y
  - scroll-snap-destination
  - scroll-snap-coordinate

--HG--
extra : rebase_source : 0a9a79c7d139a3c752f55395c697f23004d6ef34
2014-02-04 14:54:22 +13:00
Ehsan Akhgari
49cd9f3da4 Bug 1097242 - Make sure contenteditable -moz-user-select styles can be overridden by web pages; r=dbaron 2015-03-05 09:55:37 -05:00
Ehsan Akhgari
49c4a9f564 Bug 1127140 - Run the tests for bug 989012 with the touch caret disabled 2015-03-05 09:53:22 -05:00
Alexandre Lissy
c00c1b9f7a Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Jeremy Chen
938b6f9559 Bug 1138839 - Part2 - Fix naming issue in marionette test for selection carets. r=automatedtester 2015-03-03 02:03:00 +01:00
Jeremy Chen
9feed0ea5e Bug 1138839 - Part1 - Marionette test for selecting text inside an iframe. r=automatedtester 2015-03-03 01:58:00 +01:00
Kartikaya Gupta
4d07356198 Bug 1139153 - Rip out the unneeded layout.async-containerless-scrolling.enabled pref. r=tn 2015-03-05 06:04:03 -05:00
David Zbarsky
4ce52c1ab4 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Cameron McCormack
eff3f9d4c4 Bug 1139723 - Turn on expensive style struct assertions for 1136010-1.html, and fix pref name typo. r=dbaron 2015-03-05 14:46:18 +11:00
Cameron McCormack
d5e5e2b7ad Bug 1139272 - Allow expensive style context assertions to be enabled with a pref. r=dbaron 2015-03-05 12:48:45 +11:00
Markus Stange
f1805dbbb2 Bug 913443 - Add some tests. r=roc
--HG--
extra : rebase_source : fba9fab73e132a6ba1f39f252a8310ab085cf53e
2015-03-04 14:50:13 -05:00
Markus Stange
094adf661f Bug 913443 - Remove duplicated argument variables. r=roc
--HG--
extra : rebase_source : 6d0b1d34c6924a332cee831b92f083c0669a7e52
2015-03-04 12:08:28 -05:00
Markus Stange
27e19b0136 Bug 913443 - Recycle PaintedLayers as soon as possible. r=roc
This means layers are assigned bottom-to-top.

--HG--
extra : rebase_source : 9754de60da630de59d83c2fa9b01d48c0ff13eb2
2015-03-04 00:18:47 -05:00
Markus Stange
d2e50e0e0b Bug 913443 - When determining the layer to recycle, only consider layers that have display items in common with the layer we need. r=roc
--HG--
extra : rebase_source : de75c55e2937363843def273206310a786232582
2015-03-04 00:21:00 -05:00
Markus Stange
fcc59b48af Bug 913443 - Delay PaintedLayer recycling until PopPaintedLayerData(). r=roc
Once we're smarter about recycling the right layer, we can't decide on a layer
as soon as we encounter its first display item. We might need to have to look
at all of the assigned display items. This change makes that requirement
explicit.

--HG--
extra : rebase_source : 743deff9257c2da3b87d7f929465e09ea33859c0
2015-03-03 21:32:08 -05:00
Markus Stange
ea7ef16627 Bug 913443 - Add a display item buffer for PaintedLayerData so that we can assign items without needing to know the actual Layer. r=roc
--HG--
extra : rebase_source : f6a699f1cd57b8980a84e91870a28247d1f07ea9
2015-03-04 00:21:55 -05:00
Markus Stange
4d0928d52d Bug 913443 - Change the order of these calls. r=roc
The calls above don't need access to the PaintedLayer, but the ones this change
is moving down do. This change just makes it more obvious that we're free to
move the calls to an even later point.

--HG--
extra : rebase_source : e63bbc37a634e84e28a86e765f50927a63fbce2f
2015-03-03 17:21:42 -05:00
Markus Stange
9fcb811dd6 Bug 913443 - Move IsWidgetLayerManager() check out of UpdateCommonClipCount. r=roc
UpdateCommonClipCount accesses the PaintedLayerData's mLayer field in order to
get the layer manager. We want to be able to call UpdateCommonClipCount when
mLayer is null.

--HG--
extra : rebase_source : d2964e3e390e0cd564469dee2bf691e76be07cf2
2015-03-03 17:00:55 -05:00
Markus Stange
253c09b332 Bug 913443 - Remove unused aItemVisibleRect argument. r=roc
--HG--
extra : rebase_source : 57c555b1e7c3aafa0ea1659cdb00b4daba0e1723
2015-03-03 16:57:30 -05:00
Markus Stange
3c736ea719 Bug 913443 - Break CreateOrRecyclePaintedLayer up even more. r=roc
--HG--
extra : rebase_source : 925d0803b07ff088297327b9082cbb1ff84ecb61
2015-03-02 19:25:13 -05:00