Scott Johnson
0aed7e58e1
Bug 705446: Disable font inflation for preformatted text. [r=dbaron]
2012-03-02 11:25:33 -06:00
Nathan Froyd
7adb7a65ea
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Matt Woodrow
6ec8203d33
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Aryeh Gregor
d3dc9940e5
Bug 725426 - Incorrect getBoundingClientRect() for transform-style: flat. r=roc
2012-02-08 14:36:16 -05:00
Ed Morley
1bdae85d94
Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage
2012-02-09 16:42:07 +00:00
Mounir Lamouri
0a1dad0aa8
Bug 720799 - Don't use mDocShell in nsScreen. r=jst
2012-02-06 16:31:16 +01:00
Ed Morley
16fb8f0845
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
c3a1286f3d
Bug 720799 - Don't use mDocShell in nsScreen. r=jst
2012-02-06 16:31:16 +01:00
Scott Johnson
439ea73edb
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
a1ada7a67d
Bug 682299 - Implement CORS support for the <video> tag. r=roc
2012-01-25 17:31:30 -05:00
L. David Baron
d789ef0b1b
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
0ce777d92e
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
a2396850d4
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
9fb3c8bb9f
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Matt Woodrow
f99a1dba41
Bug 718809 - Use TransformBounds in TransformGfxRectToAncestor. r=roc
2012-01-23 14:07:37 +13:00
Jeff Muizelaar
a47ca866d2
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
8f71c6ffa1
Bug 707439 - Fix Flash plugin positioning
...
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Wes Johnston
72f42280fd
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
2a48071cb7
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
a371dc7830
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
b79b1e58d3
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f
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
056f2a5cb9
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
399079fda5
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
755acd5237
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
99a6f54651
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
90f2a086a4
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
36fb281b4c
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
ed9045b960
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
33730101c6
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Scott Johnson
ddf64eec41
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
9f94635cd8
Backout changeset 602d2761e409.
2011-12-20 00:02:01 -06:00
Scott Johnson
3798c3b9d0
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
5e031518e8
Backed out ab701cac6af8.
2011-12-19 23:11:09 -06:00
Scott Johnson
f207153803
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
ac8fecf57f
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
5d8466250b
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Robert O'Callahan
7ad0a19ab0
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
68e1ed1f12
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Nicholas Nethercote
f1e77095c2
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
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
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
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
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
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
Matt Woodrow
a289897b49
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13: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
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
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
aa9ba3f977
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-15 17:02:00 +13:00