Ehsan Akhgari
395dbdf918
Merge cedar into mozilla-central
2011-03-25 14:21:07 -04:00
Benjamin Smedberg
92bd44c461
Bug 617539 - Remove branch interfaces, nsIHTMLEditor_MOZILLA_2_0_BRANCH, straight backout of revision e9d979b4b4a0, r=ehsan
2011-03-25 11:03:33 -04:00
Matheus Kerschbaum
255f1d6b3c
Bug 634807 - Remove MOZ_PLAINTEXT_EDITOR_ONLY; r=khuey
2011-03-24 19:59:00 -04:00
arno renevier
0a36ca716b
Bug 497115 - nsHTMLEditor.cpp contains unnecessary includes; r=peterv sr=peterv
2011-03-23 23:23:39 -04:00
Ehsan Akhgari
eaafa97906
Test case for bug 638596; r=roc
2011-03-04 13:44:25 -08:00
Ehsan Akhgari
8d74540d77
Test case for bug 635636; r=roc
2011-02-21 16:58:07 -05:00
Ehsan Akhgari
d98dd1278c
Bug 642704 - Part 3: Remove test_set.py because it confuses our mochitest suite runner, and we don't need it to run the BrowserScope RichText2 suite; r=roc
2011-03-19 16:45:29 -04:00
Ehsan Akhgari
11e4fe7769
Bug 642704 - Part 2: Add a test driver to run the BrowserScope RichText2 test suite as a mochitest; r=roc
2011-03-19 16:44:30 -04:00
Ehsan Akhgari
705f18833c
Bug 642704 - Part 1: Import the BrowserScope RichText2 test suite files into the tree; r=roc
2011-03-18 18:15:24 -04:00
Ehsan Akhgari
ba2ed13afe
Bug 642588 - Clean up the drag & drop caret on the editor correctly when the mouse leaves the editable field; r=roc
2011-03-18 14:57:02 -04:00
Ehsan Akhgari
e4ad8f774b
Bug 640321 - Register the mouse event handlers for the editor in the system group; r=roc
2011-03-16 15:34:30 -04:00
Ehsan Akhgari
7a77702d1e
Bug 641466 - Correct the array bounds checking so that the last surrogate pair in a textbox can be deleted correctly; r=roc
2011-03-16 15:34:29 -04:00
Ehsan Akhgari
b528286d7e
Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc
...
This fixes things such as the caret not showing up after the presshell for a
document containing a contenteditable element is recreated.
2011-03-11 18:45:20 -05:00
Ehsan Akhgari
c06813a2c5
Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc
2011-03-11 00:40:31 -05:00
Ehsan Akhgari
c504ea4d07
Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc
2011-03-11 00:40:31 -05:00
Ehsan Akhgari
bb48d9cae8
Bug 407127 - Part 4: Avoid using the presshell needlessly because it may not always be available; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
343b9d2aa6
Bug 407127 - Part 3: Get the selection controller for HTML editors from the presshell, instead of holding on to a presshell reference masked as a selection controller; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
6ef553932d
Bug 407127 - Part 2: Refactor the editor so that it only touches mSelConWeak in GetSelectionController, to make removing it for HTML editors easier; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
586a904360
Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc
2011-03-11 00:40:30 -05:00
Boris Zbarsky
890788b82e
Bug 632904. Check IsEditable(), not content states, if we care about editability. r=ehsan,masayuki
2011-03-23 10:45:21 -04: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
Chris Leary
86d81ea3d6
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-31 19:43:36 -08:00
Jonas Sicking
6c6a7cea3e
Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal).
2011-01-29 18:47:17 -08: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
b1d2463ed9
Bug 629172 - Fix the regression in switching the text input direction using Cmd/Ctrl+Shift+X; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 57471865db00c1efa07bb746df42de8278027b36
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
3f40511a92
Bug 626411 - Selecting a section of URL, then clicking "Delete" stays at refresh, instead of "go"; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 09c7a68d030c819afe7086fe22f2c83620e881eb
2011-01-19 19:25:03 -05:00
Ehsan Akhgari
bde6418f39
Bug 625452 - Make sure all plaintext editor commands generate trusted input events; r=roc a=blocking-final+
2011-01-15 23:16:45 -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
Ehsan Akhgari
3d3c16632b
Bug 623193 - Fennec crash [@ nsEditor::InsertTextIntoTextNodeImpl ]; r,a=roc
2011-01-09 20:14:58 -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
Ehsan Akhgari
22f13c2a13
Bug 527935 - Part 4: Make sure that the input event after paste operations; r=roc a=blocking-final+
2010-12-17 14:47:11 -08:00
Ehsan Akhgari
9a4fb543ef
Bug 527935 - Part 3: Generate the input event for editor IME transaction commits if needed; r=roc a=blocking-final+
2010-12-17 14:47:11 -08:00
Ehsan Akhgari
393e54e609
Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+
2010-12-07 01:30:05 -05: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
859896ba2e
Bug 606717 - Comparison between signed and unsigned integers in nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded; r=ehsan a=bsmedberg
2010-11-04 16:45:39 -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
c5d807f1c7
Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+
2010-10-21 16:56:20 -04:00
Ehsan Akhgari
22cdd2dc8b
Bug 606295 - Don't attempt to remove the edit action listener from nsPlaintextEditor's dtor; r,a=roc
2010-10-22 16:51:06 -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
Neil Deakin
2eeca289de
Bug 527749 - Drag events out of order; r=smaug,dao a=blocking-betaN+
2010-12-03 11:19:55 -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
db7da1c428
Bug 643786 - Fix a crash caused by the HTML editor being destroyed when the document modified handler is in progress [@ nsHTMLEditRules::~nsHTMLEditRules]; r=roc
2011-03-23 15:59:06 -04:00
Masayuki Nakano
17924ba129
Bug 613810 - Undo(ctrl+z) does not work continuously after committing IME; r=ehsan a=blocking-final+
2010-11-24 17:57:32 -05:00
Ehsan Akhgari
07197cbb7a
Remove a bogus check added in bug 572618; a=me DONTBUILD
2010-11-23 13:09:41 -05:00
Michael Wu
da47d70884
Bug 581596 - Add new SetInputMode api, r=roc,masayuki sr=roc a=blocking-fennec
2010-11-22 22:48:03 -08:00
Jesse Ruderman
3be9494c60
Bug 475132 - add crashtest
2010-12-12 12:54:25 -08:00
Jesse Ruderman
8a7fe7c658
Bug 407079 - add crashtest
2010-12-12 12:54:25 -08:00
Ehsan Akhgari
d7ede6881c
Bug 611798 - Do not pretent that we need the presshell to exist in order to turn off update view batching when the editor operations finish, because we don't; r=bzbarsky a=blocking-final+
...
This patch should fix all of the possible cases where a browser window stops painting when the presshell dies in the middle of an editor operation.
2010-12-10 17:14:26 -05:00
Ehsan Akhgari
a6a28b32c2
Merge backout; a=b
2010-12-10 21:20:53 -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
Serge Gautherie
6505feff5f
Bug 369034 - TestTXMgr has error and leaks object; (Ev1) Whitespace cleanup, Var declaration reordering++.
...
r=ehsan a=(test only).
DONTBUILD
2010-12-10 04:27:43 +01:00
Serge Gautherie
a67ddbc894
Bug 615045 - [SeaMonkey] check: TestTXMgr.cpp (nsITransactionManager tests) intermittently times out in "Aggregate Transaction Stress Test"; (Av1) Add a trivial feedback not to let the user think the test is stuck.
...
r=ehsan a=(test only).
2010-12-10 01:47:54 +01: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
Ehsan Akhgari
30e6f309f2
Bug 612128 - document.execCommand("inserthtml") may insert HTML inside non-editable parts of a document; r=roc,bz a=bz
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
a3f2856505
Bug 613823 - Don't attach multiple mutation observers to the document in case the HTML editor reinitializes; r=roc a=blocking-final+
2010-12-08 21:44:15 -05:00
Ehsan Akhgari
88fa004c5d
Backed out changeset 23a01314071f because the underlying bug has not really been fixed; a=DONTBUILD
2010-12-09 00:11:51 -05:00
Ehsan Akhgari
5e29fb8691
Crashtest for bug 616250, which is fixed by bug 612128; r=roc a=test
2010-12-06 14:31:03 -05:00
Ehsan Akhgari
a09905d6a5
Bug 612447 - Part 3: Prevent the HTML editor from dying while we run a document modified handler from a script runner; r=bzbarsky a=blocking-beta8
2010-11-19 11:02:24 -05:00
Ehsan Akhgari
bf6b8a80c8
Bug 612447 - Part 2: Protect the HTML editor from dying while a mutation event handler is in progress; r=bzbarsky a=blocking-beta8
2010-11-18 16:01:12 -05:00
Ehsan Akhgari
d921d70f6f
Bug 612447 - Don't Recreate an editor object attached to a document in a frame if that frame is restyled; r=bzbarsky a=blocking-beta8+
2010-11-18 16:01:12 -05:00
Justin Dolske
4e13204b40
Bug 613403 - Fix existing tests to work with tab-modal prompt changes. r=ehsan, a=testsonly
2010-11-19 15:15:27 -08:00
Ehsan Akhgari
4d471b8466
Bug 613434 - Rename the browserscope richtext suite in preparation of richtext2 integration; r=roc a=NPOTB
...
--HG--
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/LICENSE => editor/libeditor/html/tests/browserscope/lib/richtext/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/README => editor/libeditor/html/tests/browserscope/lib/richtext/README
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/README.Mozilla => editor/libeditor/html/tests/browserscope/lib/richtext/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/currentStatus.js => editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/current_revision => editor/libeditor/html/tests/browserscope/lib/richtext/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/editable.html => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/editable.html
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/js/range.js => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/richtext.html => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/richtext.html
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/update_from_upstream => editor/libeditor/html/tests/browserscope/lib/richtext/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/test_browserscope.html => editor/libeditor/html/tests/browserscope/test_richtext.html
extra : rebase_source : 04a0818f516856a2868b94481f1d29694db1f0d1
2010-11-19 11:02:22 -05:00
Ehsan Akhgari
de09cc12fc
Bug 611457 - mochitest-chrome: intermittent "test_bug607584.xul | Test timed out."; r=roc a=orange-fix
...
--HG--
extra : rebase_source : afbaabdbb9f7335913acb3d27c4eac900f288469
2010-11-19 11:02:24 -05:00
Ehsan Akhgari
6dd368d52c
Make it easier to run all editor crashtests in one go DONTBUILD a=NPOTB
2010-11-18 23:20:23 -05:00
Ehsan Akhgari
db3a9aabba
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
Daniel Glazman
7aab5ded6b
Bug 605081 - Editor refuses to insert a <keygen> element; r=ehsan a=roc
2010-10-21 17:12:49 -04:00
Mounir Lamouri
66067bcb7b
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Neil Rashbrook
b4ca74569a
Bug 604493 - Composition Window broken on trunk builds due to tracemonkey landing. r=mrbkap, a=beltzner
2010-10-15 13:59:00 -04:00
Ehsan Akhgari
1acdecd31f
Bug 604332 - Whitelist attribute names beginning with "_" when pasting HTML into an editable field; r,a=roc
2010-10-18 13:59:34 -04:00
Ehsan Akhgari
88e3c3e1a4
Bug 604532 - Copying from the location bar doesn't copy the entire URL if some text has been appended to it; r=roc a=blocking-final+
2010-10-18 13:58:55 -04:00
Jesse Ruderman
8859573160
Bug 419563 - add crashtest
2010-10-15 13:44:38 -07:00
Ehsan Akhgari
bd870e5b18
Bug 602130 - Always start with a clean transaction manager when re-initialing the editor; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : ec386404eb6853a66406f1b441cc25f3a3417688
2010-10-14 19:53:43 -04:00
Ehsan Akhgari
e75e09ff61
Bug 603556 - pasting into text that is longer than maxlength of text control fails; r=roc a=blocking-final+
2010-10-12 18:30:41 -04:00
Ehsan Akhgari
52b16445e6
Bug 597331 - Reframing a textarea sets the caret position to the end of its contents; r=bzbarsky a=blocking-final+
2010-10-13 01:34:05 -04:00
Ehsan Akhgari
16a0dc9a08
Bug 601881 - video and audio should never play automatically in editor; r,a=bzbarsky
2010-10-06 16:31:09 -04:00
Ehsan Akhgari
543d035d35
Bug 602948 - ASSERTION: null node passed to nsHTMLEditUtils::IsMozBR and nsEditor::Tag when entering text in input controls focused by code or tabbing into them; r,a=roc
...
--HG--
extra : rebase_source : 2ab9b687f8cf6afbd464841f1c3cfbc0f38adeaa
2010-10-11 12:35:40 -04:00
Mats Palmgren
d000a22403
Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final
2010-10-11 00:07:01 +02:00
Ehsan Akhgari
fc135a2458
Bug 600570 - textarea: cut and paste broken, pastes more than cut, leaves selectionEnd with wrong value; r=bzbarsky a=blocking-betaN+
2010-10-06 18:42:21 -04:00
Ehsan Akhgari
da9574bd29
Bug 410986 - Part 4: Switch the shortcut to Cmd+Option+Shift+V on Mac; r,a=bzbarsky
2010-09-28 20:33:22 -04:00
Ehsan Akhgari
e30f04231f
Bug 410986 - Part 2: unit test; r=roc a=NPOTB
2010-09-21 23:33:44 -04:00
Ehsan Akhgari
133d6d5182
Bug 597519 - Attempting to add characters to a textarea filled to its maxlength with a trailing newline results in the caret to jump to the previous line; r=roc a=blocking-final+
2010-09-24 15:10:53 -04:00
Ehsan Akhgari
ecfaa4d477
Bug 586662 - Part 3: Don't attempt to compare unrelated points when manipulating selections; r=roc a=blocking-betaN+
2010-09-23 14:44:01 -04:00
Ehsan Akhgari
633627c89f
Bug 586662 - Part 2: Always scroll asynchronously after a keypress to make sure that we don't reframe too soon; r=roc a=blocking-betaN+
2010-09-21 20:40:44 -04:00
Ehsan Akhgari
c3cff9b1cb
Bug 586662 - Part 1: back out bug 393723 to fix some assertions, and add a test case for the fix in that bug; r=roc a=blocking-betaN+
2010-09-21 18:49:25 -04:00
Ehsan Akhgari
b7844b60fc
Bug 599322 - Base href ignored for drag/drop or copy/paste in designMode; r=roc a=blocking-final,1.9.2.11,1.9.1.14
2010-09-24 15:02:21 -04:00
Ehsan Akhgari
4395a51b4e
Bug 596300 - Element Attributes dropped when dragging and dropping in DesignMode/ContentEditable sections; r=bzbarsky a=blocking-betaN,1.9.2.11,1.9.1.14
2010-09-27 13:28:54 -04:00
Ehsan Akhgari
37297d45dc
Bug 597784 - The inserthtml command should not use a sanitizing fragment content sink; r=bzbarsky a=blocking-betaN,1.9.2.11,1.9.1.14
2010-09-27 13:21:34 -04:00
Jesse Ruderman
13d5e83e08
Bug 499844 - add crashtest. a=NPOTB
2010-09-24 11:33:54 -07:00
Brad Lassey
ca51e54949
Bug 580388 - Keep nsTextStateManager observers during frame reconstruction; r=masayuki a=blocking-fennec
2010-09-23 23:34:28 -04:00
Ehsan Akhgari
f4902d68f7
Bug 596001 - Add a test to make sure that tab values are handled correctly in plaintext editable fields; r=roc a=NOPTB
2010-09-23 16:55:40 -04:00
Ehsan Akhgari
855295156d
Bug 598105 - Support the HTML5 data-* attributes in the sanitizing fragment sink; r,a=bzbarsky
...
--HG--
extra : rebase_source : a76a2f8eab3452d054de86d08da885bc875a7fbb
2010-09-20 17:32:24 -04:00
Ehsan Akhgari
dae8839f12
Bug 596506 - Going to end of line using Ctrl-e on Mac positions caret after newline in textareas; r=bzbarsky a=blocking-final+
2010-09-16 14:40:26 -04:00
Ehsan Akhgari
93d0c6b193
Bug 596333 - Part 2: Make ContainsDOMWordSeparator greedy; r=bz a=blocking-betaN+
2010-09-16 14:39:28 -04:00
Ehsan Akhgari
851b7dc1b5
Bug 596333 - Automatic spell checking not always functional after bug 240933; r=roc a=blocking-betaN+
2010-09-16 14:38:46 -04:00
Ehsan Akhgari
c14756c3a1
Bug 528368 - crash during spell check [@ nsTextServicesDocument::IsBlockNode(nsIContent*)] r=roc a=vlad
...
--HG--
extra : rebase_source : 4a06a8b23706cba1c0d1614fbf0ee3ea773bea1c
2010-08-25 01:44:19 -04:00
Ehsan Akhgari
ced4d3129b
Bug 590554 - Part 2: Disable the end offset assertion for password fields; r=roc
...
--HG--
extra : rebase_source : 29f26dc5de8bd0ba0656a37fdf3b24657a38c581
2010-08-30 16:38:43 -04:00
Ehsan Akhgari
8c8c515368
Bug 590554 - maxlength in textarea does not prevent newline characters from being inserted; r,a=roc
...
--HG--
extra : rebase_source : 7156090a56ed7818db3539dbc8e6f9f7ae86d6e5
2010-08-27 01:36:09 -04:00
Ehsan Akhgari
90ab413a2e
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : e9f3001867e7992513484b92993a5d6a222273f6
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
578ac0b85f
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 5b6a4d870c1f95da0d2a1233d1648096ae599174
2010-08-13 18:58:24 -04:00
Ehsan Akhgari
9acfb7e3b9
Bug 240933 - Part 10: Only hide/show the caret once when placeholder transactions finish; r=roc a=dbaron
...
--HG--
extra : rebase_source : dd5c5498ee3cbd115f806ec1e03b3df1d14e4351
2010-07-21 16:08:52 -04:00
Ehsan Akhgari
e555eb826d
Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron
...
--HG--
extra : rebase_source : 9799daa7662dacdf3f4d0f7b8ecdaba2b9005221
2010-07-19 16:47:52 -04:00
Ehsan Akhgari
88f276e98a
Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc
...
--HG--
extra : rebase_source : def2e0da4f32e9e50231b250075c45766bb00819
2010-09-01 18:06:52 -04:00
Ehsan Akhgari
b5f720a55c
Bug 240933 - Part 6: Put the selection on the moz BR element if the user presses Enter at the end of a textarea; r=roc a=dbaron
...
--HG--
extra : rebase_source : 179199c5e641282fdcc382dccbe2d31ad0cbe057
2010-07-19 16:19:27 -04:00
Ehsan Akhgari
43c9761626
Bug 240933 - Part 5: Inject linefeed characters instead of BR elements when the user presses Enter; r=roc a=dbaron
...
--HG--
extra : rebase_source : 6e8e9f098950113fd4739251dfee6b19473c8f08
2010-07-17 19:40:22 -04:00
Ehsan Akhgari
2a998fd974
Bug 240933 - Part 4: Remove the code responsible for handling non-preformatted text in WillInsertText; r=roc a=dbaron
...
--HG--
extra : rebase_source : 67bddca61bbf4f2d20fd8e105234c3667459aa20
2010-07-16 17:34:59 -04:00
Ehsan Akhgari
4085a00c0c
Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
...
--HG--
extra : rebase_source : bcaf760ad9d2e939a5d99f21cd8727ef71faea92
2010-07-11 16:26:26 -04:00
Mounir Lamouri
af7af7ba81
Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc
2010-09-10 07:16:56 +02:00
Chris Coulson
d7c8a969df
Bug 594513 - Should be able to localize "spellchecker.dictionary" preference; r,a=roc
2010-09-08 17:33:07 -04:00
Ehsan Akhgari
4872a675f7
Bug 592592 - Part 3: Add a test for the back-space behavior to make sure that back-space will not delete multiple consecutive space characters; r=roc
2010-09-08 17:32:09 -04:00
Ehsan Akhgari
96488558d9
Bug 592592 - Part 2: Fix test_texteditor_keyevent_handling.html to reflect the desired behavior; r=roc
2010-09-08 17:32:07 -04:00
Ehsan Akhgari
c4d1fc059a
Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc
2010-09-02 20:36:42 -04:00
Ehsan Akhgari
dfd8ce442d
Back out bug 592592, bug 588999, bug 591706 and bug 592586 because of test failures
2010-09-07 19:23:29 -04:00
Ehsan Akhgari
48efe58c89
Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc
2010-09-02 20:36:42 -04:00
Ehsan Akhgari
918268c41b
Merge backout a=me
2010-09-02 19:59:48 -04:00
Ehsan Akhgari
7b654288bf
Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211
2010-09-02 19:54:23 -04:00