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
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