Commit Graph

1136 Commits

Author SHA1 Message Date
Daniel Holbert
d92f2d5bce Bug 921174 part 4: Move focusPadding into ReflowButtonContents, the only place it's used now. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
9b125765f6 Bug 921174 part 3: Make ReflowButtonContents() use a dedicated nsHTMLReflowMetrics instance, and give it full responsibility for populating parent's metrics. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
673ace2dfb Bug 921174 part 2: Use a separate nsReflowStatus for button frame's reflow vs. button contents frame's reflow. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
be662757c7 Bug 921174 part 1: Rename reflow state variables in nsHTMLButtonFrame, for clarity. r=bz 2013-09-26 23:43:15 -07:00
Masayuki Nakano
99ed9cf061 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
ad647cc182 Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
8d69a172c1 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Jonathan Watt
6fc7e33e36 Bug 919263 - Remove bogus assertion from nsRangeFrame::AttributeChanged. r=dholbert
--HG--
extra : rebase_source : a713be35993eb58e44e2bb4f506587831986c57e
2013-09-24 21:29:31 +01:00
Jonathan Watt
dd6cd221ed Bug 920154 - Rename nsIContent's SetNativeAnonymous method to SetIsNativeAnonymousRoot to be clear that it should only be called for the root native anonymous element. r=bz
--HG--
extra : rebase_source : 9be498a3ae51a4a4587c8035cb7bc58002b3a268
2013-09-24 21:29:27 +01:00
Masayuki Nakano
2a465d3e36 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Ehsan Akhgari
37bbcfc9c9 Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Martijn Wargers
3dbeb6c4a3 Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
CLOSED TREE

