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

45184 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Lissy 16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01: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
Seth Fowler 12e9117824 Bug 1143506 - Give up on sync decoding if we get DrawResult::BAD_IMAGE. r=tn 2015-03-17 13:56:49 -07:00
Ryan VanderMeulen f5eb4d6f87 Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-17 14:28:42 -04:00
Ryan VanderMeulen 0acc56d335 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-03-17 14:22:40 -04:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Xidorn Quan e0e366baf0 Bug 1143558 part 3 - Reftests for line break suppression inside ruby. r=roc
--HG--
extra : source : 137d41af8d488e58d1a786c8ca2098f026520f8a
2015-03-17 19:10:15 +11:00
Xidorn Quan 99e52bd419 Bug 1143558 part 2 - Convert suppressed line break to whitespace. r=roc
--HG--
extra : source : df417e029054082fdb07fdf918ce178e0e085bca
2015-03-17 19:10:15 +11:00
Xidorn Quan 25df7941eb Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
--HG--
extra : source : c700ba786622769700d740c6761ca5a66879b761
2015-03-17 19:10:15 +11:00
Cameron McCormack 9713270999 Bug 1143953 - Fix typo in test_font_loading_api.html where it incorrectly returns document.fonts.read. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 52e8c418c6 Bug 1143537 - Part 5: Test status of FontFace and FontFaceSet with @font-face rules. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 8e9682a746 Bug 1143995 - Remove unnecessary layout flushes from test_font_loading_api.html. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 9184107ef6 Bug 1143537 - Part 4: Serialize FontFace unicodeRange and fontFeatureSettings with proper defaults. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack fe3694d846 Bug 1143537 - Part 3: Serialize unicode-range without leading zeroes. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 222af9be41 Bug 1143537 - Part 2: Test descriptor getters for CSS-connected FontFaces when the descriptor isn't present. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack a1e1bf9cc2 Bug 1143537 - Part 1: Fix test numbering. r=jdaggett 2015-03-17 18:15:42 +11:00
dvander@alliedmods.net 9215e781e3 Don't expand displayports beyond the maximum texture size. (bug 1135907, r=kats)
--HG--
extra : rebase_source : 95178166bfb1aac79836808e4e5ebaa123145d9f
2015-03-16 22:59:29 -07:00
Markus Stange 4fe0677dda Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn
--HG--
extra : rebase_source : 7e13f848ec50f5c6a91876dc1e618d0fe31ffab2
2015-03-16 18:37:04 -04:00
Markus Stange 235900b2b8 Bug 1141089 - Add some release assertions to gather more data. r=roc
--HG--
extra : rebase_source : 1575191a4bf2ebebb3e15fc82ac3c2addffa67d6
2015-03-16 16:04:00 -04:00
Botond Ballo 2eb9751320 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Jeff Muizelaar 735ab827c5 Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange
--HG--
extra : rebase_source : ca8d18b5aae563a74f913f5b112c6e7c2bcea8f6
2015-03-16 14:19:32 -04:00
Kearwood (Kip) Gilbert 4100987cc3 Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V3 Patch). r=cam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html

--HG--
extra : rebase_source : fe217c528da6806b245c935597855022b3ea2d4b
2015-03-13 18:00:00 +01:00
Kartikaya Gupta f735ff5b59 Bug 962594 - Add tests. r=heycam 2015-03-15 20:28:52 -04:00
Kartikaya Gupta f64fcefe30 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
Timothy Nikkel 223470bfe4 Bug 1130400. Part 1. Pass the passed in anchor frame to SetPopupPosition in nsMenuPopupFrame::LayoutPopup if we have one. r=enndeakin
Bug 562740 combined nsMenuFrame::DoLayout and nsPopupSetFrame::DoLayout to create nsMenuPopupFrame::LayoutPopup.

nsMenuPopupFrame::LayoutPopup called SetPopupPosition with this (the nsMenuFrame) as the anchor and then laid out the menu popup frame. nsPopupSetFrame::DoLayout laid out the menu popup frame and then called SetPopupPosition with the anchor argument as null.

When these were combined into nsMenuPopupFrame::LayoutPopup both SetPopupPosition call were included, the second one always passing null for the anchor even though there may be a non-null anchor passed in from the caller.

This patch simply passes the passed in anchor frame to SetPopupPosition.
2015-03-14 01:11:04 -05:00
Daniel Holbert d2fb7e676f Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats 2015-03-13 23:08:21 -07:00
Daniel Holbert 326494d266 Backed out changeset 6cd4d71818ee (bug 1142686) because it wasn't quite the final patch version 2015-03-13 23:07:57 -07:00
Daniel Holbert 877422a643 Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats
--HG--
rename : layout/style/test/test_dynamic_change_causing_reflow.html => layout/style/test/test_flexbox_reflow_counts.html
2015-03-13 23:00:37 -07:00
Xidorn Quan 7a8ca2a01e Bug 1141928 part 3 - Reftest for simple RTL case. r=jfkthame
The added test only tests the position of ruby text and ruby text container. The position of text inside is not correct yet, which will be fixed in bug 1141931.

--HG--
extra : source : 16ff39aeb8e30223d664355963f25b8bbec17102
2015-03-14 16:46:33 +11:00
Jonathan Kew 382e4487fa Bug 1141928 part 2 - Correct the position of ruby text frames. r=roc
--HG--
extra : source : 914513f894ef001ff8fc593cd36f5e702d49f184
2015-03-14 16:46:33 +11:00
Xidorn Quan b5c74cb24b Bug 1141928 part 1 - Correct the position of ruby text containers in RTL text. r=jfkthame
This patch uses the logical version of FinishReflowChild instead, so that we are able to keep the consistent logical rect, and then fix the rect with correct container width after the whole line is reflowed.

--HG--
extra : source : e944e283799cd04b87c1ed52a3fca68174bf4439
2015-03-14 16:46:33 +11:00
Xidorn Quan b806fae66c Bug 1141928 part 0 - Change line relative dir mapping code to return LogicalSide instead of physical side. r=jfkthame
This also fixes the line relative dir mapping code for inline axis direction.

