Commit Graph

167 Commits

Author SHA1 Message Date
Ehsan Akhgari
e422c276a8 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Dão Gottwald
9291640652 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Ehsan Akhgari
56c0aa15ef Bug 642823 - Part 2: Correct the original test for selection.modify which tested explicitly for Windows-specific behavior; r=roc 2011-03-20 15:53:23 -04:00
Timothy Nikkel
084c19569c Bug 633762. Only bail early if we have an async scroll pending so the ScrollTo call can update mDestination. r=roc a=roc 2011-02-20 14:03:32 -06:00
Simon Montagu
acce678852 Test for bug 632379, r=ehsan, a=test 2011-02-13 23:56:24 -08:00
Serge Gautherie
86211121ca Bug 628589 - [SeaMonkey] mochitest-plain-3: permanent "TEST-UNEXPECTED-FAIL | /tests/gfx/test_acceleration.html | Acceleration enabled on x86-64 OS X". (Windows 2003 too); (Dv1) test_selection_underline.html: Move waitForExplicitFinish() out of onLoad(), Make existing todo() more explicit.
r=masayuki a=(test only).
2011-01-31 07:13:08 +01:00
Ehsan Akhgari
9fcbeaa4c7 Bug 579767 - Frame borders are sometimes not redrawn correctly after dragging them or resizing the window; r,a=roc 2011-01-26 00:41:52 -05:00
Ms2ger
d3ebaf1d84 Bug 589623 - Raise INVALID_STATE_ERR exceptions from Selection.collapseTo{Start|End}; r+a=jst 2010-11-06 10:40:13 +01:00
Ms2ger
9d43bc33c9 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
c36e4318e7 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
3b2ace5191 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
0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Ehsan Akhgari
da4bffd5a6 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
216a0f0f67 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
4575d0e493 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
76048e7a51 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
8de2c3cb19 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
d84bc18024 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
bb65502039 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
3a2d80139f 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
262d16a6c3 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
da0113546a 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
79a67e190d 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
1773ea498d 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
e75f1ffb27 backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
a6e67f7876 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
7629433417 Bug 564991. Part 38: Make invalidation-during-paint work reliably. r=mats,sr=dbaron 2010-07-16 09:08:11 +12:00
Ms2ger
6d9d3e18e5 Bug 290397. Default values of 'shape' should be treated as 'rect'. r=bzbarsky 2010-07-02 16:56:09 -04:00
Ehsan Akhgari
6139ffb2b9 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
f76e2d3255 Bug 426546 Fix for mochitest of bug 392746 on Linux r=martijn 2010-05-04 15:57:14 +08:00
Henri Sivonen
aef7cd21c0 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
5befe0c6b2 Bug 496275 - Expose JS API for modifying page's selection. r=mats, sr=jst 2010-04-28 19:47:23 +02:00
Zack Weinberg
bd31df20b6 Bug 474068 follow-up fixes for Fedora 2010-04-22 11:52:47 -07:00
Zack Weinberg
5948b18af6 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
cb757fbca3 Bug 507936 - Should join node when deleting at end of paragraph. r=peterv 2010-03-23 09:23:23 +01:00
Justin Wood
527c629d8a 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
21e79119b6 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
f00539aaf8 Add SimpleTest.waitForFocus to fix [orange]. 2010-03-15 02:04:13 +01:00
Henri Sivonen
4134852bcc 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
372157e378 Bug 522632. Make cellContent blocks returns false from IsContainingBlock. r=dbaron 2010-03-03 18:53:18 -05:00
Henri Sivonen
e38844b676 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
794f057866 b=540910 missed a timeout between parent and child X server communication 2010-02-02 18:59:08 +13:00
Karl Tomlinson
027b0a40c1 backout ebca6061298f as an immediate flush should not be necessary b=540910 2010-02-02 18:29:32 +13:00
Ben Turner
2e9585e002 Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' r=jimm. 2010-01-28 11:32:41 -08:00
Benjamin Smedberg
58eaecd2cd Work around bug 542337 by making the testplugin not call IPDL methods to paint. 2010-01-26 17:50:01 -05:00
Karl Tomlinson
3053ee2a75 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
8cbb918379 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
68185e5535 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
ddcb7dbd04 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
0ec9fa5aac Bug 538882 - plugin_focus_helper.html window not closed when running mochitest on Linux. r=roc 2010-01-21 13:17:43 +01:00