L. David Baron
f5573cbd2e
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
9e7a3546cf
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
2263908c8e
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
1192ef8bd9
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
2216ab517e
Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug
2012-05-29 02:50:42 +02:00
Mats Palmgren
2a158bc2dc
Bug 575294. part=3/4 r=roc
2012-05-29 02:50:42 +02:00
Mats Palmgren
dc3d62b358
Bug 575294. part=2/4 r=smaug,roc
2012-05-29 02:50:42 +02:00
Mats Palmgren
50f5390d40
Bug 726264. r=smaug
2012-05-29 02:50:42 +02:00
Frank Yan
b8a2728ea9
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Ed Morley
2c6d4574a6
Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184
2012-05-24 14:12:19 +01:00
Frank Yan
2359c0ae04
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Ed Morley
f0346ff780
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
3ab78f01f9
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
748b51ab99
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
11f5c76522
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
e93bdbfeeb
Bug 756229 - Fix some layout warnings. r=roc
2012-05-18 11:42:39 -04:00
Oleg Romashin
936b7eea85
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
ed5d3bf079
Bug 722599 - Move change event firing to content from layout r=mounir
2012-05-07 12:27:24 -04:00
L. David Baron
8e2d262657
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
635428fcdd
Backout f8125b89352d (bug 747857) for frequent test failures
2012-05-04 15:24:42 +01:00
L. David Baron
d2b33df467
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
0a7ff20ae3
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
7c5f8ba182
Bug 740743 - Implement CSS overflow for <legend>. r=bz
2012-04-13 17:52:13 +02:00
Robert O'Callahan
833e8a244f
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
acf546c04a
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
ce6dc9863d
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
0105438b09
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
bc861fa127
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Nathan Froyd
7adb7a65ea
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Andrew Quartey
7024a3301a
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
c6703a91ee
Bug 709448 - File input click() handling should perhaps allow openControlled popups; r=bz
2011-12-21 18:03:52 +01:00
Paul O’Shannessy
06dc53995a
Bug 539601 - [OS X] window.sizeMode incorrect when using full screen mode [r=mstange]
2012-02-08 11:59:18 -08:00
Panagiotis Koutsourakis
583eb38038
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
e33c507ea5
Bug 706889 - Apply font-inflation to checkboxes and radio buttons. r=dbaron
2012-01-30 18:48:46 +01:00
L. David Baron
d789ef0b1b
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
0ce777d92e
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
a371dc7830
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
266acf7d93
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
d13d62c3a3
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
940decf815
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
785e84c27d
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Santiago Gimeno
c5a094d7d4
Bug 710292 - Add a common HTMLSplitOnSpacesTokenizer tokenizer. r=khuey
2012-01-04 05:08:00 -05:00
Robert O'Callahan
755acd5237
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
90f2a086a4
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
ed9045b960
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
ecaac9ba30
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Geoff Lankow
eb732e76d2
Bug 712518 - Improve MockFilePicker.jsm; r=jmaher
2011-12-23 11:10:52 +13:00
Phil Ringnalda
3cce1527f8
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
79559534b7
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