--HG--
extra : source : 49a69e2193006dd6571765af0f6e464af9fec5b4
2015-03-14 16:46:33 +11:00
Cameron McCormack 9d635d78ad Bug 1123523 - Part 9: Dispatch an nsIAnimationObserver notification when an animation is changed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack d648fe467f Bug 1123523 - Part 8: Dispatch nsIAnimationObserver notifications when an animation is added or removed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack 7edb0d374f Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles 2015-03-14 16:34:40 +11:00
Xidorn Quan 6b6684aace Bug 1141919 part 2 - Drain overflow list of ruby content frame if line break suppression fails somewhere. r=dbaron
--HG--
extra : source : 53e33afd621af625133b87eb5d44fa521570c40d
2015-03-14 16:29:06 +11:00
Xidorn Quan 5193b10097 Bug 1141919 - Fix incomplete line break suppression in ruby. r=dbaron
--HG--
extra : source : 15d558f97b7d2523fa946925e753326dda51467c
2015-03-14 16:29:06 +11:00
L. David Baron cf9dd93a66 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.

--HG--
extra : transplant_source : %86%C0%96N%0E%C9%DB%3A%A8%A1%7DJ%85%04A%10%3A%96%8EY
2015-03-13 22:24:10 -07:00
Daniel Holbert 908a699328 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz
--HG--
rename : layout/style/test/test_unprefixing_service.html => layout/style/test/unprefixing_service_iframe.html
2015-03-13 13:15:09 -07:00
Wes Kocher bbd726bf8c Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE
Backed out changeset 4e00f10f5a2d (bug 1132743)
Backed out changeset 720842726906 (bug 1132743)
2015-03-13 15:16:33 -07:00
Daniel Holbert aff7407e30 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz
--HG--
rename : layout/style/test/test_unprefixing_service.html => layout/style/test/unprefixing_service_iframe.html
2015-03-13 13:15:09 -07:00
Ryan VanderMeulen 9cf01b9c13 Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen 29c79b8b0b Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Alexandre Lissy b2ce088272 Bug 1142928 - Make 1090168-3.html fuzzy on Mulet as on B2G. r=jfkthame
--HG--
extra : rebase_source : 2f6cf02b8e43c2569802f20f66fbdd0165d6b1c5
2015-03-13 06:25:00 -04:00
Botond Ballo 70559e5194 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
--HG--
extra : source : 2ab85f9edf4d74962ca6bede6669cfc28b6b8e15
2015-03-11 17:10:15 -04:00
Carsten "Tomcat" Book 2d961b94ee Backed out changeset ef3881f8d1a3 (bug 1140623) for causing perma m20 failures on b2g
--HG--
extra : rebase_source : 95c46b1f74ba2a7852d2c1648af170c3ca8c9276
2015-03-13 16:32:50 +01:00
Gijs Kruitbosch 0c1e2d28ae Bug 1135545 - add logging to figure out bug 1135545, rs=test-only-logs 2015-03-13 13:41:37 +00:00
Jim Mathies d6d7d5c6d6 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 72f3e0b5cb Bug 1141252. Don't mark the TablePainter display item as having background-attachment:fixed content if the background-attachment:fixed image will be painted by a dedicated nsDisplayTableCellBackground. r=mats
--HG--
extra : rebase_source : 4e932f88532896f4a65ffd86445c623ba1b66ec6
2015-03-12 15:08:26 +13:00
Robert O'Callahan 843379803a Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Botond Ballo cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Botond Ballo 4f5da1dd25 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Kearwood (Kip) Gilbert c25ae95f1b Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V2 Patch). r=heycam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-12 11:22:00 +01:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange dee805a312 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 59f454bb84 Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange 0a619bf51b 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 Longson 42783f00a8 Bug 1141636 - "Dubious loop test in nsSVGElement::GetAnimatedLengthListValues". r=cam f=longsonr
--HG--
extra : rebase_source : be584aae6e5b242feea81056dab7684cf0476d39
2015-03-12 00:39:00 +01:00
Alexandre Lissy aa609d8ba1 Bug 1139893 - Disable reftest bugs/1062108-1.html on mulet. r=jfkthame
There is a real issue underlying, tracked in bug 1141535
2015-03-10 06:59:00 -04:00
Carsten "Tomcat" Book 3f60990baf Backed out changeset 5ad9cc334725 (bug 1141636) for suspicion of causing failures in wr tests 2015-03-12 13:05:40 +01:00
Jonathan Kew 49e2f2f158 Bug 1136557 - Reftests with nested spans in vertical mode. r=smontagu 2015-03-12 10:48:12 +00:00
Jonathan Kew 5ed866f8fa Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Xidorn Quan c0df2e2d3b Bug 1142400 - Separate padding calculation in Get{Min,Pref}ISize and Reflow of nsBulletFrame. r=dbaron
--HG--
extra : source : bb4e850d9a1d2f86395cc2c4880c65073c7fd0e4
2015-03-12 20:53:54 +11:00
Robert Longson 40c622e1ff Bug 1141636 - call GetAnimatedLengthListValues with valid arguments. r=heycam 2015-03-12 09:04:47 +00:00
Xidorn Quan a0cff90eee Bug 1142369 - Include padding of generated image in intrinsic isize of bullet frame. r=roc
--HG--
extra : source : 16afdc3d6f1e987f086bb0a378e98ab747699e15
2015-03-12 16:57:08 +11:00
Robert O'Callahan 77972f304e Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
--HG--
extra : rebase_source : e71b72254a56d54fe95410c5ccb7855b7d42d675
extra : histedit_source : ffddeedc9f2ec5a4ccdfcc41444c28a1a9da01f3
2015-03-11 00:18:49 +13:00
Robert O'Callahan 0eaf4ed6de Bug 1125767. CSS/SVG filters on an element should make it a containing block for fixed-pos and abs-pos descendants. r=mats
--HG--
extra : rebase_source : 0ff5c8df669024ad487ff6360fef38519830ee64
extra : histedit_source : 2166fc8916cf44001e0b9344153d7bba8dcd10ac
2015-03-09 23:44:49 +13:00
Robert O'Callahan c7d1538273 Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.

