Commit Graph

983 Commits

Author SHA1 Message Date
Matt Woodrow
22e9ef7587 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
598bc37690 Bug 1278021 - Don't treat nsDisplayOpacity as participating in a preserve-3d context if it is an untransformed leaf. r=thinker 2016-06-07 19:47:06 +12:00
Mike Conley
cb0ddc9b0e 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
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book
2a562a6a7f Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE 2016-06-02 08:13:16 +02:00
Mike Conley
57b92458ee 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
2016-04-29 14:29:03 -04:00
Daniel Holbert
f032c37df7 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
3228a31335 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
Gijs Kruitbosch
d8dc6c85c4 Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR
2016-05-19 17:23:26 +01:00
a98446d54a 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
89924435a4 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
398b1b5ff2 Bug 842853 - Follow-up to fix a test typo. r=me 2016-05-01 00:38:32 +02:00
Kartikaya Gupta
ec78701cab 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
f46aecd727 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
b3b0e36c07 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
4e5a25670a 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
2016-04-18 20:26:33 -07:00
Markus Stange
0dd626bf81 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
2016-04-18 14:18:44 -04:00
Ting-Yu Lin
f90ec8a52b 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
2016-04-11 17:57:29 +08:00
Daniel Holbert
2224365b92 (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
f194b9baf5 Bug 1255022 - Make the test_transformed_scrolling_repaints* tests mochitest-plain instead of mochitest-chrome. r=mstange
MozReview-Commit-ID: F0CiZlIrWuk
2016-03-31 23:55:06 -04:00
Mats Palmgren
8f2b6e6be2 Bug 1259949 - Caret reftests. 2016-04-01 02:08:15 +02:00
Ehsan Akhgari
c6c99d4e47 Bug 1259025 - Enable test_reftests_with_caret.html on e10s; r=mrbkap 2016-03-23 19:42:59 -04:00
Mats Palmgren
789c7c820f Bug 1258308 - Reftests. 2016-03-22 22:49:57 +01:00
Mats Palmgren
7c370fe44b 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
7630860257 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
2016-03-10 17:38:32 +08:00
Ting-Yu Lin
6756a0a610 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
2016-03-10 17:38:32 +08:00
Ehsan Akhgari
805794c3a7 Bug 1254985 - Port test_scroll_selection_into_view.html to mochitest-plain so that it runs under e10s; r=mrbkap 2016-03-09 16:41:51 -05:00
Ting-Yu Lin
0ca600d243 Bug 1253989 Part 6 - Refactor open_test_html(). r=mtseng
MozReview-Commit-ID: 2VY1GnVF7Jx
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
afa6d133d2 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
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
a48367fcc2 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
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
ff0eed766b 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
2016-03-08 22:21:31 +08:00
Ting-Yu Lin
f5a465304b 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
2016-03-08 22:21:31 +08:00
Ting-Yu Lin
c4ddc9059d 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
2016-03-08 22:21:30 +08:00
Neil Deakin
7e539818e6 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
7ead5fbb6e Bug 1250143. Account for border/padding on outer <svg> elements in GeometryUtils. r=mats
MozReview-Commit-ID: KwEwnukNgeF
2016-02-25 23:54:09 +13:00
Kartikaya Gupta
70c45c42bc Bug 1198223 - Remove conditions that are always false. r=jmaher
MozReview-Commit-ID: DVI6R6MH0bo
2016-02-19 11:34:47 -05:00
Matt Woodrow
ca46c496d3 Bug 1246622 - Handle nested preserve-3d contexts when hit testing. r=roc 2016-02-15 09:47:57 +13:00
Kartikaya Gupta
1babce2340 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
Robert O'Callahan
d1728fb5bf Bug 1194466. Use the table-outer frame's margin when requesting the margin for table element with getBoxQuads. r=mats 2016-02-02 22:47:15 +13:00
Kartikaya Gupta
9f75e1ff10 Bug 990916 - Disable synth mousemove events during pointer event testing, since the test doesn't expect them and fails. r=smaug 2016-02-03 19:13:34 -05:00
Phil Ringnalda
5e79cd90c4 Bug 992311 - skip test_leaf_layers_partition_browser_window.xul on Linux for frequent timeouts, and adjust the comment to reflect that it's disabled on OS X for timing out, not because of a fixed bug 2016-01-31 00:45:03 -08:00
Matt Woodrow
fcc3042c14 Bug 1241394 - Hit testing with 3d transforms should use fuzzy when comparing depths. r=thinker 2016-01-25 13:37:50 +13:00
Tracy Walker
ee1376f6a0 Bug 1240750 - Put add button in ContentTask and modernize the rest of the test case and remove relevant skip-if in layout/base/tests/browser.ini. r=mconley 2016-01-20 13:34:07 -06:00
Jonathan Kew
12eb86a203 Bug 1235970 - Disable resizing of textarea in mochitest test_bug582181-2 to work around unreliable Gtk3 rendering of the resize grabber. r=dholbert 2016-01-12 09:20:13 +00:00
Jonathan Kew
3abd995f4f Bug 1237355 - patch 2 - Use -moz-appearance:none on textarea in mochitest test_bug644768 to work around unreliable Gtk3 theming. r=dholbert 2016-01-12 09:20:13 +00:00
Jonathan Kew
e279e46a95 Bug 1237355 - patch 1 - Use -moz-appearance:none on input widget in mochitest test_bug499538-1 to work around unreliable Gtk3 theming. r=dholbert 2016-01-12 09:20:13 +00:00
Kartikaya Gupta
a422f15b50 Bug 1190541 - Update some tests to deal with fluffing that correctly accounts for presShell resolution. r=domivinc 2016-01-05 23:08:07 -05:00
Daniel Holbert
d737c8fd8d Bug 1234659: Attempt to work around randomorange in test_bug332655-2.html by using an unthemed <input> widget. rs=jfkthame 2016-01-05 11:57:18 -08:00
Daniel Holbert
e2a1c9a99d Bug 1221919: Disable resizing of textarea in test_bug582181-1.html, since we don't use it and it causes intermittent orange due to inconsistent rendering. r=jfkthame 2015-12-30 10:38:40 -08:00
Daniel Holbert
9042988620 Bug 1204897: Attempt to work around randomorange in test_bug332655-1.html by using an unthemed <input> widget. r=jfkthame 2015-12-24 13:08:32 -08:00
Thinker K.F. Li
0c6fef88db Bug 1226904 - Fix boundary checking for leaves collecting. r=roc 2015-12-22 19:17:00 -05:00