Aryeh Gregor
c1e77a8721
Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
e675ccb0d4
Bug 748307 part 3 - Clean up WillDoAction; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
eb75258d5c
Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan
2012-05-22 12:37:17 +03:00
Aryeh Gregor
2576359708
Bug 748307 part 1 - Make TypedText's second argument a named enum; r=ehsan
2012-05-22 12:37:17 +03:00
Ehsan Akhgari
92fba010e4
Bug 741216 - Allow dropping files into the file picker control; r=bzbarsky
2012-04-02 16:25:09 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Aryeh Gregor
e4cafc9e8b
Bug 742240 - Handle unsupported commands per spec in execCommand/queryCommand*; r=ehsan
2012-04-15 15:57:20 +03:00
Ms2ger
cf59f6497e
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
f43fe0ad08
Bug 755311 - Simplify SetDocTitleTxn::SetDomTitle; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
63c3854253
Bug 755310 - Use nsINode::Length() in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan
2012-05-18 10:29:40 +02:00
Ms2ger
b0334f9c09
Bug 755264 - Use nsINode in nsHTMLEditRules::DeleteNonTableElements; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
e8622e297f
Bug 755243 - Use nsINode in nsHTMLEditRules::AppendInnerFormatNodes; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
7bfbe480a8
Bug 755204 - Use nsINode::GetChildCount() in nsHTMLEditRules::MakeSureElemStartsOrEndsOnCR; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
1a1d355749
Bug 755202 - Simplify GetChildNodesForOperation; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
f427fc956f
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
982faa9b00
Bug 752253 - Remove nsEditor::GetIndexOf; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
1e061e0b6a
Bug 752210 - Part c: Use nsIContent in nsHTMLEditor::RelativeFontChange; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
0357ad4d64
Bug 752210 - Part b: Use nsIContent in nsHTMLEditor::RelativeFontChangeOnNode; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
1c757ad41d
Bug 752210 - Part a: Use nsIContent in nsHTMLEditor::RelativeFontChangeHelper; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
9092890951
Bug 752209 - Use nsINode::GetChildCount() in nsHTMLEditor::AbsolutelyPositionElement; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
72e09057b5
Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
9e0530fc9a
Bug 752203 - Cleanup nsEditor::NodesSameType; r=ehsan
2012-05-18 10:29:38 +02:00
Ms2ger
4d1dcb2be8
Bug 752045 - Handle document fragments correctly in *CanContain* methods; r=ehsan
2012-05-18 10:29:38 +02:00
Aryeh Gregor
cf4b492d16
Bug 590640 part 7 - Preserve type-in state when performing block commands; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
7754f4e255
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
794a3e5f1b
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Aryeh Gregor
99aedb3227
Bug 590640 part 3 - Remove unnecessary use of NodeIsTypeString; r=ehsan
2012-05-09 12:45:23 +03:00
Aryeh Gregor
126afa8d03
Bug 590640 part 2 - Remove dead code; r=ehsan
2012-05-09 12:45:21 +03:00
Aryeh Gregor
4d5c547aa9
Bug 590640 part 1 - Clean up some nsHTMLEditRules methods; r=ehsan
2012-05-09 08:24:07 +03:00
Aryeh Gregor
81df634941
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
Ehsan Akhgari
d50878a182
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Aryeh Gregor
5a93134139
Bug 752304 - Logic error in nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan
2012-05-07 08:54:54 +03:00
Aryeh Gregor
ba69aaa763
Bug 700538 part 4 - Remove now-redundant nsHTMLEditor::IsNodeInActiveEditor; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
c2fb29a4a2
Bug 700538 part 3 - Add and use new EditorRoot methods in nsEditor; r=ehsan
2012-05-06 10:53:11 +03:00
Aryeh Gregor
3309c31f9c
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
3af9ba928a
Bug 700538 part 1 - Name some nsEditor methods more consistently; r=ehsan
2012-05-01 13:01:28 +03:00
Aryeh Gregor
80c985d67f
Bug 751547 - Unify action enums in editor/; r=ehsan
2012-05-05 21:52:29 +03:00
Ms2ger
c5dcfd1bc7
Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
125c939be4
Bug 750103 - Cleanup nsEditor::EndOfDocument(); r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
4df91dc293
Bug 750062 - Assert preconditions in IsVisTextNode; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
9abc05b1d6
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
d266e823ac
Bug 750079 - Part c: Pass nsIContent to nsHTMLEditor::HasAttrVal; r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
e873c43701
Bug 750079 - Part b: Return nsIContent from GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-05-05 11:00:06 +02:00
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
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