--HG--
extra : rebase_source : b412f6291d34e30e8d57e054645bd1e04f43593f
extra : histedit_source : 01a2bd57de4eec4ecf3f3712ee609d70ca14cda4
2015-03-12 16:21:01 +13:00
Wes Kocher b7ae2e9516 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 243776ce01fcd38161dd94411e0bc1cbfb2f7cb2
2015-03-11 19:06:00 -07:00
Ryan VanderMeulen 97acbd9776 Merge m-c to b2g-inbound. a=merge 2015-03-11 16:03:39 -04:00
Alexandre Lissy 6f44859ccd Bug 1141511 - Disable some gtk2Widget-dependant reftests on Mulet. r=ahal 2015-03-10 09:20:00 -04:00
Xidorn Quan 3bddba82c5 Bug 1141842 - Add LastOptionalBreakPriority to nsLineLayout to simplify some code. r=roc
--HG--
extra : source : 99f9967c5eef6b1d032ae0b3b778a06b28e21d07
2015-03-11 14:14:48 +11:00
Carsten "Tomcat" Book 0a4da0c676 Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures 2015-03-11 10:33:52 +01:00
Carsten "Tomcat" Book 1890dfae1e Backed out changeset 2550379cff3c (bug 969250) 2015-03-11 10:33:01 +01:00
Jonathan Kew 6b3a5ec77d Bug 1141676 - Reftest for sizing of synthetic sub/superscript glyphs. r=jdaggett 2015-03-11 08:49:51 +00:00
Tooru Fujisawa 76c4a0a7cb Bug 1141748 - Do not use non-standard flag argument of String.prototype.replace in CSSUnprefixingService.js. r=dholbert 2015-03-11 05:47:08 +09:00
dvander@alliedmods.net 8274a27143 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:29:06 -07:00
David Anderson c2a7ec14a4 Backed out changeset de19c60e56bd 2015-03-11 12:28:28 -07:00
David Anderson a370836303 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:26:30 -07:00
Botond Ballo d7a0e22202 Bug 1130982 - With multi-FrameMetrics on APZ platforms, do not apply clips to scroll ports of frames other than the bottom-most one on the layout side. r=kats,mattwoodrow
--HG--
extra : rebase_source : d18099d4bc77c3b98ea99f218f888a5901c5f16c
2015-02-20 19:53:08 -05:00
Botond Ballo 82beff1690 Bug 1130982 - Fix a reftest so an element that's supposed to be scrollable actually is. r=kats
--HG--
extra : rebase_source : 1d8dd8285f2d81f7807a6e4cc9d74715763f5a31
2015-02-20 19:52:17 -05:00
Kartikaya Gupta 8f8ac01d11 Bug 1130982 - Reftest for this bug. r=mattwoodrow
--HG--
extra : rebase_source : 34204f372f9c73412ca301e5ebd89cb75fd6432d
2015-02-25 17:59:41 -05:00
Ethan Lin 4de81417ac Bug 1141926 - Check nsCaret visibility when NotifySelectionChanged. r=roc 2015-03-10 23:01:00 -04:00
Alexandre Lissy 1e7c8bf446 Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal 2015-03-11 08:15:00 -04:00
Bevis Tseng bb7c33d747 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi
--HG--
extra : rebase_source : 115641804ec40a733ea7313043f44478774f8ecf
extra : histedit_source : adeca2a2a706247efad367073b2c7943af4e4496
2015-01-13 18:03:44 +08:00
L. David Baron ee83e8e2bc 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-20 06:47:29 -07:00
L. David Baron 3ad133576f Bug 1123979 - Make the crashtest for bug 769303 more reliable by using reftest-wait correctly. r=mats
Once we do this, we'll be able to get a better sense of how common this
intermittent failure is and where it occurs.
2015-03-20 06:47:28 -07:00
Xidorn Quan d3f55815a8 Bug 1145514 - Enable FAIL_ON_WARNINGS on MSVC in layout/generic. r=roc
--HG--
extra : source : dafc547721095aaa82a8f600396573ec34ffc581
2015-03-20 22:24:01 +11:00
Carsten "Tomcat" Book 04e606dfb6 Backed out changeset 550a27b00121 (bug 1117603) for perma OSX m-oth test failures on a CLOSED TREE
--HG--
extra : rebase_source : 836e3acb5be48de32b891cc7ed89275e76625ef6
2015-03-20 10:25:28 +01:00
Carsten "Tomcat" Book 9457f417cb Backed out changeset 9590d9ed9e76 (bug 1117603)
--HG--
extra : rebase_source : f6374403f0f620e6edf06d34b8283ef54e750753
2015-03-20 10:22:27 +01:00
Jonathan Kew cd845df31d Bug 1134849 - Reftest for orthogonal inline elements. r=dbaron 2015-03-20 08:12:51 +00:00
Jonathan Kew 9b8fde7ace Bug 1134849 - For display:inline elements whose writing mode is orthogonal to their parent's, the computed value should become inline-block. r=dbaron 2015-03-20 08:12:49 +00:00
chiajung hung c56f9b604b Bug 1129249 - Add a "restyle" feature to profiler and split the style label in Cleopatra based on the restyleSource, r=dholbert,mstange
--HG--
extra : rebase_source : 0da0203824cfbf2265b42229b298274156633ddd
2015-03-19 02:19:00 +01:00
Daniel Holbert acb8e18785 Bug 1128354: Don't optimize away a flex item's second reflow, if it has percent-height children. r=mats 2015-03-19 23:00:05 -07:00
Phil Ringnalda 0b8d3e9eb3 Back out ceaac3da2eff (bug 1010675) for Android reftest failures
CLOSED TREE
2015-03-19 22:49:45 -07:00
Timothy Nikkel cac47f4cca Bug 1130400. Part 2. Use a reflow callback to set the position of xul popups. r=enndeakin
During reflow our frame, or any ancestors, may not yet be placed at their final position. So calculating the screen position of our popup during our reflow could produce incorrect results.

