Commit Graph

124 Commits

Author SHA1 Message Date
Robert O'Callahan
23238905de Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats
--HG--
extra : rebase_source : 4efe1d3bfcb871b3474abb1a9029e5bafe175d9c
2012-09-24 16:38:16 +12:00
Robert O'Callahan
ac552f7834 Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats 2012-08-29 23:21:40 +12:00
Mats Palmgren
e6fabaffe9 Bug 785324 - Return a FrameTarget with 'empty' flag set true when clicking on an empty block (also in the non-editable case). r=roc 2012-08-28 03:55:30 +02:00
Chris Pearce
23bfa1c21b Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Ed Morley
a15c1334fe Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981 2012-08-15 18:10:55 +01:00
Chris Pearce
a74d3d3a5d Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Robert O'Callahan
962fbb550e Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
--HG--
extra : rebase_source : 0f6d4a64b2f3832deb2af1f9ae0d332db042e127
2012-08-09 23:17:40 +12:00
Ed Morley
a0952f287d Backout f67014b40e1e (bug 780345) for failures intest_page_scroll_with_fixed_pos.html 2012-08-09 13:17:52 +01:00
Robert O'Callahan
fc54b01db1 Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel 2012-08-09 23:17:40 +12:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Wes Johnston
050372e707 Bug 772422 - Tests for selection and touch events. r=smaug 2012-07-12 14:13:34 -07:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Masayuki Nakano
d198821e6a Bug 537230 part.2 Remake the test for selection underlines with CSS3 text-decoration r=roc 2012-07-04 14:59:50 +09:00
Robert O'Callahan
1015fbffe9 Bug 758179. Part 5: Test. r=mats 2012-05-30 01:13:37 +12:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mats Palmgren
04f80a03f0 Bug 735641 - No way to deselect image of image document after select all (Ctrl+A). r=bz 2012-05-04 02:14:01 +02:00
Mats Palmgren
5daf287b9f Bug 748961 - Flush styles to ensure frames are created. r=smaug,Ms2ger 2012-05-04 02:14:01 +02:00
Aryeh Gregor
57af16cb02 Bug 719523 - Selection.selectAllChildren() on a Document always produces end offset of 1; r=ehsan 2012-03-16 12:56:54 -04:00
Aryeh Gregor
3f835dac68 Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan 2012-03-15 14:26:32 -04:00
Aryeh Gregor
49c29e97f1 Bug 719518 - Selection.extend() with no ranges should throw standard exception type; r=ehsan 2012-03-14 14:27:30 -04:00
Aryeh Gregor
8ea82697ee Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan 2012-02-22 10:38:25 -05:00
Chris Lord
f52e536a07 Bug 524925 - Reftest that checks whether dynamic transform changes result in the correct scrollable overflow being propagated through parent frames. part=6/6 r=dbaron 2012-01-18 21:04:51 +01:00
Ed Morley
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Mats Palmgren
5ff1123dee Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug 2011-09-24 02:56:38 +02:00
Masayuki Nakano
1380b10143 Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Masayuki Nakano
fd858e2321 Bug 673315 part.1 selection change reason must be MOUSEUP_REASON when dragging for selection finishes normally r=smaug 2011-07-24 23:26:40 +09:00
Masayuki Nakano
7d481573dc Bug 671319 Should abort drag for selection at resetting capture r=smaug 2011-07-21 09:29:32 +09:00
Masayuki Nakano
dc57bc48ad Bug 670508 Needs null check at starting table selection handling r=roc 2011-07-14 12:55:27 +09:00
Masayuki Nakano
fe2a10ba62 Bug 670058 part.2 Add regression test r=smaug 2011-07-11 23:13:36 +09:00
Masayuki Nakano
180918ceb1 Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg 2011-07-06 11:16:18 +09:00
Simon Montagu
cc65555d9f Mochitest for bug 666225 2011-06-27 19:32:41 +03:00
Joel Maher
d368d3ddbf Bug 663844 - move layout/generic/test/*.xul to mochitest-chrome. r=ted, a=test-only 2011-06-25 13:42:23 -04:00
Timothy Nikkel
97d427c363 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
26ecc69649 Test for bug 632379, r=ehsan, a=test 2011-02-13 23:56:24 -08:00
Ehsan Akhgari
963d008f0a 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
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
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
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
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
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
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
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
Boris Zbarsky
3f25246245 Bug 522632. Make cellContent blocks returns false from IsContainingBlock. r=dbaron 2010-03-03 18:53:18 -05: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
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