gecko/layout/base/tests
Kartikaya Gupta 3311542644 Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc
There is a common pattern on the web where a click listener is registered on a
container element high up in the DOM tree, and based on the target of the click
events, it performs the appropriate action. In such cases, our existing fluffing
code was not getting activated anywhere inside the container, because the entire
container was considered clickable. However, this is not user-friendly because
often the actual targets inside the container are small and hard to hit. Also,
the fluffing code will often take the container element itself as the target,
even if the user actually hit something inside the container.

This patch changes this behaviour so when an event hits inside a clickable
container, fluffing still occurs, but is restricted to DOM descendants of the
container. This allows fluffing to work in the above scenarios, and since the
events will bubble up to the container, the listeners on the container are
guaranteed to still trigger.
2015-07-17 08:36:00 -04:00
..
chrome Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
marionette Bug 1164233 - Enlarge the timeout margin from 1.5x to 3x. r=mtseng 2015-05-13 19:36:00 +08:00
Ahem.ttf Bug 1129078 - part 5, Test suite for multi-range selections involving user-select:none. 2015-02-21 04:27:59 +00:00
border_radius_hit_testing_iframe.html
browser_bug617076.js Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao 2014-12-15 22:05:46 +01:00
browser.ini
bug106855-1-ref.html
bug106855-1.html
bug106855-2.html
bug240933-1-ref.html
bug240933-1.html
bug240933-2.html
bug369950-subframe.xml
bug389321-1-ref.html
bug389321-1.html
bug389321-2-ref.html
bug389321-2.html
bug389321-3-ref.html
bug389321-3.html
bug450930.xhtml
bug482484-ref.html
bug482484.html
bug503399-ref.html Bug 1063857 - Fix reftests for new justification algorithm. 2014-11-10 12:24:51 +11:00
bug503399.html Bug 1063857 - Fix reftests for new justification algorithm. 2014-11-10 12:24:51 +11:00
bug512295-1-ref.html
bug512295-1.html
bug512295-2-ref.html
bug512295-2.html
bug558663.html Bug 1029943 - Part 2 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan 2014-10-31 09:14:00 +01:00
bug583889_inner1.html Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
bug583889_inner2.html
bug585922-ref.html
bug585922.html
bug597519-1-ref.html
bug597519-1.html
bug602141-1-ref.html
bug602141-1.html
bug602141-2-ref.html
bug602141-2.html
bug602141-3-ref.html
bug602141-3.html
bug602141-4-ref.html
bug602141-4.html
bug612271-1.html
bug612271-2.html
bug612271-3.html
bug612271-ref.html
bug613433-1.html
bug613433-2.html
bug613433-3.html
bug613433-ref.html
bug613807-1-ref.html
bug613807-1.html Bug 917322 part.16 Rename COMPOSITION_ATTR_* in EventUtils.js with new constants of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
bug632215-1.html
bug632215-2.html
bug632215-ref.html
bug633044-1-ref.html
bug633044-1.html
bug634406-1-ref.html
bug634406-1.html
bug644428-1-ref.html
bug644428-1.html
bug644768.html Bug 1016184 - Part 3d: Fix test_bug644768.html. r=ehsan 2014-07-27 00:18:00 +02:00
bug646382-1-ref.html Bug 1164693 - Part 1: Directional caret should point in caret direction in bidi paragraphs. r=smontagu 2015-06-05 21:44:54 -04:00
bug646382-1.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
bug646382-2-ref.html Bug 1164693 - Part 1: Directional caret should point in caret direction in bidi paragraphs. r=smontagu 2015-06-05 21:44:54 -04:00
bug646382-2.html
bug664087-1-ref.html Bug 1121499 - Make the textarea in the test case for bug 664087 three rows tall so that we don't get a scrollbar on OSX 10.10; r=roc 2015-01-15 08:04:02 -05:00
bug664087-1.html Bug 1121499 - Make the textarea in the test case for bug 664087 three rows tall so that we don't get a scrollbar on OSX 10.10; r=roc 2015-01-15 08:04:02 -05:00
bug664087-2-ref.html
bug664087-2.html
bug682712-1-ref.html
bug682712-1.html
bug687297_a.html
bug687297_b.html
bug687297_c.html
bug746993-1-ref.html
bug746993-1.html
bug851445_helper.html
bug921928_event_target_iframe_apps_oop.html
bug923376-ref.html
bug923376.html
bug956530-1-ref.html Bug 1137544 - Make a couple of tests more robust 2015-05-03 23:08:08 -04:00
bug956530-1.html Bug 1137544 - Make a couple of tests more robust 2015-05-03 23:08:08 -04:00
bug966992-1-ref.html
bug966992-1.html
bug966992-2-ref.html
bug966992-2.html
bug966992-3-ref.html
bug966992-3.html
bug968148_inner.html
bug970964_inner.html
bug976963_inner.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
bug977003_inner_1.html Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug 2014-11-18 01:13:00 +01:00
bug977003_inner_2.html Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
bug977003_inner_3.html Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
bug977003_inner_4.html Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
bug977003_inner_5.html Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug 2014-11-18 01:13:00 +01:00
bug977003_inner_6.html Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
bug989012-1-ref.html Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc 2015-01-27 23:11:26 -05:00
bug989012-1.html Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc 2015-01-27 23:11:26 -05:00
bug989012-2-ref.html Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc 2015-01-27 23:11:26 -05:00
bug989012-2.html Bug 989012 - Part 1: Stop after passing over a non-selectable frame if one is found during the frame traversal; r=roc 2015-01-27 23:11:26 -05:00
bug989012-3-ref.html Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc 2015-01-27 23:11:29 -05:00
bug989012-3.html Bug 989012 - Part 2: Don't get stuck when seeing an image without a src or alt attribute; r=roc 2015-01-27 23:11:29 -05:00
bug1007065-1-ref.html
bug1007065-1.html
bug1007067-1-ref.html
bug1007067-1.html
bug1061468-ref.html Bug 1061468 - Test that the caret is not rendered after a focused contenteditable element is removed from the document. 2014-09-09 23:27:56 +00:00
bug1061468.html Bug 1061468 - Test that the caret is not rendered after a focused contenteditable element is removed from the document. 2014-09-09 23:27:56 +00:00
bug1078327_inner.html Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
bug1080360_inner.html Bug 1080360 - Test for receiving lostpointercapture event on document. r=smaug 2014-10-16 05:39:00 +02:00
bug1080361_inner.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
bug1082486-1-ref.html Bug 1082486 - Part 6 - Add tests to test_reftests_with_caret.html. r=roc 2014-10-19 02:59:00 +02:00
bug1082486-1.html Bug 1082486 - Part 6 - Add tests to test_reftests_with_caret.html. r=roc 2014-10-19 02:59:00 +02:00
bug1082486-2-ref.html Bug 1082486 - Part 6 - Add tests to test_reftests_with_caret.html. r=roc 2014-10-19 02:59:00 +02:00
bug1082486-2.html Bug 1082486 - Part 6 - Add tests to test_reftests_with_caret.html. r=roc 2014-10-19 02:59:00 +02:00
bug1093686_inner.html Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc 2014-11-06 08:05:51 -05:00
bug1097242-1-ref.html 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
bug1097242-1.html 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
bug1109968-1-ref.html Bug 1109968 - Make all links in editable regions unfocusable; r=roc 2015-01-23 08:49:28 -05:00
bug1109968-1.html Bug 1109968 - Make all links in editable regions unfocusable; r=roc 2015-01-23 08:49:28 -05:00
bug1109968-2-ref.html Bug 1109968 - Make all links in editable regions unfocusable; r=roc 2015-01-23 08:49:28 -05:00
bug1109968-2.html Bug 1109968 - Make all links in editable regions unfocusable; r=roc 2015-01-23 08:49:28 -05:00
bug1123067-1.html Bug 1123067 - part 2, tests. 2015-02-03 23:54:32 +00:00
bug1123067-2.html Bug 1123067 - part 2, tests. 2015-02-03 23:54:32 +00:00
bug1123067-3.html Bug 1123067 - part 2, tests. 2015-02-03 23:54:32 +00:00
bug1123067-ref.html Bug 1123067 - part 2, tests. 2015-02-03 23:54:32 +00:00
bug1132768-1-ref.html 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
bug1132768-1.html Attempt to fix bug 1137717 by focusing the test frame 2015-03-02 16:06:08 -05:00
bug1153130_inner.html Bug 1153130 - Add test for prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-17 03:06:00 +02:00
bug1162990_inner_1.html Bug 1162990 - Add test for check pointerleave event behavior. r=smaug 2015-06-17 01:54:00 -04:00
bug1162990_inner_2.html Bug 1162990 - Add test for check pointerleave event behavior. r=smaug 2015-06-17 01:54:00 -04:00
enableTestPlugin.js
file_bug607529.html Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
file_bug842853.html
file_bug842853.sjs
image_rgrg-256x256.png
image_rrgg-256x256.png
mochitest.ini Bug 1162990 - Add test for check pointerleave event behavior. r=smaug 2015-06-17 01:54:00 -04:00
multi-range-script-select-ref.html Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-21 04:27:59 +00:00
multi-range-script-select.html Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-21 04:27:59 +00:00
multi-range-user-select-ref.html Bug 1128722 - part 2, tests. 2015-02-21 04:27:59 +00:00
multi-range-user-select.html Bug 1067788 - part 3: Fix timeouts in test_reftests_with_caret.html. r=ehsan 2015-05-28 10:56:59 -04:00
preserve3d_sorting_hit_testing_iframe.html
selection-utils.js Bug 1067788 - part 3: Fix timeouts in test_reftests_with_caret.html. r=ehsan 2015-05-28 10:56:59 -04:00
test_after_paint_pref.html Bug 1056851 - [layout] Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-06 11:50:00 +01:00
test_border_radius_hit_testing.html
test_bug66619.html
test_bug93077-1.html
test_bug93077-2.html
test_bug93077-3.html
test_bug93077-4.html
test_bug93077-5.html
test_bug93077-6.html
test_bug114649.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug332655-1.html
test_bug332655-2.html
test_bug369950.html
test_bug386575.xhtml
test_bug388019.html
test_bug394057.html
test_bug399284.html
test_bug399951.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug404209.xhtml Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug416896.html
test_bug423523.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug435293-interaction.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug435293-scale.html
test_bug435293-skew.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_bug449781.html bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
test_bug450930.xhtml
test_bug465448.xul
test_bug469170.html
test_bug471126.html
test_bug499538-1.html
test_bug514127.html
test_bug518777.html
test_bug548545.xhtml
test_bug558663.html Bug 966157 - Part 3. Ignore assertion of test_bug558663.html for Linux e10s. r=masayuki 2015-01-09 16:40:25 +09:00
test_bug559499.html
test_bug569520.html Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
test_bug582181-1.html
test_bug582181-2.html
test_bug582771.html
test_bug583889.html
test_bug588174.html Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
test_bug603550.html
test_bug607529.html Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
test_bug629838.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug644768.html Bug 1016184 - Part 3d: Fix test_bug644768.html. r=ehsan 2014-07-27 00:18:00 +02:00
test_bug646757.html
test_bug667512.html
test_bug677878.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug687297.html
test_bug696020.html
test_bug718809.html
test_bug725426.html
test_bug731777.html
test_bug749186.html Bug 1056851 - [layout] Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-06 11:50:00 +01:00
test_bug761572.html
test_bug770106.html
test_bug842853-2.html
test_bug842853.html
test_bug849219.html
test_bug851445.html
test_bug851485.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug858459.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug968148.html
test_bug970964.html
test_bug976963.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug977003.html Bug 1073563 - Test for async lostpointercapture event. r=smaug 2014-10-08 01:35:00 +02:00
test_bug990340.html
test_bug993936.html
test_bug1070851.html Bug 1070851 - Make touch caret respect snapshotWindow(). r=roc 2014-09-24 01:26:00 -04:00
test_bug1078327.html Bug 1078327 - Test for correct detecting capturing content. r=smaug 2014-10-17 00:47:00 +02:00
test_bug1080360.html Bug 1080360 - Test for receiving lostpointercapture event on document. r=smaug 2014-10-16 05:39:00 +02:00
test_bug1080361.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug1093686.html Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc 2014-11-06 08:05:51 -05:00
test_bug1120705.html Bug 1120705 - Part 2: Tests (v2 Patch), r=roc 2015-03-18 18:36:00 +01:00
test_bug1153130.html Bug 1153130 - Add test for prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-17 03:06:00 +02:00
test_bug1162990.html Bug 1162990 - Add test for check pointerleave event behavior. r=smaug 2015-06-17 01:54:00 -04:00
test_emulateMedium.html
test_event_target_iframe_oop.html
test_event_target_radius.html Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc 2015-07-17 08:36:00 -04:00
test_flush_on_paint.html
test_frame_reconstruction_for_pseudo_elements.html Bug 1110277 patch 3 - Look for the GenConPseudos() property on the first continuation/ib-split so that we can find it when looking for the ::after frame. r=bzbarsky 2015-01-11 15:43:11 -08:00
test_getBoxQuads_convertPointRectQuad.html
test_getClientRects_emptytext.html
test_maxLineBoxWidth.html
test_mozPaintCount.html
test_preserve3d_sorting_hit_testing.html
test_reftests_with_caret.html Bug 1067788 - part 3: Fix timeouts in test_reftests_with_caret.html. r=ehsan 2015-05-28 10:56:59 -04:00
test_remote_frame.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_remote_passpointerevents.html
test_scroll_event_ordering.html Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
test_scroll_snapping_scrollbars.html Bug 1171972 - Don't expect scrollbar buttons on GTK themes. r=karlt 2015-06-05 09:34:00 -04:00
test_scroll_snapping.html Bug 945584: Part 9 - Tests for scroll snapping (v4 Patch) r=roc 2014-02-04 14:54:23 +13:00
test_touchcaret_visibility.html Bug 1059165 - Part 4 - Add test_touchcaret_visibility.html. r=ehsan 2014-10-28 06:02:00 +01:00