Commit Graph

11782 Commits

Author SHA1 Message Date
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
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
Jonathan Watt
98f40124be Bug 702477 - Change the names of nsSVGPathElement::GetScale and nsSVGTextPathFrame::GetPathScale, and add documenting comments. r=longsonr. 2011-11-15 13:11:43 +00:00
Phil Ringnalda
15887bd189 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
Bas Schouten
4af6622af4 Bug 334411: Introduce flashing invalidates areas when paint flashing is enabled. r=roc 2011-11-15 04:59:03 +00:00
William Lachance
e968a4efed Bug 679759 - Drop MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed; r=ted 2011-11-15 04:33:21 +00:00
Jared Wein
9de0a87811 Bug 537718 - Video should scale for a small window. r=dao r=roc 2011-11-14 15:58:41 -08:00
Jared Wein
6f10f021c6 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao 2011-11-10 15:08:47 -08:00
Jared Wein
7bcfcf1d17 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc 2011-11-10 15:08:07 -08:00
Jared Wein
eddcc53a6c Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein
7d55f14a91 Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
5a3da30ed1 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
85b2808752 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content 2011-11-10 15:02:21 -08:00
L. David Baron
75b4a80762 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
7fbf50a659 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-15 17:02:01 +13:00
L. David Baron
2ee4ed06c3 Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal 2011-11-15 17:02:01 +13:00
L. David Baron
bd4f0da6db 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-15 17:02:01 +13:00
L. David Baron
4ad135ffe1 Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
d0fd3c605b 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-15 17:02:01 +13:00
L. David Baron
162bc661a1 Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
6b02f59bf3 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-15 17:02:01 +13:00
L. David Baron
0e16a65517 Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
1986127472 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-15 17:02:01 +13:00
L. David Baron
aa9ba3f977 Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc 2011-11-15 17:02:00 +13:00
L. David Baron
2ae2d74942 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-15 17:02:00 +13:00
L. David Baron
ccea090ef4 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-15 17:02:00 +13:00
L. David Baron
311a9086ea 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-15 17:02:00 +13:00
L. David Baron
c58bd5f00d 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-15 17:02:00 +13:00
L. David Baron
b18822fae1 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-15 17:02:00 +13:00
L. David Baron
c2b37ab17d 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-15 17:02:00 +13:00
L. David Baron
4ee87994ef 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-15 17:02:00 +13:00
Scott Johnson
9966c886a6 Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
--HG--
extra : rebase_source : 37becb5bb6a987fafb90a340284d284614dc64ae
2011-11-15 10:59:19 +13:00
Chris Pearce
7bbdb66a3b Bug 700764 - ESC keypress in subdoc of full-screen doc should cause full-screen exit. r=smaug 2011-11-15 09:33:37 +13:00
Ed Morley
7a94e94707 Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz 2011-11-14 18:10:22 +00:00
Jonathan Watt
2f83aff27f Bug 702283 - Remove dead code RegionMark (left behind by bug 614732 attachment 563617 (changeset 8ddd09649e13)) since now we use GetMarkBBoxContribution (which doesn't need to update the covered regions of a mark's content). r=longsonr. 2011-11-14 16:42:39 +00:00
David Zbarsky
78277b1442 Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky 2011-11-14 16:30:28 +13:00
David Zbarsky
0cdb162895 Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky 2011-11-14 16:30:22 +13:00
David Zbarsky
d7103aec40 Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky 2011-11-14 16:30:16 +13:00
David Zbarsky
b9bd3dd4bb Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky 2011-11-14 16:30:08 +13:00
David Zbarsky
1afed10a08 Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky 2011-11-14 16:29:56 +13:00
David Zbarsky
71021df43b Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Ed Morley
778767509f Merge mozilla-central and mozilla-inbound 2011-11-14 01:45:39 +00:00
John Daggett
7f5f33368d Bug 701262. Set up reftest for redirection on font load. r=joedrew 2011-11-14 12:51:35 +13:00
Marco Bonardo
8c72c90eb0 Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
John Daggett
6e4667d9a3 Bug 701262. Fix font redirect request failures. r=sicking 2011-11-11 08:38:23 +09:00
Gregory Szorc
3c849fad59 Merge b-s to m-c 2011-11-10 15:15:29 -08:00
Ed Morley
fddedbce14 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Daniel Holbert
7f1fd946ec back out 10814cd743e3 (from bug 693940) since it breaks moz-filedata URIs in SVG-as-an-image 2011-11-08 12:49:12 -08:00
Ed Morley
7ba7e989fe Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor 2011-11-08 07:38:22 +00:00
Boris Zbarsky
ff2c1ac1c2 Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking 2011-11-07 23:41:17 -05:00
Matt Woodrow
87bf3b4e98 Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc 2011-11-08 16:57:55 +13:00
Daniel Holbert
8b0d1d45e6 Bug 693940: Restrict SVG-as-an-image to being able to load (local) URIs that have either the URI_INHERITS_SECURITY_CONTEXT or URI_LOADABLE_BY_SUBSUMERS flags. r=bz 2011-11-07 13:45:42 -08:00
Cameron McCormack
13ab90286a Bug 652494 - Report uncaught JS exceptions in chrome mochitests as test failures. r=jmaher 2011-11-12 22:06:54 +11:00
Scott Johnson
863ca35140 Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
c67a51078e Bug 666446, Part 7/10 - Change nsImageLoader to utilize new refresh driver animations to overcome performance issues with animated background images. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
1bcaf98bde Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
9500b32495 Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
8b64920eb3 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Scott Johnson
41ea8f0bf1 Bug 666446, Part 3/10 - Create hook functions in nsLayoutUtils to coalesce some of the new code for frame-like objects and avoid code duplication. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
ab1237d9e9 Bug 666446, Part 2/10 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
e4fbf31815 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Daniel Holbert
ac983b7917 Bug 700895 patch 2: Rename img-foreignObject-embed-2* reftest files to img-foreignObject-embed-1*, since the old embed-1* tests were renamed. r=roc
--HG--
rename : layout/reftests/svg/as-image/img-foreignObject-embed-2-helper.svg => layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-2.html => layout/reftests/svg/as-image/img-foreignObject-embed-1.html
2011-11-09 12:10:38 -08:00
Daniel Holbert
8da341a388 Bug 700895 patch 1: Add a more explicit check for SVG-as-an-image in MaybeCreateDocShell, and improve reftests for <iframe>s being blocked in SVG-as-an-image. r=roc
--HG--
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1a.html
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1b-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1b.html
2011-11-09 11:11:11 -08:00
Jonathan Kew
3350bc454b bug 692727 - include non-English hyphenation files on Android. r=mfinkle 2011-11-16 09:04:47 +13:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Olli Pettay
b67e20d19d Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats 2011-10-30 21:51:19 +02:00
Ed Morley
7275a8d455 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
4a2832804a Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv 2011-10-29 22:22:19 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Olli Pettay
45e86aeaaf Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz 2011-10-29 13:44:50 +03:00
Phil Ringnalda
4286df62ee Bug 663378 - Define runTest() before the iframe that calls it onload in test_acid3_test46.html, and waitForExplicitFinish, r=dbaron 2011-10-21 23:30:56 -07:00
Daniel Holbert
b6321600f2 Bug 641731 tests: reftests for :visited status in image documents. r=dbaron 2011-10-29 02:44:27 -07:00
Daniel Holbert
507a8a5820 Bug 641731: Ignore :visited status in SVG image documents. r=dbaron 2011-10-29 02:43:43 -07:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Boris Zbarsky
dcc04dfdae Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
Boris Zbarsky
23c2e8cf88 Bug 608756. Cache display structs in the ruletree even for floated and positioned elements. r=dbaron
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display).  When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
2011-10-29 03:04:20 -04:00
Robert O'Callahan
a1a72c9ec7 Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats 2011-11-08 13:09:39 +13:00
Robert O'Callahan
f924f9d9bb Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats 2011-11-08 13:09:39 +13:00
Daniel Holbert
038d6caf4d Bug 693940: Restrict SVG-as-an-image to load URIs with URI_INHERITS_SECURITY_CONTEXT. r=bz 2011-11-07 13:45:42 -08:00
Matt Brubeck
229a594529 Back out cd695cdb3b4f (bug 679759) because of test failures 2011-11-07 13:40:42 -08:00
William Lachance
37bedac358 Bug 679759 - MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed, r=ted 2011-11-07 13:14:22 -08:00
Jonathan Watt
71a67640b1 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Oonishi Atsushi
5db5ec8f54 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Mark Banner
da396f0de1 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Daniel Holbert
5675a6d0da Bug 696188 followup: Add assertions and functional test for transitioning away from a transform-list. r=bz 2011-10-27 15:58:05 -07:00
Daniel Holbert
f25f8ec2d9 Bug 697475: deCOMtaminate nsSVGPatternFrame::GetPatternFirstChild. r=longsonr 2011-10-27 15:57:10 -07:00
Josh Aas
89192a393d Bug 649079: Plugin crash fix (parent process). r=bz 2011-10-27 16:00:49 -04:00
Robert Longson
4b934de0fe Bug 697057 - Patterns are blurred when the element is scaled. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01.svg => layout/reftests/svg/pattern-scale-01a.svg
2011-10-27 09:51:46 +01:00
Timothy Nikkel
3c1d63ece2 Bug 655263. Remove views from decks. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
c2a4df613d Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
d78828a5dd Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
4e9a8d930f Bug 658005. Part 1. Allowing query frame to work on deck frames. r=roc 2011-10-26 18:57:55 -05:00
Robert O'Callahan
8b63d0b8b2 Followup for bug 678859. Fix test to use larger areas to ensure active layers are used. 2011-10-27 12:09:32 +13:00
Robert O'Callahan
f772cbd274 Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn 2011-10-27 09:10:48 +13:00