Commit Graph

160 Commits

Author SHA1 Message Date
Ms2ger
6f999474e8 Bug 589623 - Raise INVALID_STATE_ERR exceptions from Selection.collapseTo{Start|End}; r+a=jst 2010-11-06 10:40:13 +01:00
Ms2ger
540c59a0a3 Bug 589621 - Throw the correct exception for Selection.getRangeAt called with out-of-bounds values; r=sicking a=bsmedberg 2010-11-06 10:40:04 +01:00
Ehsan Akhgari
5febe4410c Bug 424627 - Ctrl+clicking on a text control border followed by an editing operattion (e.g. paste) removes the table cell from a non-editable document; r=roc a=blocking-final+ 2010-11-01 19:04:12 -04:00
L. David Baron
64d33e9f4c Avoid early return from nsImageFrame::BuildDisplayList, so we don't go blank for some selection cases. (Bug 599368) r=tnikkel a2.0=blocking2.0:final 2010-10-06 21:25:47 -07:00
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Ehsan Akhgari
4c3df3f153 Bug 597333 - Crash [@ gfxTextRun::GetChar][@ nsIFrame::PeekOffset(nsPeekOffsetStruct*) ] when navigating inside a textarea; r=roc a=blocking-final+
--HG--
extra : rebase_source : 43e6b1193c5707313e06a4d0afa21bca03ab297b
2010-09-20 17:33:58 -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
42c1926629 Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
--HG--
extra : rebase_source : 93b34b04837da161ebedd900bbe8edc002c934ad
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
8c0a628bb6 Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
--HG--
extra : rebase_source : 9f015607bc84a11137ab11ba47c14e98c20e3970
2010-07-13 21:49:16 -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
2c6440bc8d Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
--HG--
extra : rebase_source : 51ab2d6caf2b8827cf2e1eb88e5034d75268f658
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
8b538d8a3a Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
--HG--
extra : rebase_source : 198f679bb5cea82b710c921576fa44c59f77aa23
2010-07-13 21:49:16 -04:00
Bas Schouten
b4cb1a06e5 Bug 587319: We do not know the metrics yet for DWrite fonts. Disable when using DWrite. r=joedrew 2010-08-16 09:15:03 +02: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
Robert O'Callahan
2b0f4a408a Bug 564991. Part 38: Make invalidation-during-paint work reliably. r=mats,sr=dbaron 2010-07-16 09:08:11 +12:00
Ms2ger
b4907b844a Bug 290397. Default values of 'shape' should be treated as 'rect'. r=bzbarsky 2010-07-02 16:56:09 -04:00
Ehsan Akhgari
d051ffeaed Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)

