Граф коммитов

2212 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 41de116362 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Mats Palmgren f4490cde11 Bug 740743 - Implement CSS overflow for <legend>. r=bz 2012-04-13 17:52:13 +02:00
Robert O'Callahan 7c34e38876 Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Masayuki Nakano 2aa958ea0f Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
Daniel Holbert 98b0d12882 Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron 2012-03-16 11:01:05 -07:00
Jiten Thakkar 9617e4bf4f Bug 598244 - nsFileControlFrame should not parse the accept attribute but nsHTMLInputElement should do that; r=mounir 2012-03-12 11:36:02 +01:00
Mats Palmgren 39a7d31397 Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz 2012-03-08 02:57:37 +01:00
Nathan Froyd 68a79f10ae Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Andrew Quartey 61bb7df447 Bug 691267 - Remove nsHTMLButtonAccessible duplication, r=surkov
--HG--
rename : accessible/tests/mochitest/actions/test_inputs.html => accessible/tests/mochitest/actions/test_controls.html
2012-02-22 20:33:37 +09:00
Mounir Lamouri c3c33b0a58 Bug 709448 - File input click() handling should perhaps allow openControlled popups; r=bz 2011-12-21 18:03:52 +01:00
Paul O’Shannessy f186befb66 Bug 539601 - [OS X] window.sizeMode incorrect when using full screen mode [r=mstange] 2012-02-08 11:59:18 -08:00
Panagiotis Koutsourakis 9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Mats Palmgren 063e8bc15f Bug 706889 - Apply font-inflation to checkboxes and radio buttons. r=dbaron 2012-01-30 18:48:46 +01:00
L. David Baron 94eb7fc6c5 Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron d4a1d88221 Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
Benjamin Stover dc9cd57308 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Markus Stange d35d9d0bb5 Bug 598482 part 17 - Don't unnecessarily invalidate everything when showing a list box popup. r=roc 2011-12-23 22:52:24 -05:00
Markus Stange 5d6bf29b6f Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Masatoshi Kimura b71556db7e Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking
--HG--
rename : content/base/src/nsFileDataProtocolHandler.cpp => content/base/src/nsBlobProtocolHandler.cpp
rename : content/base/src/nsFileDataProtocolHandler.h => content/base/src/nsBlobProtocolHandler.h
2012-01-12 11:36:03 +01:00
David Zbarsky e38d101da0 Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Santiago Gimeno 5c749b2022 Bug 710292 - Add a common HTMLSplitOnSpacesTokenizer tokenizer. r=khuey 2012-01-04 05:08:00 -05:00
Robert O'Callahan 6916b9a16b Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats 2011-12-28 16:24:18 +13:00
Phil Ringnalda 8dffee38d0 Back out dc7c7734ec7c, f793f9cfa72c, 10ea92a6a850 (bug 591718) for Android b-c orange in mobile/chrome/tests/browser_scrollbar.js 2011-12-27 20:34:08 -08:00
Robert O'Callahan 93a0a72972 Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats 2011-12-28 16:24:18 +13:00
Mats Palmgren 78d0f2c7ca Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Geoff Lankow 7e20167c5b Bug 712518 - Improve MockFilePicker.jsm; r=jmaher 2011-12-23 11:10:52 +13:00
Phil Ringnalda 2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange 8928064b4a Bug 598482 part 17 - Don't unnecessarily invalidate everything when showing a list box popup. r=roc 2011-12-23 22:52:24 -05:00
Markus Stange 87e56d30a9 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Matthew Schranz 3a92e01012 Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Masayuki Nakano efe739e3f9 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Masayuki Nakano 5ff35fa5ae backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano 705962c806 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Alexander Surkov ca6afa8566 Bug 699017 - aria-required attribute on file input not read by JAWS, r=tbsaunde, marcoz, roc 2011-11-30 20:36:20 +08:00
Masayuki Nakano 9e0d8331f9 Bug 703500 nsFileControlFrame should listen all events in system group r=smaug 2011-11-29 13:39:21 +09:00
L. David Baron 0e6b37ad63 Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets):  see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron 1e5ca9ce1a Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
Masayuki Nakano 6ead4f7ddf Bug 704049 Restore radio button state when click event is prevented default and there was no checked radio button r=smaug 2011-11-22 21:38:37 +09:00
Mats Palmgren 16f40d23b6 Bug 589857 - Remove the nsFileControlFrame::mTextFrame member in favor of just retrieving it from the text input content when needed. r=bzbarsky 2011-11-18 16:51:41 +13:00
Phil Ringnalda 47ec399c96 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron 898646a90e Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets):  see all the callers of GetFontMetricsFor*
in those directories.
2011-11-15 17:02:01 +13:00
L. David Baron 17facb7829 Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-15 17:02:01 +13:00
Neil Deakin 3c91582697 Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc 2011-11-08 14:59:07 -05:00
Ed Morley 7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Geoff Lankow f3b073f77c Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Ms2ger 6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Timothy Nikkel 5fd981457f Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-21 12:45:32 -05:00
Timothy Nikkel f92f70e856 Backout 18f70ede04b0 (bug 694213). 2011-10-20 20:59:47 -05:00
Timothy Nikkel b6640cbaf7 Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-20 12:44:28 -05:00
Olli Pettay 2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Timothy Nikkel 677526acd7 Backout 8db8c9ce92c5 (bug 694213). 2011-10-18 00:41:10 -05:00
Timothy Nikkel 3b73722e00 Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-17 19:56:03 -05:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Joel Maher 53d448d706 Bug 674323 - convert most eventutils.js functions to use SpecialPowers. r=ted, a=test-only 2011-10-14 07:52:01 -04:00
Joel Maher e2350deb52 Bug 693425 - test file layout/forms/test/bug536567_subframe.html isn't used. r=ehsan 2011-10-14 07:52:01 -04:00
Peter Van der Beken 4ca416adf9 Bug 648801 (new DOM list bindings) - Add new dom binding for nsHTMLOptionCollection. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 2d2f6177031958b61b01f819cb28a4c56861a815
2011-08-20 15:53:34 +02:00
Ehsan Akhgari 941f2f10c3 Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky 2011-05-11 19:53:34 -04:00
Ehsan Akhgari 2b29cd6201 Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Alexander Surkov 85f57ffd5d Bug 673958 - rework accessible focus handling, r=enndeaking, marcoz, tbsaunde, matspal, f=marcoz
--HG--
rename : accessible/tests/mochitest/test_aria_activedescendant.html => accessible/tests/mochitest/events/test_focus_aria_activedescendant.html
rename : accessible/tests/mochitest/events/test_focus.html => accessible/tests/mochitest/events/test_focus_dialog.html
rename : accessible/tests/mochitest/events/test_focusdoc.html => accessible/tests/mochitest/events/test_focus_doc.html
rename : accessible/tests/mochitest/events/test_focus.xul => accessible/tests/mochitest/events/test_focus_general.xul
rename : accessible/tests/mochitest/states/test_comboboxes.xul => accessible/tests/mochitest/states/test_expandable.xul
rename : accessible/tests/mochitest/test_nsIAccessible_selects.html => accessible/tests/mochitest/states/test_selects.html
2011-09-28 10:46:11 +09:00
Fabrice Desré d79d54482e Bug 593891 - Part 2 : Use a different title for the capture picker [r=mfinkle] 2011-09-26 17:25:41 -07:00
Randell Jesup 8407136580 Bug 682684: handle frames being deleted when running EditorInitializer when under scriptblocker r=roc 2011-09-19 23:14:47 -04:00
Timothy Nikkel 6d60a254ef Bug 599938. Fix bustage. 2011-09-18 13:20:09 -05:00
Timothy Nikkel f7f6b0b885 Bug 599938. Show select drop downs in the correct location if they are being translated by CSS transforms. r=roc 2011-09-18 13:16:47 -05:00
Masayuki Nakano 6c3d3da0c3 Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Ehsan Akhgari 12351f8a99 Bug 682041 followup - Add the missing return statement; r=need-to-learn-C++ 2011-09-08 20:08:40 -04:00
Ehsan Akhgari e3552b96ea Bug 682041 - Don't destroy the select drop-down widget right away, instead wait to hit the event loop once, in case we're being called by the widget code itself somewhere down the stack; r=roc 2011-09-08 11:35:33 -04:00
Ms2ger ccea776176 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Ms2ger 0b1536d069 Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Mats Palmgren f1c56f2e22 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren 605a290f3b Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes.  Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mounir Lamouri e46c92e212 Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron 2011-08-23 00:30:33 +02:00
Mounir Lamouri a875412aee Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc 2011-08-22 15:00:24 +02:00
Malini Das c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Ms2ger 4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Matt Brubeck 75b08bec62 Merge last green changeset on m-c to mozilla-inbound 2011-08-08 14:21:41 -07:00
Ms2ger b5d390cce8 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Jonas Sicking 743f1281ec Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Karl Tomlinson 734148d14d work around bug 670053 to enable test_bug665540.html
--HG--
extra : transplant_source : i%28%14%00%1F%A9h%11%3F%DD%26%CF%C2e%11%DF%D8BM%26
2011-08-05 12:47:10 +12:00
Ehsan Akhgari 91118b2f26 Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky
--HG--
rename : layout/reftests/editor/selection_visibility_after_reframe.html => layout/reftests/editor/selection_visibility_after_reframe-3.html
2011-07-29 17:31:57 -04:00
Michael Wu 884dbf88ee Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc 2011-08-01 18:20:52 -07:00
Ehsan Akhgari 5ce917a794 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Mats Palmgren 87afedd042 Bug 672810 - ctrl+shift+arrow should extend selection in multiselectable listbox (HTML select). r=bzbarsky 2011-07-26 19:22:47 +02:00
Michael Wu b34f351453 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Joel Maher 6659c4f8af Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only 2011-07-21 16:21:25 -04:00
Mounir Lamouri 57fe0a2e82 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Marco Bonardo 31872c215c Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-20 15:04:30 +02:00
Dão Gottwald 2989f518f0 Fix for undefined Ci/Cr/Cu in layout/forms/test/test_bug536567.html 2011-07-20 12:02:00 +02:00
Dão Gottwald d9c7be7dfa Fix for undefined Cc/Ci/Cr/Cu in test_bug500885.html, test_bug592802.html, test_bug61098.html and test_bug36619.html 2011-07-20 11:51:43 +02:00
Jonas Sicking 7abc217fd4 Bug 664061: Remove isindex code from layout. r=dbaron 2011-07-19 17:22:01 -07:00
Ehsan Akhgari 8aa36b3b5c Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri b6d655dff0 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri 58e2fd59fd Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri 8ae6e80c16 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Joe Drew 1b1c77e668 Bug 671464 - Mark bug 669767 crashtest as asserting 0-1 times, so we at least don't go orange over and over. 2011-07-17 15:01:51 -04:00
Ms2ger 8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Randell Jesup 5b082f6f56 Bug 669767: Add scriptblocker to EditorInitializer::Run() so our frame doesn't get killed before we finish. r=ehsan 2011-07-13 16:57:41 -04:00
Daniel Holbert 94b269683e Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange 2011-07-11 17:49:03 -07:00
Geoff Lankow 4450e4f1ab Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests r=jmaher 2011-07-11 12:24:13 -07:00
Karl Tomlinson 228513e185 disable test_bug665540.html on WINNT due to what is probably bug 670053 2011-07-11 22:09:38 +12:00
Karl Tomlinson 8ca97d0f6d test for bug 665540
--HG--
extra : rebase_source : 9581cbad606a99cd89d975cb5ac4e5c207c855aa
2011-07-08 11:06:54 +12:00
Olli Pettay e5f1a50b21 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Jonas Sicking 5cbb3ca1f6 Bug 664058: Remove AddEventListenerByIID/RemoveEventListenerByIID from nsFileControlFrame. r=smaug 2011-06-29 11:07:57 -07:00
Jonas Sicking 598b8d8e3e Bug 664058: Remove Add/RemoveEventListenerByIID from nsComboboxControlFrame. r=smaug 2011-06-29 11:07:25 -07:00
Jonas Sicking ff7920023e Bug 664058: Remove Add/RemoveEventListenerByIID from nsListControlFrame. r=smaug 2011-06-29 11:07:25 -07:00
Jonas Sicking a326e5c69f Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 0c346db2ed Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking f7e72db3bc Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking cd52437ea7 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Boris Zbarsky 585106f219 Bug 548734. Get rid of the footgun ui.use_native_popup_windows preference. r=roc,khuey 2011-06-21 17:00:47 -04:00
Jonas Sicking e3e6dd6825 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ms2ger 8915f62d3b Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Geoff Lankow c44e90607e Bug 662977 - File upload control needs a change event on drop. r=bz
--HG--
extra : rebase_source : aa8afe68e9bfcdbbf772a8ed22c93570131a9395
2011-06-11 00:44:53 +12:00
Mounir Lamouri 8d38f1695a Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Jonathan Kew 69863cb1b2 Bug 661471. Part 5: Fix reftests. r=roc 2011-06-03 16:31:08 +12:00
Mounir Lamouri 5190eb69d2 Bug 661113 - Progress bars with -moz-orient: vertical should have vertical dimensions by default. r=roc 2011-06-01 12:27:46 +02:00
Mounir Lamouri ba98c26241 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Michael Ventnor 4d6f07caf9 Bug 50660 - Drag and drop for file upload form control r=jst,enndeakin 2011-06-01 16:06:38 +10:00
Boris Zbarsky b5bc3817ce Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Boris Zbarsky f137314503 Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug 2011-05-31 21:46:56 -04:00
Randell Jesup 71bfa4a331 Bug 659340: Add paranoia on frame life back in nsTextControlFrames. r=ehsan 2011-05-30 01:29:32 -04:00
Jonas Sicking 241be7f705 Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Masayuki Nakano caee4cc73f Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Randell Jesup 668c993e99 Bug 655084 - Remove nsWeakFrame's from editor scripts and the nsTextInputListener to improve perf on pages with lots of text widgets. r=ehsan 2011-05-21 04:25:27 -04:00
Mounir Lamouri c5a1b0eda2 Bug 638540 - Progress element should be shown vertically when -moz-orient value is 'vertical'. r=roc
--HG--
rename : layout/reftests/forms/progress/bar-pseudo-element-ref.html => layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html
rename : layout/reftests/forms/progress/bar-pseudo-element.html => layout/reftests/forms/progress/bar-pseudo-element-vertical-rtl.html
rename : layout/reftests/forms/progress/bar-pseudo-element.html => layout/reftests/forms/progress/bar-pseudo-element-vertical.html
rename : layout/reftests/forms/progress/indeterminate-style-width-ref.html => layout/reftests/forms/progress/indeterminate-style-height-ref.html
rename : layout/reftests/forms/progress/indeterminate-style-width.html => layout/reftests/forms/progress/indeterminate-style-height.html
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-vertical-ref.html
rename : layout/reftests/forms/progress/margin-padding-rtl-ref.html => layout/reftests/forms/progress/margin-padding-vertical-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding-rtl.html => layout/reftests/forms/progress/margin-padding-vertical-rtl.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-vertical.html
rename : layout/reftests/forms/progress/values-ref.html => layout/reftests/forms/progress/values-vertical-ref.html
rename : layout/reftests/forms/progress/values-ref.html => layout/reftests/forms/progress/values-vertical-rtl-ref.html
rename : layout/reftests/forms/progress/values.html => layout/reftests/forms/progress/values-vertical-rtl.html
rename : layout/reftests/forms/progress/values.html => layout/reftests/forms/progress/values-vertical.html
2011-05-16 12:56:06 +02:00
Ehsan Akhgari e422c276a8 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Mounir Lamouri 3ff91c056b Bug 654990 - Don't use SetInitialChildList to specify the style context of the progress bar anonymous child. r=bz 2011-05-09 18:42:58 +02:00
Mounir Lamouri c3a93d449e Bug 638176 - Make <progress> friendly with -moz-appearance:none and author styling. r=bz 2011-05-06 12:00:30 +02:00
Mounir Lamouri 2131697e88 Bug 642667 - Let authors set the progress bar's width when in indeterminate state. r=dbaron 2011-05-06 11:56:47 +02:00
Mounir Lamouri 975d80463f Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
--HG--
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-rtl.html
2011-05-06 11:52:05 +02:00
Mounir Lamouri 9d45d86044 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-10 14:59:07 +02:00
Shawn Wilsher d616bf2fcb Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Mounir Lamouri e9af9e5eaa Fix build bustage. 2011-05-09 16:00:29 +02:00
Mounir Lamouri 091f771777 Bug 638176 - Make <progress> friendly with -moz-appearance:none and author styling. r=bz 2011-05-06 12:00:30 +02:00
Mounir Lamouri bb4266242b Bug 642667 - Let authors set the progress bar's width when in indeterminate state. r=dbaron 2011-05-06 11:56:47 +02:00
Mounir Lamouri 8fd2b2f9bb Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
--HG--
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-rtl.html
2011-05-06 11:52:05 +02:00
Mounir Lamouri 75a14a114e Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-07 10:15:14 +02:00
Karl Tomlinson 9f1dd5cfc7 crash test for bug 644542
--HG--
extra : transplant_source : x%E6%5C%FCI%8E%8Di%9D%D83%0A%BA%81%E7%9BP%03%9BJ
2011-05-04 10:43:13 +12:00
Boris Zbarsky 7d3e2c97ad Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc 2011-05-06 16:04:44 -04:00
David Zbarsky a0b813679f Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri 2af4853be5 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky 732897cc3f Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg 3929b6bfdd Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg 8648dcc368 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 fc7faceefc Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Dão Gottwald 9291640652 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 ef90e52c10 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg 5731d401c8 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg b6b73ad75a Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg 9f143f420f Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg 1628ea1551 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 f8eccd9ec7 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 c510bc3046 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 ebb2f0c7ec Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Ms2ger 473cebda59 Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ms2ger c00b8ed363 Bug 619996, part f: kill layout/forms/resources; r=bz 2011-04-12 14:32:01 +02:00
Ms2ger b4da50351a Bug 619996, part d: use nsHTMLSelectElement::FromContent in nsListControlFrame; r=bz 2011-04-12 14:32:00 +02:00
Mats Palmgren ce7e2319e4 Bug 639733 - Include the tag name in the frame state key. r=bzbarsky 2011-04-06 13:32:31 +02:00
Jesse Ruderman cba5eb782d Bug 639733 - Crash test. 2011-04-06 13:32:31 +02:00
Masayuki Nakano fcb9c01bf9 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 af44e6fc9b 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 3bb129e1e3 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 daa6dd469a 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 352289000d Bug 629878 - Followup to fix build bustage; a=bustage 2011-02-09 14:34:56 -05:00
Ehsan Akhgari 15bb64e5e7 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 cb4cdacce5 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 8b64a94dfa 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 5029052452 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Jesse Ruderman 1c1339da6e Bug 626014 - crashtest. a=test 2011-01-18 18:47:02 +01:00
Mats Palmgren 57bbf4a4e3 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 6bf3111a1e 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 194e627485 Backed out changeset 775cfd3f2c87 because of Tinderbox test failures 2011-01-11 19:37:15 -05:00
Ehsan Akhgari b59b87f620 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 71b50d62bf 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 aed6683683 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 5dece71b0e 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 d0c28d9134 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 67259dffcd 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 36cdf253ea 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 b20c5f8510 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 7138b2a209 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 5dc8d4f542 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 b2e5083601 Bug 538062 - add crashtest 2010-11-06 13:30:32 -07:00
Boris Zbarsky 94bab34bb2 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 a495819ba2 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 7883671dc5 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 115bd55a00 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 06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Mounir Lamouri e457aa01ce 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 7ca32694f5 Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Mounir Lamouri 548bfa10ad Bug 598238 - Don't call GetMultiple but use HasAttr. r=smaug a=sicking 2010-10-08 14:15:00 +02:00
Mounir Lamouri c68f7e8519 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 59906e6feb 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 86a617e692 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 5a012f3090 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 f4d2ceae73 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 80505c82b2 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 48afe97055 Back out bug 588712 and bug 595337 due to leaks and test failures. a=orange 2010-09-14 23:04:50 +05:30