David Anderson
cfade247e1
Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats)
2015-02-03 15:02:04 -08:00
David Anderson
4b58174a83
Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow)
2015-02-03 14:18:44 -08:00
Kartikaya Gupta
ca1f2d1625
Bug 950934 - Enable APZ in the B2G root process. r=botond,smaug
2015-01-12 18:13:18 -05:00
Phil Ringnalda
8ff441aa5a
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
baa5df4d99
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
1e37e03e20
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Jim Mathies
c292b9b9c0
Bug 1095754 - Rather than apply geometry updates to plugins in the content process, collect updates and stash them in the shadow layer forwarder so that on the next composite, they update with the remote layer tree. r=roc
2015-01-29 13:41:54 -06:00
David Anderson
1513ae583b
Don't snap displayports to tile boundaries if we're not tiling. (bug 1126045 part 2, r=kats)
2015-01-27 16:04:49 -08:00
Markus Stange
82573d9086
Bug 1104036 - Make -moz-window-dragging work in rectilinear 2d transforms. r=roc
2015-01-23 13:07:51 -05:00
Surabhi Anand
b5b1e8520c
Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats
2015-01-16 16:15:52 -05:00
Xidorn Quan
660e809d5e
Bug 1055667 part 2 - Remove unnecessary param of SetBSizeFromFontMetrics. r=dbaron
2015-01-15 20:02:11 +11:00
L. David Baron
f06d6f0b98
Bug 1110277 patch 3 - Look for the GenConPseudos() property on the first continuation/ib-split so that we can find it when looking for the ::after frame. r=bzbarsky
...
The change to GetAfterFrameForContent prevents the reframe that is part
of the chain of events leading to this bug, and thus fixes the bug on
its own. The change to GetBeforeFrameForContent seems desirable for
symmetry.
Note that patch 6 also independently fixes the reported bug.
This probably needs somewhat careful review. We should examine:
(1) what the rules for calling nsLayoutUtils::GetBeforeFrame and
nsLayoutUtils::GetAfterFrame are, and whether both (or neither)
need to be patched.
(2) What the rules are for which frame the GenConProperty() lives on,
and whether we should adjust nsIFrame::GetGenConPseudos() to either
do something more intelligent, or assert about callers.
(We should probably clean up some of these things in a followup bug.)
Since the symptom of this bug is (once patch 4 is in the tree) only
causing extra reframes, it can only be tested using the new API (from
bug 1115691) for observing reframes. I confirmed that the test for this
bug fails without the patch and passes with the patch (as noted by the
removal of its todo annotation).
This patch fixes the assertion on layout/generic/crashtests/600100.xhtml,
though I haven't investigated why.
2015-01-11 15:43:11 -08:00
L. David Baron
fabdf2eb83
Bug 1110277 patch 2 - Add nsLayoutUtils::LastContinuationOrIBSplitSibling(). r=bzbarsky
...
This is used in patch 3.
2015-01-11 15:43:10 -08:00
Geoff Lankow
ccc287c39f
Bug 1114297 - Improve performance of nsTreeBodyFrame::AdjustForCellText for very long strings; r=smontagu
2015-01-11 00:07:58 +13:00
Jonathan Kew
99ee53a813
Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu
2015-01-06 20:56:03 +00:00
Benoit Girard
2dd292c6c0
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Leonid V. Fedorenchik
0f3923a572
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Mats Palmgren
5e7a3ef78d
Bug 1109571 part 2 - Remove nsGkAtoms::tableCaptionFrame. Implement nsIFrame::IsTableCaption() and use that instead. r=roc
2014-12-26 07:21:32 +00:00
Jonathan Kew
cafd427872
Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron
2014-12-23 12:50:10 +00:00
Prabhjyot Singh Sodhi
cd58e9ca1d
Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats
2014-12-18 19:33:18 -05:00
Benoit Girard
3e40c5cbc6
Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
2014-12-18 13:32:53 -05:00
David Anderson
aa28e5e029
Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
2014-12-17 15:37:28 -08:00
Prabhjyot Singh Sodhi
560e8eee1c
Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats
2014-12-17 17:14:05 -05:00
Jonathan Kew
b47325a3cb
Bug 1111879 - Avoid copying an nsFont when we don't need to modify it locally. r=dbaron
2014-12-16 23:02:37 +00:00
Seth Fowler
f2b11429e9
Bug 1106602 (Part 1) - Use pretransform dest rect as default SVG-as-image viewport. r=dholbert
2014-12-15 15:44:13 -08:00
Wes Kocher
a2667ef1a8
Merge inbound to m-c a=merge
2014-12-11 16:50:45 -08:00
Ting-Yu Lin
a1e25edf38
Bug 1067728 - Part 3 - Expose FindNearestCommonAncestorFrame. r=roc
2014-12-10 19:52:00 +01:00
Ting-Yu Lin
721aa8ea41
Bug 1067728 - Part 1.1 - Move IsRectVisibleInScrollFrames to nsLayoutUtils. f=mtseng, r=roc
2014-12-08 01:53:00 +01:00
Mason Chang
46b0f729b0
Bug 1107733. Integrate paint times into telemetry. r=mattwoodrow
2014-12-08 12:43:16 -08:00
Jonathan Watt
c43c77ca9d
Bug 1066713 follow-up - Fix C&P error to get the variable names right.
2014-12-04 18:23:54 -08:00
Jonathan Watt
1a1ce16153
Bug 1066713 - Fix scaled up layer sizing bug that occurs due to scaled up assign-to-int rounding error. r=mattwoodrow
2014-12-03 21:21:42 -08:00
Jonathan Kew
a68f72e4f2
Bug 1106669 - Convert nsLayoutUtils::IntrinsicForContainer to work with logical coordinates. r=smontagu
2014-12-04 00:57:17 -08:00
Kartikaya Gupta
bd341fc1da
Bug 1105823 - Ensure we find a scrollable ancestor even for fixed-position items. r=botond
2014-11-28 12:25:40 -05:00
Jonathan Kew
bbd9e5d5a1
Bug 1105268 - part 2 - Fix logical/physical confusion with min- and max- dimensions in nsLayoutUtils::ComputeSizeWithIntrinsicDimensions(). r=smontagu
2014-11-27 15:01:22 +00:00
Jonathan Kew
3038ba1068
Bug 1105268 - part 1 - Fix the logical/physical confusion with min- and max- dimensions in nsFrame::ComputeSize(). r=smontagu
2014-11-27 15:01:11 +00:00
Daniel Holbert
b359265602
Bug 1098417 part 1.5: Ignore computed anchor-point if 'object-fit' and 'object-position' are at their initial values, for backwards compat. r=seth
2014-11-25 16:46:14 -08:00
Daniel Holbert
e56f86d677
Bug 1098417 part 1: Add optional anchor-point arg to nsLayoutUtils::ComputeObjectDestRect() and nsLayoutUtils::DrawSingleImage(). r=seth
2014-11-21 18:25:46 -08:00
Daniel Holbert
50490b2d65
Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
2014-11-25 11:28:15 -08:00
Kartikaya Gupta
b2a8527170
Bug 918288 - Ensure we set a displayport on elements that we get touch-start events for. r=botond
2014-11-21 21:36:25 -05:00
Kartikaya Gupta
f7078e6ca5
Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond
2014-11-21 21:36:25 -05:00
David Anderson
9b52de759d
Cache the current animated geometry root in nsDisplayListBuilder. (bug 1101260 part 1, r=roc)
2014-11-20 16:58:18 -08:00
Mats Palmgren
249ccee969
Bug 907396 - Make RestyleManager::RestyleElement and nsCSSFrameConstructor::MaybeRecreateFramesForElement deal with display:contents elements. r=bzbarsky
2014-11-20 18:24:10 +00:00
Mats Palmgren
f629d6318c
Bug 907396 - Put display:contents support behind a pref - disabled by default. r=dholbert
2014-11-20 18:24:09 +00:00
Jonathan Kew
2512a00c24
Bug 1110181 - Move mTextOrientation to the nsStyleVisibility struct to avoid potential recursive dependency in nsStyleText. r=dbaron
2014-12-11 18:56:19 +00:00
Daniel Holbert
100c4f77be
Bug 624647 part 1: Add utility method nsLayoutUtils::ComputeObjectDestRect() to handle object-fit/object-position. r=seth
2014-11-14 16:45:23 -08:00
Benoit Girard
de95949f46
Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
2014-11-12 17:54:29 -05:00
Botond Ballo
8e10bf2d87
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
5ff0017ed7
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Botond Ballo
4eddb9ef90
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Carsten "Tomcat" Book
5ab7b878a7
Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE
2014-11-13 11:47:57 +01:00