gecko/editor/reftests
Ehsan Akhgari d50878a182 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 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
338427-1-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
338427-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
338427-2-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
338427-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
338427-3-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
338427-3.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
388980-1-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
388980-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
462758-grabbers-resizers-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
462758-grabbers-resizers.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
642800-iframe.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
642800-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
642800.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
672709-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
672709.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
674212-spellcheck-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
674212-spellcheck.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
694880-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
694880-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
694880-3.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
694880-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_after_reframe-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_after_reframe.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_focus-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_focus.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_positioned-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_positioned.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_presshell_reinit-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_presshell_reinit-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_presshell_reinit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_textarea_lastline-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
caret_on_textarea_lastline.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-overflow-change-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-overflow-change.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-type-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-type-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-type-3.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
dynamic-type-4.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
emptypasswd-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
emptypasswd-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
emptypasswd-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
input-text-notheme-onfocus-reframe-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
input-text-notheme-onfocus-reframe.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
input-text-onfocus-reframe-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
input-text-onfocus-reframe.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
newline-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
newline-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
newline-3.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
newline-4.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
newline-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
nobogusnode-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
nobogusnode-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
nobogusnode-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
passwd-1.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
passwd-2.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
passwd-3.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
passwd-4.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
passwd-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
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 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
selection_visibility_after_reframe-3.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
selection_visibility_after_reframe-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
selection_visibility_after_reframe.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-comma-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-comma-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-dotafterquote-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-dotafterquote-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-invalid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-invalid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-multiple-invalid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-multiple-invalid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-multiple-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-multiple-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-hyphen-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-after.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-before.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-dynamic-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-dynamic-override-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-dynamic-override.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-dynamic.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-attr-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-disabled.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-nofocus-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-property-dynamic-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-property-dynamic-override-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-property-dynamic-override.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-property-dynamic.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-input-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-period-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-period-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-slash-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-slash-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-space-valid-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-space-valid.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-attr-dynamic-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-attr-dynamic-override-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-attr-dynamic-override.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-attr-dynamic.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-attr-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-attr.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-disabled.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-focused-notreadonly.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-focused-reframe.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-focused.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-nofocus-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-nofocus.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-property-dynamic-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-property-dynamic-override-inherit.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-property-dynamic-override.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-property-dynamic.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
spellcheck-textarea-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
unneeded_scroll-ref.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00
unneeded_scroll.html Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron 2012-05-03 10:09:44 +03:00