Carsten "Tomcat" Book
ba1adc5463
Merge mozilla-central to mozilla-inbound
2015-02-11 15:00:07 +01:00
Jonathan Kew
f92871ef03
Bug 1117210 - Snap text baselines to device pixels in vertical writing modes. r=smontagu
2015-02-11 10:59:06 +00:00
Carsten "Tomcat" Book
498863575e
Backed out changeset df2290db92d0 (bug 1117210) for breaking m5 tests on a CLOSED TREE
2015-02-11 11:28:19 +01:00
Kartikaya Gupta
13cce51e10
Bug 1125422 - Populate the ContainerLayer flag to force events to be dispatched to content. r=roc
2015-02-10 16:28:07 -05:00
Kartikaya Gupta
9f15723476
Bug 1125422 - Fold touch and scroll listener flags into a single apz-aware flag for better code reuse. r=roc
2015-02-10 16:28:07 -05:00
Jonathan Kew
e7647bda80
Bug 1117210 - Snap text baselines to device pixels in vertical writing modes. r=smontagu
2015-02-11 08:44:34 +00:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Seth Fowler
557aceb232
Bug 1128225 (Part 2) - Propagate the imgIContainer::Draw result through the nsLayoutUtils::Draw*Image functions. r=tn
2015-02-04 13:50:56 -08:00
David Zbarsky
520ac2cad8
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
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