Zack Weinberg
f5a0843ac7
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
c3400ef3c4
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
5ef6bf26cf
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
0e92a9d34a
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Ms2ger
6ee0b2b1da
Bug 589894 - Fix a number of build warnings in content/; r=smaug
2011-04-14 14:04:12 +02:00
Ms2ger
b8678933a0
Bug 619996, part f: kill layout/forms/resources; r=bz
2011-04-12 14:32:01 +02:00
Ms2ger
04536b2048
Bug 619996, part d: use nsHTMLSelectElement::FromContent in nsListControlFrame; r=bz
2011-04-12 14:32:00 +02:00
Mats Palmgren
fdde5d340c
Bug 639733 - Include the tag name in the frame state key. r=bzbarsky
2011-04-06 13:32:31 +02:00
Jesse Ruderman
77cf9af856
Bug 639733 - Crash test.
2011-04-06 13:32:31 +02:00
Masayuki Nakano
ea752bfc4b
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
8038f06c2e
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
da7c6acb37
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
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
Mounir Lamouri
10322e00af
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
f566520efb
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
24095da713
Disabling failing test for now. a=dholbert|sheriff for CLOSED TREE
2010-08-27 14:02:23 -04:00
David Zbarsky
76be33e32b
Tests for Bug 36619 r=sicking a=blocking
2010-08-27 11:49:10 -04:00
David Zbarsky
4425a427fd
Bug 36619 - allow file input .click() to bring up filepicker r=sicking a=blocking
2010-08-27 11:49:06 -04:00
Ehsan Akhgari
669cfe263b
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
812e6204ae
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
a581cd6197
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
547f4dfeaa
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
034db79f04
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
de6582a359
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Ehsan Akhgari
659cc9b4af
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
c06c57f6e6
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
L. David Baron
9cc2e9ec05
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
2732a9078d
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
f1c4604ccc
Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst
2010-07-28 16:43:52 -07:00
Kyle Huey
cc5305fe73
Bug 567323: Layout bindings for camera. r=sicking sr=roc
2010-07-23 14:35:51 -07:00
Benjamin Smedberg
8850ffa6eb
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
bd7e024cac
Bustage fix for Bug 567323
2010-07-23 11:24:49 -07:00
Kyle Huey
4526526765
Bug 567323: Layout bindings for camera. r=sicking sr=roc
2010-07-23 10:58:58 -07:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Ehsan Akhgari
ac64050109
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
dbf929d752
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
9dc5e5c187
Bug 574570: Followup to address missed review comment.
2010-07-21 09:12:19 -07:00
Kyle Huey
ffc8573b3d
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
c2a6183ea7
Bug 565272: Implement the accept attribute for audio/*, video/*. r=sicking
2010-07-17 00:00:28 -07:00
Michael Ventnor
8139bee929
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
2fb7701cbe
Bug 553576, change -moz-resize to resize, r=dbaron
2010-07-05 10:41:04 -04:00
Timothy Nikkel
976046bf62
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Jesse Ruderman
14ecbf3e68
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -07:00
Benjamin Smedberg
a2833452f8
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
ffb1f2f418
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
a90f192632
Bug 574898 - "ASSERTION: called nsGenericElement::SetText" with spellcheck; r=roc
2010-06-28 14:04:37 -04:00
Alexander Surkov
1b2bbba526
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Mats Palmgren
67b49c2d58
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
f04ef428cb
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
fb054fc73e
Add some crashtests and reftests
...
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Mounir Lamouri
241688657e
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
8c018044af
Bug 570624 - "ASSERTION: called nsGenericElement::SetText"; r=roc
...
--HG--
extra : rebase_source : 24d41a8eccef1c6d8b3adc6a04ca1a20912263ef
2010-06-09 14:14:42 -04:00
Jesse Ruderman
3dbc6bd8c8
Add a bunch of crashtests
2010-06-08 17:53:08 -07: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
Ehsan Akhgari
a687eb65f8
Bug 568373 - Use "Desktop" on all platforms; r=roc
2010-05-31 09:55:06 -04:00
Ehsan Akhgari
715b4a1bfb
One more bustage fix for bug 568373
2010-05-30 21:53:03 -04:00
Ehsan Akhgari
ac83b076ef
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
4913d26498
Bug 568373 - test bustage fix
2010-05-30 19:44:10 -04:00
Ehsan Akhgari
de19447abd
Bug 568373 - Private browsing saves the path of Uploaded files in Gmail; r=roc
2010-05-30 18:54:34 -04:00
Ehsan Akhgari
f58add9d96
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc,dbaron
2010-05-21 16:36:42 -04:00
Robert O'Callahan
c57160c9f8
Bug 565569. Set primary frame for anonymous text in buttons. r=mats
2010-05-21 15:20:48 +12:00
Mounir Lamouri
940c9bc6f0
Try to fix test_bug536537
2010-05-20 00:35:37 -04:00
Mounir Lamouri
8fce62a6c6
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
869533b09b
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
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Ehsan Akhgari
99449f62ef
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
a4cf95c94b
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
05019b97ab
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
9cf774cd31
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
cbf74508a5
Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking
2010-05-12 09:17:07 +02:00
Ehsan Akhgari
d45933ae63
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
40fcaed7a3
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
e98cd67374
Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking
2010-05-10 21:12:34 -04:00
L. David Baron
7c61f15cf1
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
c940151cb1
Test for bug 365410.
2010-05-06 17:37:40 +02:00
Mats Palmgren
fa8b1254ac
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
aae27b1cee
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
abd7f913e0
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
6f9aebb70a
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
7773612f1a
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
9818f00bf2
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
87f4d73ed2
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
ceb1712f98
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
5653937f4d
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
758abd8221
Bug 560271: Reorder nsTextControlFrame constructor init list to fix build warning. r=ehsan
2010-04-19 12:00:45 -07:00
Ehsan Akhgari
3f2bc0f661
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
12fba145fe
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
6fe4d9dd45
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
4aa6c64740
Bug 221820 - Part 6: Fix a failing test; r=bzbarsky
2010-04-06 16:44:12 -04:00
Ehsan Akhgari
25310966a3
Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky
2010-04-06 16:43:39 -04:00
Ehsan Akhgari
af32591ddc
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
a2d848318a
Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky
2010-02-09 20:29:11 -05:00
Ehsan Akhgari
5423b1af2f
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
05b0ede6fb
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
2be5f62bd9
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
d6856b82d8
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
771eede254
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Felipe Gomes
960464193b
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
a7ebcd12b9
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
872be8bd0f
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
003e483e13
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
ee08070ca4
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
862eb9644f
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
6fb3c80de5
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
36c7ad5a5a
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
0170b6dede
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
4605b1985f
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
e0ac5d5547
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
7ff92ec1fa
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
54ad0fb73a
Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky
2010-04-01 23:07:43 -07:00
Craig Topper
7b89b159bb
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
afc6c6ca2d
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Neil Deakin
e9dda7e9f3
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
79c932638a
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
0c4cd862d6
Bug 543563, fix build error due to conflict with bug 544472
2010-03-18 16:45:29 -04:00
Neil Deakin
87103f2372
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
ce65cdd15d
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
c4712d086e
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
d050afae06
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
df4fdead45
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
bb55fe310f
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3
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
1d0289c601
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0
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
7ffd9496bc
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
ef6c5fda3d
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
7f79202969
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
54f1561afc
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
51fbd0da83
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
532283056f
Bug 536567 - call InitUploadLastDir only when needed. r=ehsan
2010-02-21 15:52:51 +01:00
Alexander Surkov
be2b5e3966
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
Ehsan Akhgari
5f6014baed
Backed out changeset e6cf06cfcef9
2010-02-18 19:03:28 -05:00
Ehsan Akhgari
c83636a241
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
146e09dd21
Remove extra dump statements from tests
2010-02-11 14:14:26 -08:00
Alexander Surkov
73e251f02b
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Geoff Lankow
6ed0fe4974
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
7fd5fe000b
Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc
2010-02-09 14:06:37 -08:00
Ryan Flint
da462d7bb6
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
3a431b9f1b
Bug 518122, improve textarea.value+= performance, r=bz
2010-02-07 21:44:32 +02:00
Jae-Seong Lee-Russo
513e9cf886
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Ehsan Akhgari
cb2e381e3f
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
0b39e83022
Bug 541382. Buttons with non-visible overflow should clip their contents. r=roc
2010-01-25 11:03:43 -05:00
Robert O'Callahan
04a613495c
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
88521a102c
Bug 526394. Part 29: Create new nsLayoutUtils methods and remove useless code from nsListControlFrame::CaptureMouseEvents. r=mats
2010-01-12 10:45:18 +13:00
Robert O'Callahan
a923083da5
Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats
2009-09-09 17:40:01 +12:00
Robert O'Callahan
7eb8b6c4d7
Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats
2009-09-03 17:23:47 +12:00
Robert O'Callahan
609aaa1d9a
Bug 526394. Part 16: Convert nsListControlFrame. r=mats
2009-09-03 16:49:16 +12:00
Robert O'Callahan
13ac1c2c83
Bug 526394. Part 4: Obsolete nsIScrollableViewProvider by adding nsIFrame::GetScrollTargetFrame. r=mats,sr=dbaron
2009-09-01 23:22:31 +12:00
Robert O'Callahan
90d248d976
Bug 526394. Part 2: Remove pointless code in nsTextControlFrame, nsGfxScrollFrame handles this already. r=mats
2009-07-29 22:07:04 +12:00