Instead post a reflow callback to do it after reflow is finished.
2015-03-19 23:55:33 -05:00
Timothy Nikkel ee25d81197 Bug 1143974. Add test. 2015-03-19 23:48:12 -05:00
Xidorn Quan 69bd92ee0e Bug 1145036 part 2 - Rename nsTableFrame::GetCellSpacingX/Y to GetCol/RowSpacing. r=roc
--HG--
extra : source : f499ce6fd4e7d007a053fb5dda47d32c698d71ce
2015-03-20 15:16:00 +11:00
Xidorn Quan b4efb87d4a Bug 1145036 part 1 - Rename mBorderSpacingX/Y to mBorderSpacingCol/Row. r=heycam
--HG--
extra : source : 4f0a5e14993dd26e4a25d5f05ea1ec274bebe4e6
2015-03-20 15:16:00 +11:00
Brian Birtles d2405f9465 Bug 1117603 part 2 - Don't unregister from the refresh driver unless we are also queueing events; r=dbaron 2015-03-20 13:10:38 +09:00
Brian Birtles fec249e9b1 Bug 1117603 part 1 - Don't assume style rules have been refreshed in GetAnimationRule; r=dbaron
Typically when GetAnimationRule is called, at least for CSS Animations, the
animation style rule will have been refreshed. However, in some cases such as
when the Web Animations API is used, the style rule will be marked as needing
to be refreshed outside of the usual flow. This rule will be refreshed when
nsAnimationManager::WillRefresh flushes animations but if the refresh driver
for the chrome document fires first, we will visit GetAnimationRule before
this happens.

This patch removes the assertion that expects animations to have been
refreshed by the time we reach GetAnimationRule causing it to update
the animation style rule as necessary.
2015-03-20 13:10:38 +09:00
Xidorn Quan c9ec579ba2 Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
--HG--
extra : source : 3acc263e7d18fc2946bd043edcf7ae865e3874fe
2015-03-20 15:12:17 +11:00
L. David Baron 844ee17b53 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 92c8f10ebf 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
L. David Baron c64617d10d 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-19 21:10:00 -07:00
L. David Baron beb96f1918 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-19 21:10:00 -07:00
L. David Baron f93a10293b Bug 1125455 patch 2 - Set mWinsInCascade for transitions based on whether there are animations. r=birtles 2015-03-19 21:10:00 -07:00
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 8e79b11b49 Bug 1088489 followup - Remove accidentally nested <rbc> from box-generation-4-ref.html. rs=dholbert DONTBUILD
--HG--
extra : source : 7aa98b290638b68cfdfe9cd78e41ab34fff4b891
2015-03-11 11:25:14 +11:00
Xidorn Quan 794ab1c0ea Bug 1140264 part 4 - Reftest for this bug. r=dbaron
--HG--
extra : rebase_source : 156e6cb26e37c17caa923fc550e117f30c540e63
extra : source : 8ca4660c0251bd3b3ab702af92de11e300e897bb
2015-03-11 10:28:21 +11:00
Xidorn Quan e89adacefb Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron
--HG--
extra : rebase_source : b782506792fd47e41c694a49fca3967282c96113
extra : source : 9836c81fe7d401432856491dc65c38b150e5e157
2015-03-11 10:28:21 +11:00
Xidorn Quan b5e5ccaa5b Bug 1140264 part 2 - Move and merge line breaking code in rbc reflow to reduce useless computation and fix undesired break point. r=dbaron
--HG--
extra : rebase_source : 16081f365a95f7ca2abaf9e42abb70cc37193a90
extra : source : 9b63131b3248015451e9fd12f18da327d5a7267c
2015-03-11 10:28:21 +11:00
Xidorn Quan 8d078dffee Bug 1140264 part 1 - Avoid expanding auto-hidden ruby annotations. r=dbaron
This could sometimes cause undesired overflow area.

--HG--
extra : rebase_source : e06898d983a9c49a7332e4be5649142ffa49eb24
extra : source : 59cffbcfda7e6d8167ff663c9c7da133fbf95346
2015-03-11 10:28:21 +11:00
Wes Kocher d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Ehsan Akhgari a4099ba4c5 Bug 922977 - Request a longer timeout when running test_reftests_with_caret.html 2015-03-10 12:55:30 -04:00
Carsten "Tomcat" Book cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Xidorn Quan 4407f03467 Bug 1130891 part 3 - Add param to HTMLCopy to allow copy with ruby annotation. r=smaug
--HG--
extra : source : 57de10711eec392abda832e0df2b4186881180b0
2015-03-10 17:11:55 +11:00
John Daggett dc7bf5c8d6 Bug 1140946 - tweak fall-through for ex/ch restyle on font load. r=dbaron 2015-03-10 13:55:11 +09:00
Wes Kocher afd56832f4 Merge m-c to inbound a=merge CLOSED TREE 2015-03-09 19:06:17 -07:00
Wes Kocher 5e8e02e501 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mason Chang cff9450e4b Renable reftests due to bug 1123762. r=me 2015-03-09 15:55:01 -07:00
Mats Palmgren 73069181c8 Bug 1140579 - Additional tests and code comment update. 2015-03-09 17:29:00 +00:00
Alexandre Lissy e8b4f395c0 Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal 2015-03-10 02:43:00 +01:00
Jonathan Kew 48c3169855 Bug 1138495 - pt 4 - Remove failure annotation from the final testcase, and add specific equality tests for the correctly-inflated rendering of 1c and 1d. r=smontagu
--HG--
rename : layout/reftests/writing-mode/font-inflation-1-ref.html => layout/reftests/writing-mode/font-inflation-1c-ref.html
rename : layout/reftests/writing-mode/font-inflation-1-ref.html => layout/reftests/writing-mode/font-inflation-1d-ref.html
2015-03-10 14:28:23 +00:00
Jonathan Kew eda6f033e5 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 b2818a1915 Bug 1138495 - pt 2 - Remove failure annotations from tests that no longer fail; note that the comparison of font-inflation-1c.html vs 1d still fails (they should inflate by different amounts). r=smontagu 2015-03-10 14:28:23 +00:00
Jonathan Kew f5b4780e94 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
Jonathan Kew 59208520d6 Bug 1138495 - pt 0 - Reftests for font inflation in vertical writing mode, initially annotated as failing. r=smontagu 2015-03-10 14:28:23 +00:00
Mike Hommey 364038011c Bug 868814 - Fold mozalloc library into mozglue. r=njn
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Kartikaya Gupta c6da1df376 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 cf25343ea5 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
Milan Sreckovic 76dd5cd892 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Alexandre Lissy 7af743b42f Bug 1139895 - Add fuzz for 1062792-1.html. r=tn 2015-03-07 01:10:00 -05:00
Phil Ringnalda 1f21ae9b68 Merge m-c to m-i 2015-03-08 13:34:08 -07:00
Phil Ringnalda ed7996f8c6 Merge b-i to m-c, a=merge 2015-03-08 13:27:18 -07:00
Robert Longson d9a0e5762b Bug 1138065 - view elements as fragment identifiers should have normal target matching. r=dholbert 2015-03-08 17:34:47 +00:00
Mason Chang 2c72afd948 Bug 1019840 - Disable intermittent width-special-values-image-block.html on b2g. r=philor 2015-03-08 09:48:04 -07:00
Phil Ringnalda aba7731861 Merge b-i to m-c, a=merge 2015-03-07 19:18:39 -08:00
Xidorn Quan d4289c7714 Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change

