Граф коммитов

44852 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 43ffda7be5 Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles 2015-03-19 21:10:00 -07:00
L. David Baron f913231fd1 Bug 1010675 - Stop allowing button contents to overflow into the CSS padding and border (although still allow them to overflow into our internal focuspadding when the min-content width says the contents don't fit). r=dholbert
Note that this replaces the code that allows eroding the space with new
code that reduces the focusPadding value.

(Also, we previously didn't count the focusPadding towards what could be
eroded, which meant we wouldn't quite get to the edge of the padding and
border, because we weren't counting the extra for the focusPadding.)

The existing reftests that I'm changing from == to != are ones that were
specifically testing issues related to erosion of padding.

The change to 491180-{1,2}-ref.html is because we now *do* erode the
focusPadding, which is 3px in the horizontal dimensions (see the
button::-moz-focus-inner styles in forms.css), and that was the only
nonzero style on the button in 491180-{1,2}.html.
2015-03-19 21:10:00 -07:00
Xidorn Quan 6c553b0e05 Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso
--HG--
extra : source : e3099e6a148be5c0e78e99686d313cf3b5eaa910
extra : amend_source : fce4db18aa4724df434f2f129d568b34896026db
2015-03-20 09:45:41 +11:00
Geoff Brown 09006b9294 Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Kartikaya Gupta ed6d55e8d9 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Carsten "Tomcat" Book c3568f0392 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions
--HG--
extra : rebase_source : 8244bb95c9a09d7da5587a43d598d602ea36b115
2015-03-19 10:40:42 +01:00
Xidorn Quan 96db36c21e Bug 1112474 part 2 - Fix ruby-position reftests with bsize adjustment. r=dholbert
--HG--
extra : rebase_source : 51c27b69f29ce299954ddafc6140a91fc508b917
extra : source : 5cb02c09512316d63f6a3fbda81d04a081cf2907
extra : histedit_source : 01eccfaa0faf1d92e45324e3bb296334fbd53449
2015-03-19 19:04:50 +11:00
Xidorn Quan a85af6a361 Bug 1112474 part 1 - Make utils of CSS Ruby reftests writing-mode aware. r=dholbert
--HG--
extra : rebase_source : 5a4be10876e45a8bb17edcca6e25be4dd5a31c0c
extra : source : 3d79017794b0718d7a382e7197e79544d00e25b4
2015-03-19 19:04:50 +11:00
David Anderson 8ebd1684f7 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : f6b399fe5f877fa88613236778e971c1c41d5ea3
2015-03-17 14:04:36 -07:00
Morris Tseng 80129ca85d Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
d39aa7d3f1 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
1079a8625f Bug 1120705 - Part 1: Limit scrollbar button scrolls to one page per click. r=roc
- When using the scrollbar buttons to scroll a very small scroll frame,
  it is possible to scroll more than one page.  When this occurs, we
  now scroll by a page instead to maintain context between scrolls.
- When scrolling with scrollbar buttons, the
  "toolkit.scrollbox.verticalScrollDistance" and
  "toolkit.scrollbox.horizontalScrollDistance" were swapped,
  resulting in too much scrolling when scrolling vertically and too
  little scrolling when scrolling horizontally.  This has been fixed in
  ScrollFrameHelper::ScrollByLine.
2015-03-18 14:32:00 +01:00
Seth Fowler 0dbe29fdc0 Bug 935850 - Add a little more fuzz to box-sizing-replaced-003.xht. r=me 2015-03-18 18:45:42 -07:00
Seth Fowler 509eb48a54 Bug 1019840 - Use cached intrinsic size in nsImageFrame::ComputeSize unless the image loader has a size. r=tn 2015-03-18 18:29:32 -07:00
Seth Fowler a2a5a162ea Bug 1141376 - Do not call OnSizeAvailable in nsImageFrame::Init. r=tn 2015-03-18 18:29:32 -07:00
Wes Kocher 7be54b949f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-18 15:53:00 -07:00
Gregor Wagner fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Botond Ballo d70b1ea0e6 Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
--HG--
extra : rebase_source : 109fe53588254256b5575e082f709a0cb71fe877
extra : source : d7db1f0cb75b689316da6671bed37d496d17e90c
2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book 47fe95d629 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 61a15823c0 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.

--HG--
extra : rebase_source : 5577ef1ee92591a58d1812130f2ad29e8ec18d32
2015-03-17 00:57:00 -04:00
Ting-Yu Lin b79c10f9e3 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.

--HG--
extra : rebase_source : 1622818b9cbbc82e02188ec7ea8ac7951ba6f634
2015-03-18 03:26:00 -04:00
Ting-Yu Lin 1afed065de 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.

--HG--
extra : rebase_source : d2cb9d4e2234f2b1f92cb7ff4a1730f1f408d275
2015-03-10 20:40:00 -04:00
L. David Baron 634de3488b 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 00a88de17f 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
L. David Baron 8f015c4370 Bug 1125455 patch 4 - For main-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 9d97e616c7 Bug 1125455 patch 3 - Add mochitests for animations overriding transitions. r=birtles
Note that (at this stage) some of the tests in both files fail (which I
have verified locally), as noted by the todos and FIXMEs in the test,
which will be removed in later patches in this bug, as the failures are
fixed.
2015-03-18 07:35:30 -07:00
L. David Baron 3be5178484 Bug 1125455 patch 2 - Set mWinsInCascade for transitions based on whether there are animations. r=birtles 2015-03-18 07:35:30 -07:00
L. David Baron 065aeaa603 Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles 2015-03-18 07:35:29 -07:00
Avi Halachmi 971e1cf05d bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Mats Palmgren ae4574f84f Bug 1139539 - part 4, [css-grid] Tests for simple track sizing and grid item layout. 2015-03-18 09:02:32 +00:00
Mats Palmgren 814afba2b9 Bug 1107778 - part 2, [css-grid] Some reftests for grid item placement with auto positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren a99584fe32 Bug 1009776 - part 7, [css-grid] Some reftests for grid item placement with definite positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren 58b99a313e Bug 1139539 - part 3, [css-grid] Fix a couple of typos in the CSS Grid tests. 2015-03-18 09:02:32 +00:00
Mats Palmgren 666f29058a Bug 1139539 - part 2, [css-grid] Implement grid item containing block calculations and reflow (initial version). r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren 57c724ba23 Bug 1139539 - part 1, [css-grid] Implement primitive grid track sizing. r=dholbert
Basically just 11.4 "Initialize Track Sizes" in:
http://dev.w3.org/csswg/css-grid/#algo-init
2015-03-18 09:02:32 +00:00
Mats Palmgren 63f6e5c364 Bug 1107778 - part 1, [css-grid] implement automatic grid item placement. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren edcb32eb0e Bug 1009776 - part 6, [css-grid] Update the spec reference in a comment. 2015-03-18 09:02:32 +00:00
Mats Palmgren 079c9c2c4f Bug 1009776 - part 5, [css-grid] Fill the cell map if the grid area is definite. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren 18c26fbdc7 Bug 1009776 - part 4, [css-grid] Add a cell map to keep track of which grid cells are occupied. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren 7dc47c3510 Bug 1009776 - part 3, [css-grid] Store the grid item's grid area on a frame property. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren e6838ac9ee Bug 1009776 - part 2, [css-grid] Add a method to inflate the implicit grid to include a given grid area. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren c6cd95c637 Bug 1009776 - part 1, [css-grid] Implement line-based placement. r=dholbert 2015-03-18 09:02:32 +00:00
Timothy Nikkel 7836769148 Bug 1143974. When converting the anchor rect for a xul popup make sure to actually convert for app units differences. r=mats
ConvertAppUnitsRoundOut returns the result, it doesn't modify |this|.
2015-03-18 03:55:01 -05:00
Cameron McCormack 54558bd97b Bug 1144507 - Fix incorrect Promise usage in test_font_loading_api.html. r=jdaggett 2015-03-18 19:54:01 +11:00
Carsten "Tomcat" Book bbf229d607 Backed out changeset 6b528bd3294c (bug 1039926) for R20 test failures on a CLOSED TREE 2015-03-18 09:12:41 +01:00
Markus Stange 9bd0f5b094 Bug 1039926 - Add a test for not invalidating stuff inside mask layers. 2015-03-17 15:47:45 -04:00
Markus Stange 0605c44412 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 726d770b60 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler 38b5cf43f0 Bug 1143267 - Make nsDisplayAltFeedback use nsGenericImageGeometry. r=tn 2015-03-17 19:40:16 -07:00