Commit Graph

25102 Commits

Author SHA1 Message Date
dvander@alliedmods.net
4c1bf43dbd 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
3564b8945d 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
e2a7179153 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
4c2cf92a71 Bug 914666 - Exclude the frame borders from the composition bounds. r=tn 2015-02-25 17:08:40 -05:00
L. David Baron
30caea41e9 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
88d16b811f 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
Ryan VanderMeulen
9df25bfc88 Merge inbound to m-c. a=merge
CLOSED TREE
2015-03-06 16:18:04 -05:00
Daniel Holbert
dc5c473839 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
6b664501ab Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug) 2015-03-05 22:03:23 -08:00
Robert Longson
9a5f96bda9 Bug 1137859 - stroke-dashoffset not respecting pathLength property. r=dholbert 2015-03-06 14:12:52 +00:00
John Daggett
af13b82caf Bug 935862 p6 - fixup problematic reftests. r=heycam 2015-03-06 17:44:37 +09:00
Cameron McCormack
25f9982c28 Bug 935862 p5 - handle SVGTextFrame reflow correctly. r=jdaggett 2015-03-06 17:44:32 +09:00
John Daggett
76243a86cb Bug 935862 p4 - add reftests to sanity check @font-face reflow behavior. r=heycam 2015-03-06 17:44:28 +09:00
John Daggett
649cc83627 Bug 935862 p3 - implement selective reflow for downloadable fonts. r=heycam 2015-03-06 17:44:23 +09:00
John Daggett
facc85116e Bug 935862 p1 - add flag for ex/ch unit usage. r=heycam 2015-03-06 17:44:14 +09:00
L. David Baron
dcbb325ffb Bug 1139640 test: Add mochitest for DOM properties for CSS properties. r=heycam 2015-03-05 18:02:16 -08:00
L. David Baron
f587dfb8b0 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
02d84af655 Bug 945584: Part 9 - Tests for scroll snapping (v4 Patch) r=roc 2014-02-04 14:54:23 +13:00
Kearwood (Kip) Gilbert
1059a1d89c 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.
2015-02-19 16:00:53 -08:00
Kearwood (Kip) Gilbert
957ced20f0 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/)
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
2879261784 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.
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
c716b3ce2c 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.
2014-02-04 14:54:22 +13:00
Kearwood (Kip) Gilbert
e60a54601c 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.
2014-02-04 14:54:22 +13:00
Kearwood Gilbert
94fe9d996d 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
2014-02-04 14:54:22 +13:00
Ehsan Akhgari
266806168c 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
b06e1e1f4b Bug 1127140 - Run the tests for bug 989012 with the touch caret disabled 2015-03-05 09:53:22 -05:00
Alexandre Lissy
32049a60d0 Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Jeremy Chen
dbfe14633a Bug 1138839 - Part2 - Fix naming issue in marionette test for selection carets. r=automatedtester 2015-03-03 02:03:00 +01:00
Jeremy Chen
cf31e9da1a Bug 1138839 - Part1 - Marionette test for selecting text inside an iframe. r=automatedtester 2015-03-03 01:58:00 +01:00
Kartikaya Gupta
82b86b5468 Bug 1139153 - Rip out the unneeded layout.async-containerless-scrolling.enabled pref. r=tn 2015-03-05 06:04:03 -05:00
David Zbarsky
54eea5ad10 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Cameron McCormack
7ec519ab2d 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
02703168a0 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
37ef8aec2b Bug 913443 - Add some tests. r=roc 2015-03-04 14:50:13 -05:00
Markus Stange
60aa1656ae Bug 913443 - Remove duplicated argument variables. r=roc 2015-03-04 12:08:28 -05:00
Markus Stange
ab50ec247d Bug 913443 - Recycle PaintedLayers as soon as possible. r=roc
This means layers are assigned bottom-to-top.
2015-03-04 00:18:47 -05:00
Markus Stange
8b9c146165 Bug 913443 - When determining the layer to recycle, only consider layers that have display items in common with the layer we need. r=roc 2015-03-04 00:21:00 -05:00
Markus Stange
08cd6f5eac 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.
2015-03-03 21:32:08 -05:00
Markus Stange
de4601141f Bug 913443 - Add a display item buffer for PaintedLayerData so that we can assign items without needing to know the actual Layer. r=roc 2015-03-04 00:21:55 -05:00
Markus Stange
cd045a4b5e 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.
2015-03-03 17:21:42 -05:00
Markus Stange
a62ad81d88 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.
2015-03-03 17:00:55 -05:00
Markus Stange
89e4ac2c1e Bug 913443 - Remove unused aItemVisibleRect argument. r=roc 2015-03-03 16:57:30 -05:00
Markus Stange
313c6c3469 Bug 913443 - Break CreateOrRecyclePaintedLayer up even more. r=roc 2015-03-02 19:25:13 -05:00
Markus Stange
6cfa76525a Bug 913443 - Extract layer hint calculation. r=roc 2015-03-02 19:24:18 -05:00
Markus Stange
3e610f145e Bug 913443 - Break up CreateOrRecyclePaintedLayer into more parts. r=roc 2015-03-02 18:43:58 -05:00
Markus Stange
12bd1db1fe Bug 913443 - Remove some #ifdefs. r=roc
This function will be split up into more functions, and carrying along the
#ifdefs throughout those would be a pain.
2015-03-02 18:29:12 -05:00
Markus Stange
c6051df741 Bug 913443 - Remove mention of the word ThebesLayer in a comment. r=roc 2015-03-02 18:19:12 -05:00
Cameron McCormack
dedf697b56 Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 18:06:29 +11:00
Alexandre Lissy
fb663445e8 Bug 1138444 - Add Mulet detection for reftests. r=jgriffin 2015-03-03 03:20:00 -05:00
Chris Manchester
2633d459e9 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal 2015-03-03 17:37:19 -08:00