Commit Graph

8172 Commits

Author SHA1 Message Date
Xidorn Quan
b95ba1ce10 Backout a6dbd23da598 (bug 1139283) since it is currently not needed. 2015-03-20 15:12:17 +11:00
L. David Baron
ee53c7fedc Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-19 21:10:00 -07:00
L. David Baron
884f617672 Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles
This removes the duplication where AddAnimationsForProperty calls
HasAnimationOfProperty which goes over the list once, and then
AddAnimationForProperty searches the list again and skips all but the
item found before.

It also makes it easier, in patch 7, to perform additional tests on the
item that we found.
2015-03-19 21:10:00 -07:00
Xidorn Quan
cbd48e237a Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso 2015-03-20 09:45:41 +11:00
Carsten "Tomcat" Book
69572ffb44 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions 2015-03-19 10:40:42 +01:00
David Anderson
123c1ead08 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats) 2015-03-17 14:04:36 -07:00
Morris Tseng
e8f401d691 Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
92472cd78a Bug 1120705 - Part 2: Tests (v2 Patch), r=roc
- Ensure that the scrollbar button scrolling is limited
  by the page size, to maintain context when scrolling
  small scroll frames.
2015-03-18 18:36:00 +01:00
Botond Ballo
824de31a1b Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel 2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book
6e003c58ac Backed out 7 changesets (bug 1125455) for test failures in m1 test_animation-player-ready.html on a CLOSED TREE
Backed out changeset 8a316064caff (bug 1125455)
Backed out changeset ad326dbcbd03 (bug 1125455)
Backed out changeset 83dab9578e23 (bug 1125455)
Backed out changeset 5bd86c20cd02 (bug 1125455)
Backed out changeset 751177025dcb (bug 1125455)
Backed out changeset f60c5b4adf84 (bug 1125455)
Backed out changeset 326ef9a86c85 (bug 1125455)
2015-03-18 16:32:54 +01:00
Ting-Yu Lin
8216844226 Bug 1140238 - Part 3: Clear maintain selection when dragging caret. r=mats
After double-clicking to select a word on browser, we cannot drag caret
to change the selection within a word. We should clear the maintained
selection.
2015-03-17 00:57:00 -04:00
Ting-Yu Lin
eb69b226db Bug 1140238 - Part 2: Adjust ranges after changing selection direction. r=mats
When dragging the second caret (eDirNext) over non-selectable elements,
the last range is not generated. Therefore when dragging the first
caret, we will change the selection direction to eDirPrevious, the last
range will be excluded by AutoPrepareFocusRange.

We add a new function to adjust generated bit and anchor focus range
after changing selection direction.
2015-03-18 03:26:00 -04:00
Ting-Yu Lin
f097822389 Bug 1140238 - Part 1: Add a test to drag first caret over non-selectable. r=automatedtester
The original test had dragged the second SelectionCaret over
non-selectable elements. After that, we should further drag the first
SelectionCaret over non-selectable elements, and confirm that the
selection ranges are correct.
2015-03-10 20:40:00 -04:00
L. David Baron
3015b61e60 Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron
7d9129d104 Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles
This removes the duplication where AddAnimationsForProperty calls
HasAnimationOfProperty which goes over the list once, and then
AddAnimationForProperty searches the list again and skips all but the
item found before.

