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

946 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 5a688fe072 Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin
On Windows, the contextmenu event is fired when the finger is lifted after a
long-press. However, there are various bits of code, such as the AccessibleCaret
or potential fixes for bug 1147335, which would benefit from knowing when the
long-press gesture was detected. By moving eMouseLongTap event up we can satisfy
that need. An alternative approach considered was to fire the eMouseLongTap
before the contextmenu on all platforms unconditionally, but that makes it harder
to implement platform-specific text selection behaviour the way we want. In
particular we would have to add an extra message or notification for non-Windows
platforms that initiated text selection if the contextmenu event was not
consumed.

MozReview-Commit-ID: 2lmwxmmGrVD
2016-10-04 09:31:15 -04:00
Kartikaya Gupta 8b51259dcd Bug 1293483 - Keep the carets hidden when the user is using a mouse to modify the selection. r=TYLin
MozReview-Commit-ID: FJwODLk6XMS
2016-10-03 08:57:44 -04:00
Stone Shih b6697d07aa Bug 1294335 - [Pointer Event] Refine setPointerCapture / releasePointerCapture to follow the algorithm defined in the spec. f=bevistseng, r=smaug 2016-08-12 09:49:31 +08:00
Aryeh Gregor 76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Ryan VanderMeulen 2df9e8fe53 Backed out changeset 254e306bc62c (bug 277178) for likely causing test_sessionhistory.html to permafail.
CLOSED TREE

