Aryeh Gregor
fee4e249e2
Bug 757371 part 4 - Do not insert style tags if the style is already applied; r=ehsan
2012-05-23 10:49:29 +03:00
Aryeh Gregor
0366e557db
Bug 757371 part 3 - Reuse existing style elements more aggressively; r=ehsan
2012-05-29 10:12:51 +03:00
Aryeh Gregor
72c58a01c7
Bug 757371 part 2 - Improve correctness of nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan
2012-05-28 14:20:27 +03:00
Aryeh Gregor
045e52b132
Bug 757371 part 1 - Clean up nsHTMLEditRules::ReapplyCachedStyles; r=ehsan
2012-05-22 13:15:09 +03:00
Ehsan Akhgari
1c696ea975
Bug 760583 - Null check the selection parameter passed to WillDoAction properly; rs=mconley
2012-06-01 16:36:09 -04:00
Mats Palmgren
2c294337da
Bug 760080 - Use info() for log messages that aren't tests. Move SimpleTest.finish() last. r=ehsan
2012-06-01 20:52:37 +02:00
Aryeh Gregor
00a3b3b99b
Bug 759748 - Crash in nsHTMLEditRules::WillDoAction; r=ehsan
2012-05-31 21:23:07 +03:00
Aryeh Gregor
626faeaf0f
Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
b35fbf4f3f
Bug 748307 part 3 - Clean up WillDoAction; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
8137ef02b0
Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
1adb36eedc
Bug 748307 part 1 - Make TypedText's second argument a named enum; r=ehsan
2012-05-22 12:37:17 +03:00
Ehsan Akhgari
03eb49779c
Bug 741216 - Allow dropping files into the file picker control; r=bzbarsky
2012-04-02 16:25:09 -04:00
Laurent Dulary
7b00eb233d
Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap
2012-05-16 13:18:33 +02:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Aryeh Gregor
1a3922499a
Bug 742240 - Handle unsupported commands per spec in execCommand/queryCommand*; r=ehsan
2012-04-15 15:57:20 +03:00
Ms2ger
faa0b8ae7d
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
2e64d06192
Bug 755314 - Make nsBaseStateUpdatingCommand::mTagName an nsIAtom*; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
89d7bd9576
Bug 754228 - nsBaseStateUpdatingCommand::{ToggleState,GetCurrentState} shouldn't have an aTagName argument; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
895fc86ccf
Bug 755311 - Simplify SetDocTitleTxn::SetDomTitle; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
2eb4157162
Bug 755310 - Use nsINode::Length() in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
9f7812a906
Bug 755264 - Use nsINode in nsHTMLEditRules::DeleteNonTableElements; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
198ce62511
Bug 755243 - Use nsINode in nsHTMLEditRules::AppendInnerFormatNodes; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
77b8172abf
Bug 755204 - Use nsINode::GetChildCount() in nsHTMLEditRules::MakeSureElemStartsOrEndsOnCR; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
8ec42fbe0b
Bug 755202 - Simplify GetChildNodesForOperation; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
3b577015ad
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
c53f7b05e8
Bug 752253 - Remove nsEditor::GetIndexOf; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
96284cb920
Bug 752210 - Part c: Use nsIContent in nsHTMLEditor::RelativeFontChange; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
23cb3a297e
Bug 752210 - Part b: Use nsIContent in nsHTMLEditor::RelativeFontChangeOnNode; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
97914fe9d1
Bug 752210 - Part a: Use nsIContent in nsHTMLEditor::RelativeFontChangeHelper; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
a0a34e3718
Bug 752209 - Use nsINode::GetChildCount() in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
d06c354b02
Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
0d5cf8fa45
Bug 752203 - Cleanup nsEditor::NodesSameType; r=ehsan
2012-05-18 10:29:38 +02:00
Ms2ger
4bec394095
Bug 752045 - Handle document fragments correctly in *CanContain* methods; r=ehsan
2012-05-18 10:29:38 +02:00
Aryeh Gregor
4dc711d954
Bug 590640 part 7 - Preserve type-in state when performing block commands; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
697c7ef005
Bug 590640 part 6 - Don't create empty style tags unless we're about to insert text in them; r=ehsan
2012-05-10 15:00:14 +03:00
Aryeh Gregor
1fffe1dc4d
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Aryeh Gregor
223ee82a41
Bug 590640 part 3 - Remove unnecessary use of NodeIsTypeString; r=ehsan
2012-05-09 12:45:23 +03:00
Aryeh Gregor
67fa5ae00d
Bug 590640 part 2 - Remove dead code; r=ehsan
2012-05-09 12:45:21 +03:00
Aryeh Gregor
4a1d01b6a6
Bug 590640 part 1 - Clean up some nsHTMLEditRules methods; r=ehsan
2012-05-09 08:24:07 +03:00
Aryeh Gregor
7cb03d1868
Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz
2012-05-18 09:20:49 +03:00
Joel Maher
57605fec0f
Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel
2012-05-14 10:19:28 -04:00
Ehsan Akhgari
d57d737946
Bug 754292 - Make spellcheck-textarea-ref.html blur its contents so that we would test the right thing; r=roc
2012-05-11 11:39:38 -04:00
Ehsan Akhgari
f03f262346
Bug 753233 - Make the spell checker aware of data: URIs; r=roc
2012-05-09 16:15:52 -04:00
Ehsan Akhgari
2be6b796b2
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
Aryeh Gregor
4eab9ca44b
Bug 752304 - Logic error in nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan
2012-05-07 08:54:54 +03:00
Aryeh Gregor
eb33f59b5f
Bug 700538 part 4 - Remove now-redundant nsHTMLEditor::IsNodeInActiveEditor; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
2ce277835c
Bug 700538 part 3 - Add and use new EditorRoot methods in nsEditor; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
3c77c5664c
Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
e17949e50b
Bug 700538 part 1 - Name some nsEditor methods more consistently; r=ehsan
2012-05-01 13:01:28 +03:00
Aryeh Gregor
cb28d967ce
Bug 751547 - Unify action enums in editor/; r=ehsan
2012-05-05 21:52:29 +03:00
Ms2ger
9f3641f0f6
Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
6490825be5
Bug 751328 - Use nsINode::GetChildCount() in nsTextServicesDocument::CreateDocumentContentRootToNodeOffsetRange; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
b1945e4aa3
Bug 750103 - Cleanup nsEditor::EndOfDocument(); r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
f27bb86c9a
Bug 750062 - Assert preconditions in IsVisTextNode; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
8d98196bf0
Bug 750085 - Pass nsIContent to SetInlinePropertyOnNodeImpl and use nsINode APIs to iterate over children; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
168e65323f
Bug 750079 - Part c: Pass nsIContent to nsHTMLEditor::HasAttrVal; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
b6b5f01a68
Bug 750079 - Part b: Return nsIContent from GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
93937bfab0
Bug 750079 - Part a: Add IsOnlyAttribute(nsIContent*, const nsAString&); r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
94020e23a5
Bug 749329 - Cleanup TypeInState; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
34b3e1e2c4
Bug 750064 - Add some GetPriorNode/GetNextNode overloads that take nsINode; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
a015bced9a
Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
ccd3cd30f5
Bug 747346 - Cleanup nsTextEditRules::CreateTrailingBRIfNeeded(); r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
de7a9c7e64
Bug 750094 - Some cleanup in nsComposerCommands.cpp; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
11e7a4294a
Bug 750093 - Cleanup SetTextProperty in nsComposerCommands.cpp; r=ehsan
2012-05-05 11:00:05 +02:00
Ms2ger
c7afbe6507
Bug 750073 - Use nsContentUtils::WordBreaker() in nsTextServicesDocument::FindWordBounds; r=ehsan
2012-05-05 11:00:05 +02:00
Aryeh Gregor
4f8b1fc26d
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
33e66eaeff
Bug 748313 part 1 - Remove unused argument to nsHTMLEditor::IsTextPropertySetByContent; r=ehsan
2012-05-03 10:09:44 +03:00
Aryeh Gregor
fc8e03548b
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
a6483f6245
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
00a49bb9eb
Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan
2012-05-01 09:34:52 +03:00
Aryeh Gregor
edf98a6601
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
0585cf802b
Bug 748303 part 1 - Clean up various nsHTMLEditRules methods; r=ehsan
2012-05-01 09:34:52 +03:00
Jared Wein
0152ba6f95
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
1738fc96e1
Followup nit for bug 740784. r=ehsan
2012-04-26 09:16:51 +01:00
Graeme McCutcheon
c39d9570bd
Followup nit for bug 686203 - comment change. r=ehsan DONTBUILD
2012-04-26 08:54:20 +01:00
Graeme McCutcheon
cbf3d88591
No bug - annoying comment typo in nsEditorEventListener.cpp DONTBUILD
2012-04-26 08:51:10 +01:00
Aryeh Gregor
8ef0db5648
Bug 743819 - Only re-spellcheck new nodes on insertions, not everything; r=ehsan
2012-04-25 08:56:32 +03:00
Masayuki Nakano
e089b336f8
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
d406da07d1
Bug 748223 - Pack nsEditor better; r=roc
2012-04-24 00:54:11 -04:00
Ehsan Akhgari
fff9b721e0
Backed out changeset 3e6ca2158274 because of build bustage
2012-04-24 12:16:34 -04:00
Ehsan Akhgari
44970911b7
Bug 748223 - Pack nsEditor better; r=roc
2012-04-24 00:54:11 -04:00
Aryeh Gregor
51d3c28a67
Bug 480647 part 6 - Handle CSS in execCommand("fontSize"); r=ehsan
2012-04-24 13:57:49 +03:00
Aryeh Gregor
6a59021f84
Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan
2012-04-24 13:57:46 +03:00
Aryeh Gregor
e04f4100c1
Bug 480647 part 3 - Clean up nsHTMLCSSUtils::GenerateCSSDeclarationsFromHTMLStyle; r=ehsan
2012-04-24 13:57:23 +03:00
Aryeh Gregor
c7d23199c4
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
ac93d3f1ab
Bug 599983 part 1 - Clean up nsEditor::MarkNodeDirty; r=ehsan
2012-04-24 09:06:11 +03:00
Ehsan Akhgari
fec480dc6c
Merge mozilla-central into birch
2012-04-22 16:10:35 -04:00
Ehsan Akhgari
545bb7a0b1
Merge mozilla-central into birch
2012-04-20 13:50:08 -04:00
Aryeh Gregor
785ec48d50
Bug 746515 part 5 - Only add style="" to empty <span>s; r=ehsan
2012-04-20 09:33:21 +03:00
Aryeh Gregor
ab16a793f7
Bug 746515 part 4 - Remove styles more aggressively in execCommand(); r=ehsan
2012-04-20 09:33:21 +03:00
Aryeh Gregor
eb310d0315
Bug 746515 part 3 - Remove empty <font> as well as <span>; r=ehsan
2012-04-20 09:33:21 +03:00
Aryeh Gregor
8f1e01e99c
Bug 746515 part 2 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan
2012-04-20 09:33:21 +03:00
Aryeh Gregor
30275f2a2f
Bug 746515 part 1 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan
2012-04-20 09:33:21 +03:00
Ehsan Akhgari
731cf9d3bd
Merge mozilla-central into birch
2012-04-19 10:03:36 -04:00
Ehsan Akhgari
3c7006508c
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
9934ea9340
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
7bf2c8a9b0
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
63a1b91dc4
Bug 317093 part 3 - Clean up nsHTMLEditor::GetInlinePropertyBase; r=ehsan
2012-04-18 17:26:02 +03:00
Aryeh Gregor
0eba053047
Bug 480647 part 1 - Clean up nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan
2012-04-17 20:50:19 +03:00
Aryeh Gregor
abb362a74e
Bug 745701 part 2 - Strip existing styles more aggressively in execCommand(); r=ehsan
2012-04-17 20:50:19 +03:00
Aryeh Gregor
da3e9a4a14
Bug 745701 part 1 - Clean up nsHTMLEditor::RemoveStyleInside; r=ehsan
2012-04-17 20:50:19 +03:00
Aryeh Gregor
b2aeb24653
Bug 745528 - execCommand() should apply style="" to only inline elements, not blocks; r=ehsan
2012-04-17 20:50:19 +03:00
Aryeh Gregor
61eb102268
Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan
2012-04-17 18:37:40 +03:00
Graeme McCutcheon
7b5618d5c3
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
50f4305256
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
d12d659db6
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
2a90e237d9
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
ed9d81c642
Bug 279330 part 1 - Remove erroneous NS_ERRORs; r=ehsan
2012-04-17 13:18:08 +03:00
Ms2ger
24f9541252
Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-04-14 15:09:38 +02:00
Ms2ger
5411102ccb
Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-04-14 15:09:21 +02:00
Ms2ger
64506705b8
Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan
2012-04-14 15:08:26 +02:00
Ms2ger
6a0f987988
Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan
2012-04-14 15:07:37 +02:00
Ms2ger
2aa9617b9f
Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan
2012-04-14 15:07:34 +02:00
Ms2ger
b8ae2456b2
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
2b65d1cf8d
Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-04-14 15:09:38 +02:00
Ms2ger
b8f9cbba39
Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-04-14 15:09:21 +02:00
Ms2ger
621d875821
Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan
2012-04-14 15:08:26 +02:00
Ms2ger
591667890e
Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan
2012-04-14 15:07:37 +02:00
Ms2ger
4934501de0
Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan
2012-04-14 15:07:34 +02:00
Graeme McCutcheon
d229de565c
Bug 578771 testcase. r=ehsan a=test
2012-04-19 15:50:53 +01:00
jhorak
479726fc69
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
c3eb5c09b3
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
08528d82ca
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
cc283bd684
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
e5df18eba7
Bug 316447 - execCommand("insertHorizontalRule") should not set height/width; r=ehsan
2012-04-04 13:47:36 +03:00
Veeraya Pupatwibul
26e9a6a204
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Ehsan Akhgari
e932aaf835
Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
Ehsan Akhgari
9d01c7314b
Backed out changeset afff429aaf9a because of bad commit message
2012-04-03 17:47:34 -04:00
Ehsan Akhgari
694206936a
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
43cd11357a
Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan
2012-03-23 15:03:42 -04:00
Aryeh Gregor
ca85f01f9d
Bug 738366 - Default styleWithCSS to false; r=ehsan
2012-04-03 17:16:05 +03:00
Kyle Huey
ade7c58314
No bug: Followups to my previous two commits.
2012-03-31 07:54:12 -07:00
Kyle Huey
40e991f2d5
Bug 718316: Disable failing tests.
2012-03-31 07:22:31 -07:00
Marco Bonardo
d3b8a6debe
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
63c2adf6c9
Bug 738608 - Introduce nsINode::Length(); r=smaug
2012-03-29 23:09:04 +02:00
Masayuki Nakano
06d073ef14
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
a8153c1d5e
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
941d39a6a6
Bug 722961 Add tests for autocomplete with composition r=m_kato
2012-03-27 23:22:56 +09:00
Masayuki Nakano
acf546c04a
Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug
2012-03-27 10:36:44 +09:00
aceman
a15d60a352
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
6d26be67c1
Bug 732585 - Drag and drop images into message window is broken; r=roc
2012-03-26 09:04:06 -07:00
Matt Brubeck
21e24f0ef9
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Ms2ger
e090679772
Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan
2012-03-24 09:19:14 +01:00
Henri Sivonen
3dfb9fb844
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Aryeh Gregor
d2671d16ea
Bug 735805 - Part 2: Fix editor mochitest that runs no tests. r=ehsan
2012-03-16 16:07:16 -04:00
Neil Deakin
6c9d8bc0e7
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
227abf1ddc
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
e8037d0abc
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
0be2d2f91c
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
1e80f34bd3
Bug 735059 - Second and third execCommand() parameters should be optional; r=ehsan
2012-03-12 18:12:19 -04:00
Charles Chan
c273ab3444
Bug 729041 - Remove nsEditorParserObserver. r=hsivonen.
2012-03-11 18:27:28 -07:00
Jacob Holzinger
86f648606c
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
5632f3d616
Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan.
2012-03-06 18:14:44 +01:00
aceman
6c002f28d6
Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan
2012-03-02 17:23:01 -05:00
Ehsan Akhgari
cf880062aa
Bug 730882 - Clean up nsTransactionStack; r=roc
2012-03-02 15:08:40 -05:00
Serge Gautherie
bc6fa5cf0d
Bug 489728. (Bv6a_fix) Misplaced '"'. (Bustage fix.)
2012-02-28 10:29:46 +01:00
Mark Capella
2b9096ad7f
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
Richard Newman
7886693fb2
Merge m-c to m-i.
2012-02-23 18:37:12 -08:00
Richard Newman
200c9a86f4
Merge last win pgo-green changeset from m-i to m-c.
2012-02-23 18:35:17 -08:00
Matthew Schranz
62d6dff935
Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug
2012-02-23 14:23:30 +01:00
Olli Pettay
ae99f8a2eb
Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan
2012-02-23 22:47:37 +02:00
Neil Deakin
96524d644a
Bug 499008, part 7, merge html drag type constants into one place, r=ehsan
2012-02-17 09:17:00 -05:00
Neil Deakin
1cef45a876
Bug 499008, part 6, editor drag drop tests, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
13c593e55b
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
1d18d254ce
Bug 499008, part 4, convert editor drop handling to use datatransfers instead of the drag service, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
bb01abe388
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
a8a864c0d2
Bug 499008, part 1, remove spurious event checks drop editor drag handling, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
3e33a45b3f
Bug 728652, null check return value of MozGetDataAt, r=ehsan
2012-02-23 15:59:45 -05:00
Rafael Ávila de Espíndola
73a3c4a6bb
Bug 727221 - mark LastDictionary and nsElementDeletionObserver final. r=ehsan.
2012-02-16 09:39:57 -05:00
Daniel Holbert
93fb646e10
Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan
2012-02-15 01:18:24 -08:00
Masayuki Nakano
9b28752e68
Bug 622247 Remove hack for bug 23558 and bug 271815, and add tests for them r=ehsan
2012-02-15 10:38:07 +09:00
Ms2ger
f54d391b08
Bug 724270 - Part b: Use nsINode in GenerateCSSDeclarationsFromHTMLStyle / GetCSSEquivalentToHTMLInlineStyleSet and callers; r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
18f112a4be
Bug 724270 - Part a: Add an nsINode overload of GetCSSInlinePropertyBase; r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
475fcb9de7
Bug 724269 - Add nsHTMLCSSUtils::IsCSSEditableProperty(nsIContent*); r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
7ab6e1f800
Bug 724268 - Simplify nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
41192c3c93
Bug 724266 - Add dom::Element* nsHTMLCSSUtils::GetElementContainerOrSelf(nsINode* aNode); r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
5d74feca40
Bug 724264 - Consolidate code that checks whether an element has a non-_moz_dirty attribute; r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
e6b28a4721
Bug 724261 - Use nsINode in nsHTMLEditRules::RelativeChangeIndentationOfElementNode; r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
bba65685cd
Bug 723232 - nsHTMLEditRules::RelativeChangeIndentationOfElementNode removes divs with any one attribute; r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
39e696988a
Bug 724260 - Add nsHTMLEditRules::IsInListItem(nsINode* aNode); r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
fba04e638e
Bug 724259 - Add nsHTMLEditor::IsNodeInActiveEditor(nsINode* aNode); r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
c777a141fc
Bug 723252 - Various nsHTMLEditor cleanup; r=ehsan
2012-02-10 11:04:46 +01:00
Ehsan Akhgari
f21147d2e5
Bug 725069 - Part 2: Only accept text and element nodes for the editability check; r=roc
2012-02-08 18:09:51 -05:00
Ehsan Akhgari
4b271d2d17
Bug 725069 - Never mark the comment nodes as editable; r=roc
2012-02-07 18:39:05 -05:00
Neil Deakin
6125e0566b
Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas
2012-02-07 13:02:32 -05:00
Panagiotis Koutsourakis
583eb38038
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Ms2ger
c81e3a7323
Bug 720974 - Remove IsMozEditorBogusNode(nsIDOMNode*); r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
6bf3cc7619
Bug 722419 - Part b: BeginningOfDocument / GetFirstEditableNode; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
d94e3b888f
Bug 722419 - Part a: Introduce another version of GetNextNode; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
971334e6c2
Bug 722418 - Various nsEditor cleanup; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
b0989a6827
Bug 722416 - Outparamdel nsHTMLCSSUtils::GetElementContainerOrSelf; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
39879c152d
Bug 722415 - Cleanup nsHTMLEditor::GetHTMLBackgroundColorState; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
0eaa39270a
Bug 722412 - Cleanup nsPlaintextEditor::SetDocumentCharacterSet; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
bee22468f5
Bug 722411 - Cleanup nsPlaintextEditor::GetAndInitDocEncoder; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
dc5437040b
Bug 721493 - Cleanup nsHTMLEditor's HasAttr / HasAttrVal; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
b5bb334d50
Bug 721483 - Clean up RemoveElementIfNoStyleOrIdOrClass / HasStyleOrIdOrClass; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
c839dd85b8
Bug 721460 - Don't use GetIsCSSEnabled internally; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
0a50e3126f
Bug 722406 - Part b: Cleanup nsHTMLEditor::SetCaretInTableCell; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
853c6e26ed
Bug 720982 - Part b: Remove nsHTMLEditor::InsertBR; r=ehsan
2012-02-01 11:54:21 +01:00
Ms2ger
2e6a1cac96
Bug 720982 - Part a: Remove nsHTMLEditor::CreateBRImpl; r=ehsan
2012-02-01 11:54:21 +01:00
David Zbarsky
9784c231a7
Bug 682611 - Part 3: Remove ns(I)RangeUtils; r=smaug
2012-01-28 16:42:14 +01:00
Matthew Schranz
75edd6c796
Bug 698384 - Make document.createNodeIterator's 2nd and 3rd parameters optional. r=smaug
2012-01-25 13:47:50 +01:00
Ms2ger
b8529ac65e
Bug 718170 - Part c: Use nsINode in IsEmptyCell; r=ehsan
2012-01-25 08:50:06 +01:00
Ms2ger
4bcb2cb24d
Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan
2012-01-25 08:50:05 +01:00
Ms2ger
b930898e9f
Bug 718170 - Part a: Use nsINode in IsEmptyNodeImpl; r=ehsan
2012-01-25 08:50:05 +01:00
Boris Zbarsky
d4ccac259c
Bug 713427. Don't assume things about lazy frame construction bits that just aren't true when doing IsVisible() testing. r=tnikkel
2012-01-18 16:10:06 -05:00
Justin Wood
d3b96540be
Merge last green PGO from inbound to mozilla-central
2012-01-16 22:27:53 -05:00
Tim Taubert
dc0feeb24e
merge m-c to fx-team
2012-01-16 11:20:19 +01:00
Justin Wood
09b3d2e3d1
Merge m-c tip to m-i
2012-01-15 05:29:24 -05:00
Ms2ger
cee1d31b2e
Bug 717370 - Cleanup range-using and nearby code in editor; r=smaug+ehsan
2012-01-15 09:13:12 +01:00
Jared Wein
843a61d98d
Bug 198964 - Enable smooth scrolling by default. r=gavin
2012-01-13 16:26:34 -08:00
Ehsan Akhgari
01f4b77395
Test case for bug 639736; r=roc
2012-01-16 16:07:46 -05:00
Ehsan Akhgari
7ed714fe6f
Bug 718316 - Try to fix the intermittent orange introduced after the landing of bug 598482 by flushing before capturing the screenshot; r=bzbarsky
2012-01-16 14:41:54 -05:00
Masayuki Nakano
a620faaa8d
Bug 717560 input events during composition should be fired after auto batch is gone r=ehsan
2012-01-13 15:19:22 +09:00
Masayuki Nakano
7de3aa99c7
Bug 717147 part.2 Don't do autocomplete during composition r=dolske
2012-01-13 15:19:22 +09:00
Masayuki Nakano
9c5493c45d
Bug 717147 input events which are fired after compositionupdate should be trusted events r=ehsan
2012-01-13 15:19:22 +09:00
Jignesh Kakadiya
2e98c58679
Bug 716215 - nsHTMLEditor::IsEmptyNodeImpl checks if the parent is a form widget instead of the child. r=Ms2ger; sr=ehsan
2012-01-11 09:23:09 +01:00
Ms2ger
03f1927241
Bug 716207 - Part b: Cleanup nsTextEditRules::RemoveRedundantTrailingBR; r=ehsan
2012-01-11 09:23:07 +01:00
Ms2ger
b36f3f9abc
Bug 716207 - Part a: Cleanup nsTextEditRules::DidUndo; r=ehsan
2012-01-11 09:23:07 +01:00
Ms2ger
b94044b1c3
Bug 715110 - Don't use getPreventDefault in editor; r=ehsan
2012-01-11 09:23:07 +01:00
Ms2ger
fe537b0860
Bug 716630 - Kill editor's warnings; r=ehsan
2012-01-11 09:22:16 +01:00
Ehsan Akhgari
3053c2dd3a
Bug 716456 - Make sure to pass a correct ancestor to GetPreviousContent; r=bzbarsky
2012-01-10 15:35:04 -05:00
David Zbarsky
785e84c27d
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
David Zbarsky
3484fe1ebe
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Markus Stange
464140fc29
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
d13d62c3a3
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
99c74550c0
Bug 598482 part 6 - Remove nsIPlaintextEditor::eEditorUseAsyncUpdatesMask because it doesn't have any effect anymore. r=roc
2011-12-23 22:52:21 -05:00
Boris Zbarsky
3345982494
Bug 716031. Fix editor test to not assume simply doing a timeout will flush layout. r=ehsan pending
2012-01-14 22:54:48 -05:00
Ehsan Akhgari
1505a73948
Bug 716593 - test_bug596001.html calls SimpleTest.finish needlessly; r=roc
2012-01-09 17:07:17 -05:00
Marco Bonardo
314dacb861
Merge last green PGO from mozilla-inbound to mozilla-central
2012-01-06 13:22:51 +01:00
Neil Rashbrook
e7ecf3a5d5
Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc
2012-01-05 21:33:41 +00:00
Kyle Huey
0c030b4208
Bug 709400: Make all methods on nsIInlineSpellChecker scriptable so that it can be overriden from JS. r=ehsan
2012-01-05 11:26:14 -05:00
Graeme McCutcheon
0532ae7b27
Bug 471319 - Don't make incorrect assumptions about the bogus node after undo/redo. r=ehsan
2012-01-04 15:15:09 +00:00
Ms2ger
1bc518a27a
Bug 714258 - Remove unused variable rv in nsEditorController::RegisterEditorCommands; r=ehsan
2012-01-02 19:05:19 +01:00
Ehsan Akhgari
e15d512033
Bug 714256 - Remove locking from the transaction manager; r=roc
2012-01-01 17:35:11 -05:00
Masayuki Nakano
61971e52ff
Bug 711903 part.2 Fix new test failure r=ehsan
2011-12-31 23:04:37 +09:00
Masayuki Nakano
a0dbc0b9f1
Bug 713502 Fire input event even during composition r=smaug+ehsan
2011-12-31 23:04:37 +09:00
Ed Morley
65ef51aa4d
Merge mozilla-central to mozilla-inbound
2011-12-31 13:10:25 +00:00
Olli Pettay
213ecacdc8
Bug 714250 - Optimize nsTransactionManager traversing, r=ehsan, mccr8
...
--HG--
extra : rebase_source : ee6fbf5481e9f3602ee8afe032963f662ae3fd03
2011-12-30 19:16:10 +02:00
Neil Rashbrook
7c093f5b43
Bug 692153 Make Copy and Select All always work even when contenteditable areas are present r=ehsan
2011-12-30 17:42:04 +00:00
Ehsan Akhgari
b20080c655
Bug 613517 - Remove support for making links relative when pasting/dropping HTML data over an editable area; r=roc
2011-12-30 13:04:02 -05:00
Quentin Headen
6236efde57
Bug 352037 - Add an "Undo add to dictionary" item to spell checker's context menu item; r=ehsan
2011-12-29 16:06:56 -05:00
Phil Ringnalda
8e7c10e41c
Merge m-i <-> m-c
2011-12-24 21:50:23 -08:00
Neil Rashbrook
985ba4520e
Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan
2011-12-24 00:11:30 +00:00
Masayuki Nakano
228fad0b19
Bug 698949 Editor should refuse untrusted keypress event r=smaug
2011-12-21 21:11:36 +09:00
Jeff Walden
b2d881279f
Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
...
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Masayuki Nakano
b4506dd72f
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin
2011-12-16 22:38:45 +09:00
Atul Aggarwal
e72cb419b6
Bug 703239 - Fixing build warnings in editor/, r=ehsan
2011-12-22 23:46:56 +05:30
Phil Ringnalda
3cce1527f8
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
d377851c88
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00