Commit Graph

1132 Commits

Author SHA1 Message Date
David Zbarsky
f2ea7c733f Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
4fa5d9c4b0 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
c882d5964c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky
93caf8a63e backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
c59f81b1cd Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
aa2fc03e9f Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
290d2c27a6 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
Nicholas Cameron
a2cdf1ab09 Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
David Zbarsky
0d3882f4c1 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0ee6634734 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
46494d4c25 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
Mats Palmgren
2c6909af5c 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
468d8f7ad9 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
e7a1591617 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
c0f4042be1 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
f5f797620a 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
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
c08467345c Bug 893909 - Part i: Cleanup SetOptionsSelectedByIndex; r=dzbarsky 2013-07-24 09:37:14 +02:00
Bear Travis
6f045b9402 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
33de67ec1b 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
be149b5b0f Backed out changeset 319da88f992e (bug 893298) for B2G reftest failures. 2013-07-19 13:06:10 -04:00
Bear Travis
1ac69282f5 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
ccc6254097 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
103d0db08f Backed out changeset 12a2fa9940f4 (bug 893117) 2013-07-18 20:01:54 -07:00
David Zbarsky
a4a1afd962 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-18 17:43:38 -07:00
Trevor Saunders
238525e2d8 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
48b25b0add Backed out changeset 4504582d908c (bug 843003) for Marionette failures. 2013-07-11 11:46:04 -04:00
Mounir Lamouri
4505c3bea8 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
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Bear Travis
99dbad44b9 Bug 835873 - Include minHeight calculation before vertically centering a button's children. r=bz 2013-07-10 10:02:47 -04:00
Timothy Nikkel
431c0ca32b Bug 890495. Fix comparison of legend position. r=roc 2013-07-05 17:57:13 -05:00
Timothy Nikkel
424910d9f9 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
ed17339221 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
e36a806dd2 Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-06-15 00:13:44 +02:00
Arnaud Sourioux
ae5aa58dbc Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Timothy Nikkel
578e7a98db 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
6f32ddf61c 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
4bdaf2913e 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
7546829bc2 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
0e3edb584a Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
599e68fbd2 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
622d3dddfd 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
407e00e58c Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug 2013-05-26 06:05:36 +09:00
Bobby Holley
ba05c93769 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
88a926596c Backed out changeset 4cb1973f06b9 (bug 868439) for Android M2 failures.
CLOSED TREE
2013-05-21 10:48:09 -04:00
Ryan VanderMeulen
1279992a7b Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
96051cdd24 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
4437e01248 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
8d347b2743 Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-05-21 02:14:06 +02:00
Martijn Wargers
1bfbe941cb Bug 682684 - crash test 2013-05-19 18:20:20 +00:00
Mounir Lamouri
c1e03641e2 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
47d7af59de 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
a57d318afa Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Jonathan Watt
58c479c7c9 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
3d95aa6df4 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
4f3640a8c0 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87 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
d8a27f177a 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
473d23052d 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
1ebbd86c0f Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor 2013-04-29 11:16:19 -07:00
Mats Palmgren
d29548fd77 Bug 865602 - FieldSet block may be null for overflow containers. r=roc 2013-04-29 14:11:03 +02:00
Alexander Surkov
2c321e2147 Bug 559764 - make input@type=range accessible, r=tbsaunde, roc, smaug 2013-04-28 09:54:54 +09:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
David Zbarsky
a0911f7978 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Robert O'Callahan
a7a41f0415 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Mats Palmgren
5027d39d5d 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
9c02ab8b6e Bug 862185 - Make nsFieldSetFrame reflow and paint overflow container children. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
c538e42a6e 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
4d5a993f2a 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
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jonathan Watt
b467ddc5c9 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
c402225cbc 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
c763b1352e 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
466a857ecf 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
f9e1831a55 Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Masatoshi Kimura
2ca51c4f79 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
865de96db7 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
04e9887192 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
95b09ae9cb 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
3ab3b93918 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
5553219052 Bug 701353 - Tests that <label> actually activates <input type='file'>. r=smaug 2013-04-03 17:06:19 +01:00
Jonathan Watt
0bcbb8475c 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Felipe Gomes
04b26e63a2 Bug 850213 - Update nsHTMLInputElement to nsIContentPrefService2. r=smaug 2013-03-29 23:08:57 -03:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
8d952d99ee Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-29 12:32:47 +00:00
Jonathan Watt
69b4a80dbe 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
590e667243 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
541c7cafe0 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
aa5643ad17 Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Jonathan Watt
6759296438 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
f824be6f86 Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04:00
Andrea Marchesini
716d484c78 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
3f7ca54cce Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE. 2013-03-28 08:49:04 -04:00
Mounir Lamouri
83edc3d65a Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Jonathan Watt
df50dd8f1a 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
815d90f4bf Bug 847233 - Fix a11y with <input type='file'> changes. r=surkov 2013-03-27 11:35:22 +00:00
Mounir Lamouri
598ed4adc1 Bug 839834 - Remove nsIFormControlFrame::GetFormProperty. r=bz 2013-02-18 18:21:32 +00:00
Mounir Lamouri
dd8125c7b2 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
c4bd2c33a0 Bug 838703 - Various nsFileControlFrame cleanup. r=bz 2013-03-22 17:15:13 +00:00
Mounir Lamouri
eb95b3121d Bug 838699 - Move the "Browse" button l10n to nsFileControlFrame.cpp. r=bz 2013-02-09 10:48:20 +00:00
Mounir Lamouri
6aff8cae54 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
015fff5203 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
bf67780213 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
0be12ded38 Bug 838354 - Remove all capture button references from nsFileControlFrame. r=bz 2013-03-22 17:10:13 +00:00
Daniel Holbert
cbbe610823 Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE 2013-03-26 17:28:14 -07:00
Jonathan Watt
51073c5def 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
162f23f8fc 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
cdb46fbf89 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
d15e867cca Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-22 17:52:52 +00:00
David Zbarsky
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Daniel Holbert
8d901c5a86 Bug 842179 followup: fix typo in comment. Comment-only, DONTBUILD 2013-03-20 23:41:32 -07:00
Boris Zbarsky
462f47d89e Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
aec7121812 Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures. 2013-03-19 16:44:14 -04:00
Mounir Lamouri
60dbe0f770 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-19 18:24:35 +00:00
Jonathan Watt
02ce4ceb97 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
f7c6a3dded 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
3120dcefb5 Bug 671976 - Fix print preview asserts (r=smaug) 2013-03-14 12:02:28 -07:00
Gregory Szorc
9569d6e356 Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Jonathan Watt
56dbcc42a1 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
3d694a85c0 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
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 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
febcbd1cbf Backed out changeset 34f280f8fea5 (bug 849524) for crashes on a CLOSED TREE 2013-03-13 13:59:11 +00:00
Jonathan Watt
d540924bc3 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
2bffe03733 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Frank Yan
7ba43f5dba 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
96c995755b 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
b190588749 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
31d866ff72 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
L. David Baron
cfe687e13f 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
1a20d1b3c3 bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
L. David Baron
153a691df4 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
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
27c42e83c6 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
803629b9c6 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
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
4f23f29382 Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
L. David Baron
ff34707a75 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
L. David Baron
9bc6e8d039 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 16:26:50 -08:00
L. David Baron
05d5d9dfa9 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Martijn Wargers
71b7bbeaec Bug 378369 - Crash test. 2013-02-23 11:38:13 +01:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ehsan Akhgari
08ba6f9b51 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
486f369f1f Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Timothy Nikkel
0ddcc4adc5 Bug 843979. Only add the in popup state bit to list control frames when they are in dropdown mode. r=mattwoodrow 2013-02-22 01:38:06 -06:00
Ehsan Akhgari
b855a12fa5 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Trevor Saunders
0900a6537c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Jonathan Watt
1f9781abbd Bug 842128 - Don't call nsLayoutUtils::GetFontMetricsForFrame in nsProgressFrame::ComputeAutoSize. r=dbaron. 2013-02-19 12:48:46 +00:00
Jonathan Watt
359cbab994 Bug 842158 - Make <input type=range> honor the 'direction' property. r=dholbert. 2013-02-17 21:40:26 +00:00
L. David Baron
5ef4421fa5 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Jonathan Watt
05055eec39 Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset. 2013-02-16 17:57:21 +00:00
Wes Johnston
daa8624c27 Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff. 2013-02-16 17:57:21 +00:00
Robert O'Callahan
013943dc4f Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
a2485753ff Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
L. David Baron
b387f0fbea Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Daniel Holbert
080169141a Bug 836954: Mark nsIFrame::GetBaseline() impls as MOZ_OVERRIDE. r=dbaron 2013-02-11 17:52:55 -08:00
Mats Palmgren
73bf8e67cc Bug 813442 - Remove useless do_QueryFrames and null checks. r=roc 2013-02-05 18:19:15 +01:00
Mats Palmgren
2e75758b6d Bug 813442 - CaptureRollupEvents(false) before calling anything that can destroy us. r=roc 2013-02-05 18:19:15 +01:00
Mats Palmgren
3b2a23ea54 Bug 813442 - Do the DestroyWidget() synchronously with a strong ref on the widget so that it's not deleted, drop the ref asynchronously later. r=roc 2013-02-05 18:19:15 +01:00
Daniel Holbert
dc869880a7 Bug 836957 part 2: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .cpp files. r=mats 2013-02-04 08:17:20 -08:00
Jonathan Watt
311968ccaf Bug 835883 - Give the -moz-orient property an 'auto' value, and make that its initial value. r=dholbert. 2013-02-02 19:13:22 +01:00
Mounir Lamouri
294b57c3ed Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in layout/. r=bz 2013-01-23 19:37:17 +00:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Andrew Halberstadt
c7a85c20ae Bug 834382 - Disable failing b2g emulator crashtests, r=jgriffin 2013-01-24 15:07:07 -05:00
Nathan Froyd
152e9edc71 Bug 715376 - update MockFilePicker.init() to take a window for event dispatching purposes; r=jmaher 2012-10-16 17:39:32 -04:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Robert O'Callahan
a9f8b202ea Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
9abe8bbe09 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Robert O'Callahan
106f5d95d1 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Andres Hernandez
129db263f5 Bug 806729 - Port test_bug536567.html to the new per-tab PB APIs; r=jdm
--HG--
rename : layout/forms/test/test_bug536567.html => layout/forms/test/test_bug536567_perwindowpb.html
2013-01-03 11:45:40 -06:00
Ed Morley
fa5edb7d3c Backout 1f2978b28ca2 (bug 36567) for failures in test_bug536567_perwindowpb.html on a CLOSED TREE 2013-01-02 21:35:13 +00:00
Andres Hernandez
f9fc54a32b Bug 806729 - Port test_bug536567.html to the new per-tab PB APIs; r=jdm
--HG--
rename : layout/forms/test/test_bug536567.html => layout/forms/test/test_bug536567_perwindowpb.html
2013-01-02 10:42:22 -06:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Daniel Holbert
d6751f8de2 (no bug) Fix 2 comment typos: s/scrol/scroll/ in "scrolbar" and "ScrolLeft". Comment-only, DONTBUILD 2012-12-21 00:38:49 -08:00
Alexander Surkov
fae1108201 Bug 810572, part 2.5 - rename AccType constants again, r=tbsaunde, sr=roc 2012-12-18 10:25:52 +09:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Alexander Surkov
5801a37df4 Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc 2012-12-12 19:04:12 +09:00
Ehsan Akhgari
f8a4eaa8f3 Bug 806729 - Part 0: Don't run test_bug536567.html in per-window PB builds 2012-12-06 00:35:50 -05:00
Robert O'Callahan
64eabc5eba Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
Daniel Glazman
e8b28e1b27 Bug 811679 - Add nsIEditorObserver back; r=ehsan 2012-11-14 11:23:35 -08:00
Ehsan Akhgari
27d839024f Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
Peter Van der Beken
ce50619032 Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Mounir Lamouri
da6e093826 Bug 807613 - Add a pref to make the placeholder disappear when a text field is focused. r=bz 2012-11-09 10:32:58 +00:00
Mounir Lamouri
e6173e597b Bug 809585 - Remove nsITextControlFrame::GetTextLength. r=bz 2012-11-09 10:32:01 +00:00
Mounir Lamouri
814916f44b Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan 2012-11-09 10:31:34 +00:00
Mounir Lamouri
7bf1a0c5fe Bug 737786 - 5/5 - Add pointer-events: none; in ::-moz-placeholder styling and test it. r=bz 2012-11-09 10:27:03 +00:00
Mounir Lamouri
e021a7f583 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
Mounir Lamouri
6955c37132 Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz 2012-11-09 10:22:29 +00:00
Daniel Holbert
373b4bed60 Bug 806001: Make nsListControlFrame pass a nsDidReflowStatus instead of a nsReflowStatus in its DidReflow calls. r=dbaron 2012-11-08 17:27:48 -08:00
Mats Palmgren
6cc0930e46 Bug 805153 - Check with the focus manager if our *content* is already focused. r=roc 2012-11-02 01:52:59 +01:00
Mats Palmgren
01cc61dab4 Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc 2012-11-02 01:52:59 +01:00
Mats Palmgren
884cb6ddb8 Bug 806364 - Calculate dropdown height based on number of child frames for <option>s and <optgroup>s with non-empty label, instead of GetNumberOfOptions() which only includes <option> nodes. r=roc 2012-10-31 23:00:36 +01:00
Mats Palmgren
509fcab5bf Bug 803995 - Dispatch an nsAsyncRollup event (that calls RollupFromList) only if we're dropped down since otherwise it might reset mouse capturing for other content. r=roc 2012-10-31 06:10:38 +01:00
Mats Palmgren
2cedc9a480 Bug 807174 - Drop-down list used inside a frameset document renders outside the frame. r=roc 2012-10-31 06:10:38 +01:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Neil Deakin
88623b8f02 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Matt Woodrow
b280c405c4 Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc 2012-10-25 12:04:41 +13:00
Olli Pettay
efe22ceaf9 Bug 802985, PreDestroy editor, r=ehsan 2012-10-20 21:48:34 +03:00
Daniel Holbert
7d881449a1 Bug 542039 followup: Replace "namespace ... = mozilla::..." with "using namespace mozilla", to fix build error w/ --disable-accessibility. rs=tbsaunde 2012-10-15 15:44:34 -07:00
Trevor Saunders
31db47e358 bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
David Zbarsky
d70685476e [Bug 799407] Fix build warnings in layout r=roc 2012-10-10 01:00:05 -04:00
Jesse Ruderman
1964ca2b67 Fix typo. No bug, DONTBUILD. 2012-10-04 23:12:15 -07:00
Jesse Ruderman
895467e126 Remove trailing whitespace. No bug, DONTBUILD. 2012-10-04 23:12:15 -07:00
Nathan Froyd
5375444878 Bug 796129 - remove prtypes #includes in layout/ 2012-10-01 17:12:57 -04:00
Kyle Huey
1ccfbe810b Bug 760331: Coalesce data for inline style across nodes. r=bz
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules.  MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit).  This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley.  A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet.  MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache.  This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.

