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
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
Matt Woodrow
8f78e025b8
Bug 702375 - Include the current frame bounds in preserve-3d overflow calculations. r=roc
2011-11-17 16:45:39 +13:00
Matt Woodrow
5e4f447cc2
Bug 700240 - Print nsSVGEffects types. r=roc
2011-11-17 16:44:16 +13:00
Matt Woodrow
a570c6f017
Bug 700240 - Print contents of TextFrames. r=mats
2011-11-17 16:44:16 +13:00
Matt Woodrow
a289897b49
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Mats Palmgren
24c252b6be
Bug 654002 - Stack overflow when destroying many frame continuations in different parents. r=roc
2011-11-17 11:54:08 +13:00
Ed Morley
0d4271ee17
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-16 11:02:43 +00:00
Rob Campbell
7676da77c5
merge fx-team to mozilla-central
2011-11-15 13:57:15 -08:00