Zack Weinberg
f8bc216403
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
1ed92bdb3e
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Dão Gottwald
9c503bf449
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
Zack Weinberg
100dba00ae
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
76072c4258
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
9c94b683aa
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
9d9261f8e6
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
2c36a76906
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
8d0e3c1244
Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Jan Küchler
23271beb1d
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
a08d8cc742
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Ms2ger
dede322bd0
Bug 589894 - Fix a number of build warnings in content/; r=smaug
2011-04-14 14:04:12 +02:00
Ms2ger
e2d51cdea4
Bug 619996, part f: kill layout/forms/resources; r=bz
2011-04-12 14:32:01 +02:00
Ms2ger
9ad7e3bf15
Bug 619996, part d: use nsHTMLSelectElement::FromContent in nsListControlFrame; r=bz
2011-04-12 14:32:00 +02:00
Mats Palmgren
4ba40b8c42
Bug 639733 - Include the tag name in the frame state key. r=bzbarsky
2011-04-06 13:32:31 +02:00
Jesse Ruderman
5ef502f0fe
Bug 639733 - Crash test.
2011-04-06 13:32:31 +02:00
Masayuki Nakano
8bebd6ed5a
Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron
2011-03-31 21:27:03 +09:00
Boris Zbarsky
ea79905533
Bug 643945. Use a <button type='button'>, not an <input type='button'>, for the dropmarker in a <select>. r=ehsan
2011-03-25 21:05:56 -04:00
Ehsan Akhgari
6c4406e947
Bug 610391 - Create the widget for drop-down comboboxes lazily, and tear it down when the drop-down is closed; r=roc
2011-03-21 14:28:10 -04:00
Josh Aas
c01e8b0737
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
b018fd50d5
Bug 629878 - Followup to fix build bustage; a=bustage
2011-02-09 14:34:56 -05:00
Ehsan Akhgari
d75e29d5ec
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
b0a155b92d
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
d0a5c983eb
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
1c955ea836
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Jesse Ruderman
6767ab7c54
Bug 626014 - crashtest. a=test
2011-01-18 18:47:02 +01:00
Mats Palmgren
9e63f46b8a
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
74d9f44202
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
fc8ab43113
Backed out changeset 775cfd3f2c87 because of Tinderbox test failures
2011-01-11 19:37:15 -05:00
Ehsan Akhgari
355a5709c9
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
d8954bd3fa
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
670232b278
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
fe40185d41
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
b068a8a558
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
e972c03932
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
f37a20277d
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
068ab34f83
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
33214d9b56
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
4a1b27674b
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
cbcb62128d
Bug 538062 - add crashtest
2010-11-06 13:30:32 -07:00
Boris Zbarsky
2e7d6fa5c7
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
89ee0980b7
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
5a00036e64
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
e7107d80b6
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
2d9e61bb32
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Mounir Lamouri
c0eafb6a5f
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
a6b1b0a79c
Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking
2010-10-16 00:34:35 +09:00
Mounir Lamouri
9ce6c359f0
Bug 598238 - Don't call GetMultiple but use HasAttr. r=smaug a=sicking
2010-10-08 14:15:00 +02:00
Mounir Lamouri
2b70e0e6de
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
3f99189d6b
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
4bb3a24d67
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
3ac4e6a8d6
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
caeb4fbd2d
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
a5bd7779d0
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
ddc27c5ad6
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
390e0c4132
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
083078d645
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
8a7fe3ff4d
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
c77957d25b
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
225ef1286e
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)
00f202c9fa
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
f5af27e90e
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
ec704773ad
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
583b8917f4
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
2ba0a36460
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
ff605f156a
Backed out changeset af1365b24066
2010-09-05 11:32:57 -04:00
Kyle Huey
55184b48c6
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
05dd2c5a12
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
3defea6edd
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
Mounir Lamouri
3f755b35dd
Bug 36619 - Add a test checking that we can call .click() to show the filepicker if the originating element is a regular click (thus passing the popup blocker check). r=sicking a2.0=blocking
2010-09-01 08:09:28 +02:00
Robert O'Callahan
70a219e76b
Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron
...
--HG--
extra : rebase_source : c1dbc5b625e23d55ba030709f5cd429122977685
2010-08-31 12:46:26 +12:00
Boris Zbarsky
7c2828ef05
Disabling failing test for now. a=dholbert|sheriff for CLOSED TREE
2010-08-27 14:02:23 -04:00
David Zbarsky
f142eb0a5d
Tests for Bug 36619 r=sicking a=blocking
2010-08-27 11:49:10 -04:00
David Zbarsky
b3bcc9aa67
Bug 36619 - allow file input .click() to bring up filepicker r=sicking a=blocking
2010-08-27 11:49:06 -04:00
Ehsan Akhgari
693416bb89
Bug 590302 - Crash [@ nsTextControlFrame::CalcIntrinsicSize] on print preview with textarea, position:fixed; r=roc a=blocking2.0:final+
2010-08-25 01:44:18 -04:00
Robert O'Callahan
64c4e38da6
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
4b2e3494b8
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Phil Ringnalda
52a90eea8e
Bug 587530 - Put nsICapturePicker in the properly named xpt, and package it for Firefox, r=roc, a=gavin
2010-08-15 18:37:53 -07:00
Mounir Lamouri
957a298bce
Bug 568441 - Explicitely show the caret in nsTextControlFrame when the content is no longer disabled and focused. r=roc a2.0=blocking+
2010-08-15 11:19:34 -04:00
David Zbarsky
d272840c23
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Ehsan Akhgari
b64f460e63
Bug 578604 - Crash [@ nsTextControlFrame::SetInitialChildList(nsIAtom*, nsFrameList&) ] when print preview; r=roc a=blocking2.0+
2010-08-04 22:13:57 -04:00
L. David Baron
10594e918c
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
L. David Baron
b2e63de23c
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
Makoto Kato
ce613918a6
Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only
2010-07-30 17:18:45 +09:00
David Zbarsky
83ff4cd04a
Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst
2010-07-28 16:43:52 -07:00
Kyle Huey
fd81de054a
Bug 567323: Layout bindings for camera. r=sicking sr=roc
2010-07-23 14:35:51 -07:00
Benjamin Smedberg
0217f8561d
Back out bug 567323 because of consistent Mochitest-4 errors:
...
1530 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug411236.html | Test timed out.
1578 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug534785.html | Test timed out.
1702 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug563642.html | Test timed out.
1709 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/forms/test/test_bug564115.html | Test timed out.
2010-07-23 16:16:39 -04:00
Kyle Huey
18972f50e4
Bustage fix for Bug 567323
2010-07-23 11:24:49 -07:00
Kyle Huey
8c6a068337
Bug 567323: Layout bindings for camera. r=sicking sr=roc
2010-07-23 10:58:58 -07:00
Olli Pettay
e9c6bd7bea
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Ehsan Akhgari
78c56717df
Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin
2010-06-02 22:39:29 -04:00
Mounir Lamouri
83d57fba16
Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
...
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Kyle Huey
9235241113
Bug 574570: Followup to address missed review comment.
2010-07-21 09:12:19 -07:00
Kyle Huey
4eeaf179df
Bug 574570: Parse the 'accept' attribute in accordance with the HTML5 spec. r=sicking,volkmar
2010-07-21 09:07:55 -07:00
Mounir Lamouri
cf96564254
Bug 565272: Implement the accept attribute for audio/*, video/*. r=sicking
2010-07-17 00:00:28 -07:00
Michael Ventnor
12a1a65607
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Neil Deakin
1998eeabf2
Bug 553576, change -moz-resize to resize, r=dbaron
2010-07-05 10:41:04 -04:00
Timothy Nikkel
81f8091b20
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Jesse Ruderman
d7cb16f9a4
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -07:00
Benjamin Smedberg
94ef4d2ac3
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
a29563d496
Don't override the filepicker CID, just the contractID in this test: required because of the changes in bug 568691.
2010-06-25 11:34:10 -04:00
Ehsan Akhgari
d513ca2acf
Bug 574898 - "ASSERTION: called nsGenericElement::SetText" with spellcheck; r=roc
2010-06-28 14:04:37 -04:00
Alexander Surkov
fa0b9ecc8b
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Mats Palmgren
50d4d2c2ea
Bug 571352 - <select multiple> does not reset the anchor <option> properly when the anchor is removed. r=bzbarsky
2010-06-27 22:53:47 +02:00
Jesse Ruderman
736c6f6527
Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
...
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Jesse Ruderman
c7c5144bb6
Add some crashtests and reftests
...
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Mounir Lamouri
28e4721900
Bug 572406 - Test that the value is correctly updated when the firstChild.nodeValue of a textarea is changed; r=ehsan
2010-06-16 12:36:12 -04:00
Ehsan Akhgari
ef89685d4e
Bug 570624 - "ASSERTION: called nsGenericElement::SetText"; r=roc
...
--HG--
extra : rebase_source : 24d41a8eccef1c6d8b3adc6a04ca1a20912263ef
2010-06-09 14:14:42 -04:00
Jesse Ruderman
bff9ad37a8
Add a bunch of crashtests
2010-06-08 17:53:08 -07:00
Ehsan Akhgari
69fb28434c
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
Ehsan Akhgari
198a1e4114
Bug 568373 - Use "Desktop" on all platforms; r=roc
2010-05-31 09:55:06 -04:00
Ehsan Akhgari
adb709b5e9
One more bustage fix for bug 568373
2010-05-30 21:53:03 -04:00
Ehsan Akhgari
b27cf250ee
Bug 568373 - Use "Desktop" for Windows, because apparently we don't have a useful notion of "Home" on Windows
2010-05-30 21:50:11 -04:00
Ehsan Akhgari
6d1cdd8d9b
Bug 568373 - test bustage fix
2010-05-30 19:44:10 -04:00
Ehsan Akhgari
6ebf9f5105
Bug 568373 - Private browsing saves the path of Uploaded files in Gmail; r=roc
2010-05-30 18:54:34 -04:00
Ehsan Akhgari
cd6846690f
Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron
2010-05-21 16:36:42 -04:00
Robert O'Callahan
d96cee98fa
Bug 565569. Set primary frame for anonymous text in buttons. r=mats
2010-05-21 15:20:48 +12:00
Mounir Lamouri
32ef4c4bf5
Try to fix test_bug536537
2010-05-20 00:35:37 -04:00
Mounir Lamouri
2f314e0803
Bug 377624 - [Test Part] "Implement the accept attribute for the form and file upload controls form "image/*"" [r=sicking, feedback=ehsan]
2010-05-19 22:28:08 -04:00
Mounir Lamouri
afd8698c25
Bug 377624 - "Implement the accept attribute for the form and file upload controls form "image/*"" [r=enndeakin,roc]
2010-05-19 22:28:01 -04:00
Ehsan Akhgari
cb3b3e8e7b
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Ehsan Akhgari
009fde6aa1
Bug 565775 - The editor will not be correctly initialized for <input type=tel> on user events; r=roc
2010-05-13 18:56:24 -04:00
Robert O'Callahan
b8a5f835e8
Back out part of fix for bug 538062 to fix accessibility tests
...
--HG--
extra : rebase_source : ffdabcf1caa16e68fa654e4f2830ffd235be91be
2010-05-13 14:52:39 +12:00
Robert O'Callahan
640996ce06
Bug 538062. Remove mTextFrame field from nsComboboxControlFrame since it's no longer needed. r=mats
2010-05-13 12:56:11 +12:00
Robert O'Callahan
66ca95d73c
Bug 538062. Call SetPrimaryFrame when we create the text frame for the text content in the display node of a combobox, so that the text frame will be notified when the content changes. r=mats,sr=dbaron
2010-05-13 12:56:09 +12:00
Mounir Lamouri
5063fb7171
Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking
2010-05-12 09:17:07 +02:00
Ehsan Akhgari
d612ab1550
Bug 564115 - activating the browser window scrolls the document (to show the focused text control); r=roc
2010-05-06 19:19:35 -04:00
Ehsan Akhgari
f93efd7b6f
Bug 562447 - when navigating in gmail sometimes get a screen full of white; r=roc
2010-05-06 18:12:21 -04:00
Boris Zbarsky
ed08b322dd
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
L. David Baron
e00d9fd996
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
Mats Palmgren
462871ffa0
Test for bug 365410.
2010-05-06 17:37:40 +02:00
Mats Palmgren
b7519d1272
Make PAGE_UP/DOWN scroll at least 1 item, if possible. b=563642 r=bzbarsky
2010-05-06 17:37:40 +02:00
Boris Zbarsky
86a0160673
Bug 365410. Set our mNumDisplayRows even if we have a height set. r=mats
2010-05-05 14:18:04 -04:00
Peter Van der Beken
1122c69800
Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
...
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Jonas Sicking
3a279be650
Bug 429175: Make sure to only set aNotify to true when we should. r=peterv
2010-05-03 06:23:36 -07:00
Boris Zbarsky
9b6c3b34d0
Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron
2010-04-30 09:12:06 -04:00
Mitchell Field
3d1b2b634a
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
Ehsan Akhgari
e038066235
Bug 559710 - Don't add a br node under text controls when the editor is not initialized for them yet; r=roc,davidb a=1hr
2010-04-15 21:25:40 -04:00
Neil Deakin
9a20a613e9
Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil
2010-04-21 10:53:42 -04:00
Henri Sivonen
e66cb3f76e
Bug 559819 - Change the string id for the isindex prompt. r=l10n.
...
--HG--
extra : rebase_source : 34212e52674deb7e3c20ef3dab91785d3f70bdf4
2010-04-20 17:19:30 +03:00
Daniel Holbert
e652002cac
Bug 560271: Reorder nsTextControlFrame constructor init list to fix build warning. r=ehsan
2010-04-19 12:00:45 -07:00
Ehsan Akhgari
c387f6152a
Bug 558954 - Don't show/hide placeholder if we're about to initialize the editor; r=roc
2010-04-12 20:32:29 -04:00
Ehsan Akhgari
cc201a3c58
Bug 557689 - Mochitest-3 (debug) crash after running test_bug366682.html or test_selection_move_commands.xul as a result of bug 542919 [@ nsCOMPtr<nsIMutationObserver>::assign_with_AddRef] (underlying issue will be fixed in bug 534785); r=jrmuizel
2010-04-12 02:13:17 -04:00
Ehsan Akhgari
3980f7ac34
Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc
2010-04-06 16:44:46 -04:00
Ehsan Akhgari
78abac833e
Bug 221820 - Part 6: Fix a failing test; r=bzbarsky
2010-04-06 16:44:12 -04:00
Ehsan Akhgari
28d5dc53e9
Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky
2010-04-06 16:43:39 -04:00
Ehsan Akhgari
04551d011d
Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
e15a112510
Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky
2010-02-09 20:29:11 -05:00
Ehsan Akhgari
60528bbd3e
Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
cdeff48269
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
7a8c29d63b
Bug 542919 - Maintain the exact same behavior in editor initialization (don't try to set the editor value if the default value is empty) in an attempt to fix the crash of bug 557689
2010-04-11 16:00:36 -04:00
Ehsan Akhgari
f25c7f50e1
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
2010-02-01 23:00:06 -05:00
Craig Topper
dcddb98106
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
9d6c65cee7
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Felipe Gomes
5ff6f33f77
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc]
2010-04-07 20:31:26 -04:00
Ehsan Akhgari
1db46ea87f
Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689
2010-04-06 21:08:58 -04:00
Ehsan Akhgari
2e860d5587
Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc
...
--HG--
extra : rebase_source : e8ea41dfa8e4b591e21176fb654f968671cc3ba1
2010-04-06 16:44:46 -04:00
Ehsan Akhgari
8d632d4354
Bug 221820 - Part 6: Fix a failing test; r=bzbarsky
...
--HG--
extra : rebase_source : 7ffe1d5c7840be9e84ec66851f96b61c69aeeda4
2010-04-06 16:44:12 -04:00
Ehsan Akhgari
53dc5e0e1b
Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky
...
--HG--
extra : rebase_source : f7e1954482d34f5a229307ff7a6bc4fa527171ff
2010-04-06 16:43:39 -04:00
Ehsan Akhgari
248d184822
Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
...
--HG--
extra : rebase_source : 92d9e491351a6183f0232604cd989c14d10d5fad
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
7208f0885b
Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky
...
--HG--
extra : rebase_source : 0b3e81c649178ebff2b08856f652a37be59d7547
2010-02-09 20:29:11 -05:00
Ehsan Akhgari
cb01da266b
Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
...
--HG--
extra : rebase_source : bf84341934b14c78fadc162607721e9325673fc4
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
d02a89b5ac
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
8e1f917128
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 9c043d3cb30420f061d543e11e3000a1f8e18e27
2010-02-01 23:00:06 -05:00
Ehren Metcalfe
81deb6e11f
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
ef0e1ee85c
Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Zack Weinberg
7b6b6d2167
Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky
2010-04-01 23:07:43 -07:00
Craig Topper
b5f57540e7
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
1d6875d653
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
980532022a
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Neil Deakin
32476c4258
Bug 554072, resizer should account for borders and padding when retrieving current element size, r=roc
2010-03-23 14:52:56 -04:00
Neil Deakin
f2dd8fc239
Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron
2010-03-19 07:49:34 -04:00
Neil Deakin
e03725b062
Bug 543563, fix build error due to conflict with bug 544472
2010-03-18 16:45:29 -04:00
Neil Deakin
8b7622198f
Bug 543563, textarea in xul textbox doesn't take into account any assigned widths/heights, r=dbaron
2010-03-18 15:58:12 -04:00
Ehsan Akhgari
8e36207435
Bug 353539 - textarea.focus() puts caret at end without scrolling it into view; r=roc
...
--HG--
extra : rebase_source : 775c2c16cfbb0ef9a9024dd53c42c803ee08e8ae
2010-03-18 12:14:40 -04:00
Ehsan Akhgari
a3fd6db5ed
Bug 231389 - Textarea scrolls to top after changing its .value, regardless of cursor position; r=roc
...
--HG--
extra : rebase_source : 01f1129bc5289c3b56d15a7965e647002a0b1198
2010-03-18 12:14:08 -04:00
Joel Maher
5a22815ee5
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
Mounir Lamouri
7cbcdf1446
test for Bug 549208 - Dragging a text in an input/textarea element doesn't make the placeholder disappear; r=smaug
2010-03-12 13:06:19 +01:00
Brad Lassey
4492ee705c
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
acb95ebf6d
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Kyle Huey
f78a715db2
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
4b8aff6ea3
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
2010-03-08 19:21:33 -08:00
Clint Talbert
b962e844a9
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
0c7928ce7d
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Mounir Lamouri
e9e4a9e303
Bug 549208 - Dragging a text in an input/textarea element doesn't make the placeholder disappear; r=bzbarsky
...
--HG--
extra : rebase_source : 13dc342d24bef26815bda5ef9958cfcb11a68a10
2010-03-01 10:35:40 -08:00
Mounir Lamouri
b04de541c5
Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
...
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Jonas Sicking
6ff6df71ee
Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug
2010-02-24 18:45:43 -08:00
Geoff Lankow
a2d69be435
Bug 536567 - call InitUploadLastDir only when needed. r=ehsan
2010-02-21 15:52:51 +01:00
Alexander Surkov
70f9774516
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
Ehsan Akhgari
a98c3c5ce8
Backed out changeset e6cf06cfcef9
2010-02-18 19:03:28 -05:00
Ehsan Akhgari
d50ab4a1a2
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 5c6baa16c4f3c91f8564cfdf394d70c8ea507861
2010-02-01 23:00:06 -05:00
Jesse Ruderman
5a7b76c5ad
Remove extra dump statements from tests
2010-02-11 14:14:26 -08:00
Alexander Surkov
8d8a39b8e2
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Geoff Lankow
10161ff293
Bug 536567 - Store the value of the per-site last file upload directories inside the memory while private browsing is active. r=ehsan
...
--HG--
rename : toolkit/components/contentprefs/public/nsIContentURIGrouper.idl => dom/interfaces/base/nsIContentURIGrouper.idl
2010-02-11 09:35:49 +01:00
Zack Weinberg
fe15fe1bb4
Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc
2010-02-09 14:06:37 -08:00
Ryan Flint
f6cd82cadf
Bug 539907 - Have getPref use asynchronous statements when called with an optional callback. r=myk, sr=robstrong
2010-02-09 05:28:39 -05:00
Olli Pettay
c0e253bee7
Bug 518122, improve textarea.value+= performance, r=bz
2010-02-07 21:44:32 +02:00
Jae-Seong Lee-Russo
32f8745a98
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Ehsan Akhgari
585e563257
Bug 542914 - Add some tests for text input fields to make sure their basic behavior and appearance does not regress; r=roc
...
--HG--
extra : rebase_source : 9d642f48af7ff927ad5e73d0e22d763fbcc9d5a7
2010-01-29 13:22:15 -05:00
Boris Zbarsky
2f722cae6a
Bug 541382. Buttons with non-visible overflow should clip their contents. r=roc
2010-01-25 11:03:43 -05:00