Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Cameron McCormack
0091133bc4
Bug 804975 - Part 2: Add a RuleNodeCacheConditions class and use it instead of a boolean canStoreInRuleTree during style computation. r=dbaron
2015-06-23 11:48:18 +10:00
Botond Ballo
e845def17a
Bug 1173580 - Record content descriptions in APZ test data. r=kats
2015-06-10 20:47:56 -04:00
Mats Palmgren
69ae34f166
Bug 1174450 part 10b - Rename IntrinsicForWM to IntrinsicForAxis and make it take a PhysicalAxis instead of a WritingMode. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
04d2478b70
Bug 1174450 part 10 - Use the right IntrinsicISizeOffsetData for the given writing-mode (this is what fixes the error reported in this bug). r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
dbb34a550d
Bug 1174450 part 9b - Make AddIntrinsicSizeOffset take a PhysicalAxis instead of a WritingMode. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
fcb056fcd4
Bug 1174450 part 9 - Remove the nsRenderingContext* param from Intrinsic*SizeOffsets methods since it's unused. r=jfkthame
2015-06-16 11:21:04 +00:00
Mats Palmgren
949ee2e85b
Bug 1174450 part 7 - Move most of IntrinsicForContainer into a new method, IntrinsicForWM, that takes the writing-mode to use as a parameter. r=jfkthame
...
IntrinsicForContainer(...) is implemented as
IntrinsicForWM(aFrame->GetParent()->GetWritingMode(), ...).
2015-06-16 11:21:04 +00:00
Mats Palmgren
938f02c882
Bug 1174450 part 6 - Add a doc comment for AddIntrinsicSizeOffset and some minor code style fixes. r=jfkthame
2015-06-16 11:21:03 +00:00
Mats Palmgren
5111a72328
Bug 1174450 part 5 - Remove the duplicated min/max calculation in AddIntrinsicSizeOffset, pass a pointer to the calculated absolute values, if any, from IntrinsicForContainer instead. r=jfkthame
2015-06-16 11:21:03 +00:00
Mats Palmgren
2d7c9c4816
Bug 1174450 part 4 - Rename the remaining AddIntrinsicSizeOffset params to follow the aName standard. Also rename local var 'w' to 'size' since it may be either a width or height. r=jfkthame
2015-06-16 11:21:03 +00:00
Mats Palmgren
b808e315bd
Bug 1174450 part 3 - Rename AddIntrinsicSizeOffset local vars from xISize to xSize since the code is generic and handles both ISizes and BSizes. r=jfkthame
2015-06-16 11:21:03 +00:00
Mats Palmgren
86c803f0ad
Bug 1174450 part 2 - Rename most AddIntrinsicSizeOffset params to follow the aName standard. r=jfkthame
2015-06-16 11:21:03 +00:00
Mats Palmgren
607b6991b5
Bug 1174450 part 1 - Split IntrinsicForContainer in two parts; move the latter part to a new function, AddIntrinsicSizeOffset, which applies the padding/border/margin from the given IntrinsicISizeOffsetData. r=jfkthame
2015-06-16 11:21:03 +00:00
Cameron McCormack
8765417a37
Bug 1169514 - Part 2: Move noframes rules from the preferences style sheet to a cached UA style sheet. r=jwatt
2015-06-16 11:34:47 +10:00
Cameron McCormack
53138fd810
Bug 1169514 - Part 1: Move noscript rule from the preference style sheet to a cached UA style sheet. r=jwatt
2015-06-16 11:34:47 +10:00
Markus Stange
95d5ae1570
Bug 1174332 - Correctly compute box-shadow bounds on themed frames with overflow. r=roc
2015-06-15 15:02:01 -04:00
Botond Ballo
5e7ed63658
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
2015-06-08 16:01:26 -04:00
David Anderson
e4bdc9d5b3
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
David Anderson
f4ad77bc5b
Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn)
2015-06-02 16:34:46 -07:00
Timothy Nikkel
dd15266a0a
Bug 1168630. Part 3. Add IsLayersIdRoot to frame metrics. r=botond
...
This field tells us if this frame metrics should be considered the root APZC for its layers id. Without this there doesn't seem to be a way to compute this from just the layers tree.
2015-05-31 14:44:41 -05:00
Timothy Nikkel
7d609846f7
Bug 1168629. Always make sure that there is at least one layer with the metrics for the root scroll frame/root element. r=botond,kats
...
We do this by looking at the layer tree after it has been made to see if the root metrics are in it already.
This is needed to ensure that there is always a root AZPC in a process.
2015-05-31 00:50:21 -05:00
Seth Fowler
73205a27d2
Bug 1169881 - Recompute image visibility when display port margins change. r=tn
2015-05-29 23:50:53 -07:00
Seth Fowler
9c0aacc514
Bug 1169879 - Use only the critical displayport when computing image visibility. r=tn
2015-05-29 22:33:37 -07:00
Ryan VanderMeulen
c86afc17c0
Backed out changeset 4126c66c9a80 (bug 1166728) for Gaia sound_manager_test.js failures.
...
CLOSED TREE
2015-05-29 15:16:53 -04:00
Kyle Zentner
3d8d101f51
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-29 09:17:00 -04:00
Ryan VanderMeulen
b4f972448b
Backed out changeset 541cd29ea626 (bug 1166728) because the updated patch wasn't posted to the bug.
2015-05-29 12:48:22 -04:00
Kyle Zentner
e89b7c3c14
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Ryan VanderMeulen
d6ec37dedb
Backed out changeset dd96df1da2b5 (bug 1166728) for making test_bug320799.html permafail on Mulet.
...
CLOSED TREE
2015-05-28 11:01:18 -04:00
Kyle Zentner
e085cc0fac
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
2015-05-27 09:57:00 -04:00
Jonathan Watt
4c8328b768
Bug 923193, part 4 - Implement support for the 'transform-origin' property in SVG. r=heycam
2015-05-24 22:40:37 +01:00
David Anderson
fb219f8256
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
Botond Ballo
4b848d6b38
Bug 1164406 - Expose scrollbar-area deflation in nsLayoutUtils. r=kats
2015-05-22 15:54:11 -04:00
Ting-Yu Lin
d4aed39ebe
Bug 1110039 - Part 1 - Add nsLayoutUtils::ClampRectToScrollFrames. r=roc
...
ClampRectToScrollFrames generalizes IsRectVisibleInScrollFrames by
returning the clamped rect in scroll frames. IsRectVisibleInScrollFrames
could be implemented by checking whether the clamped rect is empty or
not.
2015-04-14 00:08:00 +02:00
Jonathan Kew
b45f261251
Bug 1159305 - patch 2 - Clean up layout code by using the new accessors. r=smontagu
2015-05-11 11:37:46 +01:00
Kartikaya Gupta
cb5c22758d
Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond
2015-05-07 14:44:03 -04:00
Kartikaya Gupta
27fd9c3087
Bug 1160250 - Fix up the rect being used for the composition size calculation. r=tn
2015-05-07 14:44:03 -04:00
Kartikaya Gupta
a989498c7e
Bug 1160250 - Put in a missing transfomToAncestor scaling factor. r=botond,tn
2015-05-07 14:44:02 -04:00
Kartikaya Gupta
4a32e98afd
Bug 1160250 - Collapse the code from CalculateRootCompositionSize into UpdateCompositionBounds. r=botond,tn
2015-05-07 14:39:20 -04:00
Kartikaya Gupta
463f762c92
Bug 1160250 - Extract a helper function from the triplicated composition-bounds-updating code. r=botond,tn
2015-05-07 14:39:20 -04:00
Kartikaya Gupta
f61642b15b
Bug 1160250 - Extract a helper method from the triplicated comp-bounds function to determine if we need to deflate the scrollbars. r=botond,tn
2015-05-07 14:39:19 -04:00
Seth Fowler
6cb966a0e5
Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280
2015-05-07 09:25:10 -07:00
L. David Baron
613a1db1d8
Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc
...
This fixes bug 1153539 with the Firefox download arrow being pixellated
(verified by testing locally).
I also confirmed what happens on a flame device with the transform
unlocking the Firefox OS homescreen (bug 945082 / bug 972310). For that
transform (which had a maximum scale of 2), I see four calls to
GetSuitableScale:
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
(Presumably the first and third are for width, and the second and fourth
are for height.) I believe this shows that bug 972310 will remain fixed
with this patch.
I chose to use the pres context's visible area rather than the screen
size because it seemed more appropriate, and also because (if memory
serves correctly) it's much cheaper to get.
2015-05-06 08:52:20 +02:00
Kartikaya Gupta
296d089ac3
Bug 1161040 - Add some assertions to guard against infinite loops in the handoff chains. r=botond
2015-05-05 08:36:52 -04:00
Kartikaya Gupta
7fb40e07f3
Bug 1161040 - Don't set a scrollparent on the root content document in the child process that points to itself. r=tn
2015-05-04 14:37:22 -04:00
Kartikaya Gupta
1ae2974b9a
Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn
2015-05-04 10:17:26 -04:00
Wes Kocher
bb63360d2f
Merge inbound to m-c a=merge
2015-05-01 17:19:28 -07:00
Danilo Cesar Lemes de Paula
db43503184
Bug 1159405 - Fix "Found a non-root APZ with no handoff parent". r=botond
2015-04-30 06:06:00 -04:00
Jonathan Watt
18ce1a7020
Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc
2015-04-28 19:55:42 +01:00
Brian Birtles
67c6bec9aa
Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug
2015-04-30 09:06:43 -04:00