The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value.  This can happen easily with large pages that are automatically generated.  An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change.  Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node.  Eliminating duplicate style rules enables further savings in layout through style context sharing.  The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.

Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules.  We also do not attempt to share MiscContainers when the node's base URI differs from the document URI.  The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Robert O'Callahan
a350224ed9 Bug 770106. nsDisplayButtonBorderBackground should use the button's border-box for hit-testing, not its visual overflow area. r=mattwoodrow 2012-09-28 23:19:38 +12:00
Matt Woodrow
1d675c61d6 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Matt Woodrow
cc33f42c8a Bug 539356 - Part 9b - Add new frame invalidation API. r=roc 2012-08-29 17:39:01 +12:00
Matt Woodrow
c900597192 Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc 2012-08-29 17:39:01 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Mark Capella
3ea938ca2a Bug 785091 - Remove nsIEditorObserver, r=ehsan 2012-09-17 11:14:56 -04:00
Peter Van der Beken
d21c8a19b6 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Ms2ger
9c7def14f2 Bug 788491 - Remove kSizeNotSet constants; r=roc 2012-09-17 10:37:20 +02:00
Matt Woodrow
5e4a9f531a Bug 788044 - Make transformed frames the reference frame for their display list tree. r=roc 2012-09-16 22:32:59 +12:00
Arnaud Sourioux
b20a9a4654 Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron 2012-09-14 09:10:08 -07:00
Andrew Quartey
d4c82a3e4a Bug 786172 - Fire change event for file dropped on file select box r=mounir 2012-09-14 10:38:04 -04:00
Arnaud Bienner
ada732679d Bug 790093 - Remove unnecessary const_cast in nsGfxButtonControlFrame.cpp. r=sicking 2012-09-11 11:26:29 +01:00
Bobby Holley
e04e482496 Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-11 01:05:10 -07:00
Andrew McCreight
0e9f97bd16 Bug 775868, part 1: make tests access DomWinUtils via SpecialPowers. r=smaug 2012-09-10 12:43:45 -07:00
Ryan VanderMeulen
2ff849733d Backout bug 788914 and bug 789494 because they were backed out on inbound. 2012-09-07 19:40:57 -04:00
Bobby Holley
1aba2e3bc2 Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-07 11:28:56 -07:00
Mats Palmgren
955816d1f7 Bug 783405 - Remember the y-positions used for estimating space above and below for the dropdown. r=smaug,roc 2012-09-06 02:17:57 +02:00
Aryeh Gregor
5cb11391e0 Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz 2012-08-07 17:58:47 +03:00
Boris Zbarsky
0e7df9c9c0 Bug 782660. Resizing a text control frame with borders should invalidate the borders as needed. r=roc 2012-08-29 01:14:46 -04:00
Boris Zbarsky
6203f67c1c Bug 785754. Fix handling of max-height for frame classes that still seem to think that the mComputedMinHeight/mComputedMaxHeight of a reflow state are border-box heights, not content-box heights. r=mats 2012-08-27 15:46:23 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Charly Molter
4bba69d18c Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Brian R. Bondy
641186f842 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Mats Palmgren
6e3c8e31f2 Bug 780661 - Update mDropdownCanGrow also when the position is currently outside viewport to allow a resize later at a different position. Also, don't call PositionFrameView unless the position really changed to avoid infinite number of calls to AbsolutelyPositionDropDown (via nsResizeDropdownAtFinalPosition event from NotifyGeometryChange). r=roc 2012-08-15 04:28:23 +02:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Cameron McCormack
d63a0ddfaa Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Cameron McCormack
b71d455883 Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc 2012-08-02 21:38:49 +10:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Wes Johnston
cb7d05f880 Bug 773741 - Test using touch events on resizers. r=enn 2012-07-27 15:01:13 -07:00
Elika Etemad
3f96075308 Bug 774835: Refactor nsHTMLReflowState::ApplyMinMaxConstraints to separate behavior of width and height. [r=roc]
--HG--
extra : rebase_source : c6a25e9c19c65d86013ddf8afc15026ca02321c4
2012-07-18 10:26:05 -04:00