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
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
Ehsan Akhgari
f46bed132f
Bug 590554 - Part 2: Disable the end offset assertion for password fields; r=roc
...
--HG--
extra : rebase_source : 0e3dce695eafc269f1efdacd57d56d5383be6bd9
2010-08-30 16:38:43 -04:00
Ehsan Akhgari
307d3f93d1
Bug 591378 - REFTEST TEST-UNEXPECTED-PASS | file:///home/cltbld/talos-slave/mozilla-central_fedora-debug_test-crashtest/build/reftest/tests/editor/libeditor/html/crashtests/448329-3.html | assertion count 8 is less than expected 16 assertions; r=roc a=NPOTB
...
--HG--
extra : rebase_source : 486646660fa6970a7371a149eec08f5bbaaa569e
2010-08-27 15:03:09 -04:00
Ehsan Akhgari
9367068a32
Bug 590554 - maxlength in textarea does not prevent newline characters from being inserted; r,a=roc
...
--HG--
extra : rebase_source : bc351ffd6cd3a346b57808f338e4367e2c731947
2010-08-27 01:36:09 -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
ddbe740048
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 : a13c6c277ddb545614eb8c93131112bc793c1348
2010-09-01 18:06:52 -04:00
Ehsan Akhgari
b41230b0ae
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 : d992d0950cd15c24d68f976d6e628eb349de5150
2010-07-19 16:19:27 -04:00
Ehsan Akhgari
f31556a8c3
Bug 240933 - Part 5: Inject linefeed characters instead of BR elements when the user presses Enter; r=roc a=dbaron
...
--HG--
extra : rebase_source : af405de4d02ba543dffacea04dd026a1dd24c8bf
2010-07-17 19:40:22 -04:00
Ehsan Akhgari
1bb782fa37
Bug 240933 - Part 4: Remove the code responsible for handling non-preformatted text in WillInsertText; r=roc a=dbaron
...
--HG--
extra : rebase_source : cb4457edb5716727801fad0152eff55d3f4d9b09
2010-07-16 17:34:59 -04:00
Ehsan Akhgari
b2d7d2f956
Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
...
--HG--
extra : rebase_source : 45cbd49946c1577786a5bd141384d92f9daf27c4
2010-07-11 16:26:26 -04:00
Timothy Nikkel
a52c6b7ef2
Bug 588693. Bump assertion count for editor/libeditor/html/crashtests/448329-3.html. r=ehsan
2010-08-27 18:15:08 -05:00
Ehsan Akhgari
8a6a073e4c
Bug 582138 - Crash [@ nsHTMLEditor::GetElementOrigin] with mixed HTML and MathML table; r,a=roc
2010-08-25 20:20:32 -04:00
Joel Maher
ce269022ab
Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert
2010-08-24 10:29:34 -07: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
Jonas Sicking
cbc0676504
Backout bugs 586754, 574189, 584611 due to orange. a=backout
2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2
Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB
2010-08-20 09:28:13 -07:00
Ms2ger
a2c049c1fc
Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN
2010-08-20 08:05:05 +02: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
Ginn Chen
fbe18c5eaa
Bug 586225 Make test_htmleditor_keyevent_handling.html recognize Solaris r=masayuki a=testing files only
2010-08-15 20:33:58 +08:00
Boris Zbarsky
45df267748
Fix some editor tests to actually change something instead of throwing.
2010-08-13 14:31:48 +12:00
Ehsan Akhgari
5a36ff1530
Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
...
--HG--
extra : rebase_source : 7085d047498e0509f056c8a33d9189e52aaeb077
2010-08-10 11:52:32 -04:00
Masayuki Nakano
c1ca76229d
Bug 581576 backout due to test_contextmenu failure
2010-08-11 20:52:36 +09:00
Masayuki Nakano
c2f4a8212c
Bug 581576 fix a nit of previous check-in, r+a=pending
2010-08-11 18:19:34 +09:00
Masayuki Nakano
f7d6541127
Bug 581576 hung up or too slow when press Enter key on Gmail editor which has a lot of misspelled words r=ehsan, a=dbaron
2010-08-11 17:50:03 +09:00
Kyle Huey
4108bf2819
Backed out changeset 0aa4ad290221
2010-08-10 21:14:51 -07:00
Ehsan Akhgari
d8ca1c0100
Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
2010-08-10 11:52:32 -04:00
Ehsan Akhgari
6075cca1bf
Bug 583493 - nsTransactionItem log spew is making working with tinderbox impossible; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : fed350a4e4f89036bf32361d17a2fb284d91fb2e
2010-08-05 22:13:07 -04: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
e85adb5a55
Bug 580151 - Part 3: crashtest; r=roc
...
--HG--
extra : rebase_source : 7b0f6b55c8977d3a3b2b1ef61e5a727f2959badc
2010-07-20 09:21:44 -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
Ehsan Akhgari
25f6280420
Bug 580151 - Part 1: Move the increment up in case the call to nsIEditor::GetSelection fails and we bail out early; r=roc
...
--HG--
extra : rebase_source : 249cf74c6a1700b230d946793819ff6611ebbb99
2010-07-20 09:04:14 -04:00
Robert Sayre
3a67855a3d
Bug 583493 - nsTransactionItem log spew is making working with tinderbox impossible.
2010-07-31 10:58:35 -07:00
L. David Baron
c06c57f6e6
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
L. David Baron
9cc2e9ec05
Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
...
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Antti Jarvelin
ce34e772be
Bug 582912 - Extend copy paste support of Fennec Qt port. r=dougt
...
--HG--
extra : rebase_source : cc841f301338cc66b2382a398627a96373c3406a
2010-07-30 12:46:30 -07:00
Daniel Holbert
2e57434ab5
Bug 581166, part 2: Avoid passing null argument to RemoveEditActionListener in ~nsPlainTextEditor, to quiet 2 NS_ENSURE_TRUE warnings at shutdown time. r=ehsan a=bsmedberg
2010-07-26 12:11:09 -07:00
Daniel Holbert
3048e2abb0
Bug 581166, part 1: Quiet a spammy NS_ENSURE_TRUE() in nsTextEditRules::WillDeleteSelection that fires on every tab-switch. r=ehsan a=bsmedberg
2010-07-26 12:11:08 -07:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Mark Banner
0321cb04d3
Bug 579303 Fix docshells to respect SetAllowJavascript properly. r=ehsan,smag,a=bsmedberg
2010-07-23 07:40:19 +01:00