Commit Graph

11782 Commits

Author SHA1 Message Date
Timothy Nikkel
98438c72bb Bug 668437. Part 4. Add an API to widgets for resizing/moving the client area. r=jimm sr=roc 2011-12-01 13:56:42 -06:00
Timothy Nikkel
595b66e4e0 Bug 668437. Part 2. When placing popup widgets check if the client offset of the window has changed in addition to the top left of the window. r=enndeakin 2011-12-01 13:56:41 -06:00
Timothy Nikkel
8167fe7623 Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin 2011-12-01 13:56:41 -06:00
Boris Zbarsky
0867046dc6 Fix test to not depend on hover state. No bug. r=roc. 2011-12-03 03:29:59 -05:00
Bernd
16a8e4e619 bug 705996 - the damageArea should only be set once the columns are in shape r=mats 2011-12-03 07:21:16 +01:00
Bernd
61a1137bc6 bug 451355 - testcase is now wfm 2011-12-03 07:21:16 +01:00
Masayuki Nakano
f968c71f5d Bug 706406 <maction> should use system event group r=smaug+karlt 2011-12-01 16:40:51 +09:00
Bernd
52f13e5a15 bug 467444 - firstTruncatedRow can not be the last row on page if it should be pushed r=dholbert 2011-12-01 07:34:30 +01:00
Brad Lassey
fb38b7fab8 Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange 2011-11-30 22:59:00 -05:00
Robert O'Callahan
5549f1b115 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-11-30 21:14:26 -05:00
Brian Birtles
7e4679553e Bug 703992 - Fix parsing of indefinite times; r=dholbert 2011-12-01 08:45:28 +09:00
Chris Pearce
f6392b97f0 Bug 704709 - Don't show full-screen warning on media key press on Windows. r=smaug,jmathies 2011-12-01 11:27:14 +13:00
Ed Morley
84ae4aa5b6 Bug 703871 - Make layout/tools/layout-debug/Makefile.in use TEST_DIRS for tests; r=ted 2011-11-30 18:37:58 +00:00
Masayuki Nakano
abb90df377 Bug 703210 part.2 Add test r=smaug 2011-11-30 21:44:53 +09:00
Alexander Surkov
ad215b0ae0 Bug 699017 - aria-required attribute on file input not read by JAWS, r=tbsaunde, marcoz, roc 2011-11-30 20:36:20 +08:00
Chris Pearce
6ec2d9c9ef Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Masatoshi Kimura
69770c4327 Bug 627885 - Reduce test_value_cloning test output, r=dbaron 2011-10-30 00:55:00 -07:00
Masayuki Nakano
f753cdcbda Bug 703210 XUL tooltip listener should use system event group for listening to content events r=smaug+enn 2011-11-29 13:39:21 +09:00
Masayuki Nakano
f7becb6c14 Bug 703500 nsFileControlFrame should listen all events in system group r=smaug 2011-11-29 13:39:21 +09:00
Daniel Holbert
7b8695baeb Bug 660728: Use a smiley face instead of a gradient in SMIL animateTransform reftest, to avoid intermittent failure from off-by-one gradient rounding issue. r=birtles 2011-11-28 16:08:26 -08:00
Margaret Leibovic
20181e2c7b Bug 704691 - Fire STATE_IS_NETWORK notifications with print status so that the download manager can track "Save as PDF" prints. r=bz 2011-11-28 13:43:33 -08:00
Marco Bonardo
c86ca0cbd3 Backout af0a7f54f483 (bug 704691), 17b4093b5ec5, 23f26ba05f1a (bug 697383) for various failures 2011-11-28 23:53:22 +01:00
Margaret Leibovic
dc5038702a Bug 704691 - Fire STATE_IS_NETWORK notifications with print status so that the download manager can track "Save as PDF" prints. r=bz 2011-11-28 13:43:33 -08:00
Scott Johnson
2400844022 Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz 2011-11-28 14:11:01 -06:00
Scott Johnson
8af702f2cd Backed out changeset 068e3078ced6 2011-11-28 13:12:16 -06:00
Scott Johnson
658ade4251 Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz 2011-11-28 12:40:18 -06:00
Marco Bonardo
1c74a46d77 Merge mozilla-central to mozilla-inbound 2011-11-28 14:15:14 +01:00
Marco Bonardo
9a59235c6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-11-28 14:10:59 +01:00
Boris Zbarsky
6c0d48e059 Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc 2011-11-28 07:49:53 -05:00
Boris Zbarsky
049fc1b065 Bug 704171 part 1. Stop using the no-argument form of mozRequestAnimationFrame in our chrome. r=roc,gavin 2011-11-28 07:49:44 -05:00
Boris Zbarsky
736d324733 Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Boris Zbarsky
425c3fb061 Bug 704175 part 1. Rename onBeforePaint to sample for animation frame callbacks. r=roc 2011-11-28 07:48:27 -05:00
Olli Pettay
b311864948 Bug 698228 - [ImageMap] Don't use GetPrimaryFrame when not needed, r=mats 2011-11-27 21:27:10 +02:00
Masayuki Nakano
311812671e Bug 703186 Use system event listener for focus/blur event handling for <area> element r=smaug 2011-11-26 10:33:09 +09:00
David Bolter
43e321e7a7 Bug 705179 - Implement initial canvas accessible and baseline test. r=surkov,ehsan 2011-11-25 11:58:34 -05:00
Mounir Lamouri
bdf95aa546 Bug 674725 - Part H - Add a SmsService that handles IPC calls. r=smaug sr=cjones 2011-11-20 23:59:46 +01:00
Mounir Lamouri
a5b38c8672 Bug 674725 - Part E - SmsService stub. r=smaug sr=cjones 2011-11-20 23:30:04 +01:00
Mounir Lamouri
c8306e0b8b Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Mounir Lamouri
d1fd648cd8 Merge mozilla-central into mozilla-inbound. 2011-11-25 10:51:57 +01:00
Bas Schouten
f74e730caf Bug 655836. Reftest 2011-11-25 15:07:05 +13:00
Masayuki Nakano
435f4bcaac Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
L. David Baron
ead1afd92b Add reftest annotations for failure state on Mac OS X 10.7 (Lion) so we can enable the reftest suite on Lion unit test machines. (Bug 700503)
This marks 4 gradient-related tests previously marked as failing on Mac
as failing on only 10.5 and 10.6, since they pass on 10.7.

