Ms2ger
681490198a
Bug 709523 - Part h: Remove unused variable in nsHTMLEditor::GetBodyElement; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
10378210b5
Bug 709523 - Part g: Remove nsHTMLEditRules::{Will,Did}DeleteRange; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
15388c1f45
Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
12544d4d65
Bug 709523 - Part e: Remove some overloads of TypeInState::{SetProp,ClearProp}; r=ehsan a=edmorley
2011-12-11 21:03:46 +01:00
Ms2ger
d503e91fc5
Bug 709523 - Part d: Remove nsHTMLEditor::IsRootTag; r=ehsan a=edmorley
2011-12-11 21:00:28 +01:00
Jan Bambach
1984c5a018
Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao
2011-12-08 10:21:32 +01:00
Masayuki Nakano
b26f243504
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Masayuki Nakano
67ab8bc88a
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske
2011-12-07 14:13:06 +09:00
Ms2ger
00abff7ce7
Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan
2011-12-03 22:50:17 +01:00
Ms2ger
22afc57540
Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan
2011-12-03 22:50:17 +01:00
Fabien Cazenave
9a367e43a4
Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan
2011-12-03 22:50:15 +01:00
Masayuki Nakano
a83fec7fde
Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan
2011-11-30 11:57:41 +09:00
Boris Zbarsky
7f88910daa
Bug 635618 part 5. Pass an optional argument to GetPriorNode and GetNextNode to limit the search. r=ehsan
2011-11-28 07:54:32 -05:00
Boris Zbarsky
e63a7b5b96
Bug 635618 part 2. Add nsINode overloads of various editor helper methods. r=ehsan
2011-11-28 07:53:29 -05:00
Masayuki Nakano
10df4c7960
Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal
2011-11-27 20:51:53 +09:00
Masayuki Nakano
b27f1fad56
Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan
2011-11-27 09:36:36 +09:00
Masayuki Nakano
51bb4e14ed
Bug 674770 part.4 Add new tests for pasting by middle click r=ehsan
2011-11-26 13:51:49 +09:00
Ehsan Akhgari
32298fdc57
Bug 674770 part.3 Add tests for middle-clicking on anchor element when the page has contenteditable element r=roc
2011-11-26 13:51:49 +09:00
Masayuki Nakano
3d287e297d
Bug 674770 part.1 Shouldn't accept click event if the event target isn't in focused editor r=ehsan
2011-11-26 13:51:48 +09:00
Ms2ger
89b03ee984
Bug 702102 - Cleanup nsHTMLEditor::GetEmbeddedObjects; r=ehsan
2011-11-16 08:50:20 +01:00
Oonishi Atsushi
5db5ec8f54
Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky
2011-11-10 15:01:11 +01:00
Ed Morley
7bc582f20f
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ms2ger
731edba0b8
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Jonas Sicking
ac8b04fb20
Bug 687400: Kill Node.isSameNode. r=smaug
2011-10-28 19:52:27 -07:00
Ehsan Akhgari
dbe53002d5
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Ehsan Akhgari
317cb20a80
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).
--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
568b8f7b5a
Bug 688789 - Stop touching the frame tree to determine whether a node is editable or not; r=roc
2011-10-17 00:11:29 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Joel Maher
fd8629a74b
Bug 573735 - support waitForClipboard events in e10s. r=jdm,ted
2011-10-14 07:52:02 -04:00
Henri Sivonen
f0d03766ac
Bug 677050 - Return NS_ERROR_DOM_INVALID_STATE_ERR if fragment parsing is invoked re-entrantly. r=bzbarsky.
2011-10-14 13:39:19 +03:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Ehsan Akhgari
3f9bc5233b
Backout changeset bc4f8b8d18b3 (bug 674770) because of the failing test on Windows
2011-10-12 13:51:14 -04:00
Ehsan Akhgari
9c7c34b3ee
Bug 674770 - contenteditable breaks middle-click to open links when middlemouse.paste=true; r=roc
2011-09-29 15:24:13 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
85e673bce7
Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions
2011-09-22 18:09:44 -04:00
Martijn Wargers
c3d7075c86
Bug 634626 - Move test_bug36682 to mochitest chrome, add layout.spellcheckDefault pref test; r=ehsan
2011-09-22 17:35:24 +01:00
Masayuki Nakano
54e3afdd66
Bug 543789 part.7 Dispatch compositionupdate event and set data value of compositionend event in all IME handling tests r=smaug, sr=roc
2011-09-22 18:17:41 +09:00
Brian R. Bondy
785005832f
Bug 598289 - Test case for CF_HTML parsing with StartHTML/EndHTML set to -1. r=ehsan
2011-09-21 13:22:54 -04:00
Brian R. Bondy
7270643d0e
Bug 598289 - Unable to paste CF_HTML from clipboard if StartHTML/EndHTML is -1. r=ehsan
2011-09-21 13:22:53 -04:00
Ehsan Akhgari
ec2d83e852
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
Ian Neil
3b5e70377b
Test case for bug 552782; r=ehsan
2011-09-20 12:27:24 -04:00
Ehsan Akhgari
cc23586321
Bug 414178 - Do not allow to inject a list outside of the active editing host; r=roc
2011-09-13 11:39:40 -04:00
Ed Morley
7be2d82964
Backout changeset b8d354d37128 (bug 574005) for Linux M3 orange; a=bbondy
2011-09-13 00:49:59 +01:00
Brian R. Bondy
ab466ccba9
Bug 574005 - Make obtaining CF_HTML directly work on Windows and Linux (application/x-moz-nativehtml); r=ehsan
2011-09-12 18:38:57 -04:00
Fabien Cazenave
ec441b95e5
Bug 570144 - After pressing Enter, editable DIVs in list items are duplicated; r=ehsan
2011-09-12 15:25:38 -04:00
Masayuki Nakano
27777a6f2a
Bug 669028 part.9 editor should use mozilla::LookAndFeel rather than nsILookAndFeel r=ehsan
2011-09-09 11:27:12 +09:00
Ehsan Akhgari
70eb2838de
Bug 682650 - Use an unsigned 32-bit integer as the container of offsets inside text nodes; r=roc
...
(I bet that there are text nodes on the web which have more than 65535 characters on the Web!)
2011-09-08 11:35:33 -04:00