--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Ehsan Akhgari
eaafff8ccb Bug 917301 - Remove some dead code in layout/; r=dholbert 2013-09-17 13:02:02 -04:00
Martijn Wargers
1face898e0 Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher 2013-09-11 13:52:42 +02:00
Ms2ger
98ad509afa Bug 910238 - Part a: Remove some includes from HTMLInputElement.h; r=bz 2013-09-06 08:40:45 +02:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ehsan Akhgari
b1b1f64807 Bug 910237 - Get rid of the nsIEditor.h #include in nsTextControlFrame.h; r=mats,ehsan 2013-08-28 19:06:00 +00:00
Ehsan Akhgari
6e9031fe0d Bug 909927 - Minimize the #includes in layout/forms; r=mats
--HG--
extra : rebase_source : 92eb9ca6672e754a32dbfe3cd3494309671902d3
2013-08-28 10:30:02 -04:00
Felipe Gomes
b0494451ec Merge fx-team to m-c 2013-08-26 02:41:47 -03:00
Felipe Gomes
e36a075b54 Bug 897060 - Display select dropdowns in the parent process. r=enndeakin
Original patch by roc.
2013-08-25 22:34:23 -03:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
add9ce17b9 Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ehsan Akhgari
4ff8f0416e Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
Masayuki Nakano
ba86f9045b Bug 903715 part.2 Don't check in Makefile.in if the target OS is Android for <select> element dropdown test r=gps+ahalberstadt 2013-08-20 23:20:10 +09:00
Ehsan Akhgari
5fa9157954 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Ms2ger
a04009b5b7 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
b49f5bef29 Bug 903791 - Make HTMLOptionElement.index infallible; r=mounir 2013-08-14 08:57:04 +02:00
Masayuki Nakano
aae77dd788 Bug 903715 Consume Enter keydown event if dropdown of <select> element is closed by it r=smaug 2013-08-14 15:34:03 +09:00
Ed Morley
402e3176c7 Backed out changeset 64324e19ca10 (bug 903715) for failures in test_bug903715.html on a CLOSED TREE 2013-08-12 16:59:00 +01:00
Masayuki Nakano
ee541e9b47 Bug 903715 Consume Enter keydown event if dropdown of <select> element is closed by it r=smaug 2013-08-12 22:09:39 +09:00
Trevor Saunders
e59057dee7 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Mats Palmgren
cd070d65f1 Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc 2013-08-08 22:04:59 +00:00
Mats Palmgren
f0132cd471 Bug 899349 - Re-enable the 366537-1.xhtml crashtest (presumed fixed by bug 874073). r=ryanvm 2013-08-06 16:02:30 +00:00
David Zbarsky
d0e051e4b7 Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz 2013-08-07 16:23:08 -04:00
Cameron McCormack
692234d456 Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
e9318247c3 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Ed Morley
2bd27d01a6 Bug 899349 - Change 366537-1.xhtml random-if to skip-if 2013-08-02 17:20:21 +01:00
Ed Morley
fa079d48cb Bug 899349 - Mark crashtests/366537-1.xhtml random-if due to intermittent failures
--HG--
extra : rebase_source : 890e6bc38f6823c5c64d9678102cd1df14db5790
2013-08-02 16:05:39 +01:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
38d49808ef Bug 899931 - Part j: Cleanup nsListControlFrame::GetSelectedIndex; r=dzbarsky 2013-08-02 09:09:05 +02:00
Ms2ger
04774fb671 Bug 899931 - Part i: Inline nsListControlFrame::GetSizeAttribute; r=dzbarsky 2013-08-02 09:09:02 +02:00
Ms2ger
75b347cb69 Bug 899931 - Part h: Cleanup nsListControlFrame::GetOptions; r=dzbarsky 2013-08-02 09:08:19 +02:00
Ms2ger
8d1add597a Bug 899931 - Part g: Cleanup nsListControlFrame::{ScrollToIndex, ScrollToFrame}; r=dzbarsky 2013-08-02 09:08:13 +02:00
Ms2ger
2209293dfd Bug 899931 - Part f: Cleanup nsListControlFrame::GetIndexFromDOMEvent; r=dzbarsky 2013-08-02 09:07:56 +02:00
Ms2ger
6c9068ceb9 Bug 899931 - Part e: Cleanup nsListControlFrame::ToggleOptionSelectedFromFrame; r=dzbarsky 2013-08-02 09:07:32 +02:00
Ms2ger
09093dfb1f Bug 899931 - Part d: Cleanup nsListControlFrame::GetCurrentOption; r=dzbarsky 2013-08-02 09:07:22 +02:00
Ms2ger
4d9a9aa40c Bug 899931 - Part c: Cleanup nsListControlFrame::GetOptionText; r=dzbarsky 2013-08-02 09:07:08 +02:00
Ms2ger
e32b9b8720 Bug 899931 - Part b: Introduce a nice nsListControlFrame::GetOption; r=dzbarsky 2013-08-02 09:07:04 +02:00
Ms2ger
e0af74781f Bug 899931 - Part a: Remove unused nsListControlFrame::{IsContentSelected, IsContentSelectedByIndex}; r=dzbarsky 2013-08-02 09:06:57 +02:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
David Zbarsky
e1b94c8f42 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
c799af0ead Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
8f03cd73c1 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky
59d52bfb66 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
c1cdd88a1b Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
be987cad58 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
7f5f285110 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron
e91b1d6d0d Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
David Zbarsky
795f349564 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0246c16dd7 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
4a6c9a63c0 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Mats Palmgren
5ee8afbf8a Bug 868327 - Only allow the drop-down menu to open above the combobox if there is room for it, otherwise open it below even though it doesn't fit. r=roc 2013-07-25 12:55:32 +00:00
Masayuki Nakano
04c0fc2c90 Bug 501496 part.13 nsListControlFrame should handle key navigation at keydown event handler r=neil 2013-07-25 15:09:29 +09:00
Masayuki Nakano
0f31ecd06d Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug 2013-07-25 15:09:29 +09:00
Mats Palmgren
abda743f5b Bug 303896 - Refactor AttributeChanged() to follow code style and make it easier to read (no functional change). r=ehsan 2013-07-24 23:03:39 +00:00
Mats Palmgren
976dee9ded Bug 303896 - Turn on displaying the selection when the 'disabled' attr is removed if the element has focus. r=ehsan 2013-07-24 23:03:38 +00:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
35163e629e Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky 2013-07-24 09:37:14 +02:00
Bear Travis
bd6f78fea7 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
L. David Baron
af0d77ef1f Bug 896138 patch 6: Move restyle management code from nsFrameManager to RestyleManager. r=heycam
This is the second of two big chunks of code moved into the new
RestyleManager class from another sources.

