Ms2ger
f14df3792d
Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan
2012-04-14 15:08:26 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
42cf123f28
Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-04-14 15:09:38 +02:00
Ms2ger
60f0986073
Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan
2012-04-14 15:09:21 +02:00
Ms2ger
14a2cebd8b
Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan
2012-04-14 15:08:26 +02:00
Graeme McCutcheon
50f21a7314
Bug 578771 testcase. r=ehsan a=test
2012-04-19 15:50:53 +01:00
Ehsan Akhgari
7d2ff5e146
Bug 743632 - Fix nsHTMLEditor::GetNextHTMLSibling to return the correct node; r=roc
...
--HG--
extra : rebase_source : 360c3800e8546aeb9e2ec0946127a85ae1155d56
2012-04-09 12:46:28 -04:00
Aryeh Gregor
920d308617
Bug 317093 part 2 - execCommand() should remove <strong>, <em>, and <s> as well as <b>, <i>, <strike>; r=ehsan
2012-04-04 14:47:13 +03:00
Aryeh Gregor
d9615bb1fb
Bug 317093 part 1 - Avoid spurious UNEXPECTED-FAILs in test_richtext2 when fixing expected fails; r=ehsan
2012-04-04 14:46:04 +03:00
Aryeh Gregor
1aa75aa3d9
Bug 316447 - execCommand("insertHorizontalRule") should not set height/width; r=ehsan
2012-04-04 13:47:36 +03:00
Ehsan Akhgari
124634b2dc
Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
Ehsan Akhgari
f7a38030b2
Backed out changeset afff429aaf9a because of bad commit message
2012-04-03 17:47:34 -04:00
Ehsan Akhgari
90d053cb5e
commit cf0f05533cc23ba918e81ac3669449813799fe9f
...
Author: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
Aryeh Gregor
2c1ee92a02
Bug 738366 - Default styleWithCSS to false; r=ehsan
2012-04-03 17:16:05 +03:00
Masayuki Nakano
ada065ae94
Bug 739557 Set focus to editing host and use document.getSelection().collapse() for setting caret to edit target; r=ehsan
2012-03-29 09:10:22 -07:00
Mike Conley
4e49af0a00
Bug 746993 - Fix editor caret behaviour when pressing RETURN after a BR node. r=ehsan, a=tracking-firefox
2012-04-20 12:57:17 -04:00
Masayuki Nakano
2ab8e3fb4a
Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug
2012-03-27 10:36:44 +09:00
aceman
8e5d9b42ce
Bug 732691 - Further cleanups in /mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp found in bug 368758. r=ehsan
2012-03-26 14:58:43 -07:00
Ehsan Akhgari
d33003e285
Bug 732585 - Drag and drop images into message window is broken; r=roc
2012-03-26 09:04:06 -07:00
Ms2ger
a033505149
Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan
2012-03-24 09:19:14 +01:00
Henri Sivonen
f2d3f89eb7
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Aryeh Gregor
0d0dc77101
Bug 735805 - Part 2: Fix editor mochitest that runs no tests. r=ehsan
2012-03-16 16:07:16 -04:00
Neil Deakin
f9547aff6d
Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug
2012-03-20 11:21:41 -04:00
Henri Sivonen
82c137d953
Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug.
2012-03-19 10:16:20 +02:00
Aryeh Gregor
aeeb5ee819
Bug 735059 - Second and third execCommand() parameters should be optional; r=ehsan
2012-03-12 18:12:19 -04:00
Jacob Holzinger
acfe99c129
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Serge Gautherie
06584f5688
Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan.
2012-03-06 18:14:44 +01:00
aceman
a39be24188
Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan
2012-03-02 17:23:01 -05:00
Neil Deakin
4f1314899a
Bug 499008, part 7, merge html drag type constants into one place, r=ehsan
2012-02-17 09:17:00 -05:00
Neil Deakin
3a318c367e
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
ed4ec92cee
Bug 499008, part 4, convert editor drop handling to use datatransfers instead of the drag service, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
de5e8ee45b
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
cc12e59fdf
Bug 499008, part 1, remove spurious event checks drop editor drag handling, r=ehsan
2012-02-17 09:16:59 -05:00
Rafael Ávila de Espíndola
208be36c6c
Bug 727221 - mark LastDictionary and nsElementDeletionObserver final. r=ehsan.
2012-02-16 09:39:57 -05:00
Daniel Holbert
706eb31699
Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan
2012-02-15 01:18:24 -08:00
Ms2ger
6788cc4bff
Bug 724270 - Part b: Use nsINode in GenerateCSSDeclarationsFromHTMLStyle / GetCSSEquivalentToHTMLInlineStyleSet and callers; r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
523de6f68f
Bug 724270 - Part a: Add an nsINode overload of GetCSSInlinePropertyBase; r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
b8ad0423eb
Bug 724269 - Add nsHTMLCSSUtils::IsCSSEditableProperty(nsIContent*); r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
160b2fe892
Bug 724268 - Simplify nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan
2012-02-10 11:04:47 +01:00
Ms2ger
d9f537650b
Bug 724266 - Add dom::Element* nsHTMLCSSUtils::GetElementContainerOrSelf(nsINode* aNode); r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
c3393d42fb
Bug 724264 - Consolidate code that checks whether an element has a non-_moz_dirty attribute; r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
2cea69e795
Bug 724261 - Use nsINode in nsHTMLEditRules::RelativeChangeIndentationOfElementNode; r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
1cd3020364
Bug 723232 - nsHTMLEditRules::RelativeChangeIndentationOfElementNode removes divs with any one attribute; r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
7612237b23
Bug 724260 - Add nsHTMLEditRules::IsInListItem(nsINode* aNode); r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
4edb97bb95
Bug 724259 - Add nsHTMLEditor::IsNodeInActiveEditor(nsINode* aNode); r=ehsan
2012-02-10 11:04:46 +01:00
Ms2ger
a83254f675
Bug 723252 - Various nsHTMLEditor cleanup; r=ehsan
2012-02-10 11:04:46 +01:00
Ehsan Akhgari
a802e7dffa
Bug 725069 - Never mark the comment nodes as editable; r=roc
2012-02-07 18:39:05 -05:00
Panagiotis Koutsourakis
791aa57b19
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Ms2ger
1c2ff7f87b
Bug 720974 - Remove IsMozEditorBogusNode(nsIDOMNode*); r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
36bf294a76
Bug 722416 - Outparamdel nsHTMLCSSUtils::GetElementContainerOrSelf; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
947056f764
Bug 722415 - Cleanup nsHTMLEditor::GetHTMLBackgroundColorState; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
0c2f4cf9e4
Bug 721493 - Cleanup nsHTMLEditor's HasAttr / HasAttrVal; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
ced62efd51
Bug 721483 - Clean up RemoveElementIfNoStyleOrIdOrClass / HasStyleOrIdOrClass; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
7edd964218
Bug 721460 - Don't use GetIsCSSEnabled internally; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
e44853ff49
Bug 722406 - Part b: Cleanup nsHTMLEditor::SetCaretInTableCell; r=ehsan
2012-02-01 11:54:22 +01:00
Ms2ger
33edf64f10
Bug 720982 - Part b: Remove nsHTMLEditor::InsertBR; r=ehsan
2012-02-01 11:54:21 +01:00
Ms2ger
7602d38c60
Bug 720982 - Part a: Remove nsHTMLEditor::CreateBRImpl; r=ehsan
2012-02-01 11:54:21 +01:00
David Zbarsky
452eb69c4e
Bug 682611 - Part 3: Remove ns(I)RangeUtils; r=smaug
2012-01-28 16:42:14 +01:00
Ms2ger
7b3abf90b0
Bug 718170 - Part c: Use nsINode in IsEmptyCell; r=ehsan
2012-01-25 08:50:06 +01:00
Ms2ger
e81715cf11
Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan
2012-01-25 08:50:05 +01:00
Ms2ger
21e7bf16da
Bug 718170 - Part a: Use nsINode in IsEmptyNodeImpl; r=ehsan
2012-01-25 08:50:05 +01:00
Justin Wood
b50ee39e04
Merge last green PGO from inbound to mozilla-central
2012-01-16 22:27:53 -05:00
Jared Wein
3a800a6051
Bug 198964 - Enable smooth scrolling by default. r=gavin
2012-01-13 16:26:34 -08:00
Ehsan Akhgari
f8066a7f28
Test case for bug 639736; r=roc
2012-01-16 16:07:46 -05:00
Jignesh Kakadiya
132bb9f668
Bug 716215 - nsHTMLEditor::IsEmptyNodeImpl checks if the parent is a form widget instead of the child. r=Ms2ger; sr=ehsan
2012-01-11 09:23:09 +01:00
Ms2ger
2e0c12b87c
Bug 716630 - Kill editor's warnings; r=ehsan
2012-01-11 09:22:16 +01:00
Ehsan Akhgari
9253a2d3b5
Bug 716456 - Make sure to pass a correct ancestor to GetPreviousContent; r=bzbarsky
2012-01-10 15:35:04 -05:00
David Zbarsky
e96cf389ad
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
David Zbarsky
27f2baf8e1
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Masayuki Nakano
fd8c7e75e6
Bug 711903 part.2 Fix new test failure r=ehsan
2011-12-31 23:04:37 +09:00
Ed Morley
54f757ba39
Merge mozilla-central to mozilla-inbound
2011-12-31 13:10:25 +00:00
Neil Rashbrook
02c6a3f7d4
Bug 692153 Make Copy and Select All always work even when contenteditable areas are present r=ehsan
2011-12-30 17:42:04 +00:00
Ehsan Akhgari
e4da1ec539
Bug 613517 - Remove support for making links relative when pasting/dropping HTML data over an editable area; r=roc
2011-12-30 13:04:02 -05:00
Phil Ringnalda
30796bb59b
Merge m-i <-> m-c
2011-12-24 21:50:23 -08:00
Neil Rashbrook
5d0063889c
Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan
2011-12-24 00:11:30 +00:00
Masayuki Nakano
e925b75494
Bug 698949 Editor should refuse untrusted keypress event r=smaug
2011-12-21 21:11:36 +09:00
Jeff Walden
98dd456fc1
Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
...
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Masayuki Nakano
d82ad83346
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin
2011-12-16 22:38:45 +09:00
Atul Aggarwal
e646b2c94c
Bug 703239 - Fixing build warnings in editor/, r=ehsan
2011-12-22 23:46:56 +05:30
Ms2ger
4538ce66ac
Bug 709523 - Part h: Remove unused variable in nsHTMLEditor::GetBodyElement; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
693d1581f3
Bug 709523 - Part g: Remove nsHTMLEditRules::{Will,Did}DeleteRange; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
776db17a69
Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley
2011-12-11 21:03:49 +01:00
Ms2ger
baaa328b07
Bug 709523 - Part e: Remove some overloads of TypeInState::{SetProp,ClearProp}; r=ehsan a=edmorley
2011-12-11 21:03:46 +01:00
Ms2ger
04edf4386e
Bug 709523 - Part d: Remove nsHTMLEditor::IsRootTag; r=ehsan a=edmorley
2011-12-11 21:00:28 +01:00
Jan Bambach
2cd6ae449b
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
5aaeb19ce0
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Masayuki Nakano
0cf8dbff4b
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
ae2f0c6a74
Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan
2011-12-03 22:50:17 +01:00
Ms2ger
3ca7221ed9
Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan
2011-12-03 22:50:17 +01:00
Fabien Cazenave
67ba2ac03b
Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan
2011-12-03 22:50:15 +01:00
Masayuki Nakano
145d565bb0
Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan
2011-11-30 11:57:41 +09:00
Boris Zbarsky
b327466b66
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
100a69dffc
Bug 635618 part 2. Add nsINode overloads of various editor helper methods. r=ehsan
2011-11-28 07:53:29 -05:00
Masayuki Nakano
1360b0f19b
Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal
2011-11-27 20:51:53 +09:00
Masayuki Nakano
c51f522330
Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan
2011-11-27 09:36:36 +09:00
Masayuki Nakano
e5b55da467
Bug 674770 part.4 Add new tests for pasting by middle click r=ehsan
2011-11-26 13:51:49 +09:00
Ehsan Akhgari
8e6c11ce28
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
27cba84c99
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
7d213b5c58
Bug 702102 - Cleanup nsHTMLEditor::GetEmbeddedObjects; r=ehsan
2011-11-16 08:50:20 +01:00
Oonishi Atsushi
ebc58fb880
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
6a998be2c5
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
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Ms2ger
567f4260b6
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Jonas Sicking
0588c874fd
Bug 687400: Kill Node.isSameNode. r=smaug
2011-10-28 19:52:27 -07:00
Ehsan Akhgari
74d9b6f1fb
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Ehsan Akhgari
8cfbed187e
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
6142aabb94
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
Fabien Cazenave
1867ac8ecd
Bug 462758 - elements with contenteditable=true and position:absolute can be moved around the page; r=ehsan
2011-09-07 13:34:58 -04:00
Fabien Cazenave
de80659037
Bug 290026 - Outdent of List does not work properly; r=ehsan
2011-09-02 12:21:33 -04:00
Fabien Cazenave
82c46e275a
Bug 291780 - List outdent is not working properly; r=ehsan
2011-09-02 12:19:09 -04:00
Marco Castelluccio
7cb0506077
Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey
2011-08-30 22:45:31 +01:00
Ms2ger
b12351fbda
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Fabien Cazenave
e48e824329
Bug 677752 - [contentEditable] indent and justify* fail on editable nodes that have only one child; r=ehsan
...
Issue #1 : indent/justify* can create non-valid fragments.
When applying a block-level formatting to a text node, Gecko creates a div or
blockquote block around the text node and sets the corresponding "align" or
"style" attribute. This patch checks that the active editing host can contain
such a block-level element.
Issue #2 : indent/justify* can modify the active editing host.
On the first child of the editable element, the selection is extended outside of
the active editing host -- which causes a few issues for our test cases.
In this patch, this issue is "solved" by modifying
`nsHTMLEditRules::GetPromotedPoint' for block-level operations.
** About the tests **
Sorry for the long explanation but I prefer to be as sharp as possible when I
have to modify existing unit tests.
This patch raises 34 unit test "failures" which are improvements.
Two test files are concerned and have been modified accordingly:
* test_htmleditor_keyevent_handling
* test_richtext2.html
One test has been clarified (no real modification):
* test_bug414526.html
Of course, a specific unit test has been added, see `test_bug677752.html'.
** editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html **
Outdenting now works properly, which results in 4 `FAIL'.
* 7372 ERROR TEST-UNEXPECTED-FAIL
| non-tabbable HTML editor: Shift+Tab after Tab on UL
- got "<ul><li id=\"target\">ul list item</li></ul>",
expected "<ul><ul><li id=\"target\">ul list item</li></ul></ul>"
* 7379 ERROR TEST-UNEXPECTED-FAIL
| non-tabbable HTML editor: Shift+Tab on UL
- got "ul list item",
expected "<ul><li id=\"target\">ul list item</li></ul>"
* 7415 ERROR TEST-UNEXPECTED-FAIL
| non-tabbable HTML editor: Shift+Tab after Tab on OL -
got "<ol><li id=\"target\">ol list item</li></ol>",
expected "<ol><ol><li id=\"target\">ol list item</li></ol></ol>"
* 7422 ERROR TEST-UNEXPECTED-FAIL
| non-tabbable HTML editor: Shfit+Tab on OL
- got "ol list item",
expected "<ol><li id=\"target\">ol list item</li></ol>"
** editor/libeditor/html/tests/browserscope/test_richtext2.html **
The 15 tests that now pass result in 15 `FAIL' and 15 `UNEXPECTED_PASS'.
Here's an overview of what we had before the patch:
* Section A - Apply Formatting Tests: +10 points
before patch: 21/31 (Selection: 9/31)
after patch: 28/31 (Selection: 12/31)
FB:BQ_TEXT-1_SI EXECUTION EXCEPTION
FB:BQ_TEXT-1_SI EXECUTION EXCEPTION
FB:BQ_BR.BR-1_SM EXECUTION EXCEPTION
FB:BQ_BR.BR-1_SM EXECUTION EXCEPTION
IND_TEXT-1_SI EXECUTION EXCEPTION
IND_TEXT-1_SI EXECUTION EXCEPTION
JC_TEXT-1_SC editing host is modified
JF_TEXT-1_SC editing host is modified
JL_TEXT-1_SC editing host is modified
JR_TEXT-1_SC editing host is modified
* Section AC - Apply Formatting Tests, using styleWithCSS: +5 points
before patch: 7/18 (Selection: 5/18)
after patch: 12/18 (Selection: 5/18)
IND_TEXT-1_SI editing host is modified
JC_TEXT-1_SC editing host is modified
JF_TEXT-1_SC editing host is modified
JL_TEXT-1_SC editing host is modified
JR_TEXT-1_SC editing host is modified
** editor/libeditor/html/tests/test_bug414526.html **
This test has been clarified to get more explicit report messages -- the test
themselves haven't been changed. A `todo_is' test has been added.
This test is the one that shows that `IsNodeInActiveEditor' can't be modified,
and that limiting the range promotion for block-level operations is preferrable.
2011-08-23 15:10:14 -04:00
Fabien Cazenave
e60f67e68a
Bug 680279 - Splitting Gmail rich-text list with Enter misplaces the caret; r=ehsan
...
The patch for bug 674861 has introduced a regression.
When a list is splitted, a new paragraph should inserted before the new list.
2011-08-19 18:14:04 -04:00
Ehsan Akhgari
1a870eac6e
Backout changeset 46dc0fb0b1cb (bug 674770) because of yet another mochitest-3 Windows failure
...
--HG--
extra : rebase_source : a0739cd5d2eb66015d785c107151507f8a8113e3
2011-08-18 16:25:11 -04:00
Ehsan Akhgari
f53498d5e9
Bug 674770 - contenteditable breaks middle-click to open links when middlemouse.paste=true; r=roc
2011-07-28 17:42:38 -04:00
Fabien Cazenave
17c25f96ca
Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan
2011-08-17 17:12:46 -04:00
Fabien Cazenave
4862d93606
Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan
...
* adding an `isSelectionEditable' readonly attribute in <nsIEditor>;
* modified all ::IsCommandEnabled methods in editor/ to take it into account:
./libeditor/base/nsEditorCommands.cpp (15 commands)
nsUndoCommand 'undo'
nsRedoCommand 'redo'
nsClearUndoCommand 'clearUndo'
nsCutCommand 'cut'
nsCutOrDeleteCommand ?
nsCopyCommand 'copy'
nsCopyOrDeleteCommand ?
nsPasteCommand 'paste'
nsPasteTransferableCommand ?
nsSwitchTextDirectionCommand ?
nsDeleteCommand 'delete'
nsSelectAllCommand 'selectAll'
nsSelectionMoveCommands ?
nsInsertPlaintextCommand ?
nsPasteQuotationCommand ?
./composer/src/nsComposerCommands.cpp (15 commands)
nsBaseStateUpdatingCommand ?
nsPasteNoFormattingCommand ?
nsRemoveListCommand ?
nsIndentCommand 'indent'
nsOutdentCommand 'outdent'
nsMultiStateCommand ?
nsHighlightColorStateCommand 'hiliteColor'
nsAbsolutePositioningCommand ?
nsDecreaseZIndexCommand ?
nsIncreaseZIndexCommand ?
nsRemoveStylesCommand 'removeFormat'
nsIncreaseFontSizeCommand 'increaseFontSize'
nsDecreaseFontSizeCommand 'decreaseFontSize'
nsInsertHTMLCommand 'insertHTML'
nsInsertTagCommand ?
./composer/src/nsComposerDocumentCommands.cpp (3 commands)
nsSetDocumentOptionsCommand ?
nsSetDocumentStateCommand ?
nsDocumentStateCommand n/a (unpatched)
2011-08-17 13:28:03 -04:00
Fabien Cazenave
c85fd56970
Bug 456798 — Implement document.queryCommandSupported
...
Rationale: a command is supported if it can be converted to an internal Midas
command. `nsCommandManager::IsCommandSupported' might not be needed any more.
Corollary: document.queryCommandEnabled should return false on unsupported
commands without raising any exception.
Browserscope tests: +43 points = 258 failed tests...
* Q section: 0/48 => 42/48
42 tests used to fail (execution exception), now pass
* QE section: 36/46 => 37/46
garbage-1_TEXT-1 used to fail, now passes
In these two sections, a lot of tests that used to raise an exception now return
`false' (that's still a FAIL, but that's not the same kind of FAIL).
Other Browserscope tests are not affected by this patch.
The status of this test suite (currentStatus.js) has been updated accordingly.
2011-08-17 08:04:14 -04:00
Marco Castelluccio
b8fd68e0c6
Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen
2011-08-14 10:39:26 -07:00
Vidar Haarr
5869e7ff62
Bug 232691 - Replace nsString emptyString; with EmptyString() in nsHTMLEditRules; r=ehsan
2011-08-13 14:59:48 +02:00
Ms2ger
66ab4757eb
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Malini Das
960a7c7495
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
a0832b693a
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Ms2ger
72dee98c7b
Bug 677340 - Return already_AddRefed instead of nsCOMPtr from various functions in editor/; r=ehsan
2011-08-11 15:29:59 +02:00
Ms2ger
d377c55ed2
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Fabien Cazenave
d46ef85530
Bug 442186 - execCommand justify* fails on first line of contenteditable; r=ehsan
...
Given the way GetPromotedPoint / IsNodeInActiveEditor are designed, when the
selection is in the first child element of the active editing host the
selection is extended outside of editor node.
As a result, `GetNodesFromSelection' (which is called at the beginning of
`WillAlign') returns two nodes:
1. an empty text node, which is enclosed in a <div style="text-align: ***">;
2. the first child element, which is destroyed when it's a <div>;
Proposed solution:
#1 can be avoided by checking that the node is editable in `WillAlign';
#2 can be avoided by not dropping <div> blocks in `RemoveAlignment'.
This is an opportunity to simplify `RemoveAlignment' a bit.
2011-08-10 19:03:34 -04:00
arno renevier
2485241198
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -04:00
Ian Neal
081ca4e9b3
Test for Bug 291780 - List outdent is not working properly r=ehsan
2011-08-10 00:14:58 +01:00
Ian Neal
49689844b3
Test for Bug 290026 - Outdent of List does not work properly r=ehsan
2011-08-10 00:14:53 +01:00
Ehsan Akhgari
6690ac6ddf
Merge the latest green changeset on mozilla-inbound to mozilla-central
2011-08-09 08:09:13 -04:00
Jan Varga
5020b003ce
Bug 617528 Part 2 - Core implementation r=smaug
...
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Fabien Cazenave
5dd43c9b97
Bug 674861 - contentEditable lists should not be splittable; r=ehsan
...
In design mode, pressing [Return] twice in a list (ol, ul, dl) splits the list
and inserts a paragraph. When the list is the active editing host, it should not
be split.
2011-08-02 15:04:43 -04:00
Henri Sivonen
0176915bb7
Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky.
2011-08-01 10:48:24 +03:00
Henri Sivonen
147c3287ec
Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky.
2011-07-29 14:48:04 +03:00
Michael Wu
6a28121ce1
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Fabien Cazenave
0999dbd2e1
Bug 620319 - crash [@ nsHTMLEditor::GetInlinePropertyBase] if !aAttribute; r=ehsan
...
Adds a null check to avoid dereferencing a null pointer.
--HG--
extra : rebase_source : 75b97cafad2318af60956d88d12da51a00224949
2011-07-26 18:09:12 -04:00
Fabien Cazenave
bf28416694
Bug 620283 - crash [@ nsHTMLEditor::RemoveStyleInside] if !aAttribute; r=ehsan
...
Adds a null check to avoid dereferencing a null pointer.
--HG--
extra : rebase_source : ba8bfcabbc2f17b0b0cea1d90dbed54a8471bad9
2011-07-26 18:08:55 -04:00
Fabien Cazenave
9e280efb90
Bug 460740 - [contentEditable] invalid results when pressing Enter in a bunch of different cases; r=ehsan
...
In some situations, pressing Enter in a contentEditable node fails:
* in an editable paragraph, list item or header, pressing Enter
creates another editable block;
* in an inline editable node, pressing Enter does nothing.
That's because nsHTMLEditRules::WillInsertBreak doesn't check for the active
editing host. This patch should fix it.
2011-07-26 17:38:23 -04:00
Jonathan Kamens
e4101fc489
Bug 489202 - selection moves to top when html containing meta, link, or style elements is pasted or inserted; r=ehsan
2011-07-26 13:59:50 -04:00
Fabien Cazenave
2c92600954
Bug 688599 - do not expand selection for deletion outside of the active editing host; r=ehsan
...
When a selection in an inline element is to be deleted, it is first expanded to
the parent block in order not to leave any empty inline element. This patch
ensures that the selection cannot be expanded outside of the contentEditable
element (active editing host).
2011-07-25 17:11:46 -04:00
Ehsan Akhgari
cadef9ec48
Merge mozilla-central and mozilla-inbound
2011-07-24 12:52:51 -04:00
Joel Maher
344f4a7302
Bug 666654 - split eventutils.js functions that are chrome only into chromeutils.js. r=ted, a=test-only
2011-07-23 09:02:40 -04:00
Ms2ger
2a3176b2ee
Bug 666665 - Remove isindex content code; r=sicking+hsivonen
2011-07-23 11:45:38 +02:00
Fabien Cazenave
81bff8a94d
Bug 449243 - contentEditable: insert <p> instead of <br>; r=ehsan
...
In editable elements, create a paragraph instead of a <br> node
when [Return] is pressed:
* once in a header node (<h[1..6]>);
* twice in a list item node (<li>).
2011-07-22 12:19:17 -04:00
Mounir Lamouri
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6
Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage.
2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-18 17:05:10 -07:00
arno renevier
ba6b969048
Bug 417418 - do not treat context click as double click anymore in editor; r=ehsan
2011-07-18 14:42:56 -04:00
Ehsan Akhgari
13c7a908e4
Backout changeset 65e0d40a57b7 (bug 417418) because of unit test failure
2011-07-18 16:29:22 -04:00
arno renevier
89a10e6166
Bug 417418 - do not treat context click as double click anymore in editor; r=ehsan
2011-07-18 14:42:56 -04:00
Ehsan Akhgari
a6b5feed16
Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc
2011-07-14 17:06:37 -04:00
Ehsan Akhgari
4a9dec68d7
Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
...
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API. This API returns true if the current selection in the document falls
inside the active editable section. The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.
There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.
This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Ms2ger
7a41ef9f3e
Bug 670499 - Make nsEditor::CreateEventListeners return void; r=ehsan
2011-07-15 12:18:35 +02:00
Simon Montagu
ae37ce037d
Undefine caret bidi level during reflow instead of on text entry. Bug 664087, r=roc
2011-07-05 08:42:32 +03:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Ehsan Akhgari
c6e514aa14
Bug 549262 - Enable the (shift-)space shortcut key for scrolling up/down in pages containing editable elements; r=roc
...
--HG--
extra : rebase_source : 99706dd2e678052b345b011ea76f17370ad1a227
2010-09-06 16:59:41 -04:00
Ehsan Akhgari
beba2dbb1d
Bug 439808 - Make sure that deleting a selection works in inline contenteditable elements which have a non-editable parent block; r=roc
...
--HG--
extra : rebase_source : 74d3df996b904032696000daa532d217140d3b2d
2011-06-29 21:01:59 -04:00
Jonas Sicking
cc14f402b6
Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug
2011-06-27 16:34:54 -07:00
Wolfgang Germund
db7ef51c94
Bug 664095 - Remove the override stylesheets when the editor is detached from the document as opposed to when it's destroyed for compatibility with the expected behavior from Composer; r=ehsan
2011-06-24 13:55:43 -04:00
Jonas Sicking
864793d608
Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
6a04ff1d9f
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Ed Morley
576fc154e6
Bug 665359 - Remove unused variable res from nsHTMLEditor::AddPositioningOffset; r=ehsan
...
DONTBUILD
2011-06-20 14:53:51 -04:00
Joel Maher
a184675917
Bug 664165 - move editor/libeditor/html/tests/test_contenteditable_text_input_handling.html to mochitest-chrome. r=masayuki, a=test-only
2011-06-19 11:56:44 -04:00
Masayuki Nakano
db1e5b26fa
Bug 664437 editor should use mozilla::Preferences r=ehsan
2011-06-17 09:59:29 +09:00
Jonas Sicking
17ec46a39a
Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv
2011-06-14 00:56:48 -07:00
Matt Brubeck
830f102cc9
Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan]
2011-06-13 14:24:04 -07:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ms2ger
35e44f908f
Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz
2011-05-28 09:43:57 +02:00
Ehsan Akhgari
319dc53b8e
Bug 658516 - nsHTMLEditRules.cpp:5810:52: warning: comparison between signed and unsigned integer expressions. r=roc
...
--HG--
extra : rebase_source : 6772483c9ca0eb23444850db1f30f0144516a861
2011-05-25 10:10:45 +02:00
Ms2ger
c36c459144
Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan
2011-05-22 14:43:13 +02:00
Craig Topper
4e38ca20a7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Ms2ger
48b02e4f5a
Bug 657160 - Remove NS_NewTextEditRules; r=ehsan
2011-05-15 12:16:45 +02:00
Ms2ger
63679730f9
Bug 657160 - Remove NS_NewHTMLEditRules; r=ehsan
2011-05-15 12:15:35 +02:00
Ms2ger
f828b0aa18
Bug 656996 - Remove NS_NewHTMLCSSUtils; r=ehsan
2011-05-15 12:07:30 +02:00
Ms2ger
d5df8a6e33
Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas
2011-05-15 12:07:30 +02:00
Ed Morley
082d53f39b
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Mounir Lamouri
7211c91c57
Bug 514437 - Content part of the progress element. r=smaug
2011-04-09 10:22:02 -07:00
Matt Brubeck
1b17575132
Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE.
2011-05-09 19:38:05 -07:00
Jonas Sicking
549cf0a0a2
Bug 643786. Don't fire DOMNodeRemoved when removing the editor created <br>. r=ehsan
2011-05-09 12:33:04 -07:00
Jonas Sicking
0e17979856
Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv
2011-05-09 12:33:03 -07:00
Mounir Lamouri
dd977ba6ef
Bug 514437 - Content part of the progress element. r=smaug
2011-04-09 10:22:02 -07:00
Sebastian Kromp
d80897722a
Bug 633750 - deCOM nsIHTMLEditRules and move methods to nsHTMLEditRules. r=ehsan
2011-05-07 10:04:56 +02:00
Ms2ger
941e819c63
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Neil Rashbrook
fefcb1dbbc
Bug 647682 Can't copy and paste local links in <editor> documents r=ehsan f=bz
2011-04-28 20:59:45 +01:00
Ehsan Akhgari
d2a61eb331
Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others
2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b
Bug 616684 - Remove support for DOM Views; r=sicking
2011-04-24 08:54:25 +02:00
David Zbarsky
5ecf0a2bd3
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Ehsan Akhgari
f9088e8fe4
Bug 649566 - @keyframe(s) missing from <style> sanitizing code in nsHTMLFragmentContentSink; r=bzbarsky
2011-04-13 18:12:32 -04:00
Kyle Huey
29d5f43cb5
Merge m-c to bs.
2011-03-31 07:17:15 -04:00
Kyle Huey
75ee2642d1
Merge m-c to bs.
2011-03-26 12:12:37 -04:00
Ehsan Akhgari
b50ffe71b6
Bug 611457 - Move the object which is supposed to survive the function's return out of the function so that a possible garbage collection doesn't collect it before it should be used; r=roc a=test-only
2011-03-12 00:07:37 -05:00
Ehsan Akhgari
b8feac7449
Bug 618041 - Move the object which is supposed to survive the function's return out of the function so that a possible garbage collection doesn't collect it before it should be used; r=roc a=test-only
2011-03-12 00:11:01 -05:00
Ehsan Akhgari
c6ae64d9aa
Bug 635757 - Adjust the assertion count as a result of bug 633738; r=roc a=test
...
DONTBUILD this simple assertion annotation adjustment!
2011-02-21 23:53:40 -05:00
Mats Palmgren
7958218e24
Bug 635636 - Don't return a value from void function. a=bustage
2011-02-21 21:43:54 +01:00
Mats Palmgren
b765f11bf5
Bug 635636 - Crash [@ nsHTMLEditRules::DocumentModifiedWorker] with navigated-away designMode document; r,a=ehsan
2011-02-21 15:34:16 -05:00
Ehsan Akhgari
075288f489
Bug 635532 - Don't try to hide the editor anonymous UIs during the cycle collection unlink phase needlessly. r=roc,jst, a=blocker
2011-02-19 21:43:07 -08:00
Kyle Huey
da2a416c73
Bug 633709: Convert bogus assert into a warning. r+a=ehsan
...
--HG--
extra : rebase_source : 5928d5a4309bd98e0cf4cd3041f36ba64d992706
2011-02-19 17:49:23 -05:00
Peter Van der Beken
2552abd64a
Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst.
2011-02-17 12:19:13 +01:00
Peter Van der Beken
d78216fbaf
Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst.
2011-02-16 13:07:47 +01:00
Serge Gautherie
c690e45a6f
Bug 634626 - test_bug366682 failures because spellchecking is disabled; (Bv1) s/CR+LF/LF/g, Remove ending whitespaces.
...
r=jmaher (a=test-only).
DONTBUILD
2011-02-17 20:19:35 +01:00
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
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
arno renevier
0a36ca716b
Bug 497115 - nsHTMLEditor.cpp contains unnecessary includes; r=peterv sr=peterv
2011-03-23 23:23:39 -04: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
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
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
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
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