--HG--
extra : source : 42bbf0328b450d1094250159fe9f7f0d07622290
2015-03-08 18:43:22 +11:00
Robert Longson 751b0c932b Bug 1140080 - ensure we only create stop frames for gradients. r=dholbert 2015-03-08 06:49:33 +00:00
Phil Ringnalda 8f5c1764fb Merge m-c to m-i 2015-03-07 19:39:49 -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
L. David Baron 10fa0b3d2f Bug 1140486 patch 2 - Make nsTextFrame::UpdateOverflow include the visual overflow from the text metrics by calling existing RecomputeOverflow. r=jfkthame
UpdateOverflow and RecomputeOverflow need to remain two separate
functions since RecomputeOverflow is called from line layout, prior to
setting the overflow areas, whereas UpdateOverflow needs to reset the
overflow areas and (via its return value) propagate the change to
ancestors.  However, they should share more code than they do today.

The only substantive (non-error-handling) change this is making is that
it's adding the MeasureText call, manipulation of the resulting
boundingBox, and inclusion of that bounding box in the visual overflow.
This is exactly the change that I'm trying to make in this bug.

It's also changing the error handling if EnsureTextRun returns null, but
I don't think we need to worry about that case much.
2015-03-07 12:27:36 -08:00
L. David Baron 0d0b0e8f2d Bug 1140486 patch 1 - Pass block frame instead of block reflow state to nsTextFrame::RecomputeOverflow. r=jfkthame
This allows calling it from UpdateOverflow in patch 2.
2015-03-07 12:27:36 -08:00
Jonathan Kew b42aa70b5d Bug 1114329 - Reftests for floats within blocks of varying width and directionality. r=smontagu 2015-02-18 12:25:46 +00:00
Mats Palmgren eaaf4319bb Bug 1140198 - Tweak display:contents test to make this test green again. r=me on a CLOSED TREE 2015-03-07 17:38:57 +00:00
Mats Palmgren b1a684cc86 Bug 1140579 - Make <legend>s have a legend frame when nearest ancestor frame is a fieldset frame. r=roc
IOW, drop the requirement that the parent *content* is a <fieldset>,
thus allowing a <legend> to become the fieldset legend also when it's
wrapped in one or more nodes that are styled with display:contents.
2015-03-07 14:53:46 +00:00
Mats Palmgren 4c74b7ca6b Bug 1140579 - (backout rev 27ac269bb796 b/c wrong bug number in commit message) 2015-03-07 14:53:45 +00:00
Mats Palmgren 5bf718435c Bug 1140198 - display:contents on the root element (but not else-where) should compute to 'block'. r=roc 2015-03-07 14:35:02 +00:00
Mats Palmgren c8890df726 Bug 1140198 - Make <legend>s have a legend frame when nearest ancestor frame is a fieldset frame. r=roc
IOW, drop the requirement that the parent *content* is a <fieldset>,
thus allowing a <legend> to become the fieldset legend also when it's
wrapped in one or more nodes that are styled with display:contents.
2015-03-07 14:35:01 +00:00
Mats Palmgren baf253e663 Bug 1140160 - Handle insertions into a <fieldset> child with display:contents correctly. r=roc 2015-03-07 14:35:01 +00: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
Kearwood Gilbert e8de79897a Bug 969250 - Part 2: Tests for scroll snapping for scrollbars. r=roc
--HG--
extra : rebase_source : 49c4fed77484bc7041266a2233d2e0e359138dcb
2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert bcb7c7d431 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
--HG--
extra : rebase_source : df2b831d2cad8210b6c92122aa701fc21335ae6d
2015-03-03 17:40:00 +01: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
Markus Stange 4215086d34 Bug 913443 - Extract layer hint calculation. r=roc
--HG--
extra : rebase_source : eee7b00b69b46e106865911e58a0b06a8643980e
2015-03-02 19:24:18 -05:00
Markus Stange 09230009c4 Bug 913443 - Break up CreateOrRecyclePaintedLayer into more parts. r=roc
--HG--
extra : rebase_source : d02edc77f41f0192f17d756e70e6e5c447c420bd
2015-03-02 18:43:58 -05:00
Markus Stange 5f382d9022 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.