It also marks one Arabic-shaping-related test as failing, for which bug
705044 has been filed.
2011-11-24 09:14:37 -08:00
Simon Montagu
9c1602152c Tests for bug 704837, r=roc 2011-11-24 16:16:46 +02:00
Simon Montagu
fca010f86c Test for next-continuations before doing bidi resolution. Bug 704837, r=roc 2011-11-24 16:16:42 +02:00
Nicholas Nethercote
f1e77095c2 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Bernd
2d30f6dd30 bug 460637 - the group cellmaps need to set the damageArea relative to the entire table, patch by Mats Palmgren, Randell Jesup and Bernd, r=mats, bernd 2011-10-27 09:58:44 -04:00
Ed Morley
47f9c8e83e Merge mozilla-central and mozilla-inbound 2011-11-24 09:08:33 +00:00
L. David Baron
b6b9f81729 Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc 2011-11-23 18:48:24 -08:00
L. David Baron
b69a5e7bd1 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-23 18:48:24 -08:00
L. David Baron
f7abcf04bc 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
a240f5b1ff Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal 2011-11-23 18:48:23 -08:00
L. David Baron
2d4ce82c26 Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-23 18:48:23 -08:00
L. David Baron
c1a28ca2fb Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
1bf4346bd3 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
L. David Baron
bb227ad838 Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
4fc409e924 Apply font size inflation to text. (Bug 627842, patch 9) r=roc
This applies the font size inflation to reflow and painting of text
frames.  However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
1d218d5fcd Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
b9738c841b Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
1d37b2b7c1 Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
63185e44d3 When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-23 18:48:23 -08:00
L. David Baron
e5604f01bc Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
L. David Baron
95d3162b21 Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc
Fixes assertion on layout/reftests/bugs/409084-1a.html once the rest
of the inflation patches land.
2011-11-23 18:48:23 -08:00
L. David Baron
5208a75845 Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
4279e50916 When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
5aaee7d865 Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
f34af4cd8d Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property).  It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Jeff Walden
ae17ec2da9 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Jeff Walden
f559a0708c Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Scott Johnson
a1b95efb92 Bug 682077 - Backout of 332d4787b430 to troubleshoot crashes on Windows. 2011-11-23 13:40:08 -06:00
Benjamin Smedberg
2e82f253f6 Bug 429592 part whatever - disable the hang monitor during all tests which also disable the DOM script timeout, since the hang monitor relies on the DOM script timeout to avoid firing on long content script, r=jmaher
--HG--
extra : rebase_source : 9ab0290b869fdb6cfa63605383728a7edcbd54a1
2011-11-11 10:37:24 -05:00
Masayuki Nakano
27c741ccf6 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
Robert Longson
44824c6d1e Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Jonathan Watt
33b6ea8299 Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Scott Johnson
d59a4c548f Bug 702897 - Restore previous destruction functionality for nsImageLoader to prevent crash. r=roc
--HG--
extra : rebase_source : 43400960ee00d3d66a8c5c5c3e46024fadd3cb55
2011-11-21 12:07:05 -06:00
Neil Deakin
afa7e2eaae Bug 703260, part 3, remove nsIViewObserver, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
886637d1cb Bug 703260, part 2, remove view usage from popup manager's widget callbacks, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
9e0f3e82fe Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc 2011-11-21 12:53:20 -05:00
Boris Zbarsky
dee43b9cf5 Fix logging message to reflect reality. Followup to bug 703197 2011-11-20 11:09:25 +13:00
Robert Longson
07ad006b50 Bug 698985 - make canvas/image-rendering-test.html more reliable. r=dholbert 2011-11-19 08:53:35 +00:00
Doug Sherk
ffd0060fbc Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron 2011-11-18 22:57:29 -05:00
Phil Ringnalda
67100a541f Bug 696670, bug 696671, bug 696672, bug 696673, bug 696674, bug 703201 - annotate failing tests in Win7 reftest-no-accel 2011-11-17 20:24:25 -08:00
Ed Morley
2c9a443b88 Backout 9786b28d116e & 08b07098228a (bug 701190) for permaorange reftest on Win7; a=romaxa 2011-11-18 21:59:29 +00:00
Ehsan Akhgari
0d491c6c86 Bug 682712 - Set the correct selection type when initializing the selection in editable content; r=roc 2011-11-18 16:47:40 -05:00
Tatiana Meshkova
ab1b7f3452 Bug 701190 - position:fixed items disappear due to wrong translation. Reftest. r=roc 2011-11-09 11:14:43 -08:00
Tatiana Meshkova
76de74d00c Bug 701190 - position:fixed items disappear due to wrong translation. r=roc 2011-11-09 14:47:23 -08:00
Matt Brubeck
c6b7da5fa5 Bug 661996 - Mark pixel-rounding/border-image reftests as random on Android, r=philor 2011-10-28 17:33:00 -07:00
Phil Ringnalda
140a84b7cb Annotate the now-permaorange bug 698985 as failing on Android 2011-11-17 21:16:57 -08:00
Boris Zbarsky
7062899f5e Fix the test to handle one-pixel clipping near the left edge that can happen if invalidates happen in a different order. No bug. 2011-11-18 17:07:56 +13:00
Boris Zbarsky
a2790024e4 Bug 690598. Change the test to paint the whole canvas so that we don't get upscaling antialiasing differences. r=roc 2011-11-18 17:07:54 +13:00
Boris Zbarsky
6aec9e9806 Bug 703197. Make window.print() work in display:none iframes. r=smaug 2011-11-18 16:53:06 +13:00
Mats Palmgren
4c6039468a 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
Chris Pearce
7e6675b635 Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz 2011-11-18 15:22:48 +13:00
Oleg Romashin
ad07ec3d24 Bug 702656 - Fennec zoomed shadow layers scrolling is incorrect. r=roc 2011-11-17 15:52:29 -08:00
Masayuki Nakano
9bb6eb0786 Bug 159346 part.3 Add new tests r=enndeakin 2011-11-18 08:41:35 +09:00
Masayuki Nakano
13f2e9ef43 Bug 159346 part.2 Repeat scroll even if mouse cursor is outside of the pressed scrollbar button on gtk2 and qt r=enndeakin+roc 2011-11-18 08:41:35 +09:00
Masayuki Nakano
006c75e2dd Bug 159346 part.1 Scrollbar button should capture mouse events and do scroll only when cursor is on it r=enndeakin 2011-11-18 08:41:35 +09:00
Ms2ger
8afefb2aab Bug 699228 - Remove unused variable in nsImageFrame::GetContentForEvent; r=smaug 2011-11-17 19:01:24 +01:00
Matt Woodrow
2011ba8d60 Bug 701656 - Add reftests. r=roc 2011-11-17 16:45:46 +13:00
Matt Woodrow
a9f03a567f Bug 701656 - Include the preserve-3d parent content in preserve-3d sorting. r=roc 2011-11-17 16:45:44 +13:00
Matt Woodrow
16c9d8c4db Bug 701656 - Make WrapPreserve3DList capable of walking through child display items for the same frame. r=roc 2011-11-17 16:45:41 +13:00