It also makes it easier, in patch 7, to perform additional tests on the
item that we found.
2015-03-18 07:35:30 -07:00
Avi Halachmi
9d2d05c1d5 bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Markus Stange
46e2d15dbf Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn 2015-03-17 22:04:33 -04:00
Seth Fowler
a6c30c7c5f Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler
8a1d35bf88 Bug 1143506 - Give up on sync decoding if we get DrawResult::BAD_IMAGE. r=tn 2015-03-17 13:56:49 -07:00
Xidorn Quan
2de2f0c18e Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc 2015-03-17 19:10:15 +11:00
dvander@alliedmods.net
d560040e6d Don't expand displayports beyond the maximum texture size. (bug 1135907, r=kats) 2015-03-16 22:59:29 -07:00
Markus Stange
86b6ea312f Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn 2015-03-16 18:37:04 -04:00
Markus Stange
620446961e Bug 1141089 - Add some release assertions to gather more data. r=roc 2015-03-16 16:04:00 -04:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Jeff Muizelaar
d0961738de Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange 2015-03-16 14:19:32 -04:00
Kartikaya Gupta
acab963d10 Bug 962594 - Don't build CSS animations for elements that are in a display:none subtree. r=heycam 2015-03-15 20:28:49 -04:00
L. David Baron
f5b9d0a204 Bug 1142360 - Make bidi_numeral_test.js use assertSnapshots rather than using compareSnapshots directly so that it dumps images on failure. r=ehsan
Note that this adds a parameter to the callback function so that we can
keep track of which canvas is for the test and which is for the
reference; previously we didn't care.

It also puts testfile and reffile in local variables so that they can be
reused, and then appends the extra bidi numeral information to reffile
when calling assertSnapshots so that the messages contain the same (or
more) data as before.
2015-03-13 22:24:10 -07:00
Botond Ballo
30ef0a80a0 Bug 1139464 - In GetNearestScrollableFrame(), associate the root APZC with the root scroll frame of the root document (whether chrome or content), not the root content document. r=kats,tn 2015-03-11 17:10:15 -04:00
Botond Ballo
8d53c88caa Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Botond Ballo
46d1e4aa8c Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas 2015-03-06 13:53:47 -05:00
Jim Mathies
13528aa927 Bug 1082510 - When we detect a chrome popup at the current event coordinates and remote content has the mouse captured, release capture. r=Enn 2015-03-12 14:32:20 -05:00
Robert O'Callahan
c12182dad4 Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug 2015-03-14 00:50:10 +13:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange
02b07f6efa Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Markus Stange
458ad738ab Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange
26d3fa6b86 Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa 2015-03-07 18:40:03 -05:00
Robert O'Callahan
ada6918a8a Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats 2015-03-11 00:18:49 +13:00
Robert O'Callahan
315ccebd6d Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
dvander@alliedmods.net
b106231552 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:29:06 -07:00
David Anderson
20bb991890 Backed out changeset de19c60e56bd 2015-03-11 12:28:28 -07:00
David Anderson
27005afac7 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:26:30 -07:00
Ethan Lin
1e698c72b1 Bug 1141926 - Check nsCaret visibility when NotifySelectionChanged. r=roc 2015-03-10 23:01:00 -04:00
Carsten "Tomcat" Book
441ec5e061 Backed out changeset 2550379cff3c (bug 969250) 2015-03-11 10:33:01 +01:00
Kearwood Gilbert
dfb04afbed Bug 969250 - Part 2: Tests for scroll snapping for scrollbars. r=roc 2014-02-17 15:47:29 +13:00
Xidorn Quan
0e0bdaa1f6 Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron 2015-03-11 10:28:21 +11:00
Ehsan Akhgari
3005fdd616 Bug 922977 - Request a longer timeout when running test_reftests_with_caret.html 2015-03-10 12:55:30 -04:00
Jonathan Kew
8be297ccb3 Bug 1138495 - pt 3 - Compute font inflation based on inline-axis dimensions rather than always using physical width. r=smontagu 2015-03-10 14:28:23 +00:00
Jonathan Kew
e4cb0d1374 Bug 1138495 - pt 1 - Rename NS_FRAME_IN_CONSTRAINED_HEIGHT flag to NS_FRAME_IN_CONSTRAINED_BSIZE, and set it appropriately according to writing mode. r=smontagu 2015-03-10 14:28:23 +00:00
Kartikaya Gupta
050bd07ad1 Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Kartikaya Gupta
dcb00c1088 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00