--HG--
extra : rebase_source : b3511d478945d6c055b8f0f6608e8f574ee7552a
2016-08-29 17:06:53 -04:00
Takeshi Kurosawa 76c800fd89 Bug 277178 - Move focus to a fragment identifier (#fragment) if it's focusable. r=smaug
This change improves HTML Standard compliance and browser compatibility.
https://html.spec.whatwg.org/multipage/browsers.html#scroll-to-the-fragment-identifier

MozReview-Commit-ID: BgOq9dPwdGF

--HG--
extra : transplant_source : %26%7D%7Fm%EES%C4%91%1F%CEI%25%8F%EDc%28%3C%DE%0F%CF
2016-08-23 11:06:32 +09:00
Lee Salzman ac99e35d5f Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-23 13:55:14 -04:00
Thomas Wisniewski fe6139c017 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Towkir Ahmed 63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Stone Shih 728f58c68b Bug 1258804 - Part 3: Update related test case for PE spec changes. r=smaug
--HG--
extra : rebase_source : 920401957f69e334323ef7ab4548b9f98437b59f
2016-08-01 15:41:42 +08:00
Wes Kocher 46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Lee Salzman dfa9fefa78 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 15:56:28 -04:00
Decky Coss b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Matt Woodrow 0fc40ccc57 Bug 1279202 - Make sure that deferring a resize of a document schedules a layout flush, not just a style one. r=dbaron 2016-07-14 18:39:35 +12:00
Matt Woodrow 6f2b829c7e Bug 1278021 - Don't treat nsDisplayOpacity as participating in a preserve-3d context if it is an untransformed leaf. r=thinker
--HG--
rename : layout/base/tests/test_bug1246622.html => layout/base/tests/test_bug1278021.html
2016-06-07 19:47:06 +12:00
Mike Conley 0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley 0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Daniel Holbert b30df2048b Bug 1271029: Re-enable test_bug465448.xul in e10s (and b2g) mochitest runs, now that it passes. (test-only)
MozReview-Commit-ID: BXMREKyts9T
2016-05-27 13:26:03 -07:00
Ben Tian 7b7d04ca34 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
Gijs Kruitbosch 29525495be Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR

--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01:00
firefox@hindlemail.co.uk 94f266f4ff Bug 1263288 - Make GetFrameForNodeOffset return a sibling frame for frameless content. r=mats
This fixes missing caret problems.

Also changed GetFrameForNodeOffset to be non recursive to prevent possibly of
large stack frame.
2016-05-11 15:28:45 -06:00
Ryan VanderMeulen 3b7fc0b68e No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Mats Palmgren 7364d9ac57 Bug 842853 - Follow-up to fix a test typo. r=me 2016-05-01 00:38:32 +02:00
Kartikaya Gupta 0858e31ab6 Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.

MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
Daniel Holbert c5c19672a7 Bug 1255180 part 3: Update test_bug370436.html to use SpecialPowers for privileged "rangeParent" access, & drop now-obsolete checks for SOWs in chrome. r=bholley
This patch also enables the test by uncommenting it in mochitest.ini, since it should now run successfully.

MozReview-Commit-ID: 36ZvUYA7sDi
2016-04-18 20:26:36 -07:00
Daniel Holbert 2ea3c08df4 Bug 1255180 part 2: Update script/style paths in test_bug370436.html to point to mochitest-plain resources. r=bholley
MozReview-Commit-ID: ElBfZMQOjSl
2016-04-18 20:26:35 -07:00
Daniel Holbert 3780efe576 Bug 1255180 part 1: Move test_bug370436.html out of its mochitest-chrome subdirectory. r=bholley
This patch also temporarily disables the test by commenting it out in mochitest.ini, its new home. (I'm disabling it temporarily because it won't pass until later patches in this queue have landed.)

MozReview-Commit-ID: 2CixMWUin8W

--HG--
rename : layout/base/tests/chrome/test_bug370436.html => layout/base/tests/test_bug370436.html
2016-04-18 20:26:33 -07:00
Markus Stange 2e917fb8fa Bug 1236043 - Adjust reftests and reftest annotations for new invalid region simplification. r=jrmuizel
Make the test_transformed_scrolling_repaints* tests taller so that the top and the bottom of the scrolled area don't share the same tile.
Fuzz layout/reftests/text/wordwrap-03.html on Linux because the native textbox gradient is painted in a slightly different position depending on the invalid area.
Mark layout/reftests/forms/select/out-of-bounds-selectedindex.html as fuzzy on Android because some listbox rounded corner pixel differs with the new invalidation behavior.
Mark layout/reftests/bugs/456219-1c.html as fuzzy on Linux, reasons unknown. :-(
Disable flexbox-widget-flex-items-3.html because of bad file input drawing on Linux, see bug 1260965.

MozReview-Commit-ID: B5c1a8D0G8F

--HG--
extra : rebase_source : 3e281d035831c77246d0e439246fdab9395dc884
2016-04-18 14:18:44 -04:00
Ting-Yu Lin 152cf5d714 Bug 1168891 Part 2 - Allow one caret to be dragged across the other caret. r=mats
This behavior matches the Android convension and the built-in selection
on all desktop platforms.

MozReview-Commit-ID: 2kNm8UZnqH0

--HG--
extra : rebase_source : 097918c7c49e7cd545af52e9b3f3c540475ec589
2016-04-11 17:57:29 +08:00
Daniel Holbert cfd458ff95 (no bug) whitespace cleanup in test_bug370436.html. (no review & DONTBUILD because whitespace-only)
MozReview-Commit-ID: ipuEKve7PF
2016-04-11 09:52:12 -07:00
Kartikaya Gupta 2dccededc8 Bug 1255022 - Make the test_transformed_scrolling_repaints* tests mochitest-plain instead of mochitest-chrome. r=mstange
MozReview-Commit-ID: F0CiZlIrWuk

--HG--
rename : layout/base/tests/chrome/test_transformed_scrolling_repaints.html => layout/base/tests/test_transformed_scrolling_repaints.html
rename : layout/base/tests/chrome/test_transformed_scrolling_repaints_2.html => layout/base/tests/test_transformed_scrolling_repaints_2.html
rename : layout/base/tests/chrome/test_transformed_scrolling_repaints_3.html => layout/base/tests/test_transformed_scrolling_repaints_3.html
rename : layout/base/tests/chrome/transformed_scrolling_repaints_3_window.html => layout/base/tests/transformed_scrolling_repaints_3_window.html
2016-03-31 23:55:06 -04:00
Mats Palmgren de075da893 Bug 1259949 - Caret reftests. 2016-04-01 02:08:15 +02:00
Ehsan Akhgari 3c28741897 Bug 1259025 - Enable test_reftests_with_caret.html on e10s; r=mrbkap 2016-03-23 19:42:59 -04:00
Mats Palmgren 28c2af15f6 Bug 1258308 - Reftests. 2016-03-22 22:49:57 +01:00
Mats Palmgren 734065f500 Bug 1237236 - Reftests to check caret position after collapsing a selection to the end of a line. 2016-03-17 17:27:56 +01:00
Ting-Yu Lin 14b8c376fa Bug 1251519 Part 4 - Add tests for dragging caret to content boundary. r=mats
These tests should fail without Part 5.

MozReview-Commit-ID: 2FAW02tusCg

--HG--
extra : rebase_source : 8634f1e76a172b8c602743692b50376ddda04ebd
2016-03-10 17:38:32 +08:00
Ting-Yu Lin 970a0bf203 Bug 1251519 Part 3 - Add regression tests for caret dragging. r=mats
These tests are added per bug 1251519 comment 10.

test_move_cursor_to_front_by_dragging_caret_to_front_br_element() covers
example 1, and test_drag_caret_from_front_to_end_across_columns() covers
example 3. Example 4 is not easy to write in marionette test since it's
difficult to know whether an image is selected.

Both tests will fail if we clamp the dragging point by using only the
text frame rects as the patch attached in bug 1251519 comment 7.

MozReview-Commit-ID: CKZQKGI6YUw

--HG--
extra : rebase_source : 72f5c2a960c2659fe5015a3ab488d4baa1918059
2016-03-10 17:38:32 +08:00
Ehsan Akhgari aeb1803db1 Bug 1254985 - Port test_scroll_selection_into_view.html to mochitest-plain so that it runs under e10s; r=mrbkap
--HG--
rename : layout/base/tests/chrome/scroll_selection_into_view_window.html => layout/base/tests/scroll_selection_into_view_window.html
2016-03-09 16:41:51 -05:00
Ting-Yu Lin cc904bb3cc Bug 1253989 Part 6 - Refactor open_test_html(). r=mtseng
MozReview-Commit-ID: 2VY1GnVF7Jx

--HG--
extra : rebase_source : 679d21e1fad9227cb89a62ee0d3d593948affcc0
2016-03-08 22:45:47 +08:00
Ting-Yu Lin 337ddd8206 Bug 1253989 Part 5 - Remove touch caret and selection carets naming. r=mtseng
- To avoid confusion, call the blinking cursor (nsCaret) "cursor" so that
  AccessibleCaret can be called caret for short.
- Add second_caret_location() as a helper function, and use it in
  selection mode tests.

MozReview-Commit-ID: IKN6KuR92HE

--HG--
extra : rebase_source : c247ad6b61bc1b1cc3c4d8784584e19d9ef5c1ea
2016-03-08 22:45:47 +08:00
Ting-Yu Lin 22302ef765 Bug 1253989 Part 4 - Rename AccessibleCaret test files. r=mtseng
Remove "touch caret" and "selection carets" from file names and titles.

MozReview-Commit-ID: KqjYE7tiqXd

--HG--
rename : testing/marionette/harness/marionette/www/test_touchcaret.html => testing/marionette/harness/marionette/www/test_carets_cursor.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_iframe.html => testing/marionette/harness/marionette/www/test_carets_iframe.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_longtext.html => testing/marionette/harness/marionette/www/test_carets_longtext.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multipleline.html => testing/marionette/harness/marionette/www/test_carets_multipleline.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multiplerange.html => testing/marionette/harness/marionette/www/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets.html => testing/marionette/harness/marionette/www/test_carets_selection.html
extra : rebase_source : 1af82b4e59c409109025684553aa0ff780eec947
2016-03-08 22:45:47 +08:00
Ting-Yu Lin 732119fb5b Bug 1253989 Part 3 - Use @parameterized to rewrite selection mode tests. r=mtseng
* Inline some of the open_*_html methods since they're called only once.
* Save test running time by finding the elements needed in tests instead
  of find all of the elements in open_*_html methods.
* Remove test_long_press_to_select_non_selectable_word() since it's
  covered by test_focus_not_changed_by_long_press_on_non_selectable().
* Use hyphen for element ids.
* Replace "left" and "right" caret by "first" and "second" caret,
  respectively.

MozReview-Commit-ID: Ey5m5zO3HYc

--HG--
extra : rebase_source : c94b84ced75560ce1167cda35ee94dd4cc81ee4d
2016-03-08 22:21:31 +08:00
Ting-Yu Lin b40db974b8 Bug 1253989 Part 2 - Use @parameterized to rewrite cursor mode tests. r=mtseng
Remove _test_touch_caret_hides_after_receiving_wheel_event() completely
since it was a test only for touch caret, which is a leftover in bug
1221459.

MozReview-Commit-ID: 4szwuG6t5SF

--HG--
extra : rebase_source : 85a201d76016da65f14cd2cc0a641c342e266904
2016-03-08 22:21:31 +08:00
Ting-Yu Lin 33799d733f Bug 1253989 Part 1 - Remove tests for accessiblecaret preference off. r=mtseng
I don't feel these tests are helpful. It's unlikely that someone will
accidentally turn on AccessibleCaret on desktop platforms without being
noticed. Remove these tests also reduces the test running time.

MozReview-Commit-ID: 33RQQSy77gZ

--HG--
extra : rebase_source : 5cd7fd77a48f07ee137d8140481ea6210070d139
2016-03-08 22:21:30 +08:00
Neil Deakin b4405ac04b Bug 1246669 - Enable test_bug749186.html and test_bug345267.html for e10s. r=dao 2016-03-04 08:49:09 +01:00
Robert O'Callahan e0d9d3c032 Bug 1250143. Account for border/padding on outer <svg> elements in GeometryUtils. r=mats
MozReview-Commit-ID: KwEwnukNgeF

--HG--
extra : rebase_source : d0ba2e4cd3e45280d8d030517c515caa04cb0b66
2016-02-25 23:54:09 +13:00
Kartikaya Gupta 1139f832a4 Bug 1198223 - Remove conditions that are always false. r=jmaher
MozReview-Commit-ID: DVI6R6MH0bo

--HG--
extra : rebase_source : 14edc0dd3f3920a856c51a9460d20a6eba77a13e
2016-02-19 11:34:47 -05:00
Matt Woodrow c12916f2fc Bug 1246622 - Handle nested preserve-3d contexts when hit testing. r=roc 2016-02-15 09:47:57 +13:00
Kartikaya Gupta 6de82d82fb Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: 6eYFmoOVL6b
2016-02-12 08:29:25 -05:00