Commit Graph

457 Commits

Author SHA1 Message Date
Josh Aas
e2dffb6660 Bug 556873: Fix bugs in our secure input implementation for Mac OS X. More reliably enable and disable secure input mode. r=masayuki a=jst 2011-02-09 14:00:58 -05:00
Ehsan Akhgari
9439003876 Bug 629878 - Followup to fix build bustage; a=bustage 2011-02-09 14:34:56 -05:00
Ehsan Akhgari
deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
Ehsan Akhgari
cbe552f50f Bug 629878 - Part 1: Save the scroll state for text controls the standard way; r=roc a=blocking-final+ 2011-02-04 18:28:38 -05:00
Mounir Lamouri
346cf9312a Bug 595310 - Drag and drop of text into an input field does not remove placeholder. r=ehsan,roc a=jst 2011-01-28 02:19:04 +01:00
Alexander Surkov
f1d1126c15 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Jesse Ruderman
d97031bf3b Bug 626014 - crashtest. a=test 2011-01-18 18:47:02 +01:00
Mats Palmgren
479fbbed61 Bug 626014 - Deal with the frame being destroyed as a result of the flush in AddRange. r=ehsan a=blocking2.0:final 2011-01-18 18:40:38 +01:00
Ehsan Akhgari
533c249257 Bug 614151 - Part 2: Convert the test for bug 536567 into a chrome test; r=jst a=NPOTB 2011-01-12 10:39:55 -05:00
Ehsan Akhgari
652e8775ed Backed out changeset 775cfd3f2c87 because of Tinderbox test failures 2011-01-11 19:37:15 -05:00
Ehsan Akhgari
2ceedc4232 Bug 614151 - Part 2: Convert the test for bug 536567 into a chrome test; r=jst a=NPOTB 2011-01-11 18:21:36 -05:00
Ehsan Akhgari
f65c95e223 Bug 620936 followup - Switch to NS_MIN; r=joe a=DONTBUILD
--HG--
extra : rebase_source : 7594f27208efd71dd1ee290d2074fc224119b715
2011-01-11 12:10:47 -05:00
Ehsan Akhgari
56697d99dc Bug 620936 - setSelectionRange should not fail with offsets larger than the value of the editable field; r=roc a=blocking-betaN+ 2011-01-05 20:55:31 -05:00
Ehsan Akhgari
393e54e609 Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+ 2010-12-07 01:30:05 -05:00
Mounir Lamouri
1a18d39d68 Bug 615833 - Change event should not be cancelable. r=smaug a=sicking
--HG--
extra : rebase_source : a067989d8ce1297a9ed9869f931b64f33f2fed9f
2010-12-17 09:45:46 -08:00
Mounir Lamouri
db6bb54ae9 Bug 596088 - Make <input type='file'> looks disabled when inside a disabled fieldset by adding a ContentStatesChanged method in nsIFrame. r=bz sr=roc a=blocking-final
--HG--
rename : layout/reftests/bugs/557087.html => layout/reftests/bugs/557087-1.html
rename : layout/reftests/bugs/557087.html => layout/reftests/bugs/557087-2.html
extra : rebase_source : 350455e646775e42916e90dee7e09f63f84f4db4
2010-12-14 10:00:57 -08:00
Ehsan Akhgari
d95de3f85f Bug 612271 - Cursor jumps back to the end of the previous line after pressing enter at the end of a textarea managed by the jQuery autoResize plugin; r=roc a=blocking-betaN+ 2010-12-07 01:30:05 -05:00
Ehsan Akhgari
6ca27c613a Bug 611189 - Parchment IF Reader Misbehaves; r=bzbarsky a=blocking-final+
This patch makes sure that we don't try to read the value from the editor if we haven't started to initialize the editor yet.
This ensures that the UpdateValueDisplay calls before we start to initialize the editor will always end up reading the value from the content node, and do not rely on the data returned by the editor, which might be stale.