--HG--
rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html
extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
2010-04-21 16:17:41 -04:00
Ginn Chen
5ce824c71b Bug 426546 Fix for mochitest of bug 392746 on Linux r=martijn 2010-05-04 15:57:14 +08:00
Henri Sivonen
8c8f31e01e Bug 562631 - layout/generic/test/test_bug496275.html makes mochitest-plain time out when the HTML5 parser is enabled. r=jst. 2010-04-29 14:22:27 +03:00
Justin Lebar
0897480e5e Bug 496275 - Expose JS API for modifying page's selection. r=mats, sr=jst 2010-04-28 19:47:23 +02:00
Zack Weinberg
e7c84fe9dc Bug 474068 follow-up fixes for Fedora 2010-04-22 11:52:47 -07:00
Zack Weinberg
62747706b4 Bug 474068: mark mochitest failures caused by buggy Pango as expected. r=roc,ehsan a=jimm for CLOSED TREE 2010-04-21 15:53:48 -07:00
liucougar@gmail.com
08a58993f1 Bug 507936 - Should join node when deleting at end of paragraph. r=peterv 2010-03-23 09:23:23 +01:00
Justin Wood
3659e4a8ef Backout Bug 507936, Due to test failures. roc claimed to have done it already but I don't see it 2010-03-15 01:15:27 -04:00
liucougar
a571e0a828 Bug 507936. Join nodes when deleting at end of paragraph. r=peterv
--HG--
extra : rebase_source : cf90db83f439a33643daf98662f36b98a18649c7
2010-03-15 14:37:23 +13:00
Mats Palmgren
2fbad415be Add SimpleTest.waitForFocus to fix [orange]. 2010-03-15 02:04:13 +01:00
Henri Sivonen
7ca64dc3a9 Bug 546398 - Replace bogus </head> tag with </title> in test_bug263683.html. r=graememcc.
--HG--
extra : rebase_source : ae501b06b15153a06402c109b0a566b1f44b96aa
2010-03-09 15:03:29 +02:00
Boris Zbarsky
3f25246245 Bug 522632. Make cellContent blocks returns false from IsContainingBlock. r=dbaron 2010-03-03 18:53:18 -05:00
Henri Sivonen
7257fa4c52 Bug 546604 - Replace bogus </head> tag with </title> in test_bug348681.html. r=roc.
--HG--
extra : rebase_source : b0677964c2e6027d92745fceecbc9f520f610534
2010-02-23 16:05:43 +02:00
Karl Tomlinson
95f0d08d20 b=540910 missed a timeout between parent and child X server communication 2010-02-02 18:59:08 +13:00
Karl Tomlinson
4618b955ae backout ebca6061298f as an immediate flush should not be necessary b=540910 2010-02-02 18:29:32 +13:00
Ben Turner
453fbad6ed Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' r=jimm. 2010-01-28 11:32:41 -08:00
Benjamin Smedberg
5e3615dc38 Work around bug 542337 by making the testplugin not call IPDL methods to paint. 2010-01-26 17:50:01 -05:00
Karl Tomlinson
4ab92db462 b=540910 restore flushing of Xlib requests from the parent to the server before testing from the OOP plugin
--HG--
extra : transplant_source : %BEAD%FFw%90zZ.GY%0D%DB%A6%5Ct%E4%8E%BA%5B
2010-01-26 13:48:16 +13:00
Benjamin Smedberg
36a3ab1393 Add a timeout for test_plugin_focus in order for events to be delievered to asynchronous event loops, r=jimm
--HG--
extra : rebase_source : e69cfae5589da8e47585bbd003b6bb8052543712
2010-01-26 17:50:41 -05:00
Karl Tomlinson
d98b7387e7 b=540910 use timeouts in plugin_clipping_helper2 so that the X server processes Xlib requests from the parent before testing requests from the OOP plugin
--HG--
extra : transplant_source : %1Dy%5D%FF%C9%3ED%98%8B%BE%A8%7B%09m%5Cl%0F%9E%E3%FF
2010-01-22 23:41:07 +13:00
Karl Tomlinson
aeb93f86c9 b=540910 flush Xlib requests from the parent to the server before testing from the OOP plugin, and increase the timeout so that GTK's idle timer gets run for XEmbed plug sizing
--HG--
extra : transplant_source : SE%0Dzc%AE%F6%03%B2%D1j%F7%AA%E9%25n%EF%08%97%09
2010-01-21 23:32:17 +13:00
Ms2ger
fb74cd34c3 Bug 538882 - plugin_focus_helper.html window not closed when running mochitest on Linux. r=roc 2010-01-21 13:17:43 +01:00
Benjamin Smedberg
670f099b02 Bug 539726 - Increase the timeout for plugin positioning due to delays in XEmbed process compared with in-process (which only requires delaying out to the event loop), as suggested by karlt
--HG--
extra : transplant_source : %EFP%F06%A1%88%04l%01k%3C%DC%3C%FA%20G%7E%0D%91K
2010-01-19 15:25:18 -05:00
Jim Mathies
c816891a55 Bug 539955 - [OOPP] unit test failure in test_plugin_mouse_coords.html. r=bsmedberg.
--HG--
extra : transplant_source : o%008%29%A0%96%60%E1W%7D%1A%C7e%BDJ%B2D%EE%1D%E2
2010-01-15 16:02:01 -06:00
Roy Frostig
5e05d545a8 bug 514732. Additional tests for bug 514732 followup that fires MozScrolledAreaChanged on restore from bfcache. r=smaug 2009-12-17 09:38:00 -08:00
Roy Frostig
dd2838505e Bug 527872. Fix tests for bug 514732 from going randomorange. 2009-12-14 21:39:03 -08:00
Masayuki Nakano
13ffca5258 Bug 42676 Can't drag to extend selection out of blocks with overflow:hidden/auto/scroll r=Olli 2009-12-12 13:25:21 +09:00
Robert O'Callahan
e67180ce2a Bug 527306. Remove problematic flush in selectFrames. r=bz 2009-11-16 11:52:31 +13:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00