Commit Graph

206 Commits

Author SHA1 Message Date
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
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
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
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
Daniel Glazman
7aab5ded6b Bug 605081 - Editor refuses to insert a <keygen> element; r=ehsan a=roc 2010-10-21 17:12:49 -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
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
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
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
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
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
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
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
Ehsan Akhgari
15e706b2f1 Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
--HG--
extra : rebase_source : b66535705ec25cd4dca7378424b78cc3bef94e46
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
ed558e9032 Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
--HG--
extra : rebase_source : 8e6451d2e1414a61e15a9ffaf94470e02d2d0b72
2010-08-13 18:58:24 -04:00
Ehsan Akhgari
df3c4bb50d Bug 240933 - Part 10: Only hide/show the caret once when placeholder transactions finish; r=roc a=dbaron
--HG--
extra : rebase_source : 21823fb610b02859893f1461e8adaf38f5d61e94
2010-07-21 16:08:52 -04:00
Ehsan Akhgari
c8ff1013a4 Bug 240933 - Part 8: Avoid creating multiple textnodes when adding text to textareas; r=roc a=dbaron
--HG--
extra : rebase_source : 7ca0900e7c97215684b523e249a9b5cef7cbdaac
2010-07-19 16:47:52 -04:00
Ehsan Akhgari
b76ec71ef4 Bug 589577 - valgrind - Conditional jump or move depends on uninitialised value(s) at (nsEditor::SetFlags(unsigned int)|nsEditor::CanEnableSpellCheck()) at startup and dom mochitest; r,a=roc 2010-08-22 20:35:37 -04:00
Ehsan Akhgari
7aceb38e18 Bug 582553 - Part 2: Fix nsSelectionState::IsCollapsed as well; r,a=roc 2010-08-05 22:13:07 -04:00
Ehsan Akhgari
b0dd154287 Bug 582553 - nsSelectionState::IsEqual ignores error return from CompareBoundaryPoints; r,a=roc 2010-08-05 22:13:07 -04:00
Masayuki Nakano
e4a3280e2e Bug 581576 hung up or too slow when press Enter key on Gmail editor which has a lot of misspelled words r=ehsan, a2.0=dbaron 2010-08-19 20:27:04 +09:00
Boris Zbarsky
ddf024831a Bug 575336 part 2. Make sure editor flushes layout before caret moves and scrolls that depend on layout information. r=roc,ehsan 2010-08-05 14:39:39 -04:00
Ehsan Akhgari
e63c3fcc03 Bug 580151 - Part 2: Make sure that we decrement the counter even if creating a selection state or saving it fails; r=roc
--HG--
extra : rebase_source : 1e3d9fe47c083b8614b8a4c2937578bb1bcbfcfb
2010-07-20 09:18:54 -04:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Masayuki Nakano
660981e020 Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
Masayuki Nakano
d7540e477b backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Ehsan Akhgari
2a450d1c08 Bug 289384 - Part 4: Attempt to collapse the selection to end if deleting it fails; r=roc 2010-07-12 00:23:25 -04:00
Ehsan Akhgari
5ac6934d5d Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc
--HG--
extra : rebase_source : b045bf78c06d1daab4e61d09a7152f955fae7445
2010-06-29 14:14:54 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Masayuki Nakano
6a5b71a1ed Bug 564412 Remove non-scriptable internal methods from nsIEditorIMESupport r=ehsan, sr=smaug 2010-06-30 13:05:12 +09:00
Ehsan Akhgari
b154e53d5c Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc 2010-06-28 19:15:27 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Ehsan Akhgari
e40fd7cc15 Bug 574558 - Part 2: Don't fail if we can't get the selection to adjust it after removing elements; r=roc 2010-06-28 14:04:37 -04:00
Ms2ger
27a3b29543 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Ehsan Akhgari
1dbef4b718 Bug 572598 - Part 5: Remove a bogus NS_ENSURE_TRUE check, and add a couple more; r=roc 2010-06-21 11:02:14 -04:00
Ehsan Akhgari
e44b7de5ab Bug 572598 - Part 3: Improve error checking in nsEditor::GetStartNodeAndOffset; r=roc 2010-06-18 17:01:08 -04:00
Ms2ger
8afa5fcea5 Bug 573377 - Sort nsEditPropertyAtomList.h; r=ehsan 2010-06-21 11:00:43 -04:00