Bobby Holley
00bcee83e8
Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8
2012-09-11 01:05:10 -07:00
Andrew McCreight
e833ece4f7
Bug 775868, part 1: make tests access DomWinUtils via SpecialPowers. r=smaug
2012-09-10 12:43:45 -07:00
Ryan VanderMeulen
bdca80da9c
Backout bug 788914 and bug 789494 because they were backed out on inbound.
2012-09-07 19:40:57 -04:00
Bobby Holley
1743880368
Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8
2012-09-07 11:28:56 -07:00
Mats Palmgren
90308eda3d
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
920c5474b3
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
bdd656ebd3
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
8ec001feea
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
0fd9123eac
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
db958503bc
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
6ae40bb347
Bug 731307 - Async filepicker test changes. r=roc
2012-08-17 11:35:01 -04:00
Mats Palmgren
6a7102e955
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
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ms2ger
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
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
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Cameron McCormack
ba7efb66ff
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
f41c8a5fe8
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Aryeh Gregor
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Wes Johnston
9f5ee4bbb4
Bug 773741 - Test using touch events on resizers. r=enn
2012-07-27 15:01:13 -07:00
Elika Etemad
e1c5081ab6
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
Rafael Ávila de Espíndola
4c2f8f408c
Bug 774038 - remove unused field. r=roc.
2012-07-15 00:18:01 -04:00
Aryeh Gregor
b0041eadcc
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
Nathan Froyd
a7eb97f896
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Aryeh Gregor
09a0d8a8a6
Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan
2012-06-19 16:23:36 +03:00
Ehsan Akhgari
5e6974df88
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Charly Molter ext:(%20and%20Alexandre%20Dumont%20%3CAlexandre%20Dumont%20%3E)
f924084c27
Bug 716875 - Make nsTextControlFrame inherits from nsContainerFrame instead of nsStackFrame. r=roc,bz
2012-06-23 13:11:00 +02:00
Mats Palmgren
0cdf1d13a9
Bug 575294 - s/mFocused/sFocused/. part=5/5 r=smaug
2012-06-23 03:13:56 +02:00
Mats Palmgren
e77c8dbeb1
Bug 575294. part=4/5 r=roc
2012-06-23 03:13:56 +02:00
Mats Palmgren
668b20a445
Bug 575294. part=3/5 r=roc
2012-06-23 03:13:56 +02:00
Mats Palmgren
03bbad1b02
Bug 575294. part=2/5 r=smaug,roc
2012-06-23 03:13:56 +02:00
Mats Palmgren
b02aab305a
Bug 726264. r=smaug
2012-06-23 03:13:56 +02:00
Ehsan Akhgari
f50c2ec7a7
Bug 762764 - Prevent selection from descending into text boxes when extending it for things like caret navigation and extension for deletion; r=roc
2012-06-19 19:31:03 -04:00
Ehsan Akhgari
8a54f4db7a
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Ehsan Akhgari
7a041e9a4b
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
9c1d160da3
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Aryeh Gregor
6865bb0c16
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Mounir Lamouri
8ab72ab455
Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger
2012-06-07 20:47:44 +02:00
Aryeh Gregor
b36b8ee24e
Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan
2012-06-07 18:00:58 +03:00
Mounir Lamouri
8c421a5c03
Bug 760848 - Make select.size reflection follow the specifications. r=smaug
2012-06-07 01:27:53 +02:00
Ehsan Akhgari
c6218431ee
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Mounir Lamouri
7918a94d90
Bug 686886 - Port bug 680747 and bug 680518 to nsMeterFrame. r=roc
2012-06-05 22:15:46 +02:00
Arnaud Bienner
327842ee1f
Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir
2012-06-06 14:16:58 +02:00
Geoff Lankow
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
L. David Baron
c0710aeffc
Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc
2012-06-04 16:26:30 -07:00
L. David Baron
88c9e5abd4
Remove unused member variable from nsGfxButtonControlFrame. No bug.
2012-06-05 15:52:28 -07:00
Mounir Lamouri
db5564d5d2
Bug 663365 - Implement the rules for the fallback to the default rendering for the meter element. r=roc
...
--HG--
rename : widget/reftests/progressbar-fallback-default-style-ref.html => widget/reftests/meter-fallback-default-style-ref.html
rename : widget/reftests/progressbar-fallback-default-style.html => widget/reftests/meter-fallback-default-style.html
2012-05-16 18:31:01 +02:00
Mats Palmgren
37020cf426
Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c)
2012-06-03 18:05:00 +02:00
Mats Palmgren
1b70f71e59
Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug
2012-06-02 01:41:54 +02:00
Mats Palmgren
2e6a4d1853
Bug 575294. part=3/4 r=roc
2012-06-02 01:41:54 +02:00
Mats Palmgren
b5a9cb7c4a
Bug 575294. part=2/4 r=smaug,roc
2012-06-02 01:41:54 +02:00
Mats Palmgren
9e1fb04d65
Bug 726264. r=smaug
2012-06-02 01:41:54 +02:00
L. David Baron
06fa5d4558
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
09d883079b
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
Phil Ringnalda
7b9a678b28
Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243
2012-05-28 22:48:52 -07:00
Trevor Saunders
3b1f9183dc
bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Mats Palmgren
72c9b49158
Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug
2012-05-29 02:50:42 +02:00
Mats Palmgren
ab42326d3a
Bug 575294. part=3/4 r=roc
2012-05-29 02:50:42 +02:00
Mats Palmgren
137ded563d
Bug 575294. part=2/4 r=smaug,roc
2012-05-29 02:50:42 +02:00
Mats Palmgren
cdedb17e80
Bug 726264. r=smaug
2012-05-29 02:50:42 +02:00
Vincent LAMOTTE
bcc3cf4e81
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Frank Yan
0a903d1211
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Ed Morley
019cfa6b7f
Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184
2012-05-24 14:12:19 +01:00
Frank Yan
4483e800c1
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Ed Morley
c5acb642c1
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
54995e2a8e
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
0958cb6113
Fix call to wrong method (passing nscoord as enum). (Bug 747720, patch 4) r=roc
2012-05-20 22:18:27 -07:00
L. David Baron
88a762e752
Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
2012-05-20 22:18:27 -07:00
David Zbarsky
dc658d2398
Bug 756229 - Fix some layout warnings. r=roc
2012-05-18 11:42:39 -04:00
Oleg Romashin
9ed6321b8b
Bug 681192. Part 3: Make nsListControlFrame::ScrollToFrame use ScrollFrameRectIntoView. r=roc
...
--HG--
extra : rebase_source : c9e0fbbd024e9fe15ca0e2dc0bad1ef90aa51edd
2012-02-07 12:21:13 -08:00
Andrew Quartey
783825908b
Bug 722599 - Move change event firing to content from layout r=mounir
2012-05-07 12:27:24 -04:00
L. David Baron
b61149484a
Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
...
--HG--
extra : transplant_source : %82%DCX%81%B2%AAM%A3%A1%A1-%87%10%B3%B6%10kw%F4%FB
2012-05-05 15:24:45 +02:00
Ed Morley
3c9ca1882b
Backout f8125b89352d (bug 747857) for frequent test failures
2012-05-04 15:24:42 +01:00
L. David Baron
39891d906d
Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
...
--HG--
extra : transplant_source : %1F%7B%3Fk%A6%F1%2C%EAZ%920%FB%FD%FB%3D%8E%9C%C9y%19
2012-05-03 20:04:30 -04:00
Masayuki Nakano
e7f63293af
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
d473f3d2f0
Bug 740743 - Implement CSS overflow for <legend>. r=bz
2012-04-13 17:52:13 +02:00
Robert O'Callahan
d0dd680745
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
2ab8e3fb4a
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
7dcfb057c4
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
19ffa38879
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
6fca6aec5e
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Nathan Froyd
72e8d1d540
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Andrew Quartey
cfe294b170
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
44102832a0
Bug 709448 - File input click() handling should perhaps allow openControlled popups; r=bz
2011-12-21 18:03:52 +01:00
Paul O’Shannessy
add8175faf
Bug 539601 - [OS X] window.sizeMode incorrect when using full screen mode [r=mstange]
2012-02-08 11:59:18 -08:00
Panagiotis Koutsourakis
791aa57b19
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
5a665a0956
Bug 706889 - Apply font-inflation to checkboxes and radio buttons. r=dbaron
2012-01-30 18:48:46 +01:00
L. David Baron
5eb8920348
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
185e4fa106
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
0a52de4032
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
22535fdd91
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
cb70f28632
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
65cb5fcc01
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
e96cf389ad
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Santiago Gimeno
5aab353df7
Bug 710292 - Add a common HTMLSplitOnSpacesTokenizer tokenizer. r=khuey
2012-01-04 05:08:00 -05:00
Robert O'Callahan
0fb0f8bbd4
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
bd7a9e74d3
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
43c26f035d
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
9cc6cc3865
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Geoff Lankow
48d0dde864
Bug 712518 - Improve MockFilePicker.jsm; r=jmaher
2011-12-23 11:10:52 +13:00
Phil Ringnalda
3f8c5b26b0
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
47ef4c8154
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
4ef3f032b5
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
91b4e4faac
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
d82ad83346
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
5aaeb19ce0
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Masayuki Nakano
0cf8dbff4b
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
d58d4c93bf
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
0634d40194
Bug 703500 nsFileControlFrame should listen all events in system group r=smaug
2011-11-29 13:39:21 +09:00
L. David Baron
abb8d1c39a
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
4053e3de9f
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
006c23c9fe
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
d9aaa20642
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
fb732c5149
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
fbf62da75f
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
9040cadeb5
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
9b80fd4f04
Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc
2011-11-08 14:59:07 -05:00
Ed Morley
6a998be2c5
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
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Geoff Lankow
05b39c14b0
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
567f4260b6
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Timothy Nikkel
6744e4ecfa
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
79abab2e7b
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Timothy Nikkel
332c11b9c9
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
a86b1a4d43
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
ab16fdd5c9
Backout 8db8c9ce92c5 (bug 694213).
2011-10-18 00:41:10 -05:00
Timothy Nikkel
5b00acba12
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
2a602a5685
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
2542e9ee89
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
5dfaeea5b1
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
2315871db3
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
82c43f09d4
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
c15d8c0733
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
d8e503c38b
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
6a04618807
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é
55b6689851
Bug 593891 - Part 2 : Use a different title for the capture picker [r=mfinkle]
2011-09-26 17:25:41 -07:00
Randell Jesup
b20b338621
Bug 682684: handle frames being deleted when running EditorInitializer when under scriptblocker r=roc
2011-09-19 23:14:47 -04:00
Timothy Nikkel
e40587206f
Bug 599938. Fix bustage.
2011-09-18 13:20:09 -05:00
Timothy Nikkel
874f629681
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
d9869bfccf
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Ehsan Akhgari
65284bfed6
Bug 682041 followup - Add the missing return statement; r=need-to-learn-C++
2011-09-08 20:08:40 -04:00
Ehsan Akhgari
f09ee1df97
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
0038e2e573
Bug 684807 - Annotate crashtest assertions on Android; r=philor
2011-09-06 18:35:43 +02:00
Ms2ger
b12351fbda
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Mats Palmgren
6894179e71
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
90d0315f85
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
7867b8d495
Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron
2011-08-23 00:30:33 +02:00
Mounir Lamouri
385690f551
Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc
2011-08-22 15:00:24 +02:00
Malini Das
a0832b693a
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
e306b1b5aa
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
9414376b01
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Matt Brubeck
214dcfc0fc
Merge last green changeset on m-c to mozilla-inbound
2011-08-08 14:21:41 -07:00
Ms2ger
e2080fcb25
Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz
2011-08-08 17:14:33 +02:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Karl Tomlinson
e9936c5c73
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
473351faa5
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
2bee25de63
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
2f51d73796
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
858a1bbfc2
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
706be3a5e8
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
c3a05191bb
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
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Marco Bonardo
cc45fb85d1
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-20 15:04:30 +02:00
Dão Gottwald
dd50273c6a
Fix for undefined Ci/Cr/Cu in layout/forms/test/test_bug536567.html
2011-07-20 12:02:00 +02:00
Dão Gottwald
640abb2979
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
d4380b0d71
Bug 664061: Remove isindex code from layout. r=dbaron
2011-07-19 17:22:01 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6
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
d2f5a3b4c3
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-18 17:05:10 -07:00
Joe Drew
b8cb1d3a4e
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
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Randell Jesup
ee25f8248d
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
5493695d98
Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange
2011-07-11 17:49:03 -07:00
Geoff Lankow
2ebe71ef6e
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
c268116c9b
disable test_bug665540.html on WINNT due to what is probably bug 670053
2011-07-11 22:09:38 +12:00
Karl Tomlinson
0f704c0e51
test for bug 665540
...
--HG--
extra : rebase_source : 9581cbad606a99cd89d975cb5ac4e5c207c855aa
2011-07-08 11:06:54 +12:00
Olli Pettay
209c56c874
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
12fc18f115
Bug 664058: Remove AddEventListenerByIID/RemoveEventListenerByIID from nsFileControlFrame. r=smaug
2011-06-29 11:07:57 -07:00
Jonas Sicking
b2a42d9f49
Bug 664058: Remove Add/RemoveEventListenerByIID from nsComboboxControlFrame. r=smaug
2011-06-29 11:07:25 -07:00
Jonas Sicking
ec090797b7
Bug 664058: Remove Add/RemoveEventListenerByIID from nsListControlFrame. r=smaug
2011-06-29 11:07:25 -07:00
Jonas Sicking
5e5e6bd544
Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
864793d608
Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug
2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb
Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Boris Zbarsky
75eae9e4e4
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
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Ms2ger
a2b407958f
Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv
2011-06-11 09:52:24 +02:00
Geoff Lankow
c35dfb3dbb
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
af81ce3c72
Merging cedar with mozilla-central.
2011-06-03 12:06:08 +02:00