--HG--
extra : rebase_source : e31be0ce21585f0f18eca3aa2d8e43d3646348e2
2010-11-22 03:12:56 -05:00
Mounir Lamouri
5eebfd604d Bug 609417 - We shouldn't always call SetValueChanged when clearing the file list. r=smaug a=bsmedberg 2010-11-24 00:45:53 +01:00
Mounir Lamouri
de2840de11 Bug 603141 (2/2) - <select multiple> should show 4 rows by default. r=bz a=blocking-b8 2010-11-09 15:24:01 +01:00
Jesse Ruderman
dabf49fff3 Bug 538062 - add crashtest 2010-11-06 13:30:32 -07:00
Boris Zbarsky
054e67dd2f Bug 609437. Go through the central link-click-dispatch code for isindex. r=sicking a=blocker 2010-11-04 16:06:20 -04:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03: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
43a9abec75 Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input; r=roc a=blocking-final+ 2010-09-24 15:09:25 -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
Mounir Lamouri
88788a3064 Bug 553097 - Do not create a frame and DOM node for placeholder if not needed. r=ehsan,roc a=blocking 2010-10-19 15:11:07 +02:00
Alexander Surkov
8b53f409de Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Mounir Lamouri
68417f7637 Bug 598238 - Don't call GetMultiple but use HasAttr. r=smaug a=sicking 2010-10-08 14:15:00 +02:00
Mounir Lamouri
b5b12f9409 Bug 590386 - <input type='file'> should not use more than one filter. r=sicking a=blocking 2010-10-08 12:13:08 +02:00
Mounir Lamouri
50b705b40d Bug 598236 - nsHTMLInputElement should not ask nsFileControlFrame to know the filters for the file picker. r=smaug a=sicking 2010-10-08 12:07:20 +02:00
L. David Baron
a56a24a514 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
Ehsan Akhgari
c918309b68 Bug 572649 - Attempting to scroll a textarea with a horizontal scrollbar using the mouse jumps to its bottom right (focusing a textarea with the mouse scrolls the selection into view); r=roc a=blocking-betaN+
--HG--
rename : layout/forms/test/test_bug353539.html => layout/forms/test/test_bug572649.html
2010-09-20 19:30:07 -04:00
Mounir Lamouri
2900163868 Bug 557087 (3/6) - Make layout aware of the new disabled state rule. r=dbaron a=sicking
--HG--
extra : rebase_source : 9e7d0a515c3f1bcacdcccc906c611849654ab484
2010-09-19 03:43:15 +02:00
Siddharth Agarwal
e6277ff20e Back out bug 588712 and bug 595337 due to leaks and test failures. a=orange 2010-09-14 23:04:50 +05:30
Ehsan Akhgari
f92191a290 Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input r,a=roc 2010-09-13 16:36:43 -04:00
Ehsan Akhgari
25c62bf4b2 Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
--HG--
extra : rebase_source : 1ed8187ad31ca40bd0b4d5a5a3c7494aacfee495
2010-07-20 08:47:28 -04:00
L. David Baron
5859a14a99 Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
7476de1256 Change blur radii in themes and in some tests to match change in how we interpret text-shadow and -moz-box-shadow blur radii. (Bug 590039) r=dao a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0 Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
d44b4ee882 Clip contents of elements with overflow != visible to the border radius. (Bug 459144, patch 14) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
27b2504e3c Make nsIFrame::DisplaySelectionOverlay take an nsDisplayList* instead of nsDisplayListSet&. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
867c202386 Use nsIFrame::GetBorderRadii so that we pick up when it is overridden. (Bug 459144, patch 7) r=roc a2.0=blocking:beta6+ 2010-09-07 15:20:35 -07:00
Kyle Huey
a846b63dba Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey
bde906120c Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec 2010-09-05 09:09:04 -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
522299167b Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
--HG--
extra : rebase_source : 134895e08a57c7aeb39f25266d8925cde4595159
2010-07-20 08:47:28 -04:00