Aryeh Gregor
fb8461f380
Bug 725426 - Incorrect getBoundingClientRect() for transform-style: flat. r=roc
2012-02-08 14:36:16 -05:00
Ed Morley
7307ed3da9
Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage
2012-02-09 16:42:07 +00:00
Mounir Lamouri
62a283786d
Bug 720799 - Don't use mDocShell in nsScreen. r=jst
2012-02-06 16:31:16 +01:00
Ed Morley
08ace01a8b
Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform
2012-02-09 12:06:50 +00:00
Mounir Lamouri
c8c04772bd
Bug 720799 - Don't use mDocShell in nsScreen. r=jst
2012-02-06 16:31:16 +01:00
Scott Johnson
f1c74e3e8a
Bug 706198 - Disable font inflation on sites optimized for mobile to avoid strangely inflated text. [r=mbrubeck,dbaron]
...
--HG--
extra : rebase_source : 60d764b0a76ae87515a3e669ba76adc61926c862
2012-01-30 16:52:11 -06:00
Jon Buckley
53fcaffe40
Bug 682299 - Implement CORS support for the <video> tag. r=roc
2012-01-25 17:31:30 -05:00
L. David Baron
5eb8920348
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
185e4fa106
Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
...
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
06fe8e9788
Add a frame state bit for whether a frame is a container for font size inflation (Bug 706609, patch 1) r=roc
...
This moves the logic currently in
nsLayoutUtils::IsContainerForFontSizeInflation into frame initialization
so that we can (later, for bug 706193) make that logic more complicated.
2012-01-24 17:21:28 -08:00
Jonathan Watt
cb807222d1
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Matt Woodrow
8147ee2909
Bug 718809 - Use TransformBounds in TransformGfxRectToAncestor. r=roc
2012-01-23 14:07:37 +13:00
Jeff Muizelaar
9c9e2eed37
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
James Willcox
f2a22733cd
Bug 707439 - Fix Flash plugin positioning
...
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Wes Johnston
43680b21b4
Bug 603008 - Platform support for multitouch events. r=smaug
...
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Mats Palmgren
9d52d983fd
Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc
2012-01-18 21:04:51 +01:00
Benjamin Stover
0a52de4032
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Matt Brubeck
2e1e2ae3c5
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Mats Palmgren
cfe108300e
Bug 665597 - Do not include margins in scrollable overflow for popup frames. part=3/5 r=roc
2012-01-17 00:38:10 +01:00
Robert O'Callahan
df7702a586
Bug 591718. Make nsLayoutUtils::GetAllInFlowRectsUnion support taking transforms into account when converting coordinates. r=mats
2011-12-28 16:24:29 +13:00
Robert O'Callahan
0fb0f8bbd4
Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats
2011-12-28 16:24:18 +13:00
L. David Baron
35456e0260
Fix font size inflation assertion when XUL is in native-anonymous content by making XUL always be a container for font size inflation. (Bug 708036) r=bzbarsky
...
--HG--
extra : transplant_source : %D9X%D4%25%01p%09%97%15%B6%83%B1%3A%F2H%C0P4.%19
2011-12-27 10:02:44 -05:00
Phil Ringnalda
bd7a9e74d3
Back out dc7c7734ec7c, f793f9cfa72c, 10ea92a6a850 (bug 591718) for Android b-c orange in mobile/chrome/tests/browser_scrollbar.js
2011-12-27 20:34:08 -08:00
Robert O'Callahan
1e7399c035
Bug 591718. Make nsLayoutUtils::GetAllInFlowRectsUnion support taking transforms into account when converting coordinates. r=mats
2011-12-28 16:24:29 +13:00
Robert O'Callahan
43c26f035d
Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats
2011-12-28 16:24:18 +13:00
Nicholas Nethercote
56767a7167
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Scott Johnson
94027f5e40
Bug 707855 - Clamp container size to device width to make font inflation less likely to cause problems on small screens. [r=dbaron]
2011-12-20 16:34:54 -06:00
Scott Johnson
17397f2991
Backout changeset 602d2761e409.
2011-12-20 00:02:01 -06:00
Scott Johnson
1e33d301f0
Bug 707855 - Clamp container size to device width to make font inflation less likely to cause problems on small screens. [r=dbaron]
2011-12-19 23:11:43 -06:00
Scott Johnson
604f9257d2
Backed out ab701cac6af8.
2011-12-19 23:11:09 -06:00
Scott Johnson
ae3ec51f9b
Bug 707855 - Clamp container size to device width to make font inflation less likely to cause problems on small screens. [r=dbaron]
2011-12-19 22:25:16 -06:00
Robert O'Callahan
ce95ed0d7d
Bug 672013. Drawing an SVG image to a canvas need not clear its origin-clean flag. r=dholbert,sr=bzbarsky
2011-12-19 10:57:41 +13:00
Matt Brubeck
7d451f6bac
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Robert O'Callahan
dfdcd3935b
Bug 672013. Drawing an SVG image to a canvas need not clear its origin-clean flag. r=dholbert,sr=bzbarsky
2011-12-18 21:47:20 +13:00
Ms2ger
4879be0711
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Nicholas Nethercote
f102556f32
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
L. David Baron
b4141b61eb
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
2ca5929d4e
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
96482a27d1
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
3917f9c2e1
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
Neil Deakin
e40bc148fb
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Matt Woodrow
353e3c17e7
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Phil Ringnalda
fb732c5149
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
L. David Baron
e30b812b18
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
db5c82697e
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
b162417f65
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
4c284f9e07
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
Scott Johnson
47400a66c0
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
Justin Lebar
86c0378be8
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Scott Johnson
d01233b555
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-01 11:06:53 -04:00
Jonathan Kew
6a8718c856
bug 695639 - use the proper iterator to convert offsets into the textrun in GetFontFacesForText. r=roc
2011-10-21 08:13:51 +01:00
Oleg Romashin
7e6ba97bfa
Bug 693930 - Fennec keeps viewport ThebesLayers alive for background tabs. r=roc
2011-10-18 15:28:20 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jonathan Kew
36c1dc9fbe
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Scott Johnson
e31e6f4d78
Backout cset a476b7988f63 from bug 666446 while we sort out regressions
2011-10-07 00:25:48 -07:00
Scott Johnson
0dacbc6ccb
Bug 666446, Part 3/18 - Create hook functions in nsLayoutUtils to coalesce some of the new code for frame-like objects and avoid code duplication. [r=roc]
2011-10-03 13:39:05 -07:00
Ehsan Akhgari
c15d8c0733
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Boris Zbarsky
bd01572fc8
Bug 444641 part 4. Remove the data: special-casing for images in canvas, since we now set the right principal for data: images. r=roc
2011-09-20 17:00:42 -04:00
Boris Zbarsky
f4ec90e1f0
Bug 685518 part 1. Look at the image CORS mode for drawImage into a canvas 2d context. r=roc
2011-09-09 17:58:35 -04:00
Robert O'Callahan
28b580015a
Bug 685404. Make callers of nsDisplayList::HitTest use nsAutoTArrays to reduce allocations. r=tnikkel
2011-09-08 17:29:54 -04:00
Matt Woodrow
fd0bfbd9fd
Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf
2011-08-27 12:07:05 +12:00
Mats Palmgren
6894179e71
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
f06792a6ef
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
L. David Baron
4deb9f1caa
Fix nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to produce correct results when one of the tentative height/width (i.e., the intrinsic height/width) is 0. (Bug 677091) r=roc
...
When either the intrinsic width or the intrinsic height is 0, the
element does not have an intrinsic ratio, and thus the table that
ComputeAutoSizeWithIntrinsicDimensions is implementing technically
doesn't apply. However, it can quite straightforwardly produce the
correct results despite that, if we correctly apply the
min/max-width/height properties.
2011-08-17 17:54:59 -07:00
L. David Baron
0cd491390d
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
Mats Palmgren
66c48bce55
Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron
2011-08-09 17:14:36 +02:00
Jeff Walden
e1690fa43c
Bug 609714 - Properly compute background image size for vector background images lacking intrinsic sizes or an intrinsic aspect ratio. r=dholbert, r=dbaron
...
--HG--
extra : rebase_source : 9b018973a13a50f7616cac2a369bc3a61ccd5927
2011-01-13 04:40:12 -06:00
Neil Deakin
cac8593a48
Bug 585069, support ratio scaling for xul images, r=dbaron
2011-08-05 15:24:24 -04:00
Matt Woodrow
62d1425e0b
Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc
2011-08-03 15:04:23 +12:00
Matt Woodrow
fd49690163
Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc
2011-08-03 15:04:21 +12:00
Matt Woodrow
ada52f1e13
Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron
2011-08-03 15:04:19 +12:00
Chris Lord
0d59203155
Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar]
2011-07-07 03:08:00 -07:00
Matt Woodrow
6366c7e2e7
Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc
2011-07-23 10:28:51 +12:00
Simon Montagu
672d772074
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Mats Palmgren
cff2b748ef
Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc
2011-07-04 07:47:59 +02:00
Michael Ventnor
9210cc911a
Previous checkin was for Bug 666689
2011-07-01 16:48:30 +10:00
Michael Ventnor
5b88cf2c15
Implement text-shadow for the text-overflow marker text (ellipsis) r=roc
2011-07-01 16:43:11 +10:00
Craig Topper
cfe91e4f31
Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
...
--HG--
extra : rebase_source : a725d78f3e128d6d4ca1eb48eec1cfc78f7762bf
2011-04-28 22:02:40 -07:00
Mats Palmgren
b19080bd1f
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Robert O'Callahan
8a76eeceb9
Bug 637852. Part 12: Dump layer trees and display lists to stdout instead of stderr so that they stay in order with window.dump() and other output. r=tnikkel
2011-06-23 00:11:28 +12:00
Jonathan Kew
a1f20e4fc8
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
2011-06-16 07:31:36 +01:00
Jonathan Kew
57533f6cff
bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
2011-06-16 07:31:36 +01:00
Ehsan Akhgari
13d84f740f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
15913e950c
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
...
--HG--
extra : rebase_source : 97bab01d80e49e179e8f675ca1ec1e067d7b56ec
2011-06-15 20:17:51 +01:00
Jonathan Kew
e4e073884b
bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
...
--HG--
extra : rebase_source : 3d7699c4a201bafdfa1d97ba97117a497303c1b5
2011-06-15 20:17:50 +01:00
L. David Baron
21f6d8d9c6
Remove notion of percentage of intrinsic size: remove code that handles percentages (which are no longer set thanks to the previous patch) and make them invalid. (Bug 611099) r=dholbert
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Ed Morley
9e71e5b9ac
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Matt Brubeck
d4397cc6d1
Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel]
2011-04-08 10:15:37 -07:00
Jim Mathies
4dc93bdb14
Bug 633282 - Accumulate exclude glass regions during painting and update the widget opaque region info. r=roc.
2011-05-13 11:40:46 -05:00
Tatiana Meshkova
52765d2b7e
Bug 653133 - Fennec crashes when loading a page with huge background-attachment:fixed background r=roc
2011-05-09 11:40:09 +03:00
Simon Montagu
ece92e21ce
Back out bug 263359 and bug 624798 because of performance regressions (bug 650189)
2011-04-27 11:47:18 +03:00
Zack Weinberg
dd67585463
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Robert O'Callahan
c9b3d6063b
Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones
2011-04-19 15:07:48 +12:00
Robert O'Callahan
307547d062
Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Zack Weinberg
52c99aabb7
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5
Bug 174055, part 5: prune unused and unimplemented methods.
2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
299386f14c
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
d8db59d068
Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1
Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a
Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
...
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Simon Montagu
8ade1e195e
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Doug Turner
bb9cf72cbb
Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me
2011-04-11 09:25:59 -07:00
Tatiana Meshkova
29ab414108
Bug 607417 - Part 3: Visibility tricks for fixed items r=roc
...
--HG--
extra : rebase_source : 7545070d6af5ef10dd4d1504f0d456ece4fd8edb
2011-04-08 09:35:16 -07:00
Oleg Romashin
631800dfd2
Bug 607417 - Part1: position:fixed frames mark layers r=roc
...
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Matt Brubeck
170c710ac7
Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel
2011-04-08 10:15:37 -07:00
Ms2ger
cbadb28698
Bug 637178 - Unused variable warning in GetContentMap; r=ben
2011-02-27 10:46:00 -05:00
Benjamin Smedberg
4f1ecb131c
Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm
2011-03-25 11:03:35 -04:00
Robert O'Callahan
4bccc6ddf8
Bug 639689. Part 2: Some trivial cleanup and microoptimizations. r=joe
2011-03-24 16:13:58 +13:00
Robert O'Callahan
0788ccd0dd
Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky
2011-03-24 16:13:56 +13:00
Benjamin Stover
e9b77710b0
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-15 16:20:19 -07:00
Doug Turner
eff01baa10
Backing out 99f6b3acc464 (bug 618975). Bug This caused a reftest crash. a=bustage
2011-03-08 22:02:50 -08:00
Benjamin Stover
6fd6388bc0
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-08 21:28:18 -08:00
Matt Woodrow
5a9d39c5e9
Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc
2011-02-25 11:55:23 +13:00
Daniel Holbert
e110c6b795
Bug 596765, patch 3: Skip chunk of nsLayoutUtils::PaintFrame that's intended for root frames but gets triggered for foreignObjects in SVG-as-an-image. r+a=roc
2011-02-17 16:33:31 -08:00
Matt Woodrow
4b549c1faf
Backed out changeset 0d91127645a1 - Pushed wrong patch
2011-02-18 12:18:53 +13:00
Matt Woodrow
6fbaf9974d
Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0
2011-02-18 11:49:50 +13:00
Jim Mathies
d03eff2194
Bug 628949 - Update visible region / glass regions after we paint. r=roc a=2.0.
2011-02-17 15:42:39 -06:00
Robert O'Callahan
01fd6c923d
Bug 626962. Part 0: Don't do empty transactions when painting to a widget's non-retaining layer manager. r=tnikkel,a=blocker
2011-02-03 21:45:23 +13:00
Johnny Stenback
7ed31a41cb
Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker
2011-01-31 20:50:01 -08:00
Jim Mathies
aef5c2725d
Bug 622328 - Fixup widget's UpdateTransparentRegion now that layout's transparent region includes all content. r=roc, a=blocking.
2011-01-27 16:58:58 -06:00
Robert O'Callahan
409b6ce451
Bug 621601. Part 1: Change empty transaction API to EndEmptyTransaction. r=bas,tnikkel,a=joe
2011-01-19 21:27:54 +13:00
Robert O'Callahan
ce2d40adbe
Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking
2011-01-17 09:23:33 +13:00
Robert O'Callahan
9bee134ce1
Bug 625247. Don't use nsAutoTArray inside an nsAutoTArray. r=tnikkel,a=blocking
2011-01-15 22:40:33 +13:00
Benjamin Stover
8fc0069a6b
Bug 605618 Part 8: Content process map from view IDs to content elements r=cjones sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
ea6d5f4b39
Bug 605618 Part 2: Infrastructure for building shadow display list r=tn sr=roc
2011-01-13 09:45:14 -08:00
Vladimir Vukicevic
89eb608706
b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b
2011-01-12 17:45:13 -08:00
L. David Baron
a572c4fbef
Add assertions that the frame tree is safe to destroy (i.e., doesn't contain any first-in-flows or other things we should never destroy) when we call DeleteNextInFlowChild. (Bug 619021) r=roc a2.0=blocking
2011-01-11 17:09:22 -08:00
L. David Baron
1f47b79c3a
Move assertion about continuations of floats so that it is valid. (Bug 595740) r=roc a2.0=blocking
...
When we do multiple reflow passes inside a container with page or column
breaks, we might hit this assertion for legitimate reasons. In
particular, if a reflow places the first-in-flow of a float in a later
continuation of its containing block than it was in before, or if a
reflow reflows a float that was split and then pushes the line
containing the float's placeholder, then during reflow we push the
continuations of the float back through the continuations of the
containing block, and in intermediate states of this process (such as
when this assertion fires), we have two continuations of the same float
within the same parent.
2011-01-11 17:09:21 -08:00
Robert O'Callahan
319edd4ba7
Bug 615794. Part 3: Snap bounds of border and background display items to pixels if we're sure they will be snapped. r=tnikkel a=blocking
2011-01-04 23:39:47 +13:00
Robert O'Callahan
eb517ba4b4
Bug 620610. When dumping display lists, include which layer each item ended up in. r=tnikkel,a=debug-only
2011-01-04 16:56:57 +13:00
Robert O'Callahan
d886269e1d
Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
e946441ff1
Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
face759151
Bug 602757. Part 2: Detect display items over the transparent part of a window, and disable usage of component alpha (i.e., subpixel antialiasing) for those items. r=tnikkel,a=blocking
2011-01-03 14:48:09 +13:00
Oleg Romashin
efc88eb253
Bug 616081 - Make possible to set gDumpPaintList as true with ENV variable in debu builds. r=roc a=approval2.0
2010-12-04 00:11:03 +02:00
Oleg Romashin
3874b00931
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0
2010-11-24 11:35:21 +02:00
Justin Lebar
43b18d2b18
Backed out changeset a5ec817740f0. a=orange
2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-24 11:35:21 +02:00
Dave Townsend
1244f0ae62
Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage
2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-24 11:35:21 +02:00
Robert O'Callahan
50f59c86bf
Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker
2010-11-08 22:06:14 +13:00
Ehsan Akhgari
90e76bbb1f
Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+
2010-08-31 14:54:44 -04:00
Felipe Gomes
c1ad5cb316
Bug 601603. Part 5 - Ensure that the layer that holds the window background is never opaque for glass windows. r=roc a=beta8
2010-10-19 15:02:25 -02:00
Timothy Nikkel
a08a617701
Bug 582476. Part 2. When painting SVG foreign objects make sure to set the painting to window flag correctly. r=roc a=blocking-betaN+
2010-10-14 20:03:45 -05:00
Mounir Lamouri
7873baa96e
Bug 595606 - "ASSERTION: no common ancestor at all" when removing a subtree with more than one id pointed by @form. r=jst a=blocking
...
--HG--
rename : content/base/crashtests/595606.html => content/base/crashtests/595606-1.html
2010-10-13 12:52:45 +02:00
Daniel Holbert
7857adfcb5
Bug 589558, patch 2: Make html5 canvas write-only after an SVG image has been drawn to it. r=roc a=blocking-betaN+
2010-10-12 12:00:31 -07:00
Daniel Holbert
246bdc65d2
Bug 598798 patch 4: Remove hard-coded GraphicsFilter from nsLayoutUtils::DrawSingleUnscaledImage, and make its dirty-rect argument optional. r=roc a=blocking-betaN
2010-10-11 13:08:07 -07:00
Daniel Holbert
071d06788c
Bug 598798 patch 3: Add typedef for gfxPattern::GraphicsFilter to nsLayoutUtils. r=roc a=blocking-betaN
2010-10-11 13:07:59 -07:00
L. David Baron
a56a24a514
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00
Tom Brinkman
ceef26ba74
Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0
2010-09-16 14:34:53 -07:00
Chris Jones
ee72f210ea
Merge m-c --> cedar
2010-09-13 19:24:09 -05:00
Oleg Romashin
497f2db326
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Chris Jones
4820da2166
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
L. David Baron
a9d5fab154
Add a (wrapping) display item that clips its contents to the curvature of a border-radius. (Bug 459144, patch 13) r=roc a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
8aaf22a0f4
Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:45 -07:00
L. David Baron
b272e35a61
Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
...
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly. It was previously a
multiplication by 1 due to integer division. CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.
This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec. This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).
This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly. This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes. It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Chris Jones
26466ba198
Bug 590294, part 5: Add a setDisplayPort() API to allow the frontend (or whatever else) to set an arbitrary visible region for the purposes of invalidation and layer retaining. r=roc sr=dbaron
2010-09-03 15:10:46 -05:00
Chris Jones
23f5ee4db4
Bug 590294, part 4: IGNORE_VIEWPORT_SCROLLING currently implies interpreting the visible region as being relative to document space. Displayport rendering wants everything IGNORE_VIEWPORT_SCROLLING implies, except it wants the visible region to be relative to the viewport. So, split the coordinate-space interpretation into a new flag DOCUMENT_RELATIVE, which interprets the visible region as document-relative. r=tn sr=roc
2010-09-03 15:10:46 -05:00
L. David Baron
2779814ca6
Expose RectToGfxRect on nsLayoutUtils. (Bug 459144, patch 10) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
Daniel Holbert
f246613ef4
Bug 276431 Patch 10: Make imgContainer::Draw take image-viewport-size, and improve nsLayoutUtils drawing wrappers. r=roc r=joe a=blocking
2010-09-08 13:40:39 -07:00
Timothy Nikkel
ada83800d7
Bug 591435. Need to honour paint suppression in subdocuments. r=roc a=blocking beta6+
2010-09-01 15:44:48 -05:00
Robert O'Callahan
c02234511d
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 18:15:08 -05:00
L. David Baron
a9774b11d6
Make IsAutoHeight be a member of nsLayoutUtils so we don't have to have two copies of it. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
b99a005c4c
Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837
Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
1a458f4877
Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
698bb0f927
Add support for calc() to ComputeWidthDependentValue and ComputeHeightDependentValue. Also change calc() handling of percents from using round to using floor, which changes our handling of percents on 'width' back to using floor, reverting an earlier change in this bug. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
Timothy Nikkel
e0f7b76a11
Bug 588692. If we can't paint with widget layers, don't try to. r=roc
2010-08-21 19:55:55 -05:00
Karl Tomlinson
0e0e9d5750
b=588306 only invalidate all layers on PAINT_IGNORE_SUPPRESSION when there is suppression to ignore r=roc a=bsmedberg
...
--HG--
extra : rebase_source : 28d8cdebf0e8f06a33518263fa3089b317b5ccbc
2010-08-20 15:49:16 +12:00
Timothy Nikkel
f2fbddac07
Bug 572599. If we get an event on a child widget that is in a disconnected view subtree the view subtree might not have a root widget. r=roc
2010-08-18 20:16:58 -05:00
Timothy Nikkel
fcaca91e69
Bug 587539. When we get a paint event for a widget in a disconnected view subtree there isn't a display root widget. r=roc
2010-08-18 20:16:58 -05:00
Rob Arnold
beb6ddf7e8
Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0
2010-08-17 23:07:10 -04:00
Markus Stange
62cafdb8cc
Bug 506826 - Make nsLayoutUtils::PaintFrame able to draw all continuations of a frame. r=roc
2010-08-13 15:32:04 +02:00
Markus Stange
b7ae3b9683
Bug 572680 - Add nsLayoutUtils::DrawPixelSnapped. r=roc
2010-08-13 15:30:37 +02:00
Robert O'Callahan
706d94d7e3
Bug 580834. Make nsLayoutUtils::GetActiveScrolledRoot stop at the nearest popup ancestor instead of asserting. r=tnikkel,a=dbaron
2010-08-13 22:03:51 +12:00
Robert O'Callahan
0b542b46ed
Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe
2010-08-13 21:55:54 +12:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
Timothy Nikkel
16a985dc6e
Bug 584617. Part 2. If we get passed an unusual backstop color we need to flush layers. r=roc a=dbaron
2010-08-08 13:49:07 -05:00
Timothy Nikkel
f51a1285cb
Bug 584617. Part 1. Make sure that we don't use the overflow rect of the root frame instead of the dirty region when we are drawing ignoring viewport scrolling because that might be wrong. r=roc a=dbaron
2010-08-08 13:49:07 -05:00
Timothy Nikkel
f05b15e0e0
Bug 584516. With linked view manager hierarchies we need to draw the print preview background on subdocument frames as well. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
bbc6dff559
Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc
2010-08-08 13:49:06 -05:00
Chris Jones
1d4cc217ed
Bug 570620, part b: Fix a hidden header depedency and add a PresShell::GetLayerManager() helper. r=tn
2010-08-05 17:11:23 -05:00
Boris Zbarsky
0b5df24742
Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron
2010-08-05 17:59:36 -04:00
Boris Zbarsky
b9fae2b3d2
Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron
2010-08-04 22:40:19 -04:00
Felipe Gomes
8d9b3f1877
Bug 508906. Add experimental MozTouch events. r=smaug,jimm
2010-08-02 15:34:54 +02:00
Neil Deakin
20eab8552e
Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats
2010-07-27 09:38:03 -04:00
Timothy Nikkel
eaf04d25f4
Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats
2010-07-18 21:23:48 -05:00
Robert O'Callahan
fa8f373bc3
Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron
2010-07-16 09:08:02 +12:00
Robert O'Callahan
f756e0c2a9
Bug 572613. Avoid creating a SolidColor display item when possible by poking the color into the canvas background display item. r=tnikkel
2010-07-16 09:07:53 +12:00
Robert O'Callahan
8e44ae607d
Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats
2010-07-16 09:07:52 +12:00
Robert O'Callahan
5bf4f6d915
Bug 564991. Part 11: Start retaining layer trees. r=mats
2010-07-16 09:07:51 +12:00
Robert O'Callahan
cc872e7c9e
Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats
2010-07-16 09:07:51 +12:00
Timothy Nikkel
976046bf62
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Markus Stange
9ae64d7d00
Bug 572680 - Pull the image snapping algorithm out of DrawImageInternal. r=roc
...
--HG--
extra : rebase_source : 05c59b5bd230ec54c81d34e58ce030366ebf1546
2010-07-01 18:43:06 +02:00
L. David Baron
c01ffe570a
Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc
2010-06-28 13:47:39 -07:00
Mats Palmgren
ba0d9a576a
Bug 536720 - Don't say the frame is in the nsGkAtoms::popupList if that list is empty. r=fantasai
2010-06-27 22:53:59 +02:00
Boris Zbarsky
037bfe5f69
Bug 517056. Drawing an incomplete image to the canvas shouldn't throw; should instead silently do nothing. r=vlad
2010-06-18 12:23:05 -04:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E)
95f0307543
b=555133 Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad
2010-06-11 10:53:57 +12:00
Karl Tomlinson
d9f67b344a
backout ce0bec337cdd due to bad message
2010-06-11 10:53:01 +12:00
Rob Arnold ext:(%20%26%20Robert%20O%27Callahan%20%3Crobert%40ocallahan.org%3E)
b3c3976708
Attempt to infer whether or not theme parts are transparent r=roc,rob sr=vlad
...
--HG--
rename : layout/mathml/mathfontSTIXSize1.properties => layout/mathml/mathfontSTIXSizeOneSym.properties
extra : rebase_source : 0500c9e1f6cabd42bd56e5e69b1af3c30c7045cd
2010-06-11 10:25:15 +12:00
Oleg Romashin
8a00f10fd1
Bug 558308 - More GFX optimizations needed for Image Layers. r=vlad
2010-04-20 12:36:00 -04:00
Robert O'Callahan
ed549b0dfb
Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron
2010-05-13 12:56:11 +12:00
Vladimir Vukicevic
b99bb96c47
b=561168; convert canvas to use layers for rendering; r=roc,bas
2010-05-17 21:04:22 -07:00
Robert O'Callahan
9fd70ebbb2
Backed out changeset 054698c2cb8f
...
--HG--
extra : rebase_source : 82b51116ca334c0853ace7f73b6f019831624d89
2010-05-13 14:21:53 +12:00
Robert O'Callahan
59fca1ba45
Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron
2010-05-13 12:56:11 +12:00
Robert O'Callahan
5b63e43695
Bug 564993. Part 3: Split nsDisplayList::Paint into PaintForFrame and PaintRoot. Set the visible rect on the root layer from PaintRoot, let the visible rects of other layers be set when they're placed in their containers. r=mats
2010-03-11 09:55:05 +13:00
Robert O'Callahan
e3bea40661
bug 563864. Add mozPaintCount API. r=smaug,sr=vlad
2010-05-13 12:56:08 +12:00
Boris Zbarsky
f7d7c95ec6
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Jonas Sicking
6f9aebb70a
Bug 429175: Make sure to only set aNotify to true when we should. r=peterv
2010-05-03 06:23:36 -07:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
timeless
83499da47b
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
97c43a3297
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Dave Townsend
7e6e800437
Bug 544277: Cannot build layout with MOZ_MEDIA disabled. r=enn, a=#developers
2010-04-25 12:52:23 -07:00
Masayuki Nakano
53ce892306
Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn
2010-04-21 22:13:08 +09:00
Felipe Gomes
a437509342
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 3) [r=roc]
2010-04-07 20:31:26 -04:00
Ehren Metcalfe
e0ac5d5547
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
68d7839f41
Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Jim Mathies
d4cc6d9831
Backout bug 555133 to fix bug 555950.
2010-03-31 12:55:41 -05:00
Rob Arnold
9ffd5134c3
Bug 555133 - Attempt to infer whether or not theme parts are transparent r=roc sr=vlad
2010-03-29 15:24:40 -04:00
Robert O'Callahan
9a2ed61b34
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Rob Arnold
5c251e360c
Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc
2010-03-17 18:56:00 -04:00
Masayuki Nakano
bb7a62d1cf
Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst
2010-03-19 14:02:53 +09:00
Robert O'Callahan
59f17b52c3
Bug 538323. Part 2: use ImageLayers to render video. r=kinetik
2010-03-02 12:41:49 +13:00
Robert O'Callahan
c11d039a6b
Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats
2010-03-02 12:08:28 +13:00
Michael Ventnor
25bc9c7d85
Bug 542361 - Fix and remove the GetUsedX assertions r=roc
...
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Robert O'Callahan
11a3d788af
Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant.
2010-03-01 21:03:49 +13:00
Jonathan Kew
e9d0f828e0
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Dão Gottwald
5bf54b4622
Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure
2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a
Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron
2010-02-04 14:58:02 +01:00
Robert O'Callahan
5573536916
Bug 539354. When scrolling an area that was partially outside the window into view, make sure we invalidate the destination area on Mac. r=mstange
...
--HG--
extra : rebase_source : 4cb48c2bc49926d72b00bf3baa59465c149b6d6c
2010-02-02 12:16:09 +13:00
Mats Palmgren
68ea58a204
Clamp the result to the valid nscoord range. b=541869 r=roc
2010-01-27 09:35:41 +01:00
Robert O'Callahan
6787212ae4
Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal
2010-01-14 05:00:00 -08:00
Robert O'Callahan
faf07633e0
Backed out changeset 636a1f8ef224
2010-01-14 17:59:22 +13:00
Robert O'Callahan
9a1e1c6c5b
Bug 536524. Avoid overlong paths by normalizing. r=bsmedberg
2010-01-14 15:30:05 +13:00
Robert O'Callahan
b5f5b11c36
Bug 526394. Part 33: Remove nsScrollPortView etc. r=mats
2010-01-12 10:45:20 +13:00
Robert O'Callahan
88521a102c
Bug 526394. Part 29: Create new nsLayoutUtils methods and remove useless code from nsListControlFrame::CaptureMouseEvents. r=mats
2010-01-12 10:45:18 +13:00
Robert O'Callahan
c814462e8a
Bug 526394. Part 26: Rework nsSelection to use frames only. r=mats
2009-09-10 17:16:18 +12:00
Robert O'Callahan
9324676397
Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats
2009-09-01 23:29:27 +12:00
fantasai
1e880721fb
Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc
2009-12-24 00:20:41 -05:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
d866e87ce4
Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky
2009-12-01 12:21:00 -05:00
Robert O'Callahan
1eb1c0bb6b
Bug 530472. Make sure to check across document boundaries to see whether the clipFrame is an ancestor of the moving frame. r=dbaron
2009-11-30 18:14:04 -05:00
Robert O'Callahan
54824bc7d1
Bug 528604. Don't add areas-to-repaint when scrolling for non-moving clip rects that aren't clipping any moving content. r=dbaron
2009-11-18 13:38:17 +13:00