Note that the undisplayed map remains in nsFrameManager, although it
could perhaps have moved.
2013-07-20 12:14:25 -07:00
Ryan VanderMeulen
29494254ec Backed out changeset 319da88f992e (bug 893298) for B2G reftest failures. 2013-07-19 13:06:10 -04:00
Bear Travis
119cc532a5 Bug 893298 - Correctly calculate button and button child's desired height to vertically center the child. r=bz 2013-07-18 14:21:47 -07:00
Mina Almasry
dfa6ae2f5f Bug 291082 - preventDefault now blocks keyboard navigation in select-one drop-down lists. r=mounir, r=Neil
This patch makes select drop-down lists respect preventDefault keypress event, and so the select list doesn't process them anymore.
2013-07-19 10:32:51 -04:00
Reuben Morais
48ce7155b0 Backed out changeset 12a2fa9940f4 (bug 893117) 2013-07-18 20:01:54 -07:00
David Zbarsky
b1219acb3f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-18 17:43:38 -07:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Ryan VanderMeulen
d1f6de5610 Backed out changeset 4504582d908c (bug 843003) for Marionette failures. 2013-07-11 11:46:04 -04:00
Mounir Lamouri
3036616524 Bug 843003 - Send events and allow :hover to apply on <button>'s children. r=bz 2013-07-11 10:30:23 -04:00
Ryan VanderMeulen
c9d5a706a1 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders
c3f96258c3 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Bear Travis
e225e34f40 Bug 835873 - Include minHeight calculation before vertically centering a button's children. r=bz 2013-07-10 10:02:47 -04:00
Timothy Nikkel
9918ea9ab1 Bug 890495. Fix comparison of legend position. r=roc 2013-07-05 17:57:13 -05:00
Timothy Nikkel
89a1d139e5 Bug 695763. Part 3. Invalidate the background images of buttons, fieldsets, and mathml chars if they are not decoded and we are asked to do a sync decode. r=matt.woodrow 2013-06-26 11:43:26 -05:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Martijn Wargers
0b4b51d26f Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-06-15 00:13:44 +02:00
Arnaud Sourioux
043b0fd84c Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Timothy Nikkel
dfb5696db1 Bug 876630. The async widget release is no longer needed in nsComboBoxFrame because the view subsystem now does the widget destroy async. r=mats 2013-05-28 12:27:36 -05:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Stephen Pohl
10459bc0a0 Bug 869314: Test for availability of dropmarkers in non-native styled comboboxes when overlay scrollbars are used. r=roc 2013-05-26 15:05:14 -07:00
Stephen Pohl
0cf8e74945 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
2acc2dfcba Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
641baa78c1 Bug 869314 - Test for availability of dropmarkers in non-native styled comboboxes when overlay scrollbars are used. 2013-05-26 14:40:25 -07:00
Stephen Pohl
e41e125889 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Masatoshi Kimura
fad511757b Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug 2013-05-26 06:05:36 +09:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Ryan VanderMeulen
9fad01536a Backed out changeset 4cb1973f06b9 (bug 868439) for Android M2 failures.
CLOSED TREE
2013-05-21 10:48:09 -04:00
Ryan VanderMeulen
26a69bd344 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
89da69d21a Bug 869314 - Test for availability of dropmarkers in non-native styled comboboxes when overlay scrollbars are used. r=roc 2013-05-21 08:27:30 -04:00
Stephen Pohl
79f83908c9 Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-21 08:27:14 -04:00
Martijn Wargers
b4356d38c0 Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-05-21 02:14:06 +02:00
Martijn Wargers
9385c7c771 Bug 682684 - crash test 2013-05-19 18:20:20 +00:00
Mounir Lamouri
7d8984e3e9 Bug 52500 - Allow styling <input type='file'> like any other form control. r=bz
--HG--
rename : layout/reftests/forms/input-file-width-clip-ref.html => layout/reftests/forms/input/file/input-file-width-clip-ref.html
rename : layout/reftests/forms/input-file-width-clip-1.html => layout/reftests/forms/input/file/input-file-width-clip.html
2013-05-17 18:40:14 +01:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Arnaud Sourioux
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Jonathan Watt
64486d6a50 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
L. David Baron
16c60e0095 Backout changeset af5273034fdf (bug 871264), which doesn't compile (didn't fix nsRangeFrame.cpp (and possibly others). 2013-05-13 17:28:47 -07:00
Jonathan Watt
b734363578 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
c8d8188483 Bug 864120 - Use a display list item to create the focus ring for <input type=range>. r=roc 2013-04-22 10:11:56 +01:00
Jonathan Watt
4dbd0683d9 Bug 853525 - Convert much of HTMLInputElement (step handling, validation, events, etc.) to use mozilla::Decimal (a Binary Coded Decimal type) to avoid many rounding issues when it has fractional step values. r=mounir 2013-05-06 00:23:18 +01:00
Bobby Holley
b199afc462 Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor 2013-04-29 11:16:19 -07:00
Mats Palmgren
aa60079743 Bug 865602 - FieldSet block may be null for overflow containers. r=roc 2013-04-29 14:11:03 +02:00
Alexander Surkov
c58428f754 Bug 559764 - make input@type=range accessible, r=tbsaunde, roc, smaug 2013-04-28 09:54:54 +09:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Robert O'Callahan
2817c39fd2 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Mats Palmgren
d2c977dcbe Bug 862185 - Remove child frame members which may become stale and add accessors to get them from the child list instead. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
d8cfabc97a Bug 862185 - Make nsFieldSetFrame reflow and paint overflow container children. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
109767f361 Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Jonathan Watt
9ef6c0c7ad Bug 862518 - Make sure the thumb of <input type=range> with fractional values is drawn at the correct position with Cocoa native theming. r=roc 2013-04-17 00:50:26 +01:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jonathan Watt
53c3041810 Bug 859139 - Allow <input type=range> to keep its native styling when authors set its padding. r=mounir 2013-04-15 06:03:57 +01:00
Jonathan Watt
04978b7d16 Bug 860701 - Check for error in nsRangeFrame::GetValueAtEventPoint so that we don't change the value of <input type=range> when we can't convert an event to a valid point. r=me 2013-04-15 06:01:38 +01:00
Joshua Cranmer
c7aade5e1f Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats 2013-04-11 22:20:45 -05:00
Jonathan Watt
8c75dcc503 Bug 859305 - Stop the browser app from panning the page when the user drags an <input type=range>'s thumb in the out-of-process case. r=smaug 2013-04-11 10:11:54 +01:00
Aryeh Gregor
c446dbef0c Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Masatoshi Kimura
7c989863ee Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Robert O'Callahan
68e0be54fa Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
7cbe6380ff Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
ed8002750e Bug 841192. Part 11: Make nsDisplayOptionEventGrabber be a non-anonymous display item list wrapper. r=mattwoodrow
--HG--
extra : rebase_source : c77c6d8a9385683a5659439793f397be959b277c
2013-03-07 00:08:14 +13:00
Ms2ger
5741bbe7d7 Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLSelectElement.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLSelectElement.h
2013-04-04 09:03:33 +02:00
Mounir Lamouri
bd28e1602c Bug 701353 - Tests that <label> actually activates <input type='file'>. r=smaug 2013-04-03 17:06:19 +01:00
Jonathan Watt
023c73bf41 Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc 2013-04-03 11:07:12 +01:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Felipe Gomes
61fbd4cdca Bug 850213 - Update nsHTMLInputElement to nsIContentPrefService2. r=smaug 2013-03-29 23:08:57 -03:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mounir Lamouri
ae5d0ee136 Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-29 12:32:47 +00:00
Jonathan Watt
3edb315f0b Bug 855048 - nsRangeFrame shouldn't init the "nsReflowStatus frameStatus" that it passes into ReflowChild. r=dholbert 2013-03-29 09:49:53 +00:00
Robert O'Callahan
060456853c Bug 852489. Part 1: Don't create nsDisplayButtonForegrounds for buttons that aren't focused. r=mats
--HG--
extra : rebase_source : 93ad60be2d64345fee5bbdd4553b11b5d8341d18
2013-03-22 15:17:27 +13:00
Ryan VanderMeulen
372ed9fb2e Backed out changeset fa9cde226b2a (bug 839788) for breaking mochitests the same way it did the first time it landed on a CLOSED TREE. 2013-03-28 21:17:42 -04:00
Mounir Lamouri
5b8eb7518f Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Jonathan Watt
517e3b12aa Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc 2013-03-28 20:25:05 +00:00
Andrea Marchesini
65e4f3628b Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04:00
Andrea Marchesini
77ae8010d9 Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
Ryan VanderMeulen
d7d90b559c Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE. 2013-03-28 08:49:04 -04:00
Mounir Lamouri
04c2037b50 Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Jonathan Watt
2c85ff8dcf Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +00:00
Mounir Lamouri
008ad31686 Bug 847233 - Fix a11y with <input type='file'> changes. r=surkov 2013-03-27 11:35:22 +00:00
Mounir Lamouri
c17ed16466 Bug 839834 - Remove nsIFormControlFrame::GetFormProperty. r=bz 2013-02-18 18:21:32 +00:00
Mounir Lamouri
4604f9a9ec Bug 838704 - Show "X files selected" when there are more than one selected file. r=sicking 2013-02-07 13:58:05 +00:00
Mounir Lamouri
afea67f2b1 Bug 838703 - Various nsFileControlFrame cleanup. r=bz 2013-03-22 17:15:13 +00:00
Mounir Lamouri
9e9bb1ef30 Bug 838699 - Move the "Browse" button l10n to nsFileControlFrame.cpp. r=bz 2013-02-09 10:48:20 +00:00
Mounir Lamouri
872e9fab3c Bug 838695 - Move nsFileControlFrame click handling to nsHTMLInputElement. r=smaug
--HG--
rename : content/html/content/test/test_input_file_picker.html => content/html/content/test/forms/test_input_file_picker.html
2013-03-27 11:32:00 +00:00
Mounir Lamouri
3473000c3d Bug 838694 - Move the text showing the file name to the right of the browse button. r=bz 2013-02-09 15:09:14 +00:00
Mounir Lamouri
01c5c4a59d Bug 345195 - Replace the anonymous <input type='text'> in <input type='file'> by a xul:label. r=bz 2013-02-09 14:57:30 +00:00
Mounir Lamouri
fc668339dd Bug 838354 - Remove all capture button references from nsFileControlFrame. r=bz 2013-03-22 17:10:13 +00:00
Daniel Holbert
134870baba Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE 2013-03-26 17:28:14 -07:00
Jonathan Watt
2cdfef6c8b Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +00:00
Jonathan Watt
71d7e34437 Bug 840820 - Make <input type=range> display as a vertical slider if it has an orient="vertical" attribute. r=mounir 2013-03-26 13:54:05 +00:00
Daniel Holbert
c6597c02f3 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00
Mounir Lamouri
bdd72ba9e1 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-22 17:52:52 +00:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Daniel Holbert
26b9a52e57 Bug 842179 followup: fix typo in comment. Comment-only, DONTBUILD 2013-03-20 23:41:32 -07:00
Boris Zbarsky
f1589419f5 Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
1cfe288152 Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures. 2013-03-19 16:44:14 -04:00
Mounir Lamouri
cdeb0510c2 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-19 18:24:35 +00:00
Jonathan Watt
0fbd87a19c Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
Jonathan Watt
953ba29c9c Bug 842179 - Keep the thumb for <input type=range> within its content box. r=dholbert. 2013-03-15 09:04:54 +00:00
Bill McCloskey
8e048462e3 Bug 671976 - Fix print preview asserts (r=smaug) 2013-03-14 12:02:28 -07:00
Gregory Szorc
2c3e072f0a Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Jonathan Watt
13556394b9 Bug 849524 - Avoid reflowing when <input type=range>'s thumb position needs to be updated due to its value changing. r=dholbert 2013-03-13 11:48:27 +00:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ed Morley
a13d2e51fe Backed out changeset 34f280f8fea5 (bug 849524) for crashes on a CLOSED TREE 2013-03-13 13:59:11 +00:00
Jonathan Watt
d0a8c55362 Bug 849524 - Avoid reflowing when <input type=range>'s thumb position needs to be updated due to its value changing. r=dholbert 2013-03-13 11:48:27 +00:00
Trevor Saunders
43728598df bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Frank Yan
61b4e7cee5 Bug 631473 - Don't consume mouse scroll events outside arrow panels on OS X. r=mstange r=enndeakin 2013-03-08 11:48:48 -08:00
Jonathan Watt
210bd9128b Bug 846380 - Add support for dragging of <input type=range>'s thumb using mouse/touch events. r=smaug, r=mounir. 2013-03-08 09:40:12 +00:00
Timothy Nikkel
97cf0d01f7 Bug 847850. Redirect all display item lists to the content list inside of text control frames so no content can escape out to mingle with the rest of the page content. r=roc 2013-03-06 23:13:13 -06:00
Phil Ringnalda
7fbba09df0 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
3de595d32e bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
L. David Baron
b1952d614a Bug 671976: Tweak timing in the hopes of forcing the assertion to stay before TEST-END on Linux32; add additional leakage of expected assertions for Windows. 2013-03-01 19:40:43 -08:00
Trevor Saunders
60678a2f23 bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
L. David Baron
5bc7385767 Bug 671976: Add SpecialPowers.gc() calls so bug 671976 assertions show up in correct tests, and correctly annotate assertions. 2013-02-28 23:46:54 -08:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
2f35b94a0e Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
L. David Baron
239da2d4cf Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
L. David Baron
b165fbac2e Bug 404077: Adjust annotations of expected assertions. 2013-02-27 16:26:50 -08:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00