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
Timothy Nikkel
3e07c97339
Bug 488771. Stop nsIRollUpListener from inheriting from nsISupports. r=roc
...
--HG--
extra : rebase_source : 0af5c537b7be03c1407f4b658ba7802081ad3f01
2009-12-22 17:49:33 -06:00
Boris Zbarsky
b3883855ac
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
fantasai
1ffb0c06ef
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
fantasai
714c1668f7
Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc
2009-12-24 00:20:20 -05:00
Geoff Lankow
57f771038b
Bug 524408. File inputs should remember the last-used directory on a per-site basis. r=bzbarsky
...
--HG--
rename : toolkit/components/contentprefs/public/nsIContentPrefService.idl => dom/interfaces/base/nsIContentPrefService.idl
2009-12-22 20:05:26 -05:00
Olli Pettay
19c06de19d
bug 531176, r=sicking, sr=jst
2009-12-18 21:27:57 +02:00
Boris Zbarsky
99027aa785
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Brad Lassey
926e622d2a
bug 530367 - passwords from password manager flash in clear text r=neil
2009-11-25 12:41:23 -05:00
Mats Palmgren
e8faa921de
Bug 522787. Always register an editor observer. r=smaug
2009-11-19 12:38:11 +13:00
Boris Zbarsky
3289c85a87
Bug 259636. Don't do sync reflow when setting .value on text inputs. r=roc, sr=dbaron
2009-11-11 18:28:16 -05:00
Timothy Nikkel
b3d973a3d2
Bug 488771. Stop nsIsIndexFrame from inheriting from nsISupports. r=roc
...
--HG--
extra : rebase_source : 75ec78edbb8c169dc9cf7d4f959865002b884512
2009-11-03 16:43:23 -06:00
Gijs Kruitbosch
41ba1acfa5
Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
...
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jonas Sicking
17edc7e1dc
Bug 523771: Support the 'multiple' attribute on <input type=file>. r=benjamn sr=jst
2009-10-24 21:13:30 -07:00
Timothy Nikkel
7b23b3c396
Bug 515096. Add a weak frame check in nsComboboxControlFrame methods HandleRedisplayTextEvent and RemoveOption because flushing could kill us. r=bz
...
--HG--
extra : rebase_source : e7f6a175a5fd0c8992329288f0e8c2752c270ed6
2009-10-15 21:49:57 -05:00
L. David Baron
af787b4ab1
Backed out changeset 1aea70ef6f63 (temporary debugging code for bug 523934).
2009-10-23 10:47:25 -04:00
L. David Baron
779dcfee41
Add temporary debugging code to debug bug 523934
2009-10-23 10:21:00 -04:00
Olli Pettay
ccdacf91b1
Trying to fix the test for bug 411236, a=sheriff on a CLOSED TREE
2009-10-22 20:25:06 +03:00
Robert O'Callahan
d56dfa741e
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Robert O'Callahan
e4bc55769e
Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
...
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Mats Palmgren
4e06ef038e
Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky
2009-09-18 13:09:36 +02:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Neil Deakin
02a7469b05
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Bobby Holley
0b02012ed8
Bug 435296 - Sync decode handling for decode-on-draw. r=roc
2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Neil Deakin
a5bfe49767
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Mats Palmgren
a57f21c5c4
Don't scroll to the selected element if the reflow was interrupted, we'll do it later. b=512410 r=bzbarsky
2009-09-04 23:07:38 +02:00
Benjamin Smedberg
008e309c7f
Bug 513032 - remove empty conditionals in our makefiles, r=ted
2009-08-27 10:48:18 -07:00
Timothy Nikkel
e823ba2575
Bug 513185. Cleanup - get rid of unused PresContext argument of nsComboboxControlFrame::ShowList. r=roc
...
--HG--
extra : rebase_source : def06a931fc16d51b5783a327c0374a774f52895
2009-09-02 14:46:47 +12:00
Timothy Nikkel
69ef486736
Bug 513185. Calculate an opaque backstop color for a dropdown combobox (select) before possible scroll (which leads to painting). r=roc
...
--HG--
extra : rebase_source : 0ad5b14f24291dd16779328b1901a7f1a0091840
2009-09-02 14:46:47 +12:00
Jesse Ruderman
e1a92dde70
Add more crashtests
2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6
Add crashtests
2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4
Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
...
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Robert O'Callahan
75dc1beb9c
Backed out changeset e2927bb26412
2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5
Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
...
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron
--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Timothy Nikkel
6bdfcc6a1d
Bug 511323. If a dropdown combobox (select) is given a translucent background color make sure to draw an opaque color on the dropdown's opaque widget so we don't get garbage painted. r=roc
2009-08-25 12:07:57 -07:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Boris Zbarsky
ae35974f75
Bug 506481. Make sure that we'll scroll to the selected option even if it's added after our initial reflow but before we finish adding initial option kids. r=mats
2009-08-24 14:17:56 -04:00
Mats Palmgren
fedc182f8b
Crash test for bug 321894.
2009-08-24 01:21:40 +02:00
Zack Weinberg
2cd31f70f9
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Timothy Nikkel
3a0188b721
Bug 503791. ComboboxControlFrame should not assume that the origin of the screen is (0,0) because that is not true with more than one display. r=dbaron
2009-08-17 20:21:07 -07:00
Hashem Masoud
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Neil Rashbrook
f393e89d37
Bug 510323 Multiline <select> doesn't ignore middle clicks correctly r=smaug
2009-08-14 11:59:24 +01:00
Jonas Sicking
5f2141f841
Back out bug 431098
2009-08-10 16:40:29 -07:00
Jesse Ruderman
e6dacb0ff2
Add crashtest for bug 403148
2009-08-08 15:32:54 -07:00
Jesse Ruderman
8649aa61cd
Bug 424780 - Typing into <select> dropdown can cause nsStringBuffer leak. r=sicking
2009-08-08 15:00:26 -07:00
Boris Zbarsky
a1e015696b
Bug 502942. Make fieldsets use their content's last-line baseline. r=dbaron
2009-08-03 10:42:59 -04:00
Boris Zbarsky
f2936464e5
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Boris Zbarsky
5fefb45a48
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Boris Zbarsky
db6ff446ab
Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc
2009-07-28 08:51:09 -04:00
Boris Zbarsky
cc472b1f01
Bug 491180. <button> should not clip overflowing contents. r=roc
2009-07-22 21:31:45 -04:00
Joe Drew
6c441f55f7
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Mark Finkle
99c409b6f6
Bug 500208: select element should update label when script changes selection, r=bzbarsky
2009-07-06 09:39:54 -04:00
Robert O'Callahan
c15bebdcb1
Bug 495385. Text inputs should set the white-space style of the anonymous inner div when that div is created, not later when it will trigger a restyle. r+sr=bzbarsky
...
--HG--
extra : rebase_source : bef3008f365592d754039e74bac0b428a8c84794
2009-06-13 21:16:27 +12:00
Neil Deakin
f07c61b0cb
Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc
2009-06-12 14:23:16 -04:00
Robert O'Callahan
a956c259fc
Bug 496840. Make dynamic insertion and removal of legends work in the presence of multiple legends. r+sr=bzbarsky
...
--HG--
extra : rebase_source : c11c9ac211575f01ac810eac7c1feb684ed76d7a
2009-06-12 14:01:05 +12:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Robert O'Callahan
8c7da0cfb7
Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner
2009-05-28 17:01:42 +12:00
Boris Zbarsky
9d1a00e650
Bug 492387. Flush out content notifications before initing our editor. r+sr=jst
2009-05-19 10:49:57 -04:00
Karl Tomlinson
1b9df1cee4
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Robert O'Callahan
881099c83f
Bug 463350. Don't allow fieldsets to break vertically. r+sr=dbaron
...
--HG--
extra : rebase_source : b40a725617805871f6c463f630099390749ca2a0
2009-05-08 13:55:22 +12:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Bob Clary
3849e0eb37
bug 378670 - mochikit test by Martijn Wargers.
2009-04-24 10:08:18 -07:00
Bob Clary
83a6bebcfe
bug 343510 - crash test by Martijn Wargers.
2009-04-24 10:08:13 -07:00
Bob Clary
0419f83fb2
bug 317502 - crash test by David Baron.
2009-04-24 10:08:09 -07:00
L. David Baron
bb58803c1f
Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc
2009-04-22 10:13:48 -07:00
Olli Pettay
81884a8ad9
Bug 489224 - Printing doesn't print text field values, r+sr=roc
2009-04-22 12:35:45 +03:00
Dão Gottwald
2b158c4a2f
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2009-04-10 10:24:24 +02:00
Zack Weinberg
967e1a0ea6
Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc
2009-04-03 10:45:17 +02:00
Dão Gottwald
dedf1455f2
Backed out changeset cc4fae01938c
2009-04-02 12:03:52 +02:00
Zack Weinberg
586c538ed3
Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc
2009-04-02 09:57:13 +02:00
Jeremy D. Lea
39f62f1364
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Martijn Wargers
edf6ced8a0
Adding crashtest
2009-03-16 20:52:30 -04:00
Martijn Wargers
935b45440c
Mochitest for bug 478219
2009-03-16 13:21:28 -04:00
Boris Zbarsky
f992c9df1d
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
2009-03-16 07:50:04 -04:00
Dão Gottwald
3b81a42595
Backed out changeset 12e163f4f272
2009-03-16 15:00:57 +01:00
Boris Zbarsky
914389430a
Bug 478219. Put a script blocker around delayed editor init. r+sr=sicking
2009-03-16 07:50:04 -04:00
Olli Pettay
68a0322fcd
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
Jonas Sicking
69b316ec8b
Bug 431098: Make pressing 'cancel' in the file picker clear the file upload control. r/sr=bz
...
--HG--
extra : rebase_source : fb5a6deb1984475e55dd03ef7607044c5ce75bcb
2009-03-09 23:14:57 -07:00
Mats Palmgren
ba3d343cb3
Remove unnecessary #includes. b=462203 r+sr=roc
2009-02-19 21:18:49 +01:00
Boris Zbarsky
b0794d1840
Bug 400226. Do text redisplay as soon as it's safe, not after a trip to the event loop. r+sr=mats
2009-02-17 22:27:25 -05:00
Boris Zbarsky
a2d0b2c43b
Bug 477700. Push a null JSContext around editor init, so it'll work no matter what JS is on the stack. r+sr=smaug
2009-02-16 09:11:41 -05:00
Jesse Ruderman
f154077a31
Add crashtests
2009-02-13 14:54:17 -08:00
Michael Ventnor
a9bf64c109
Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
...
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Jesse Ruderman
68344d4b52
Add a bunch of crashtests
2009-02-10 22:18:05 -08:00
Michael Ventnor
b480b09ba3
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
Michael Ventnor
410d311d40
Bug 476308. Box-shadows for buttons should not capture events. r+sr=roc
2009-02-05 21:22:02 +13:00
Arpad Borsos
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Olli Pettay
2474f75151
Bug 476097, ASSERTION: killing mutation events with <input type=file>, r+sr=bz
2009-01-31 14:34:01 +02:00
Michael Ventnor
5b79611010
Bug 475197. box-shadow should work on file input controls. r+sr=roc
...
--HG--
extra : rebase_source : ca08ac21ddb8c27c7348f87f6963a03cf6fcfa46
2009-01-30 20:10:25 +13:00
Boris Zbarsky
89b2280e91
Adding test for bug 457537
2009-01-29 20:33:55 -05:00
Boris Zbarsky
3574872d3a
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Michael Ventnor
c81d455553
Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code. r+sr=roc
2009-01-28 22:28:14 +13:00
Michael Ventnor
2351d2a4b0
Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc
2009-01-22 13:07:44 +13:00
Boris Zbarsky
15e9c687fa
Bug 473390 part 6. Move the flag-setting for file controls out of the frame constructor and into the frame implementation. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
0966b434f3
Bug 473390 part 5. Move the checkbox and radio face style code out of the frame constructor and into those frames. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
ab5fa0c6e8
Bug 473390 part 3. Move some HTML frame construction assertions out of the frame constructor and into the relevant frame creation methods. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
c0de154bc2
Bug 473390 part 2. Call SetInitialChildList on HTML frames even if the child list is empty, to bring HTML in line with everything else. r+sr=roc
2009-01-19 13:31:31 -05:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
L. David Baron
57a8e776d8
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
b3d748ba11
Fix some missed renames from bug 471356. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
L. David Baron
23d4f4d4b2
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
Olli Pettay
c7eb44efac
Bug 469720 - tabindex of -1 set in javascript ignored on file input, r+sr=bz
2008-12-17 09:33:33 +02:00
Aiko
ae37af81d5
Combobox steals mouse event after menu is closed with Alt+Up. b=348236 r=mats sr=bzbarsky
2008-12-14 11:17:06 +01:00
Graeme McCutcheon
4d0acd8eae
Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
2008-12-12 14:25:22 -05:00
Robert O'Callahan
a3a3951684
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
L. David Baron
b9d0715bd4
Avoid discontinuity when options drop to height:0 by using CalcFallbackRowHeight only when GetNumberOfOptions() == 0, thus eliminating the last caller of CalcFallbackRowHeight passing a non-zero option count. (Bug 467084) sr=roc r=bzbarsky a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
L. David Baron
c95d61afc0
Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Graeme McCutcheon
db7058c5de
Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky
2008-12-03 12:55:14 -05:00
Markus Stange
7a9f82ce7e
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
Benjamin Smedberg
4862de1d3d
Bug 461186 - nsTextControlFrame should not implement nsIPhonetic: there's only one caller, and that caller can use nsITextControlFrame directly. This is one less frame that implements an nsISupports-derived interface. r+sr=roc
2008-10-27 20:27:55 -04:00
Theppitak Karoonboonyanan
018ec4b25f
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Mats Palmgren
426e3534c3
Ignore the keypress event if DOMEventToNativeKeyEvent() fails. b=456273 r=Olli.Pettay sr=jonas
2008-10-15 12:50:42 +02:00
Taras Glek
2c733370d0
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Boris Zbarsky
d674c8ca02
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Taras Glek
390adbe464
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Boris Zbarsky
c1fe6ebd6e
Bug 455451. Don't notify from inside frame construction. r+sr=jst
2008-09-25 16:35:46 -04:00
Zack Weinberg
a64209d05b
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02:00
Zack Weinberg
7687ccc76b
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Arpad Borsos
d0e70a51bf
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Robert O'Callahan
f79290bb0e
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Arpad Borsos
eef0edf9d5
Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
2008-09-15 17:40:25 +02:00
Taras Glek
c26ce8e1ab
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Robert Kaiser
2c0122f06d
bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil
2008-09-11 01:08:57 +02:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Taras Glek
9405df90da
bug 454292:prbool fixes for layout r+sr=dbaron
2008-09-09 10:07:26 -07:00
timeless@mozdev.org
b0c349250f
Backed out changeset 54215f2cbc66
...
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos
1f62482141
Bug 452797 - Clean up unused variables in layout/; r+sr=roc
2008-09-06 20:38:31 +02:00
Robert O'Callahan
be904c4d3d
Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky
2008-09-06 20:52:56 +12:00
Robert O'Callahan
ca15953a6e
Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661
2008-09-05 15:40:06 +12:00
Robert O'Callahan
1eeada5faa
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Robert O'Callahan
923872866b
Bug 331088. Handle file-control frame being torn down while the dialog is up. r=smaug,sr=mats
2008-08-15 22:21:31 +12:00
Boris Zbarsky
e802f1d69d
Bug 210094. Make min-height and max-height work on fieldset. r+sr=dbaron
2008-08-08 01:18:00 -04:00
Zack Weinberg
c9153c98a8
Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad
2008-08-06 12:33:18 +02:00
Mats Palmgren
19dc715bb6
Bug 446663. Make sure that if the user is typing in a text input its text input listener will get the events (so that undo/redo work and oninput is fired).
2008-07-31 17:36:21 -07:00
Mats Palmgren
9dc386954b
Bug 446663. Make sure that if the user is typing in a text input its text input listener will get the events (so that undo/redo work and oninput is fired).
2008-07-31 17:34:11 -07:00
Zack Weinberg
3197060cbd
Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron
2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
John Daniels
ef0fee1d70
Bug 419532 – deCOMtaminate nsICaret. r+sr=roc
2008-07-16 12:52:01 +02:00