L. David Baron
f34eab78f3
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
b6fca2e07f
Tests for bug 704837, r=roc
2011-11-24 16:16:46 +02:00
Simon Montagu
75fc2f1f76
Test for next-continuations before doing bidi resolution. Bug 704837, r=roc
2011-11-24 16:16:42 +02:00
Nicholas Nethercote
c0681f567c
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Bernd
05da1a27c4
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
ad2799c82f
Merge mozilla-central and mozilla-inbound
2011-11-24 09:08:33 +00:00
L. David Baron
60d6d6fb5a
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
6516f62bfb
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
9c95c3d00a
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
7879705425
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
cdb3e251bb
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
ba8fa9843f
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
e34405d957
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
97629a87c3
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
31b2fc485d
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
e6642f6c52
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
40974741eb
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
db344ddc00
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
1e85cd1c83
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
3235995ea2
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
ca13d55580
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
bfebf466f5
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
bf324834a7
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
803540a4c1
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
291e0dc7f0
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
a076867204
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
2011-11-20 22:21:16 -08:00
Jeff Walden
0680b04f2c
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
2011-11-20 12:22:51 -08:00
Scott Johnson
0198c600aa
Bug 682077 - Backout of 332d4787b430 to troubleshoot crashes on Windows.
2011-11-23 13:40:08 -06:00
Benjamin Smedberg
c9ac0d9050
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
2011-11-11 10:37:24 -05:00
Masayuki Nakano
5221c7e8cc
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
54cf26d3d0
Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
2011-11-19 17:53:52 +00:00
Jonathan Watt
6007f23548
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
494118db9e
Bug 702897 - Restore previous destruction functionality for nsImageLoader to prevent crash. r=roc
2011-11-21 12:07:05 -06:00
Neil Deakin
8bf411ee64
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
518edffc78
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
025a0b680d
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
55963f7aec
Fix logging message to reflect reality. Followup to bug 703197
2011-11-20 11:09:25 +13:00
Robert Longson
f31fce11b0
Bug 698985 - make canvas/image-rendering-test.html more reliable. r=dholbert
2011-11-19 08:53:35 +00:00
Doug Sherk
f895503e42
Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron
2011-11-18 22:57:29 -05:00
Phil Ringnalda
5a029fe89c
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
a78d35cf02
Backout 9786b28d116e & 08b07098228a (bug 701190) for permaorange reftest on Win7; a=romaxa
2011-11-18 21:59:29 +00:00
Ehsan Akhgari
36a49ed0e6
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
81c6df6fcf
Bug 701190 - position:fixed items disappear due to wrong translation. Reftest. r=roc
2011-11-09 11:14:43 -08:00
Tatiana Meshkova
cb6111ad80
Bug 701190 - position:fixed items disappear due to wrong translation. r=roc
2011-11-09 14:47:23 -08:00
Matt Brubeck
6281bea1ef
Bug 661996 - Mark pixel-rounding/border-image reftests as random on Android, r=philor
2011-10-28 17:33:00 -07:00
Phil Ringnalda
7f47e71bb4
Annotate the now-permaorange bug 698985 as failing on Android
2011-11-17 21:16:57 -08:00
Boris Zbarsky
d8cd266b91
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
10989b105a
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
89f21c5c46
Bug 703197. Make window.print() work in display:none iframes. r=smaug
2011-11-18 16:53:06 +13:00
Mats Palmgren
eccb5484da
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