Commit Graph

1193 Commits

Author SHA1 Message Date
Ms2ger
3296a0d96c Bug 750079 - Part a: Add IsOnlyAttribute(nsIContent*, const nsAString&); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
f051ed6486 Bug 749329 - Cleanup TypeInState; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
552a17939d Bug 750064 - Add some GetPriorNode/GetNextNode overloads that take nsINode; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger
c9da5bbd81 Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger
3c8b660b66 Bug 747346 - Cleanup nsTextEditRules::CreateTrailingBRIfNeeded(); r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger
c780c8c700 Bug 750094 - Some cleanup in nsComposerCommands.cpp; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger
19776d2393 Bug 750093 - Cleanup SetTextProperty in nsComposerCommands.cpp; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger
6b5d679f68 Bug 750073 - Use nsContentUtils::WordBreaker() in nsTextServicesDocument::FindWordBounds; r=ehsan 2012-05-05 11:00:05 +02:00
Aryeh Gregor
e61ab6cba6 Bug 748313 part 2 - Always try to use CSS values, even for collapsed selections; r=ehsan 2012-05-03 10:09:44 +03:00
Aryeh Gregor
0d8f909e57 Bug 748313 part 1 - Remove unused argument to nsHTMLEditor::IsTextPropertySetByContent; r=ehsan 2012-05-03 10:09:44 +03:00
Aryeh Gregor
f34010ce9c Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron
--HG--
rename : layout/reftests/editor/338427-1-ref.html => editor/reftests/338427-1-ref.html
rename : layout/reftests/editor/338427-1.html => editor/reftests/338427-1.html
rename : layout/reftests/editor/338427-2-ref.html => editor/reftests/338427-2-ref.html
rename : layout/reftests/editor/338427-2.html => editor/reftests/338427-2.html
rename : layout/reftests/editor/338427-3-ref.html => editor/reftests/338427-3-ref.html
rename : layout/reftests/editor/338427-3.html => editor/reftests/338427-3.html
rename : layout/reftests/editor/388980-1-ref.html => editor/reftests/388980-1-ref.html
rename : layout/reftests/editor/388980-1.html => editor/reftests/388980-1.html
rename : layout/reftests/editor/462758-grabbers-resizers-ref.html => editor/reftests/462758-grabbers-resizers-ref.html
rename : layout/reftests/editor/462758-grabbers-resizers.html => editor/reftests/462758-grabbers-resizers.html
rename : layout/reftests/editor/642800-iframe.html => editor/reftests/642800-iframe.html
rename : layout/reftests/editor/642800-ref.html => editor/reftests/642800-ref.html
rename : layout/reftests/editor/642800.html => editor/reftests/642800.html
rename : layout/reftests/editor/672709-ref.html => editor/reftests/672709-ref.html
rename : layout/reftests/editor/672709.html => editor/reftests/672709.html
rename : layout/reftests/editor/674212-spellcheck-ref.html => editor/reftests/674212-spellcheck-ref.html
rename : layout/reftests/editor/674212-spellcheck.html => editor/reftests/674212-spellcheck.html
rename : layout/reftests/editor/694880-1.html => editor/reftests/694880-1.html
rename : layout/reftests/editor/694880-2.html => editor/reftests/694880-2.html
rename : layout/reftests/editor/694880-3.html => editor/reftests/694880-3.html
rename : layout/reftests/editor/694880-ref.html => editor/reftests/694880-ref.html
rename : layout/reftests/editor/caret_after_reframe-ref.html => editor/reftests/caret_after_reframe-ref.html
rename : layout/reftests/editor/caret_after_reframe.html => editor/reftests/caret_after_reframe.html
rename : layout/reftests/editor/caret_on_focus-ref.html => editor/reftests/caret_on_focus-ref.html
rename : layout/reftests/editor/caret_on_focus.html => editor/reftests/caret_on_focus.html
rename : layout/reftests/editor/caret_on_positioned-ref.html => editor/reftests/caret_on_positioned-ref.html
rename : layout/reftests/editor/caret_on_positioned.html => editor/reftests/caret_on_positioned.html
rename : layout/reftests/editor/caret_on_presshell_reinit-2.html => editor/reftests/caret_on_presshell_reinit-2.html
rename : layout/reftests/editor/caret_on_presshell_reinit-ref.html => editor/reftests/caret_on_presshell_reinit-ref.html
rename : layout/reftests/editor/caret_on_presshell_reinit.html => editor/reftests/caret_on_presshell_reinit.html
rename : layout/reftests/editor/caret_on_textarea_lastline-ref.html => editor/reftests/caret_on_textarea_lastline-ref.html
rename : layout/reftests/editor/caret_on_textarea_lastline.html => editor/reftests/caret_on_textarea_lastline.html
rename : layout/reftests/editor/dynamic-1.html => editor/reftests/dynamic-1.html
rename : layout/reftests/editor/dynamic-overflow-change-ref.html => editor/reftests/dynamic-overflow-change-ref.html
rename : layout/reftests/editor/dynamic-overflow-change.html => editor/reftests/dynamic-overflow-change.html
rename : layout/reftests/editor/dynamic-ref.html => editor/reftests/dynamic-ref.html
rename : layout/reftests/editor/dynamic-type-1.html => editor/reftests/dynamic-type-1.html
rename : layout/reftests/editor/dynamic-type-2.html => editor/reftests/dynamic-type-2.html
rename : layout/reftests/editor/dynamic-type-3.html => editor/reftests/dynamic-type-3.html
rename : layout/reftests/editor/dynamic-type-4.html => editor/reftests/dynamic-type-4.html
rename : layout/reftests/editor/emptypasswd-1.html => editor/reftests/emptypasswd-1.html
rename : layout/reftests/editor/emptypasswd-2.html => editor/reftests/emptypasswd-2.html
rename : layout/reftests/editor/emptypasswd-ref.html => editor/reftests/emptypasswd-ref.html
rename : layout/reftests/editor/input-text-notheme-onfocus-reframe-ref.html => editor/reftests/input-text-notheme-onfocus-reframe-ref.html
rename : layout/reftests/editor/input-text-notheme-onfocus-reframe.html => editor/reftests/input-text-notheme-onfocus-reframe.html
rename : layout/reftests/editor/input-text-onfocus-reframe-ref.html => editor/reftests/input-text-onfocus-reframe-ref.html
rename : layout/reftests/editor/input-text-onfocus-reframe.html => editor/reftests/input-text-onfocus-reframe.html
rename : layout/reftests/editor/newline-1.html => editor/reftests/newline-1.html
rename : layout/reftests/editor/newline-2.html => editor/reftests/newline-2.html
rename : layout/reftests/editor/newline-3.html => editor/reftests/newline-3.html
rename : layout/reftests/editor/newline-4.html => editor/reftests/newline-4.html
rename : layout/reftests/editor/newline-ref.html => editor/reftests/newline-ref.html
rename : layout/reftests/editor/nobogusnode-1.html => editor/reftests/nobogusnode-1.html
rename : layout/reftests/editor/nobogusnode-2.html => editor/reftests/nobogusnode-2.html
rename : layout/reftests/editor/nobogusnode-ref.html => editor/reftests/nobogusnode-ref.html
rename : layout/reftests/editor/passwd-1.html => editor/reftests/passwd-1.html
rename : layout/reftests/editor/passwd-2.html => editor/reftests/passwd-2.html
rename : layout/reftests/editor/passwd-3.html => editor/reftests/passwd-3.html
rename : layout/reftests/editor/passwd-4.html => editor/reftests/passwd-4.html
rename : layout/reftests/editor/passwd-ref.html => editor/reftests/passwd-ref.html
rename : layout/reftests/editor/reftest.list => editor/reftests/reftest.list
rename : layout/reftests/editor/selection_visibility_after_reframe-2.html => editor/reftests/selection_visibility_after_reframe-2.html
rename : layout/reftests/editor/selection_visibility_after_reframe-3.html => editor/reftests/selection_visibility_after_reframe-3.html
rename : layout/reftests/editor/selection_visibility_after_reframe-ref.html => editor/reftests/selection_visibility_after_reframe-ref.html
rename : layout/reftests/editor/selection_visibility_after_reframe.html => editor/reftests/selection_visibility_after_reframe.html
rename : layout/reftests/editor/spellcheck-comma-valid-ref.html => editor/reftests/spellcheck-comma-valid-ref.html
rename : layout/reftests/editor/spellcheck-comma-valid.html => editor/reftests/spellcheck-comma-valid.html
rename : layout/reftests/editor/spellcheck-dotafterquote-valid-ref.html => editor/reftests/spellcheck-dotafterquote-valid-ref.html
rename : layout/reftests/editor/spellcheck-dotafterquote-valid.html => editor/reftests/spellcheck-dotafterquote-valid.html
rename : layout/reftests/editor/spellcheck-hyphen-invalid-ref.html => editor/reftests/spellcheck-hyphen-invalid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-invalid.html => editor/reftests/spellcheck-hyphen-invalid.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-invalid-ref.html => editor/reftests/spellcheck-hyphen-multiple-invalid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-invalid.html => editor/reftests/spellcheck-hyphen-multiple-invalid.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-valid-ref.html => editor/reftests/spellcheck-hyphen-multiple-valid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-valid.html => editor/reftests/spellcheck-hyphen-multiple-valid.html
rename : layout/reftests/editor/spellcheck-hyphen-valid-ref.html => editor/reftests/spellcheck-hyphen-valid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-valid.html => editor/reftests/spellcheck-hyphen-valid.html
rename : layout/reftests/editor/spellcheck-input-attr-after.html => editor/reftests/spellcheck-input-attr-after.html
rename : layout/reftests/editor/spellcheck-input-attr-before.html => editor/reftests/spellcheck-input-attr-before.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic-inherit.html => editor/reftests/spellcheck-input-attr-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic-override-inherit.html => editor/reftests/spellcheck-input-attr-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic-override.html => editor/reftests/spellcheck-input-attr-dynamic-override.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic.html => editor/reftests/spellcheck-input-attr-dynamic.html
rename : layout/reftests/editor/spellcheck-input-attr-inherit.html => editor/reftests/spellcheck-input-attr-inherit.html
rename : layout/reftests/editor/spellcheck-input-disabled.html => editor/reftests/spellcheck-input-disabled.html
rename : layout/reftests/editor/spellcheck-input-nofocus-ref.html => editor/reftests/spellcheck-input-nofocus-ref.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic-inherit.html => editor/reftests/spellcheck-input-property-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic-override-inherit.html => editor/reftests/spellcheck-input-property-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic-override.html => editor/reftests/spellcheck-input-property-dynamic-override.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic.html => editor/reftests/spellcheck-input-property-dynamic.html
rename : layout/reftests/editor/spellcheck-input-ref.html => editor/reftests/spellcheck-input-ref.html
rename : layout/reftests/editor/spellcheck-period-valid-ref.html => editor/reftests/spellcheck-period-valid-ref.html
rename : layout/reftests/editor/spellcheck-period-valid.html => editor/reftests/spellcheck-period-valid.html
rename : layout/reftests/editor/spellcheck-slash-valid-ref.html => editor/reftests/spellcheck-slash-valid-ref.html
rename : layout/reftests/editor/spellcheck-slash-valid.html => editor/reftests/spellcheck-slash-valid.html
rename : layout/reftests/editor/spellcheck-space-valid-ref.html => editor/reftests/spellcheck-space-valid-ref.html
rename : layout/reftests/editor/spellcheck-space-valid.html => editor/reftests/spellcheck-space-valid.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic-inherit.html => editor/reftests/spellcheck-textarea-attr-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic-override-inherit.html => editor/reftests/spellcheck-textarea-attr-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic-override.html => editor/reftests/spellcheck-textarea-attr-dynamic-override.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic.html => editor/reftests/spellcheck-textarea-attr-dynamic.html
rename : layout/reftests/editor/spellcheck-textarea-attr-inherit.html => editor/reftests/spellcheck-textarea-attr-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-attr.html => editor/reftests/spellcheck-textarea-attr.html
rename : layout/reftests/editor/spellcheck-textarea-disabled.html => editor/reftests/spellcheck-textarea-disabled.html
rename : layout/reftests/editor/spellcheck-textarea-focused-notreadonly.html => editor/reftests/spellcheck-textarea-focused-notreadonly.html
rename : layout/reftests/editor/spellcheck-textarea-focused-reframe.html => editor/reftests/spellcheck-textarea-focused-reframe.html
rename : layout/reftests/editor/spellcheck-textarea-focused.html => editor/reftests/spellcheck-textarea-focused.html
rename : layout/reftests/editor/spellcheck-textarea-nofocus-ref.html => editor/reftests/spellcheck-textarea-nofocus-ref.html
rename : layout/reftests/editor/spellcheck-textarea-nofocus.html => editor/reftests/spellcheck-textarea-nofocus.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic-inherit.html => editor/reftests/spellcheck-textarea-property-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic-override-inherit.html => editor/reftests/spellcheck-textarea-property-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic-override.html => editor/reftests/spellcheck-textarea-property-dynamic-override.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic.html => editor/reftests/spellcheck-textarea-property-dynamic.html
rename : layout/reftests/editor/spellcheck-textarea-ref.html => editor/reftests/spellcheck-textarea-ref.html
rename : layout/reftests/editor/unneeded_scroll-ref.html => editor/reftests/unneeded_scroll-ref.html
rename : layout/reftests/editor/unneeded_scroll.html => editor/reftests/unneeded_scroll.html
rename : layout/reftests/editor/xul/autocomplete-1.xul => editor/reftests/xul/autocomplete-1.xul
rename : layout/reftests/editor/xul/autocomplete-ref.xul => editor/reftests/xul/autocomplete-ref.xul
rename : layout/reftests/editor/xul/empty-1.xul => editor/reftests/xul/empty-1.xul
rename : layout/reftests/editor/xul/empty-2.xul => editor/reftests/xul/empty-2.xul
rename : layout/reftests/editor/xul/empty-ref.xul => editor/reftests/xul/empty-ref.xul
rename : layout/reftests/editor/xul/emptyautocomplete-1.xul => editor/reftests/xul/emptyautocomplete-1.xul
rename : layout/reftests/editor/xul/emptyautocomplete-ref.xul => editor/reftests/xul/emptyautocomplete-ref.xul
rename : layout/reftests/editor/xul/emptymultiline-1.xul => editor/reftests/xul/emptymultiline-1.xul
rename : layout/reftests/editor/xul/emptymultiline-2.xul => editor/reftests/xul/emptymultiline-2.xul
rename : layout/reftests/editor/xul/emptymultiline-ref.xul => editor/reftests/xul/emptymultiline-ref.xul
rename : layout/reftests/editor/xul/emptytextbox-1.xul => editor/reftests/xul/emptytextbox-1.xul
rename : layout/reftests/editor/xul/emptytextbox-2.xul => editor/reftests/xul/emptytextbox-2.xul
rename : layout/reftests/editor/xul/emptytextbox-3.xul => editor/reftests/xul/emptytextbox-3.xul
rename : layout/reftests/editor/xul/emptytextbox-4.xul => editor/reftests/xul/emptytextbox-4.xul
rename : layout/reftests/editor/xul/emptytextbox-5.xul => editor/reftests/xul/emptytextbox-5.xul
rename : layout/reftests/editor/xul/emptytextbox-ref.xul => editor/reftests/xul/emptytextbox-ref.xul
rename : layout/reftests/editor/xul/input.css => editor/reftests/xul/input.css
rename : layout/reftests/editor/xul/number-1.xul => editor/reftests/xul/number-1.xul
rename : layout/reftests/editor/xul/number-2.xul => editor/reftests/xul/number-2.xul
rename : layout/reftests/editor/xul/number-3.xul => editor/reftests/xul/number-3.xul
rename : layout/reftests/editor/xul/number-4.xul => editor/reftests/xul/number-4.xul
rename : layout/reftests/editor/xul/number-5.xul => editor/reftests/xul/number-5.xul
rename : layout/reftests/editor/xul/number-ref.xul => editor/reftests/xul/number-ref.xul
rename : layout/reftests/editor/xul/numberwithvalue-1.xul => editor/reftests/xul/numberwithvalue-1.xul
rename : layout/reftests/editor/xul/numberwithvalue-ref.xul => editor/reftests/xul/numberwithvalue-ref.xul
rename : layout/reftests/editor/xul/passwd-1.xul => editor/reftests/xul/passwd-1.xul
rename : layout/reftests/editor/xul/passwd-2.xul => editor/reftests/xul/passwd-2.xul
rename : layout/reftests/editor/xul/passwd-3.xul => editor/reftests/xul/passwd-3.xul
rename : layout/reftests/editor/xul/passwd-ref.xul => editor/reftests/xul/passwd-ref.xul
rename : layout/reftests/editor/xul/plain-1.xul => editor/reftests/xul/plain-1.xul
rename : layout/reftests/editor/xul/plain-ref.xul => editor/reftests/xul/plain-ref.xul
rename : layout/reftests/editor/xul/platform.js => editor/reftests/xul/platform.js
rename : layout/reftests/editor/xul/reftest.list => editor/reftests/xul/reftest.list
rename : layout/reftests/editor/xul/textbox-1.xul => editor/reftests/xul/textbox-1.xul
rename : layout/reftests/editor/xul/textbox-disabled.xul => editor/reftests/xul/textbox-disabled.xul
rename : layout/reftests/editor/xul/textbox-readonly.xul => editor/reftests/xul/textbox-readonly.xul
rename : layout/reftests/editor/xul/textbox-ref.xul => editor/reftests/xul/textbox-ref.xul
2012-05-03 10:09:44 +03:00
Aryeh Gregor
a685451510 Bug 746915 part 1 - Move editing-related tests to editor/ directories; r=ehsan
--HG--
rename : content/html/content/test/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : content/html/document/test/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : content/html/document/test/test_bug404320.html => editor/libeditor/html/tests/test_bug404320.html
rename : content/html/document/test/test_bug468353.html => editor/libeditor/html/tests/test_bug468353.html
rename : layout/reftests/bugs/388980-1-ref.html => layout/reftests/editor/388980-1-ref.html
rename : layout/reftests/bugs/388980-1.html => layout/reftests/editor/388980-1.html
2012-05-03 10:09:44 +03:00
Aryeh Gregor
01a3e98230 Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan 2012-05-01 09:34:52 +03:00
Aryeh Gregor
a949fda3e3 Bug 748303 part 2 - Handle non-text/elements correctly when calling (Tag)CanContain(Tag); r=ehsan 2012-05-01 09:34:52 +03:00
Aryeh Gregor
6c188dd4ba Bug 748303 part 1 - Clean up various nsHTMLEditRules methods; r=ehsan 2012-05-01 09:34:52 +03:00
Jared Wein
1504e6e3d5 Bug 702463 - Increasing the timeout of the tests due to the presence of multiple refresh drivers. r=ehsan 2012-04-30 13:44:55 -04:00
Graeme McCutcheon
b0e48d2258 Followup nit for bug 740784. r=ehsan 2012-04-26 09:16:51 +01:00
Graeme McCutcheon
aeeaf3d425 Followup nit for bug 686203 - comment change. r=ehsan DONTBUILD 2012-04-26 08:54:20 +01:00
Graeme McCutcheon
09036b4c86 No bug - annoying comment typo in nsEditorEventListener.cpp DONTBUILD 2012-04-26 08:51:10 +01:00
Aryeh Gregor
3f9b2b76b7 Bug 743819 - Only re-spellcheck new nodes on insertions, not everything; r=ehsan 2012-04-25 08:56:32 +03:00
Masayuki Nakano
ba56663cd3 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
9780e4893b Bug 748223 - Pack nsEditor better; r=roc 2012-04-24 00:54:11 -04:00
Ehsan Akhgari
5cd881d802 Backed out changeset 3e6ca2158274 because of build bustage 2012-04-24 12:16:34 -04:00
Ehsan Akhgari
bd4140a99d Bug 748223 - Pack nsEditor better; r=roc 2012-04-24 00:54:11 -04:00
Aryeh Gregor
4836ea0495 Bug 480647 part 6 - Handle CSS in execCommand("fontSize"); r=ehsan 2012-04-24 13:57:49 +03:00
Aryeh Gregor
20a2a54fec Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan 2012-04-24 13:57:46 +03:00
Aryeh Gregor
72210acfc9 Bug 480647 part 3 - Clean up nsHTMLCSSUtils::GenerateCSSDeclarationsFromHTMLStyle; r=ehsan 2012-04-24 13:57:23 +03:00
Aryeh Gregor
6ed928a21d Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Aryeh Gregor
fc86041529 Bug 599983 part 1 - Clean up nsEditor::MarkNodeDirty; r=ehsan 2012-04-24 09:06:11 +03:00
Ehsan Akhgari
06098487ea Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari
3f561f1dad Merge mozilla-central into birch 2012-04-20 13:50:08 -04:00
Aryeh Gregor
0650854ffc Bug 746515 part 5 - Only add style="" to empty <span>s; r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor
c88905cdb1 Bug 746515 part 4 - Remove styles more aggressively in execCommand(); r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor
0b381d6886 Bug 746515 part 3 - Remove empty <font> as well as <span>; r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor
e79cf28e11 Bug 746515 part 2 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor
64e8d1742b Bug 746515 part 1 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2012-04-20 09:33:21 +03:00
Ehsan Akhgari
b0555ad014 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Ehsan Akhgari
d83ac53fa5 Bug 745494 - Hide the anonymous editing UI before its too late; r=roc a=blocking 2012-04-18 20:10:49 -04:00
Aryeh Gregor
65ad808232 Bug 745723 - Only store known fails in currentStatus.js for richtext2, like for richtext; r=ehsan 2012-04-18 17:26:03 +03:00
Aryeh Gregor
b14caf2251 Bug 317093 part 4 - Use computed style for command state even if styleWithCSS is false; r=ehsan 2012-04-18 17:26:02 +03:00
Aryeh Gregor
ced3d028f4 Bug 317093 part 3 - Clean up nsHTMLEditor::GetInlinePropertyBase; r=ehsan 2012-04-18 17:26:02 +03:00
Aryeh Gregor
01b6da4885 Bug 480647 part 1 - Clean up nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor
4f420966ed Bug 745701 part 2 - Strip existing styles more aggressively in execCommand(); r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor
c6845c0002 Bug 745701 part 1 - Clean up nsHTMLEditor::RemoveStyleInside; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor
12ce571ca9 Bug 745528 - execCommand() should apply style="" to only inline elements, not blocks; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor
6469be6f64 Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Graeme McCutcheon
94f105c142 Bug 740784 - Don't allow old bogus nodes to trail textarea content. r=ehsan a=lsblakk 2012-04-12 21:55:48 +01:00
Graeme McCutcheon
d7d8932ab4 Bug 686203 - nsHTMLEditorEventListener's MouseDown listener should disregard events outwith its editor. Also fixes bug 578771. r=ehsan a=blassey 2012-04-13 13:52:12 +01:00
Aryeh Gregor
bf8e85b2d4 Bug 738385 part 2 - queryCommand*() should not throw for commands that don't support them; r=ehsan 2012-04-06 10:42:54 +03:00
Aryeh Gregor
1cd223ec12 Bug 279330 part 2 - execCommand("hilitecolor") should work even in non-CSS mode; r=ehsan 2012-04-17 13:18:08 +03:00
Aryeh Gregor
b6e35957b0 Bug 279330 part 1 - Remove erroneous NS_ERRORs; r=ehsan 2012-04-17 13:18:08 +03:00
Ms2ger
1316ee9afc Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger
974d88e1f3 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger
f14df3792d Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger
68be407858 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger
4f8798aeb7 Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
42cf123f28 Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger
60f0986073 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger
14a2cebd8b Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger
b473c66132 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger
8c7c81ba86 Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +02:00
Graeme McCutcheon
50f21a7314 Bug 578771 testcase. r=ehsan a=test 2012-04-19 15:50:53 +01:00
jhorak
5533674517 Bug 746148 - Respect the LANG environment variable when trying to select a spell checking dictionary; r=ehsan a=mfinkle 2012-04-19 13:45:50 -04:00
Ehsan Akhgari
7d2ff5e146 Bug 743632 - Fix nsHTMLEditor::GetNextHTMLSibling to return the correct node; r=roc
--HG--
extra : rebase_source : 360c3800e8546aeb9e2ec0946127a85ae1155d56
2012-04-09 12:46:28 -04:00
Aryeh Gregor
920d308617 Bug 317093 part 2 - execCommand() should remove <strong>, <em>, and <s> as well as <b>, <i>, <strike>; r=ehsan 2012-04-04 14:47:13 +03:00
Aryeh Gregor
d9615bb1fb Bug 317093 part 1 - Avoid spurious UNEXPECTED-FAILs in test_richtext2 when fixing expected fails; r=ehsan 2012-04-04 14:46:04 +03:00
Aryeh Gregor
1aa75aa3d9 Bug 316447 - execCommand("insertHorizontalRule") should not set height/width; r=ehsan 2012-04-04 13:47:36 +03:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ehsan Akhgari
124634b2dc Bug 741734 - Fire the paste event when pasting without formatting; r=roc 2012-04-03 13:41:04 -04:00
Ehsan Akhgari
f7a38030b2 Backed out changeset afff429aaf9a because of bad commit message 2012-04-03 17:47:34 -04:00
Ehsan Akhgari
90d053cb5e commit cf0f05533cc23ba918e81ac3669449813799fe9f
Author: Ehsan Akhgari <ehsan.akhgari@gmail.com>
    Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
