Ehsan Akhgari
4d76d777f1
Back out changeset 0fd8793db7f3 (bug 633738) because of various oranges in different test suites on multiple platforms; a=orange
2011-02-14 18:45:23 -05:00
Peter Van der Beken
b9ca9b2552
Fix for bug 633738. Fix leak due to session history code keeping an editor alive too long. Patch by peterv and bz, r=jst@jstenback.com, a=blocker
2011-02-14 14:26:14 -08:00
Mounir Lamouri
d33f310364
Bug 629845 (2/2) - GetRoot() returning null isn't unexpected. r=ehsan a=blocking-final
2011-02-11 02:01:49 +01:00
Mounir Lamouri
350253af3e
Bug 629845 (1/2) - Don't make nsHTMLDocument::EditingStateChanged fails if BeginningOfDocument fails. r=ehsan a=blocking-final
2011-02-11 01:59:37 +01:00
Ehsan Akhgari
fa1dcf4c12
Bug 632326 - Synthesize a Paste command instead of calling the internal goDoCommand in the test for bug 520189; r=roc a=test-only
2011-02-08 21:50:51 -05:00
Chris Jones
8991442744
Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
...
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Ehsan Akhgari
561113cc04
Bug 628980 - browserscope richedit tests load http://www.google.com/intl/en_ALL/images/logo.gif over the network; r=roc a=NPOTB
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
d48edb3f7d
Bug 622371 - Only set the selection to the beginning of the editable document if the editor is being initialized by entering designMode; r=bzbarsky a=blocking-final+
2011-01-06 17:13:51 -05:00
Ehsan Akhgari
b3f2d74515
Bug 620906 - Back out part of bug 289384 to make sure that scrollbars work in CKEditor fields again; r=roc a=blocking-final+
2011-01-11 16:00:44 -05:00
timeless@mozdev.org
186210bc44
Bug 620423 - nsHTMLEditor::ParseCFHTML foolishly checks aStuffToPaste instead of *aStuffToPaste; r=neil a=roc
2011-01-11 10:20:31 -05:00
Jonathan Kew
a9323f7452
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Jonathan Kew
6531a7f776
Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout
2010-12-16 15:15:35 -08:00
Jonathan Kew
7a31c3e079
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Shawn Wilsher
ade39d2c6a
Merge mozilla-central to Places.
2010-12-13 15:08:04 -08:00
Shawn Wilsher
5f893d748b
Merge mozilla-central into Places.
2010-12-07 15:06:32 -08:00
Shawn Wilsher
2ed7d826a8
Merge mozilla-central into Places
2010-12-06 09:48:54 -08:00
Shawn Wilsher
9cdab945a8
Merge mozilla-central into Places.
2010-11-29 08:43:57 -08:00
Ehsan Akhgari
1935188b81
Bug 616590 - Prevent documents loaded in mail editors to set up their own editors using the designMode or contentEditable APIs; r=bzbarsky a=blocking-final+
2010-12-06 14:27:14 -05:00
Ehsan Akhgari
f6d6332349
Bug 612625 - intermittent orange: test_bug607584.xul continues executing after we've left the page, mostly showing up in test_bug171813.html; r=roc a=test-fix
2010-11-17 18:23:18 -05:00
Ehsan Akhgari
2c680fd98b
Bug 612565 - Don't recurse into document modification listeners for editable documents if the modification to the document is made on the bogus BR node; r=roc a=blocking-beta8+
...
This fixes an unresponsive script dialog error for Etherpad pages (possibly among other websites).
2010-11-16 15:43:46 -05:00
Ehsan Akhgari
04410d797d
Bug 609632 followup: Make dropping arbitrary image files on editable areas actually work; r=roc a=blocking-beta8+
2010-11-16 13:54:31 -05:00
Ehsan Akhgari
6d13ead610
Bug 609632 - More embarrassments, shame on me; a=shameful-ehsan
2010-11-15 18:13:25 -05:00
Ehsan Akhgari
4c0a7351e5
Bug 609632 - Build bustage fix; a=bustage
...
--HG--
extra : rebase_source : 7ee1c79f086687781405bdcd8567924d674e3711
2010-11-15 18:01:45 -05:00
Ehsan Akhgari
46c9a77f82
Bug 609632 - Insert image files dropped onto editable areas as data: URI images; r=roc a=blocking-beta8+
...
--HG--
extra : rebase_source : 7ec1941c8052c352e6304fd8affe89d890b1ae1b
2010-11-06 18:49:26 -04:00
Ehsan Akhgari
00d37a174f
Bug 611182 - Part 7: Don't notify the edit rules object for document modifications outside of the editable area; r=bzbarsky a=blocking-beta8+
2010-11-13 15:12:15 -05:00
Ehsan Akhgari
9cd1d8318f
Bug 611182 - Part 6: Actually allow the bogus node to be deleted from the document, and check if the parent is modifiable when inserting an element to prevent a bogus node being inserted under a contenteditable="false" element; r=bzbarsky a=blocking-beta8+
...
This fixes a failure in layout/reftests/bugs/579985-1.html, and is tested by it.
2010-11-12 10:38:14 -05:00
Ehsan Akhgari
8571ba00c8
Bug 611182 - Part 4: Add some more tests; r=bzbarsky a=blocking-beta8+
2010-11-11 16:40:55 -05:00
Ehsan Akhgari
8376c423de
Bug 611182 - Part 3: Handle dynamic changes to the editable documents and create/remove the bogus node if needed; r=bzbarsky a=blocking-beta8+
2010-11-11 16:40:52 -05:00
Ehsan Akhgari
0450182992
Bug 611182 - Part 2: Correct the definition of EndOfDocument for the HTML editor in order to fix some tests which have been relying on the bogus node existing in non-empty editable documents; r=bzbarsky a=blocking-beta8+
2010-11-11 16:40:55 -05:00
Ehsan Akhgari
81e5001ae0
Bug 611182 - Backspace key does not work without typing something first (test cases); r=bzbarsky a=blocking-beta8+
2010-11-11 14:09:09 -05:00
Ehsan Akhgari
bb6861f7b5
Bug 601881 - video and audio should never play automatically in editor; r=bzbarsky,cpearce a=bsmedberg
...
--HG--
rename : content/media/test/test_play_events.html => content/media/test/test_autoplay_contentEditable.html
2010-10-14 20:13:29 -04:00
Ehsan Akhgari
0908325de2
Bug 551704 - Part 5: Move breakIsVisible to nsIHTMLEditor_MOZILLA_2_0_BRANCH to make sure that nsIHTMLEditor does not change for Gecko 2.0; r=bzbarsky a=blocking-betaN+
...
This patch should be backed out on trunk when Gecko 2.0 has been branched.
2010-11-09 21:00:26 -05:00
Ehsan Akhgari
cea63fedad
Bug 551704 - Part 4: Set the selection to the beginning of the document when we're entering the design mode; r=bzbarsky a=blocking-betaN+
2010-11-08 18:30:28 -05:00
Ehsan Akhgari
844dd2ffc0
Bug 551704 - Part 3: Don't copy invisible BR nodes to the clipboard for editable elements, to make us more compatible with WebKit and Opera; r=bzbarsky a=blocking-betaN+
2010-11-06 18:49:26 -04:00
Ehsan Akhgari
472326895e
Bug 551704 - Part 2: Don't replace newline characters with BR nodes in preformatted editable fields; r=roc a=blocking-betaN+
2010-11-06 18:49:26 -04:00
Ehsan Akhgari
e588665b2b
Bug 551704 - Part 1: Don't initialize the selection needlessly if the editable area is not focused; r=roc a=blocking-betaN+
2010-11-06 18:49:26 -04:00
Ehsan Akhgari
311cff87c3
Bug 372345 - [Midas] text cursor overrides CSS mouse cursor styles for some elements; r=bzbarsky a=blocking-final+
...
--HG--
extra : rebase_source : 502e9561f1a91464b8de502eb44098ab126d3930
2010-10-29 12:30:15 -04:00
Ms2ger
1dc17b150a
Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg
2010-11-04 16:44:46 -04:00
Ehsan Akhgari
e810187573
Bug 512717 - Don't handle files being dropped in an editable area; r=peterv f=sicking a=bsmedberg
2010-11-02 22:57:17 -04:00
Ehsan Akhgari
fe769d8443
Bug 607584 - Part 3: HTML test case; r=roc a=test-only
2010-10-29 13:01:49 -04:00
Daniel Glazman
0e38cc4a77
Bug 607584 - Part 2: XUL test case; r=ehsan a=test-only
2010-10-29 12:36:21 -04:00
Daniel Glazman
ac5d79b1f8
Bug 607584 - CR in a paragraph with an id attribute creates a second paragraph of same id; r=ehsan a=roc
2010-10-29 12:35:27 -04:00
Ehsan Akhgari
26b56e6566
Bug 542317 - Caret missing when an iframe is put into design mode when it already has focus; r=roc a=blocking-final+
2010-10-29 12:30:52 -04:00
Ehsan Akhgari
a3d62c2955
Bug 603292 - PRUint32 countU < 0 is useless in nsHTMLEditor::AddNewStyleSheetToList; r=roc a=bsmedberg
2010-10-12 18:30:41 -04:00
Ehsan Akhgari
1bd8b7c9e7
Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+
2010-11-24 13:31:52 -05:00
Ehsan Akhgari
11b6d633e6
Bug 615015 followup - Adjust the assertion count which now happens in editor/libeditor/html/crashtests/467647-1.html too; a=orange-fix
2010-12-03 11:15:06 -05:00
Ehsan Akhgari
ed92562d68
Bug 615015 - "ASSERTION: bad action nesting!"; r,a=roc
...
--HG--
extra : rebase_source : 3e972a7f5dad81b5cba1b8ee93c16798fdc809c2
2010-12-01 00:24:09 -05:00
Ehsan Akhgari
ef612c0f0a
Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
...
This should prevent crashes, update view count and edit action nesting count mismatches, and more!
--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Ehsan Akhgari
2337dae8c9
Back out bug 612128 because it regressed Fennec with bug 618357, which blocks Fennec beta3; a=blocking-fennecb3+
2010-12-10 21:20:00 -05:00
Ehsan Akhgari
7b0059c6db
Bug 612128 - Part 4: Use the read-write state to find the selection root of the editor; r=roc a=bz
2010-12-06 14:27:14 -05:00