gecko/layout/reftests/editor
Ehsan Akhgari ec2d83e852 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
..
xul Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only 2011-03-18 11:54:13 -04:00
338427-1-ref.html Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
338427-1.html Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
338427-2-ref.html Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
338427-2.html Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
338427-3-ref.html Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
338427-3.html Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
462758-grabbers-resizers-ref.html Bug 462758 - elements with contenteditable=true and position:absolute can be moved around the page; r=ehsan 2011-09-07 13:34:58 -04:00
462758-grabbers-resizers.html Bug 462758 - elements with contenteditable=true and position:absolute can be moved around the page; r=ehsan 2011-09-07 13:34:58 -04:00
642800-iframe.html Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
642800-ref.html Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
642800.html Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
672709-ref.html Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky 2011-07-20 15:58:25 -04:00
672709.html Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky 2011-07-20 15:58:25 -04:00
674212-spellcheck-ref.html Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
674212-spellcheck.html Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
caret_after_reframe-ref.html Bug 602130 - Caret positioned incorrectly in input[type=text] when hidden and redisplayed; r=bzbarsky a=blocking-final+ 2010-10-14 15:36:35 -04:00
caret_after_reframe.html Bug 602130 - Caret positioned incorrectly in input[type=text] when hidden and redisplayed; r=bzbarsky a=blocking-final+ 2010-10-14 15:36:35 -04:00
caret_on_focus-ref.html Bug 389321 - Part 1: Don't choke on textnodes which don't have a primary frame; r=roc a=blocking-betaN+ 2010-08-17 15:25:53 -04:00
caret_on_focus.html Bug 389321 - Part 1: Don't choke on textnodes which don't have a primary frame; r=roc a=blocking-betaN+ 2010-08-17 15:25:53 -04:00
caret_on_positioned-ref.html
caret_on_positioned.html
caret_on_presshell_reinit-2.html Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc 2011-03-11 18:45:20 -05:00
caret_on_presshell_reinit-ref.html Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc 2011-03-11 00:40:31 -05:00
caret_on_presshell_reinit.html Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc 2011-03-11 00:40:31 -05:00
caret_on_textarea_lastline-ref.html Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
caret_on_textarea_lastline.html Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
dynamic-1.html
dynamic-overflow-change-ref.html Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
dynamic-overflow-change.html Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
dynamic-ref.html
dynamic-type-1.html
dynamic-type-2.html
dynamic-type-3.html
dynamic-type-4.html
emptypasswd-1.html
emptypasswd-2.html
emptypasswd-ref.html
input-text-notheme-onfocus-reframe-ref.html Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00
input-text-notheme-onfocus-reframe.html Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00
input-text-onfocus-reframe-ref.html Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00
input-text-onfocus-reframe.html Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00
newline-1.html
newline-2.html
newline-3.html
newline-4.html
newline-ref.html
nobogusnode-1.html Bug 611182 - Backspace key does not work without typing something first (test cases); r=bzbarsky a=blocking-beta8+ 2010-11-11 14:09:09 -05:00
nobogusnode-2.html Bug 611182 - Backspace key does not work without typing something first (test cases); r=bzbarsky a=blocking-beta8+ 2010-11-11 14:09:09 -05:00
nobogusnode-ref.html Bug 611182 - Backspace key does not work without typing something first (test cases); r=bzbarsky a=blocking-beta8+ 2010-11-11 14:09:09 -05:00
passwd-1.html
passwd-2.html
passwd-3.html
passwd-4.html
passwd-ref.html
readonly-editable-ref.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readonly-editable.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readonly-non-editable-ref.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readonly-non-editable.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readwrite-editable-ref.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readwrite-editable.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readwrite-non-editable-ref.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
readwrite-non-editable.html Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
reftest.list Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky 2010-11-16 15:45:49 -05:00
selection_visibility_after_reframe-2.html Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe; r=bzbarsky 2011-04-11 22:03:50 -04:00
selection_visibility_after_reframe-3.html Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky 2011-07-29 17:31:57 -04:00
selection_visibility_after_reframe-ref.html Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe; r=bzbarsky 2011-04-11 22:03:50 -04:00
selection_visibility_after_reframe.html Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky 2011-07-29 17:31:57 -04:00
spellcheck-comma-valid-ref.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-comma-valid.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-dotafterquote-valid-ref.html Bug 634153 - Back out the changes in bug 355178 because of known regressions and possible risk of not-yet-known regressions; r=sicking a=johnath 2011-02-15 17:04:44 -05:00
spellcheck-dotafterquote-valid.html Bug 634153 - Back out the changes in bug 355178 because of known regressions and possible risk of not-yet-known regressions; r=sicking a=johnath 2011-02-15 17:04:44 -05:00
spellcheck-hyphen-invalid-ref.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-hyphen-invalid.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-hyphen-multiple-invalid-ref.html Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner 2011-02-10 12:07:31 -05:00
spellcheck-hyphen-multiple-invalid.html Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner 2011-02-10 12:07:31 -05:00
spellcheck-hyphen-multiple-valid-ref.html Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner 2011-02-10 12:07:31 -05:00
spellcheck-hyphen-multiple-valid.html Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner 2011-02-10 12:07:31 -05:00
spellcheck-hyphen-valid-ref.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-hyphen-valid.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-input-attr-after.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-attr-before.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-attr-dynamic-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-attr-dynamic-override-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-attr-dynamic-override.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-attr-dynamic.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-attr-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-disabled.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-property-dynamic-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-property-dynamic-override-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-property-dynamic-override.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-property-dynamic.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-input-ref.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-period-valid-ref.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-period-valid.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-slash-valid-ref.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-slash-valid.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-space-valid-ref.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-space-valid.html Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
spellcheck-textarea-attr-dynamic-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-attr-dynamic-override-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-attr-dynamic-override.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-attr-dynamic.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-attr-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-attr.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-disabled.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-property-dynamic-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-property-dynamic-override-inherit.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-property-dynamic-override.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-property-dynamic.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
spellcheck-textarea-ref.html Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only 2010-11-23 00:09:51 -05:00
unneeded_scroll-ref.html Bug 629878 - Part 3: Test case; r=roc a=blocking-final+ 2011-01-31 20:06:20 -05:00
unneeded_scroll.html Bug 629878 - Part 3: Test case; r=roc a=blocking-final+ 2011-01-31 20:06:20 -05:00