Граф коммитов

5869 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 75302aed58 Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Ehsan Akhgari 97dfc24320 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Ehsan Akhgari 3010661bb0 Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari b68ab964cb Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Aryeh Gregor 8f33d48265 Bug 762430 - Fix uninitialized nsresult in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor 19175c3318 Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor 3bea0fda01 Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h 2012-06-07 18:00:58 +03:00
Aryeh Gregor c7fb4c0759 Bug 757771 part 2 - Change various callers to use nsTypedSelection; r=ehsan 2012-06-05 11:10:26 +03:00
Ed Morley d1b860bd10 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Aryeh Gregor ed2695928a Bug 761861 - Fix crash in nsHTMLEditor::DeleteSelectionImpl; r=ehsan 2012-06-06 14:19:16 +03:00
Ehsan Akhgari 1261bc9326 Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Ms2ger ae5b3e7557 Bug 761297 - Followup: Fix build warning in opt builds. 2012-06-06 12:34:46 +02:00
Ms2ger 5f4ed964fb Bug 761306 - Make nsInsertTagCommand::mTagName an nsIAtom*; r=ehsan 2012-06-06 09:42:01 +02:00
Ms2ger 4ba3d51690 Bug 761313 - Simplify nsHTMLEditRules::RemoveBlockStyle; r=ehsan 2012-06-06 09:41:56 +02:00
Ms2ger bc1f580a59 Bug 761308 - Part b: Cleanup CreateElementTxn::DoTransaction(); r=ehsan 2012-06-06 09:41:51 +02:00
Ms2ger da2de36ea8 Bug 761308 - Part a: Remove unnecessary assertion from CreateElementTxn::Init(); r=ehsan 2012-06-06 09:41:46 +02:00
Ms2ger 0f088b5526 Bug 761299 - Cleanup DeleteRangeTxn::CreateTxnsToDeleteBetween; r=ehsan 2012-06-06 09:41:41 +02:00
Ms2ger 54fa2b7140 Bug 761297 - Simplify debug code in DeleteRangeTxn::Init; r=ehsan 2012-06-06 09:41:35 +02:00
Ms2ger 62daf99946 Bug 761296 - Cleanup InsertElementTxn::DoTransaction; r=ehsan 2012-06-06 09:41:30 +02:00
Ms2ger f0c0eabede Bug 761288 - Cleanup JoinElementTxn::DoTransaction; r=ehsan 2012-06-06 09:41:22 +02:00
Ms2ger ac22629f85 Bug 756819 - Use dom::Element for the result of GetElementParent; r=ehsan 2012-06-06 09:36:52 +02:00
Ms2ger 48c4041fde Bug 756748 - Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType; r=ehsan 2012-06-06 09:36:46 +02:00
Ms2ger a763f9e8c3 Bug 756758 - Use nsINode in nsEditor::ReplaceContainer; r=ehsan 2012-06-06 09:36:33 +02:00
Ms2ger 5861fba1f4 Bug 756757 - Use nsINode in nsHTMLEditor::MergeCells; r=ehsan 2012-06-06 09:36:28 +02:00
Ms2ger 3c70068c94 Bug 756756 - Cleanup nsTextServicesDocument::GetCollapsedSelection; r=ehsan 2012-06-06 09:36:23 +02:00
Ms2ger aed7e8aaa1 Bug 756755 - Cleanup nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2012-06-06 09:36:17 +02:00
Ms2ger 8f1d0d1be9 Bug 756754 - Part b: Use nsINode in nsEditor::InsertContainerAbove; r=ehsan 2012-06-06 09:36:12 +02:00
Ms2ger 8c278ddf71 Bug 756753 - Simplify nsHTMLEditRules::LookInsideDivBQandList, nsEditor::CountEditableChildren; r=ehsan 2012-06-06 09:36:07 +02:00
Ms2ger 245ac28ce6 Bug 756752 - Remove nsHTMLEditor::IsContainer(nsINode*); r=ehsan 2012-06-06 09:36:00 +02:00
Ms2ger defa6dba2a Bug 756750 - Cleanup nsEditor::RemoveContainer; r=ehsan 2012-06-06 09:35:54 +02:00
Ms2ger 55cac76b93 Bug 756754 - Part a: Return dom::Element* from CreateHTMLContent; r=ehsan 2012-06-06 09:35:47 +02:00
Aryeh Gregor 101bf90613 Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan 2012-06-01 14:03:17 +03:00
Aryeh Gregor 18b6bfc148 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 0d9f5e832b Bug 757371 part 3 - Reuse existing style elements more aggressively; r=ehsan 2012-05-29 10:12:51 +03:00
Aryeh Gregor 4cad3af933 Bug 757371 part 2 - Improve correctness of nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan 2012-05-28 14:20:27 +03:00
Aryeh Gregor d77f45134f Bug 757371 part 1 - Clean up nsHTMLEditRules::ReapplyCachedStyles; r=ehsan 2012-05-22 13:15:09 +03:00
Ehsan Akhgari 42d2024d3a Bug 760583 - Null check the selection parameter passed to WillDoAction properly; rs=mconley 2012-06-01 16:36:09 -04:00
Mats Palmgren e8a169f580 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 cb7aa11c0d Bug 759748 - Crash in nsHTMLEditRules::WillDoAction; r=ehsan 2012-05-31 21:23:07 +03:00
Aryeh Gregor 6f4ed9a285 Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan 2012-05-22 12:37:17 +03:00
Aryeh Gregor 3163c8b65f Bug 748307 part 3 - Clean up WillDoAction; r=ehsan 2012-05-22 12:37:17 +03:00
Aryeh Gregor 6d1d67ffa0 Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan 2012-05-22 12:37:17 +03:00
Aryeh Gregor aea5e1e969 Bug 748307 part 1 - Make TypedText's second argument a named enum; r=ehsan 2012-05-22 12:37:17 +03:00
Ehsan Akhgari ef2894de82 Bug 741216 - Allow dropping files into the file picker control; r=bzbarsky 2012-04-02 16:25:09 -04:00
Laurent Dulary 9190e002a9 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 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Aryeh Gregor e8bb3212b3 Bug 742240 - Handle unsupported commands per spec in execCommand/queryCommand*; r=ehsan 2012-04-15 15:57:20 +03:00
Ms2ger 81cb351df1 Merge m-c to m-i. 2012-05-18 13:32:20 +02:00
Ms2ger 1cf9cefdbe Bug 755314 - Make nsBaseStateUpdatingCommand::mTagName an nsIAtom*; r=ehsan 2012-05-18 10:29:40 +02:00
Ms2ger 70e0a918a6 Bug 754228 - nsBaseStateUpdatingCommand::{ToggleState,GetCurrentState} shouldn't have an aTagName argument; r=ehsan 2012-05-18 10:29:40 +02:00
Ms2ger 9d1522ebbc Bug 755311 - Simplify SetDocTitleTxn::SetDomTitle; r=ehsan 2012-05-18 10:29:40 +02:00
Ms2ger a03ec842c1 Bug 755310 - Use nsINode::Length() in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan 2012-05-18 10:29:40 +02:00
Ms2ger 415612279e Bug 755264 - Use nsINode in nsHTMLEditRules::DeleteNonTableElements; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 29df2a8512 Bug 755243 - Use nsINode in nsHTMLEditRules::AppendInnerFormatNodes; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 5157bda3c8 Bug 755204 - Use nsINode::GetChildCount() in nsHTMLEditRules::MakeSureElemStartsOrEndsOnCR; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 150ffe653b Bug 755202 - Simplify GetChildNodesForOperation; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger feba9c5092 Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 533e5d71a6 Bug 752253 - Remove nsEditor::GetIndexOf; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 5f81b0b912 Bug 752210 - Part c: Use nsIContent in nsHTMLEditor::RelativeFontChange; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 78dc64b94a Bug 752210 - Part b: Use nsIContent in nsHTMLEditor::RelativeFontChangeOnNode; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 226f3d597f Bug 752210 - Part a: Use nsIContent in nsHTMLEditor::RelativeFontChangeHelper; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger f62ee8eedc Bug 752209 - Use nsINode::GetChildCount() in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger 6e9c3f61f4 Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger d22ffba672 Bug 752203 - Cleanup nsEditor::NodesSameType; r=ehsan 2012-05-18 10:29:38 +02:00
Ms2ger 6d340b14a2 Bug 752045 - Handle document fragments correctly in *CanContain* methods; r=ehsan 2012-05-18 10:29:38 +02:00
Aryeh Gregor cc44c815c7 Bug 590640 part 7 - Preserve type-in state when performing block commands; r=ehsan 2012-05-06 10:53:11 +03:00
Aryeh Gregor 50071307e5 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 9684492a4a Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan 2012-05-10 17:54:33 +03:00
Aryeh Gregor dfcd7c77a2 Bug 590640 part 3 - Remove unnecessary use of NodeIsTypeString; r=ehsan 2012-05-09 12:45:23 +03:00
Aryeh Gregor 31b4f25d98 Bug 590640 part 2 - Remove dead code; r=ehsan 2012-05-09 12:45:21 +03:00
Aryeh Gregor 828444281e Bug 590640 part 1 - Clean up some nsHTMLEditRules methods; r=ehsan 2012-05-09 08:24:07 +03:00
Aryeh Gregor 8e52d8b627 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 1907a8d015 Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel 2012-05-14 10:19:28 -04:00
Ehsan Akhgari 8c7678eb6d 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 83f6bc7db4 Bug 753233 - Make the spell checker aware of data: URIs; r=roc 2012-05-09 16:15:52 -04:00
Ehsan Akhgari 8b7988e945 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 dc7c4ed7b9 Bug 752304 - Logic error in nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2012-05-07 08:54:54 +03:00
Aryeh Gregor 1b66cad29a Bug 700538 part 4 - Remove now-redundant nsHTMLEditor::IsNodeInActiveEditor; r=ehsan 2012-05-06 10:53:11 +03:00
Aryeh Gregor 20b6e2de64 Bug 700538 part 3 - Add and use new EditorRoot methods in nsEditor; r=ehsan 2012-05-06 10:53:11 +03:00
Aryeh Gregor 319617a63f 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 ec26753e66 Bug 700538 part 1 - Name some nsEditor methods more consistently; r=ehsan 2012-05-01 13:01:28 +03:00
Aryeh Gregor ff64eb0d26 Bug 751547 - Unify action enums in editor/; r=ehsan 2012-05-05 21:52:29 +03:00
Ms2ger a1194f2df0 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger 59b8749f68 Bug 751328 - Use nsINode::GetChildCount() in nsTextServicesDocument::CreateDocumentContentRootToNodeOffsetRange; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger cfbd7fa161 Bug 750103 - Cleanup nsEditor::EndOfDocument(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger d70bd01820 Bug 750062 - Assert preconditions in IsVisTextNode; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger ed918098b0 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 2ac706099e Bug 750079 - Part c: Pass nsIContent to nsHTMLEditor::HasAttrVal; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger 0969d98c82 Bug 750079 - Part b: Return nsIContent from GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger dab46f6ad2 Bug 750079 - Part a: Add IsOnlyAttribute(nsIContent*, const nsAString&); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger 92da02c717 Bug 749329 - Cleanup TypeInState; r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger 345a06976c Bug 750064 - Add some GetPriorNode/GetNextNode overloads that take nsINode; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger bea07aa61a Bug 750063 - Allow passing null to nsTextEditRules::CreateMozBR's outparam; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger 7b542cc079 Bug 747346 - Cleanup nsTextEditRules::CreateTrailingBRIfNeeded(); r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger 9ca974ab28 Bug 750094 - Some cleanup in nsComposerCommands.cpp; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger fca1032cac Bug 750093 - Cleanup SetTextProperty in nsComposerCommands.cpp; r=ehsan 2012-05-05 11:00:05 +02:00
Ms2ger bafe82f987 Bug 750073 - Use nsContentUtils::WordBreaker() in nsTextServicesDocument::FindWordBounds; r=ehsan 2012-05-05 11:00:05 +02:00
Aryeh Gregor ad75957c26 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 6fe3a69d3c Bug 748313 part 1 - Remove unused argument to nsHTMLEditor::IsTextPropertySetByContent; r=ehsan 2012-05-03 10:09:44 +03:00
Aryeh Gregor 0cc5045cf7 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 dcd5141c54 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 cc7333f44f Bug 748303 part 3 - Convert (Tag)CanContain(Tag) to nsIAtom*; r=ehsan 2012-05-01 09:34:52 +03:00
Aryeh Gregor e249870181 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 c7871fe089 Bug 748303 part 1 - Clean up various nsHTMLEditRules methods; r=ehsan 2012-05-01 09:34:52 +03:00
Jared Wein 4a14801895 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 72830bb948 Followup nit for bug 740784. r=ehsan 2012-04-26 09:16:51 +01:00
Graeme McCutcheon 39ef4e4f00 Followup nit for bug 686203 - comment change. r=ehsan DONTBUILD 2012-04-26 08:54:20 +01:00
Graeme McCutcheon 9e51b46e11 No bug - annoying comment typo in nsEditorEventListener.cpp DONTBUILD 2012-04-26 08:51:10 +01:00
Aryeh Gregor e754f176cf Bug 743819 - Only re-spellcheck new nodes on insertions, not everything; r=ehsan 2012-04-25 08:56:32 +03:00
Masayuki Nakano 5c0d118456 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 a134bc2b8b Bug 748223 - Pack nsEditor better; r=roc 2012-04-24 00:54:11 -04:00
Ehsan Akhgari bf23820909 Backed out changeset 3e6ca2158274 because of build bustage 2012-04-24 12:16:34 -04:00
Ehsan Akhgari 1e4860a314 Bug 748223 - Pack nsEditor better; r=roc 2012-04-24 00:54:11 -04:00
Aryeh Gregor d925adeb43 Bug 480647 part 6 - Handle CSS in execCommand("fontSize"); r=ehsan 2012-04-24 13:57:49 +03:00
Aryeh Gregor 7be1137313 Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan 2012-04-24 13:57:46 +03:00
Aryeh Gregor a99860d9da Bug 480647 part 3 - Clean up nsHTMLCSSUtils::GenerateCSSDeclarationsFromHTMLStyle; r=ehsan 2012-04-24 13:57:23 +03:00
Aryeh Gregor 143bcd05b7 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 949e7e26d2 Bug 599983 part 1 - Clean up nsEditor::MarkNodeDirty; r=ehsan 2012-04-24 09:06:11 +03:00
Ehsan Akhgari 313c5f8453 Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari 1a589b3eab Merge mozilla-central into birch 2012-04-20 13:50:08 -04:00
Aryeh Gregor aa9bf3ca26 Bug 746515 part 5 - Only add style="" to empty <span>s; r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor f47cf0a2a9 Bug 746515 part 4 - Remove styles more aggressively in execCommand(); r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor d9ef203756 Bug 746515 part 3 - Remove empty <font> as well as <span>; r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor 8fe467bc9f Bug 746515 part 2 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2012-04-20 09:33:21 +03:00
Aryeh Gregor 6a970aa32b Bug 746515 part 1 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2012-04-20 09:33:21 +03:00
Ehsan Akhgari 5af9f61b94 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Ehsan Akhgari 2bd8c30ca7 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 e15d534824 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 bf24526974 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 2b66dee706 Bug 317093 part 3 - Clean up nsHTMLEditor::GetInlinePropertyBase; r=ehsan 2012-04-18 17:26:02 +03:00
Aryeh Gregor fc783fb0a6 Bug 480647 part 1 - Clean up nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor 1a235940da Bug 745701 part 2 - Strip existing styles more aggressively in execCommand(); r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor 6d011850c5 Bug 745701 part 1 - Clean up nsHTMLEditor::RemoveStyleInside; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor d83e90d0b3 Bug 745528 - execCommand() should apply style="" to only inline elements, not blocks; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor 3bdac8e24b Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Graeme McCutcheon 1d61565fd6 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 c61e941e9f 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 17fb537275 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 878304397a 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 5ac7ab11b0 Bug 279330 part 1 - Remove erroneous NS_ERRORs; r=ehsan 2012-04-17 13:18:08 +03:00
Ms2ger e823871441 Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger 62c34325f9 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger cd459b00c5 Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger 04d6c6c601 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger 0342ac26d3 Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +02:00
Ms2ger 77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger 47d4c34be8 Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger 9caa7f9530 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger e0df004d97 Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger bfb3cc2bb6 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00