Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
62d7406c52
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Robert O'Callahan
cc5f08587e
Bug 539356 - Fix mActiveScrolledRootOffset to be offset to the reference frame. r=mattwoodrow
2012-09-28 23:19:39 +12:00
Matt Woodrow
a1f75a8ee5
Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc
2012-09-25 08:31:48 +12:00
Matt Woodrow
5b541f16bf
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
f4e72f1dd0
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Robert O'Callahan
a350224ed9
Bug 770106. nsDisplayButtonBorderBackground should use the button's border-box for hit-testing, not its visual overflow area. r=mattwoodrow
2012-09-28 23:19:38 +12:00
Matt Woodrow
728fcb17f4
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Matt Woodrow
82f400d981
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
de918ca279
Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
967a15e46e
Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
8c72ac3baa
Bug 539356 - Add HasRetainedDataFor. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
f061f5d0a9
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-08-29 17:48:45 +12:00
Robert O'Callahan
92dac1e3cd
Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
2012-08-29 17:48:44 +12:00
Matt Woodrow
722d9c982d
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
36ede50ee4
Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc
2012-08-29 17:48:43 +12:00
Oleg Romashin
eaf15a9992
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
3c98add6f7
Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc
2012-08-29 17:48:41 +12:00
Matt Woodrow
ddc3006aef
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
e195484e72
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
e79b288e75
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
904da4f579
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
12901c44ef
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
e6baaac399
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
...
* * *
imported patch move-by-correctly
2012-08-29 17:47:15 +12:00
Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
cc33f42c8a
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
2012-08-29 17:39:01 +12:00
Matt Woodrow
c900597192
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
2012-08-29 17:39:01 +12:00
Matt Woodrow
f64b473bf7
Bug 539356 - Revert changes made by bug 728983
2012-08-29 17:38:58 +12:00
Aryeh Gregor
3d16887327
Bug 794905 - nsLayoutUtils::FontSizeInflationEnabled can return nsresult instead of bool; r=jwir3
2012-09-27 18:24:17 +02:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Robert O'Callahan
e2e5bf0685
Bug 539356 - Fix mActiveScrolledRootOffset to be offset to the reference frame. r=mattwoodrow
2012-09-28 01:07:40 +12:00
Matt Woodrow
88b0ce7b03
Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc
2012-09-25 08:31:48 +12:00
Matt Woodrow
2d16b9b765
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
6daf7f245c
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
0a8aa26fb7
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Matt Woodrow
11dba48580
Bug 539356 - Correctly invalidate SVG observers. r=roc
2012-08-29 17:49:16 +12:00
Matt Woodrow
9a9168f55a
Bug 539356 - Make the table code use rect invalidation to avoid over invalidation. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
5eaaebce0e
Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
ff33f7ce7a
Bug 539356 - Add HasRetainedDataFor. r=roc
2012-08-29 17:48:45 +12:00
Robert O'Callahan
b90b8f6ece
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-08-29 17:48:45 +12:00
Robert O'Callahan
1d9db1ed96
Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
2012-08-29 17:48:44 +12:00
Matt Woodrow
4efdb99b18
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
a15597e119
Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc
2012-08-29 17:48:43 +12:00
Oleg Romashin
585aa99e71
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
e6a09298ad
Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc
2012-08-29 17:48:41 +12:00
Matt Woodrow
e978622113
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
1534837d0c
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
6bcc0bc124
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Alexandre Dumont
01f3a22f41
Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
...
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Robert O'Callahan
388f531a69
Bug 787947. We crash with dump-paint-list enabled when there are nested calls to nsLayoutUtils::PaintFrame. r=mattwoodrow
2012-09-25 15:25:47 +12:00
Matt Woodrow
6663628f6b
Bug 793132 - Make sure that only display lists get the reference frame adjusted transform. r=roc
2012-09-26 10:47:41 +12:00
Phil Ringnalda
16e0947c04
Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
...
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Phil Ringnalda
59da0af0b1
Back out 8bd13443d0bc (bug 579517) to get a clean backout
...
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Ehsan Akhgari
3eee84e809
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-24 17:55:10 -04:00
Matt Woodrow
4e60645e00
Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc
2012-09-25 08:31:48 +12:00
Matt Woodrow
aed7d4ce0a
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
db4e12dd09
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Bobby Holley
5af5a73d3d
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Robert O'Callahan
592db0a464
Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
2012-09-24 16:37:10 +12:00
Robert O'Callahan
6b5d54dbcc
Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
2012-09-24 16:30:33 +12:00
Robert O'Callahan
6d1e576d39
Back out bug 791616 due to test failure.
2012-09-24 21:55:16 +12:00
Robert O'Callahan
b87d59e7ac
Bug 791616. Part 2: Add API to ScrollIntoView methods to control whether to scroll in a direction when that direction is not a perceived scrollable direction. r=mats
...
--HG--
extra : rebase_source : 4e178c79f19f96eaa31711c63c117835b28bcc10
2012-09-24 16:37:10 +12:00
Robert O'Callahan
dd556aca29
Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
...
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Matt Woodrow
a6901aa486
Bug 792314 - Build full display lists for nsPageFrame. r=roc
2012-09-20 11:26:33 +12:00
Matt Woodrow
45479895b5
Bug 792314 - Make nsDisplayTransform support untransformed frames. r=roc
2012-09-20 11:14:07 +12:00
Matt Woodrow
21740b5847
Bug 788044 - Apply the ContainerState offset to ImageLayers. r=roc
2012-09-24 14:56:39 +12:00
Phil Ringnalda
cf559dd6e1
Bug 782546 - make the todo_is() on linux32 a todo(false) since it's only consistent about being either true or false
...
--HG--
extra : rebase_source : 571e795503f90a4613ad448a6cb9e63dfff64126
2012-09-23 18:49:48 -07:00
Jim Mathies
9418b94d60
Bug 726615 - Completely remove MozTouch event support from mc. r=smaug
2012-09-22 14:28:08 -05:00
Robert Longson
3e3a71ce0c
Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
...
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Matt Brubeck
7eeb4d9731
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
Ehsan Akhgari
9b049ad563
Merge mozilla-central into mozilla-inbound
2012-09-21 13:34:50 -04:00
Ehsan Akhgari
8ec85a4391
Bug 792302 - Add a more useful pseudo stack entry for flushing to FlushPendingNotifications; r=roc,BenWa
2012-09-20 19:19:48 -04:00
Olli Pettay
dda6b9a527
Bug 790856, ensure bounds on the previous viewer, r=bz
2012-09-21 10:38:14 +03:00
Julian Viereck
56e5c43389
Bug 468568. Main patch: support downloading fonts in printing and print preview. r=smaug
...
--HG--
extra : rebase_source : 2fbaef2896d218e6900449c9510fc867419eac30
2012-09-04 16:29:27 +03:00
Robert O'Callahan
baa61f83d1
Bug 468568. Part 0.8: Remove invalid assertion about matching containers. r=smaug
...
--HG--
extra : rebase_source : 6e9bb1fcf977dce8c3dc5fd807a20bfc06e625cb
2012-09-17 17:10:03 +12:00
Robert O'Callahan
326ac60736
Bug 468568. Part 0.6: Assert when ScheduleViewManagerFlush is called on a non-root. r=mattwoodrow
...
--HG--
extra : rebase_source : cf014da5cd7472fa036a5922c4ca9fff9aa93eac
2012-09-17 17:06:12 +12:00
Robert O'Callahan
d3d8b75397
Bug 772726. Part 7: Avoid specifying "repeat" mode when rendering CSS gradients if we don't need it. r=padenot
...
D2D repeating gradients rasterize slightly differently to non-repeating gradients even when
the rendered area falls within a single tile, so a repeating gradient compared to a
non-repeating gradient (say one drawn in a canvas) can cause reftest failures.
2012-09-08 00:32:21 +12:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Robert O'Callahan
83a9f571e2
Bug 777194. Part 10: Reenable test_transformed_scrolling_repaints_2 on all platforms, and test_transformed_scrolling_repaints on 64-bit Linux.
2012-09-14 15:49:24 +12:00
Robert O'Callahan
5299c9217e
Bug 777194. Part 6: Testcase. r=jrmuizel
2012-08-17 11:40:11 +12:00
Robert O'Callahan
cd1dc8d8c9
Bug 777194. Part 5: When choosing a subpixel position to scroll to, align the new position with the position that was most recently used to rerender the scrolled layer(s). r=tnikkel
...
If we always align the new scroll position with the previous scroll position, we can accumulate error and
gradually drift out of alignment with the layer pixels until we exceed the tolerance and are forced to
rerender everything.
2012-08-17 11:40:10 +12:00
Robert O'Callahan
ce488db1b3
Bug 777194. Part 8: Nudge transform matrix in ChooseScaleAndSetTransform to avoid math error. r=tnikkel
2012-08-25 16:41:46 +12:00
Ryan VanderMeulen
6b5288025b
Backout c2b7be27e412 (bug 791644) due to mochitest orange.
2012-09-17 20:09:42 -04:00
Mats Palmgren
7d2088c451
Bug 765621 - Drain the parent frame's overflow list before attempting to insert/append new child frames. r=bz
2012-09-18 01:05:05 +02:00
Matt Woodrow
d1a58e8e6d
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Matt Brubeck
2752ed5097
Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red
2012-09-17 11:11:30 -07:00
Phil Ringnalda
267dc74749
Bug 681138 - Disable test_reftests_with_caret.html's bug 106855-1.html and bug 106855-2.html on OS X 10.8, r=ehsan
...
--HG--
extra : rebase_source : a6ccff76eeb2173ad0e658958bc1d41c2d70d388
2012-09-15 10:35:19 -07:00
Matt Brubeck
40eb8ac227
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
...
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Matt Woodrow
8684475c74
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Robert O'Callahan
1180570856
Bug 777194. Part 9: Don't do snapped image drawing if there's rotation in the CTM. r=tnikkel
2012-09-04 10:32:20 +12:00
Matt Woodrow
5e4a9f531a
Bug 788044 - Make transformed frames the reference frame for their display list tree. r=roc
2012-09-16 22:32:59 +12:00
Matt Woodrow
cfe2575635
Bug 788044 - Make various functions take const parameters. r=roc
2012-09-13 12:32:53 +12:00
Arnaud Sourioux
b20a9a4654
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Adam Dane [:hobophobe]
817f867d4e
Bug 787624 - Form scrolling for popups should use SCROLL_IF_NOT_VISIBLE. r=roc
2012-09-12 21:53:28 -05:00
Daniel Holbert
d47c88f280
Bug 791037: s/IsInlineOutside/IsInlineOutsideStyle/ in #ifdef MOZ_FLEXBOX code to fix compile error when flexbox is defined. r=dbaron (DONTBUILD because this is in code that's NPOTB for now)
2012-09-13 12:55:27 -07:00
Chris Lord
172e6e789a
Bug 786502 - Test that scrolling a fixed background doesn't cause painting. r=roc
...
Add a test that makes sure that scrolling a page with a fixed background
doesn't cause that background to repaint.
--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/base/tests/chrome/blue-32x32.png
2012-09-13 11:35:16 +01:00
Chris Lord
d52c9aa58b
Bug 786502 - Fix background-attachment:fixed scrolling with page. r=roc
...
Fix the size check in nsDisplayBackground::ShouldFixToViewport so that async
scrolling of fixed backgrounds works correctly when zoomed in on Firefox
Mobile. Also make IsFixedItem in nsDisplayList public and use it in
FrameLayerBuilder, so that fixed items are determined and treated consistently.
2012-09-13 11:34:34 +01:00
Chris Lord
bb16d413e7
Bug 786502 - Separate background layers into separate items. r=roc
...
Separate out background layers into separate display-list items, so that
backgrounds that are a mix of fixed and non-fixed layers will be treated
individually.
2012-09-13 11:34:23 +01:00
L. David Baron
8127acf9cb
Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones
2012-09-11 21:05:03 -07:00
Matt Woodrow
f798f0a97a
Bug 787300 - Fix various bugs with refresh-driver-painting.enabled=false. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
087d06c226
Bug 789396 - Don't overwrite the existing mContainerLayerGeneration value on ThebesLayerItemsEntrys. r=roc
2012-09-12 09:17:26 +12:00
Matt Woodrow
b5a6e210b0
Bug 787148 - Force synchronous repainting when the document state changes. r=roc
2012-09-12 09:17:26 +12:00
Wes Johnston
ee665629c5
Bug 790164 - Keep contentPresShell alive while sending touch events. r=smaug
2012-09-11 13:28:06 -07:00
Bobby Holley
cb56e021c4
Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
...
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-11 01:05:10 -07:00
Phil Ringnalda
2254d48838
Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android
2012-09-10 20:57:31 -07:00
Phil Ringnalda
ab6ebfa3e5
Bug 705570 - skip every crashtest with an <applet> in it on OS X 10.7 and 10.8, since they leak if Java isn't installed
2012-09-10 19:50:18 -07:00
Matt Brubeck
48d9a346ee
Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
2012-08-22 13:17:20 -07:00
Jim Mathies
0eb28a561b
Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc
2012-09-10 16:02:23 -05:00
Robert Longson
6f3a540d19
Bug 783995 - enable animation of view element attributes. r=dholbert
2012-09-09 12:44:03 +01:00
Ryan VanderMeulen
19172d42a1
Backout bug 788914 and bug 789494 due to intermittent jsreftest crashes.
2012-09-07 19:40:57 -04:00
L. David Baron
74b4279416
Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky
2012-09-07 15:57:06 -07:00
Bobby Holley
746efd4923
Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
...
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-07 11:28:56 -07:00
L. David Baron
aa4234d4d1
Remove ForceCompare methods from style structs. (Bug 779968, patch 7) r=bzbarsky
2012-09-07 10:13:36 -07:00
L. David Baron
4fbb3dda02
Make nsStyleContext::CalcStyleDifference force comparison based on the parent's hint instead of the style struct ForceCompare methods. (Bug 779968, patch 6, the main patch) r=bzbarsky
...
This propagates the non-inherited (in the nsChangeHint sense, not the
CSS inheritance sense) parts of the parent's change hint through
ReResolveStyleContext so that we can use them in
nsStyleContext::CalcDifference. In the cases where we don't know the
parent's hint, we assume the worst, that all the non-inherited hints
were present in the parent's style change.
This should be a significant performance improvement handling simple
style changes (such as a style attribute change setting a non-inherited
property) on elements with large numbers of descendants that have data
in ForceCompare structs that can't be stored in the rule tree (for
example, margins or widths in em or rem units).
2012-09-07 10:13:36 -07:00
L. David Baron
1289ea726f
Refix bug 731521 in the new setup for forcing comparison in nsStyleContext::CalcDifference, since we can no longer rely on nsStyleBorder::ForceCompare. (Bug 779968, patch 5) r=bzbarsky
2012-09-07 10:13:36 -07:00
L. David Baron
b3b996ffe4
Abstract nsChangeHint_NonInherited_Hints into a function so that it accurately reports the reflow cases to all callers. (Bug 779968, patch 4) r=bzbarsky
...
This is in preparation for adding an additional caller.
nsChangeHint_NonInherited_Hints will be reintroduced in patch 6, but as
the maximum set of such hints rather than the minimal set, and with the
less confusing name nsChangeHint_Hints_NotHandledForDescendants.
2012-09-07 10:13:36 -07:00
Ed Morley
8cf4ffc2ea
Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html
2012-09-07 09:15:34 +01:00
Bobby Holley
43dff80a77
Bug 788914 - Remove enablePrivilege from bug 585922 tests. r=mrbkap
...
This test chokes on the changes in the patch for some reason. Fortunately, since
enablePrivilege now exists solely to make our tests go green, changing its semantics
and removing use of it from anywhere that goes orange is a perfectly acceptable
approach. ;-)
2012-09-06 22:55:18 -07:00
Cameron McCormack
09aeb61301
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
Boris Zbarsky
a562efcb37
Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc
2012-09-07 01:29:47 -04:00
L. David Baron
253be7632f
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
L. David Baron
770897992d
Remove the easy-to-remove uses of enablePrivilege in layout/base/tests/. (Bug 788603) r=roc
2012-09-05 22:43:21 -07:00
Edwin Flores
ccb631db79
Bug 719286 - Add support for -moz-objectValue keyword to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:47 +12:00
Edwin Flores
0300bf0a15
Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
cac293e907
Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
120eb58f93
Bug 719286 - Add -moz-is-glyph media feature for setting default values for SVG glyphs in the browser SVG style sheet r=dbaron
2012-09-06 16:58:44 +12:00
Nicholas Cameron
d6a99a40e3
Bug 786817. Initialise ThebesDisplayItemLayerUserData::mMaskClipCount. r=roc
2012-09-06 16:07:53 +12:00
Scott Johnson
32391cde9d
Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron]
2012-09-05 16:39:34 -05:00
Daniel Holbert
7f5f15b6bd
Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron
2012-09-05 14:13:37 -07:00
Daniel Holbert
89dfb7e636
Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron
2012-09-05 14:13:37 -07:00
L. David Baron
bd0f54f2f9
Convert bidi_numeral_test.js from CR-LF to LF line endings. No bug.
2012-09-05 13:31:01 -07:00
Chris Jones
2b59f28d65
Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc
2012-09-05 09:23:45 -07:00
Robert O'Callahan
b3739ebb38
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
...
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
9cdb4ee0d8
Bug 785588. Perform asynchronous scroll operations before firing requestAnimationFrame callbacks. r=tnikkel
...
--HG--
extra : rebase_source : 3c1439773981db4ea1b957db4351f50899229130
2012-09-05 22:29:15 +12:00
Daniel Holbert
16ff96590f
Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:11 -07:00
Daniel Holbert
b0926860ac
Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:10 -07:00
Brendan Dahl
f36e3d9c21
Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc
2012-08-30 17:24:35 -07:00
Simon Montagu
1acbd32c7a
Don't forget to empty the buffer after ResolveParagraph. Bug 788086, r=roc
2012-09-04 00:46:43 -07:00
Nicholas Cameron
120146b67e
Bug 769021; fix a memory leak with mask sharing. r=khuey
2012-09-04 13:02:56 +12:00
Nicholas Cameron
f3c3989fbe
Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc
2012-09-04 13:02:56 +12:00
Nicholas Cameron
9b455fc6c9
Back out bug 769021, bug 786817
2012-09-03 22:47:51 +12:00
Nicholas Cameron
26ba269020
Bug 769021; fix a memory leak with mask sharing. r=khuey
2012-09-03 22:35:33 +12:00
Nicholas Cameron
c1efb18903
Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc
2012-09-03 22:35:33 +12:00
Ed Morley
86cbb250b0
Backout 03cb77f8d75d (bug 769021), 04fd792509d6 (bug 786817) for burning the tree
2012-09-03 09:20:05 +01:00
Nicholas Cameron
fc482cb592
Bug 769021; fix a memory leak with mask sharing. r=khuey
2012-09-03 18:58:07 +12:00
Nicholas Cameron
3cc9795c20
Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc
2012-09-03 18:58:07 +12:00
Robert O'Callahan
4df6e1b279
Bug 780847. Built-in support for mouse/touch events targeting nodes within a certain radius via heuristics. r=mats,smaug
...
--HG--
extra : rebase_source : 13a350bb6c993e5a23e54657cbe9f22c287036ad
2012-08-20 12:02:42 +12:00
Robert O'Callahan
1649648ea1
Bug 780847. Fix nsLayoutUtils::IsProperAncestorFrame(CrossDoc) to handle case where aAncestorFrame == aCommonAncestor == aFrame->GetParent(). r=mats
...
--HG--
extra : rebase_source : 9f8d01c7049a701ac5bcf633ee605443b81aec35
2012-08-20 10:25:49 +12:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00