Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Seth Fowler
1624013327
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
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
David Anderson
fe18c25a8f
Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats)
2015-02-03 15:02:04 -08:00
David Anderson
495039e5d4
Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow)
2015-02-03 14:18:44 -08:00
Kartikaya Gupta
33f9c446a1
Bug 950934 - Enable APZ in the B2G root process. r=botond,smaug
2015-01-12 18:13:18 -05:00
Phil Ringnalda
7b3840d642
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Jim Mathies
7149a4e627
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
c286b2ea59
Don't snap displayports to tile boundaries if we're not tiling. (bug 1126045 part 2, r=kats)
...
--HG--
extra : rebase_source : d42768d98541b26a640fdb8c44b87fcce3f61ac8
2015-01-27 16:04:49 -08:00
Markus Stange
baedc2af15
Bug 1104036 - Make -moz-window-dragging work in rectilinear 2d transforms. r=roc
2015-01-23 13:07:51 -05:00
Surabhi Anand
98a481bdeb
Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats
2015-01-16 16:15:52 -05:00
Xidorn Quan
1bf1df7b1e
Bug 1055667 part 2 - Remove unnecessary param of SetBSizeFromFontMetrics. r=dbaron
...
--HG--
extra : source : aa79c8cebf3e2ab0fd4335eaa3c630a43dbe81f2
2015-01-15 20:02:11 +11:00
L. David Baron
ffe839138c
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
25c494ef46
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
125624cd03
Bug 1114297 - Improve performance of nsTreeBodyFrame::AdjustForCellText for very long strings; r=smontagu
2015-01-11 00:07:58 +13:00
Jonathan Kew
e5ef938a64
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
98b7cc0e56
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Leonid V. Fedorenchik
9085b13b1e
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Mats Palmgren
ee39486143
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
a896eab424
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
0de35ab99f
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
22355f0c17
Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
...
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
David Anderson
9b99c0f6d4
Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
...
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Prabhjyot Singh Sodhi
74d83cd734
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
3837d59146
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
350888d88d
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
6d3a321489
Merge inbound to m-c a=merge
2014-12-11 16:50:45 -08:00
Ting-Yu Lin
9ce9133a81
Bug 1067728 - Part 3 - Expose FindNearestCommonAncestorFrame. r=roc
2014-12-10 19:52:00 +01:00
Ting-Yu Lin
48139f3c66
Bug 1067728 - Part 1.1 - Move IsRectVisibleInScrollFrames to nsLayoutUtils. f=mtseng, r=roc
2014-12-08 01:53:00 +01:00
Mason Chang
93c2db129d
Bug 1107733. Integrate paint times into telemetry. r=mattwoodrow
2014-12-08 12:43:16 -08:00
Jonathan Watt
a1411566af
Bug 1066713 follow-up - Fix C&P error to get the variable names right.
2014-12-04 18:23:54 -08:00
Jonathan Watt
7a66508d5a
Bug 1066713 - Fix scaled up layer sizing bug that occurs due to scaled up assign-to-int rounding error. r=mattwoodrow
...
--HG--
extra : rebase_source : a175e92ab7842ca650ae00d995cc3548f9d188f0
2014-12-03 21:21:42 -08:00
Jonathan Kew
57cc7d8ed1
Bug 1106669
- Convert nsLayoutUtils::IntrinsicForContainer to work with logical coordinates. r=smontagu
2014-12-04 00:57:17 -08:00
Kartikaya Gupta
d159ec1172
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
b7a4ad0f5e
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
f8c40475ef
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
baf1513be2
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
c7ce74a52e
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
a03d3e37d5
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
0611166ee2
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
911702f6c3
Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond
2014-11-21 21:36:25 -05:00
David Anderson
0965889407
Cache the current animated geometry root in nsDisplayListBuilder. (bug 1101260 part 1, r=roc)
2014-11-20 16:58:18 -08:00
Mats Palmgren
b0f013a10d
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
7dbb7d8614
Bug 907396 - Put display:contents support behind a pref - disabled by default. r=dholbert
2014-11-20 18:24:09 +00:00
Jonathan Kew
b6db377e53
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
9f4cb9be39
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