Aryeh Gregor
22b8bf8aac Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan 2012-03-23 15:03:42 -04:00
Aryeh Gregor
2c1ee92a02 Bug 738366 - Default styleWithCSS to false; r=ehsan 2012-04-03 17:16:05 +03:00
Kyle Huey
d6238234e1 No bug: Followups to my previous two commits. 2012-03-31 07:54:12 -07:00
Kyle Huey
7073f4e284 Bug 718316: Disable failing tests. 2012-03-31 07:22:31 -07:00
Marco Bonardo
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
9427a8db0d Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02:00
Masayuki Nakano
ada065ae94 Bug 739557 Set focus to editing host and use document.getSelection().collapse() for setting caret to edit target; r=ehsan 2012-03-29 09:10:22 -07:00
Mike Conley
4e49af0a00 Bug 746993 - Fix editor caret behaviour when pressing RETURN after a BR node. r=ehsan, a=tracking-firefox 2012-04-20 12:57:17 -04:00
Masayuki Nakano
e780865b68 Bug 722961 Add tests for autocomplete with composition r=m_kato 2012-03-27 23:22:56 +09:00
Masayuki Nakano
2ab8e3fb4a Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
aceman
8e5d9b42ce Bug 732691 - Further cleanups in /mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp found in bug 368758. r=ehsan 2012-03-26 14:58:43 -07:00
Ehsan Akhgari
d33003e285 Bug 732585 - Drag and drop images into message window is broken; r=roc 2012-03-26 09:04:06 -07:00
Matt Brubeck
f83a9ab93e Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Ms2ger
a033505149 Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan 2012-03-24 09:19:14 +01:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Aryeh Gregor
0d0dc77101 Bug 735805 - Part 2: Fix editor mochitest that runs no tests. r=ehsan 2012-03-16 16:07:16 -04:00
Neil Deakin
f9547aff6d Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Ehsan Akhgari
90f09f9955 Bug 737889 - Part 2: Stop the propagarion of drag/drop events over non-editable content; r=roc 2012-03-23 11:35:40 -04:00
Ehsan Akhgari
5f3425b10d Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -04:00
Henri Sivonen
82c137d953 Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Aryeh Gregor
aeeb5ee819 Bug 735059 - Second and third execCommand() parameters should be optional; r=ehsan 2012-03-12 18:12:19 -04:00
Charles Chan
9f5a593ca0 Bug 729041 - Remove nsEditorParserObserver. r=hsivonen. 2012-03-11 18:27:28 -07:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Serge Gautherie
06584f5688 Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan. 2012-03-06 18:14:44 +01:00
aceman
a39be24188 Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan 2012-03-02 17:23:01 -05:00
Ehsan Akhgari
f46cc40f13 Bug 730882 - Clean up nsTransactionStack; r=roc 2012-03-02 15:08:40 -05:00
Serge Gautherie
b45e3037cc Bug 489728. (Bv6a_fix) Misplaced '"'. (Bustage fix.) 2012-02-28 10:29:46 +01:00
Mark Capella
7992841265 Bug 489728. (Bv6a) Use passed() in TestTXMgr.cpp, Make passed() accept a va_list in TestHarness.h. f=sgautherie r=ehsan. 2012-02-28 10:17:15 +01:00