--HG--
extra : rebase_source : 19902be9ca536f515dee62bb110c02ccb9e7f954
2015-03-02 18:29:12 -05:00
Markus Stange d867421498 Bug 913443 - Remove mention of the word ThebesLayer in a comment. r=roc
--HG--
extra : rebase_source : 08a2bc7ce404129b47b0e3e51187926fc3298cee
2015-03-02 18:19:12 -05:00
Cameron McCormack 5ca39a7a39 Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 18:06:29 +11:00
Alexandre Lissy c87d8ae9ed Bug 1138444 - Add Mulet detection for reftests. r=jgriffin
--HG--
extra : rebase_source : 5b50f02fe229b8d0dfaaba3924061dc6b985f3b8
2015-03-03 03:20:00 -05:00
Chris Manchester dc928c0e88 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal
--HG--
extra : rebase_source : 1c6579dfd5cd44973a74b5c0f81b14fca6f170d4
2015-03-03 17:37:19 -08:00
Ethan Lin a4f6df37a6 Bug 1125750 - Add auto test to detect error when using mOuter to check overflow area of a scrollable frame. r=dbaron
--HG--
extra : rebase_source : 25d3b279293a57d0e61dd16e0ddfc1a8086194fa
2015-03-03 17:46:00 +01:00
Ethan Lin f9723b32cf Bug 1125750 - Check the overflow region direction to avoid unnecesary reflow for scrollable frame. r=dbaron
--HG--
extra : rebase_source : f95ce49ad13e9c26ad225d5135d9dd545485b6e8
2015-02-08 18:57:00 +01:00
Carsten "Tomcat" Book 6b5f4b3d7d Backed out changeset bc9e6089b8e1 (bug 1136010) for Android 4.0 Assertions 2015-03-04 13:28:31 +01:00
Cameron McCormack 070d9fd69a Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 21:57:46 +11:00
Carsten "Tomcat" Book 2a141107db Backed out changeset 4916ccff311d (bug 1135907) for crashtest failures 2015-03-04 08:41:06 +01:00
Cameron McCormack 7c9ab125c2 Bug 1138788 - Allow CSSParserImpl::SetURLValue assertion to succeed when under IsValueValidForProperty, even with no sheet principal. r=dholbert 2015-03-04 18:00:09 +11:00
David Anderson 0bb7465334 Inactive subframes-in-subframes add event regions to the wrong layer. (bug 1139213, r=tn)
--HG--
extra : rebase_source : c4dc2b13f0b48aa45cbdc6e6f3ed8766dd063265
2015-03-03 21:20:50 -08:00
Cameron McCormack 3d4a394d35 Bug 1137031 - Do not stop restyling when TryStartingTransitiosn gives us a new style context. r=dbaron
It is not correct to stop restyling by leaving the old style context on
the frame and returning eRestyleResult_Stop when TryStartingTransition
provides a new, without-animations style context.  This is at least
because the new new style context could have different styles from the
old new style context.
2015-03-04 16:08:00 +11:00
David Anderson ed57682ba9 Clamp displayports to the maximum texture size. (bug 1135907, r=kats,tn)
--HG--
extra : rebase_source : aeeec3a63cdd62dcd8118192f307aa72be28f640
2015-03-03 11:14:18 -08:00
Xidorn Quan f6bca779b7 Bug 1133624 - followup add fuzzy maxdiff on CLOSED TREE 2015-03-04 14:41:48 +11:00
Xidorn Quan 543cbfa069 Bug 1138092 - Add sanity check before checking ruby-align in TextAlignLine. r=dbaron
--HG--
extra : source : a799c7cadf0dbb3efccee3076987acdc0fdabc79
2015-03-04 13:04:11 +11:00
L. David Baron da27c29b8c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Xidorn Quan 1d23917104 Bug 1133624 - Add lang-specific ruby rules to ua.css. r=dbaron
--HG--
extra : source : 8247c6276ff08a34c830b75376e7e68f15e1e7a2
2015-03-04 13:00:53 +11:00
Wes Kocher 01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen 6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Jonathan Kew 4e2dd5586a Bug 1138527 part 2 - Reftest for application of font inflation to ruby. r=roc
--HG--
extra : source : e02aa7d49bcc8a1efcfb6a54460e66207fa5bd5a
2015-03-03 16:06:36 +11:00
Xidorn Quan e7dadd8f81 Bug 1138527 part 1 - Make ruby annotations have the same font inflation as its containing ruby frame. r=roc
--HG--
extra : source : d4f7098b00f88131e2a45a80ce09e6995eb44ed3
2015-03-03 16:06:36 +11:00
Jonathan Kew 6d037e9793 Bug 1136521 - Don't try to use the ascent when placing a frame whose block-direction doesn't match the line's. r=smontagu 2015-03-03 16:39:45 +00:00
Jonathan Kew 6f66e94af6 Bug 1123284 - pt 2 - Fix Get{Min,Pref}ISize in nsLeafBoxFrame for vertical mode. r=smontagu 2015-03-03 16:38:49 +00:00
Jonathan Kew 8eae56249b Bug 1123284 - pt 1 - Make nsTextBoxFrame somewhat aware of vertical writing mode, to allow <input type=file> to display properly. r=smontagu 2015-03-03 16:38:31 +00:00
Mason Chang a9182f7264 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Anish df7d9b1c0e Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers 2015-03-03 08:46:35 -05:00
Jonathan Kew 32df2d8718 Bug 1138353 - Correct the directionality of vertical-align dimensions in cases where line- and flow-relative coordinate directions differ. r=smontagu 2015-03-03 12:25:17 +00:00
Jonathan Kew 15ddbee866 Bug 1134744 - Reftest for baseline of radio button and checkbox. r=smontagu 2015-03-03 12:25:17 +00:00
Jonathan Kew 4c781f24a6 Bug 1134744 - Fix baseline for form controls when line is inverted relative to block dir. r=smontagu 2015-03-03 12:25:17 +00:00
Boris Zbarsky edd402d841 Bug 1137984. When parsing attribute selectors, treat EOF as ']' any place ']' is allowed. r=dbaron 2015-03-03 07:12:00 -05:00
Boris Zbarsky 07d483677a Bug 1135764. Make sure XSLT transform results have a document timeline so things like transitions will work. r=smaug 2015-03-03 07:12:00 -05:00
Jim Mathies 9f9b260354 bug 1127794 - With remote content calculate and store plugin geometry updates prior to the end of the shadow layer transaction. r=roc 2015-03-02 05:01:58 -06:00
Botond Ballo 6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Botond Ballo 08a367dfcc Bug 1136914 - Don't lose scale from parent document when descending into subdocument. r=tn
--HG--
extra : rebase_source : 9df0d3585a615b8869c134571aaf5b55812b1592
2015-02-27 15:36:31 -05:00
Xidorn Quan f34ad1a424 Bug 1137889 part 2 - Move around definitions in counterstyles.css to match the order in spec for clarity. r=jfkthame
--HG--
extra : source : ee47504645ec8729a6a56326e7f7fc16a39fbc18
2015-03-03 08:32:58 +11:00
Xidorn Quan abdb0668e1 Bug 1137889 part 1 - Update predefined counter style name table to match the spec. r=jfkthame
--HG--
extra : source : b264c92249fcf713fde635b41aaa190884177636
2015-03-03 08:32:58 +11:00
Mason Chang d13101a581 Bug 1134459. Don't scroll reftests until the page finishes loading. r=seth 2015-03-02 13:27:46 -08:00
Ehsan Akhgari 4a241b25eb Attempt to fix bug 1137717 by focusing the test frame 2015-03-02 16:06:08 -05:00
Wes Kocher a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Mats Palmgren ddf90708d1 Bug 1137723 - Don't call ::IsBoxWrapped(this) with the current mParent intact b/c IsBoxWrapped uses GetParent() and it may have been destroyed while this frame is still sitting an overflow list waiting to be lazy re-parented. r=roc 2015-03-02 13:59:29 +00:00
Fabrice Desré fa7df3a41f Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ryan VanderMeulen 9e25960569 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-27 13:23:30 -05:00
Wes Kocher 229490154a Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Ms2ger e705bd4203 Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré 26484e0481 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Kartikaya Gupta abb77fea1d Bug 1137232 - Fix dumping of client layers so it doesn't get truncated. r=dvander
DONTBUILD because NPOTB
2015-02-26 15:57:42 -05:00
Daniel Holbert c928a4cf50 Bug 1107378 - Part 4: Add mochitest for our CSS unprefixing functionality. r=dbaron 2015-02-26 12:07:08 -08:00
Daniel Holbert 9bd3f234d9 Bug 1107378 - Part 3: In cases where we're unprefixing, treat "display:-webkit-box" as "display: flex" (& same for "-moz-box" if we previously saw "-webkit-box"). r=dbaron 2015-02-26 12:07:07 -08:00
Daniel Holbert 2e3b8890c2 Bug 1107378 - Part 2: Make the CSS Parser call out to the unprefixing service, when it detects a vendor-prefixed property name (if pref is enabled). r=dbaron 2015-02-26 12:07:06 -08:00
Daniel Holbert b855d11507 Bug 1107378 - Part 1: Create a JS-implemented "CSS Unprefixing Service" that can convert certain -webkit prefixed CSS to an unprefixed form. r=dbaron 2015-02-26 12:07:05 -08:00
Wes Kocher cc0d195b68 Backed out 4 changesets (bug 1107378) as a last grasped straw to figure out the m-dt bustage on a CLOSED TREE
Backed out changeset 44144b892414 (bug 1107378)
Backed out changeset 5a8d5e8ff524 (bug 1107378)
Backed out changeset 960037d0fc98 (bug 1107378)
Backed out changeset 23fb39cb0f97 (bug 1107378)
2015-02-26 23:35:25 -08:00
Botond Ballo 986201d30d Bug 1071018 - Work around an assertion (will be fixed properly in bug 1036967). r=kats
--HG--
extra : rebase_source : bf3688474e8f7164941bb55f6ec099881c2fa21d
2015-02-25 18:30:46 -05:00
Daniel Holbert 04fdf02f68 Bug 1107378 part 4: Add mochitest for our CSS unprefixing functionality. r=dbaron 2015-02-26 12:07:08 -08:00
Daniel Holbert 3685d087a3 Bug 1107378 part 3: In cases where we're unprefixing, treat "display:-webkit-box" as "display: flex" (& same for "-moz-box" if we previously saw "-webkit-box"). r=dbaron 2015-02-26 12:07:07 -08:00
Daniel Holbert 6e8f218fc4 Bug 1107378 part 2: Make the CSS Parser call out to the unprefixing service, when it detects a vendor-prefixed property name (if pref is enabled). r=dbaron 2015-02-26 12:07:06 -08:00
Daniel Holbert 1ca91c67a2 Bug 1107378 part 1: Create a JS-implemented "CSS Unprefixing Service" that can convert certain -webkit prefixed CSS to an unprefixed form. r=dbaron 2015-02-26 12:07:05 -08:00
Markus Stange 90e3d46535 Bug 961887 - Add some reftest fuzz. 2015-02-25 15:36:27 -05:00
Anish Chandran a58e64d193 Bug 1135383 - Convert Marionette unit tests to use SpecialPowers.pushPrefEnv. r=jmaher, r=mwargers 2015-02-25 19:31:36 +01:00
Daniel Holbert 7bbef2cd90 Bug 1135200: Hook up nsCSSParser's pref-backed bool variables in a startup method. r=heycam 2015-02-26 09:02:19 -08:00
Ehsan Akhgari f5032448f3 Bug 1132768 - Consider non-editable regions in contenteditable elements as user-select:all even if the editable region doesn't have the focus; r=roc 2015-02-26 09:18:27 -05:00
Kartikaya Gupta 2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta 4ebb7ef7d1 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
Ting-Yu Lin eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
chiajung hung 46866d6824 Bug 1129249 - Expose the element id in Gecko profiler for Restyle. r=dholbert r=benwa 2015-02-25 23:16:00 +01:00
Xidorn Quan 584fa0b43b Bug 1135954 part 2 - Make GetUniqueStyleData private and remove no longer used unique cases. r=heycam
--HG--
extra : source : 5d884b04b432946c1a7185e6dbd5db4819c3b9bb
2015-02-26 16:18:15 +11:00
Xidorn Quan b11baf4acb Bug 1135954 part 1 - Create empty border/padding style struct for rbc/rtc. r=heycam
--HG--
extra : source : 036de96aecb8a5e2c40e4d722b689c3db81583b7
2015-02-26 16:18:15 +11:00
Kartikaya Gupta 92986059d4 Bug 1136803 - Properly remove the force-dtc override flag on retained layers when listeners are removed. r=botond 2015-02-25 13:36:19 -05:00
Kartikaya Gupta 934d955071 Bug 1134493 - Ensure we don't set the force-empty-hit-region flag when a subdocument has mozpasspointerevents. r=botond 2015-02-25 13:36:19 -05:00
Markus Stange 511a39c19d Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc
--HG--
extra : rebase_source : 7b5877bc9336e3b01ec43732a5697fba7994c465
2015-02-25 11:47:22 -05:00
Markus Stange 6d5ecb7b01 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc
--HG--
extra : rebase_source : 21afe457b330919ba98705c39cd12e44734244cc
extra : source : 97c8184c30588f83147d1abe9ac66696ae35fd7a
2015-02-20 14:46:09 -05:00
Markus Stange f56803507c Bug 961887 - Refactor mVisibleAboveRegion management. r=roc
--HG--
extra : rebase_source : fc3b37cdce3cfce091e3552d2a2fc4d0d7c16fad
extra : source : f02c5c1f77048fabaf45c2f7626f900157ee47f7
2015-02-18 17:37:19 -05:00
Mats Palmgren 8c27917737 Bug 1134531 - Remove nsTextFrame::DidSetStyleContext which only contained a (now obsolete) wallpaper. r=heycam 2015-02-24 18:35:30 +00:00
Mats Palmgren 5db9cb8bc7 Bug 969756 - Add a test. 2015-02-24 18:35:30 +00:00
John Schoenick a11862a8ae Bug 1136379. Clean up the nsPluginHost API a bit. r=bzbarsky 2015-02-25 11:36:39 -05:00
Boris Zbarsky a7d78c82c0 Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Ting-Yu Lin 8c97b329f6 Bug 1136735 - Ignore events if there's no SelectionCarets elements. r=ehsan
XUL has no CanvasFrame. Hence no SelectionCarets elements.
SelectionCarets should ignore the events if it cannot get its elements.
2015-02-25 18:48:00 -05:00
Carsten "Tomcat" Book fac9e15494 Backed out changeset ed12a3822cb9 (bug 1132768) for mochitest-oop-1 test failures
--HG--
extra : rebase_source : 25acbb70ac1aadeeaef466974c2a0f16de7a5fb1
2015-02-25 15:49:55 +01:00
Kartikaya Gupta 6e2b17d2de Bug 990907 - Don't add text-overflow markers while being actively scrolled by APZ. r=mstange,tn 2015-02-25 09:33:00 -05:00
Kartikaya Gupta 9aa660ca7b Bug 990907 - Have DLBI pick up changes in the char-clip on text frames. r=mstange,mattwoodrow 2015-02-25 09:32:28 -05:00
Kartikaya Gupta 53bf04f021 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Ehsan Akhgari 2f1041889b Bug 1132768 - Consider non-editable regions in contenteditable elements as user-select:all even if the editable region doesn't have the focus; r=roc 2015-02-25 07:35:33 -05:00
David Burns 7bdd33bd0a Bug 1107336: Update layout tests to use new Marionette Driver; r=jgriffin
--HG--
extra : rebase_source : 1a84494081492b97fe7d4c8ebb0c130e1c59fb29
2015-02-23 14:43:37 +00:00
David Burns eed0db3148 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal
--HG--
extra : rebase_source : a7d25f417045a2c382124c29b017f176d9ecf0f5
2015-02-23 14:42:39 +00:00
Jonathan Watt 6c3e865ef2 Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Timothy Nikkel f1d154f17c Bug 1102896. Save and restore the subpixel AA settings of the draw target when drawing an inactive layer manager so they don't get clobbered. r=mattwoodrow 2015-02-24 22:59:43 -06:00
Benoit Girard b732d605b0 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
--HG--
extra : rebase_source : 500ab9ab5bd860a434a02c51ced6a0834897eab8
2015-02-18 15:27:40 -05:00
Wes Kocher 84d0eb7968 Backed out 3 changesets (bug 961887) for reftest failures on a CLOSED TREE
Backed out changeset 1684d29858e1 (bug 961887)
Backed out changeset 97c8184c3058 (bug 961887)
Backed out changeset f02c5c1f7704 (bug 961887)
2015-02-24 17:32:37 -08:00
Timothy Nikkel 4776d9215a Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc 2015-02-24 17:51:25 -06:00
Markus Stange 9b0240a85b Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-24 14:35:46 -05:00
Markus Stange 2e52d4648c Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange 98769b80dc Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Ryan VanderMeulen ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Jonathan Watt 9d8a4a932c Bug 1073379, part 4 - Rework the CSS animations event dispatch code to handle startTime shifting the animations back in time. r=dholbert 2015-02-13 15:58:33 +00:00
Chris Lord a7f6ea8515 Bug 1132728 - Don't draw focus rings on b2g. r=fabrice,bz 2015-02-18 15:40:14 +00:00
Ting-Yu Lin c4e7cf937e Bug 1135992 - Fix non-unified build failed in nsLayoutUtils.cpp. r=botond 2015-02-24 02:16:00 -05:00
David Parks 72b5e35b57 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Carsten "Tomcat" Book c161ee575d Merge mozilla-central to mozilla-inbound 2015-02-24 13:25:15 +01:00
Carsten "Tomcat" Book 6eece0b459 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00