Граф коммитов

48107 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 4c8c0044c6 Bug 1221436 patch 4 - Use the same pointer to store the owning rule and the nsHTMLCSSStyleSheet on css::Declaration, since we never need both. r=heycam
The pointer to nsHTMLCSSStyleSheet was added in patch 1 (which was
needed before patch 2), but it was only patch 2 that created the
invariant that we'd only have one pointer or the other, and never both.
Thus this needs to be done separately, after patch 1.

--HG--
extra : commitid : 4KGy9sevepg
2015-11-09 15:57:17 +08:00
L. David Baron a5313b48ed Bug 1221436 patch 3 - Remove Rule::SetHTMLCSSStyleSheet and related code, now unused. r=heycam
This was made unused by patch 2.

--HG--
extra : commitid : 5nbboJpVYvk
2015-11-09 15:57:16 +08:00
L. David Baron a3eadb1b86 Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.

We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.

--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08:00
L. David Baron f6a21597aa Bug 1221436 patch 1 - Have a pointer back from the css::Declaration for style attributes to the nsHTMLCSSStyleSheet. r=heycam
This is needed for patch 2, since we need a replacement for the
mechanism to get from rules to the style attribute sheet
(nsHTMLCSSStyleSheet) that works instead for declarations rather than
rules.

This pointer will be merged with the owning rule pointer in patch 4, but
we can't do that until after patch 2.

--HG--
extra : commitid : CzWSnFhsbcq
2015-11-09 15:57:16 +08:00
sajitk 85550613ed Bug 1219470 - Replace PRLogModuleInfo with LazyLogModule. r=roc 2015-11-05 23:35:03 +01:00
Hiroyuki Ikezoe 325530125c Bug 1216030 - Part 16: Move CanThrottleAnimation and CanThrottleTransformChanges from AnimationCollection into KeyframeEffectReadOnly::CanThrottle. r=bbirtles
The preference check has been removed from CanThrottleTransformChanges
because we already perform that check that when deciding if we should run
an animation on the compositor (in CanPerformOnCompositorThread, as called
by GetAnimationsForCompositor). Hence if the "is running on compositor" flag
is true, we can assume the preference is set (or was set when we decided to
put the animation on the compositor-- we don't worry about pulling the
animation off the compositor immediately if the preference changes while
it is running)
2015-11-06 02:53:00 +01:00
Hiroyuki Ikezoe 3560ee1c78 Bug 1216030 - Part 13: Remove existsProperty check from CanPerformOnCompositorThread. r=dbaron
That's because GetAnimationsForCompositor already checks that there is at least one
property (actually it's now transform or opacity).
2015-11-06 02:48:00 +01:00
Hiroyuki Ikezoe be12dfa988 Bug 1216030 - Part 12: Pass nsIFrame to CanPerformOnCompositorThread to avoid redundant process for getting nsIFrame. r=dbaron
That's because GetAnimationsForCompositor already has an approptiate nsIFrame there.
It's pseudo frame if the animation is on pseudo element.
2015-11-06 02:47:00 +01:00
Hiroyuki Ikezoe d1085f09b0 Bug 1216030 - Part 11: Add KeyframeEffect::CanAnimatePropertyOnCompositor. r=bbirtles
Based on AnimationCollection::CanAnimatePropertyOnCompositor.
The first argument has been changed to nsIFrame* so that we don't need to
get style frame for CanAnimateTransformOnCompositor again.
2015-11-06 02:45:00 +01:00
Hiroyuki Ikezoe 5a4953778a Bug 1216030 - Part 10: Remove CanAnimate_AllowPartial flag. r=bbirtles 2015-11-06 02:43:00 +01:00
Hiroyuki Ikezoe 74a78cc5ad Bug 1216030 - Part 9: We don't need to call CanPerformOnCompositorThread in RequestRestyle.
That's because KeyFrameEffectReadOnly::mIsPropertyRunningOnCompositor indicates the
correct state that the animation property is now running on compositor or not.
So once the flag is set to true, we do not need to check animation properties can run on
compositor after Animation::CanThrottle again.
2015-10-28 02:55:00 +01:00
Hiroyuki Ikezoe 2f335ed059 Bug 1216030 - Part 7: Add nsIFrame::RefusedAsyncAnimation. r=dbaron
Original nsIFrame::RefusedAsyncAnimation was renamed to
nsIFrame::RefusedAsyncAnimationProperty.
2015-10-20 22:03:00 +02:00
Hiroyuki Ikezoe 84322d36f1 Bug 1216030 - Part 6: Add KeyframeEffectReadOnly::IsGeometricProperty. r=bbirtles
This method will be private soon.
2015-11-06 02:38:00 +01:00
Hiroyuki Ikezoe 74c73fa482 Bug 1216030 - Part 5: Add KeyframeEffectReadOnly::CanAnimateTransformOnCompositor. r=bbirtles
This method will be private soon.
2015-11-06 02:38:00 +01:00
Hiroyuki Ikezoe e8f21d7215 Bug 1216030 - Part 4: Move IsCompositorAnimationDisabledForFrame outside animation properties loop. r=dbaron 2015-11-06 02:35:00 +01:00
Hiroyuki Ikezoe 3f7c6431b4 Bug 1216030 - Part 3: Move AreAsyncAnimationsEnabled check outside animation properties loop. r=dbaron 2015-11-06 02:34:00 +01:00
Hiroyuki Ikezoe 15dadfe049 Bug 1216030 - Part 2: Remove gfxPlatform::OffMainThreadCompositingEnabled from CanAnimatePropertyOnCompositor. r=dbaron
It is already checked in nsLayoutUtils::AreAsyncAnimationsEnabled.
And nsLayoutUtils::AreAsyncAnimationsEnabled check is moved at the first of CanAnimatePropertyOnCompositor.
2015-11-06 02:33:00 +01:00
Hiroyuki Ikezoe 892af18264 Bug 1216030 - Part 1: Remove CanAnimate_HasGeometricProperty. r=dbaron
it's enough to check IsGeometricProperty() once within
AnimationCollection::CanPerformOnCompositorThread
2015-11-06 02:32:00 +01:00
Nigel Babu caf4e3fbf3 Backed out changeset f8fa4680e732 (bug 1038663) for OS X reftest bustage on a CLOSED TREE 2015-11-09 10:53:02 +05:30
Christoph Kerschbaumer c209162622 Bug 1222297 - Use channel->Open2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-08 18:54:38 -08:00
Nicholas Nethercote bda7f950f9 Bug 1038663 (part 7, attempt 2) - Add test for percentage values for 'word-spacing'. r=heycam. 2015-11-08 16:43:33 -08:00
Nicholas Nethercote 8198d15f1e Bug 1038663 (part 6, attempt 2) - Allow percentage values for 'word-spacing'. r=heycam. 2015-11-08 16:40:37 -08:00
Nicholas Nethercote 3cde644d8c Bug 1038663 (part 5, attempt 2) - Change GetSpacingFlags(). r=heycam. 2015-11-08 14:49:02 -08:00
Nicholas Nethercote 9ba99963c2 Bug 1038663 (part 4, attempt 2) - Inline StyleToCoord(). r=heycam. 2015-11-08 14:49:02 -08:00
Nicholas Nethercote 163196360e Bug 1038663 (part 3, attempt 2) - Factor out space width computation. r=heycam. 2015-11-08 14:48:58 -08:00
Nicholas Nethercote a34dc73523 Bug 1038663 (part 2, attempt 2) - Move GetFirstFontMetrics() up. r=heycam. 2015-11-08 13:52:58 -08:00
Sebastian Hengst 7399ac0b2a Backed out 3 changesets (bug 1221368, bug 1221371) for build failures in B2G JB Emulator. r=backout
Backed out changeset a50c676caf7f (bug 1221371)
Backed out changeset bd99e5060e1e (bug 1221371)
Backed out changeset 3a22461c8ce8 (bug 1221368)

gecko/ipc/chromium/src/base/task.h:36:4: error: use of deleted function 'RefPtr<T>::operator T*() const && [with T = nsScreenGonk]'
make[6]: *** [nsScreenManagerGonk.o] Error 1
2015-11-08 21:25:22 +01:00
Bill McCloskey dba8372445 Backout bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-11-08 12:24:42 -08:00
Bill McCloskey 2f8ca7a3ce Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-08 10:27:49 -08:00
Bill McCloskey 50c9efe1a4 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-08 10:25:09 -08:00
Cameron McCormack 866defc215 Bug 1222226 - Don't return eRestyleResult_StopWithStyleChange if the old style context is shared. r=dbaron 2015-11-08 11:06:14 +11:00
Timothy Nikkel cf2a0eeaa4 Bug 1220114. Part 2. If a scroll frame is forced to layerize because of an active descendant scroll frame then set a displayport on the ancestor scroll frame so that next paint we don't have to force layerization after the fact and we can do a fully proper paint. r=mstange 2015-11-06 17:32:03 -06:00
Timothy Nikkel 0570e20dc3 Bug 1220114. Part 1. Change ScrollFrameHelper::DecideScrollableLayer to recompute the current animated geometry root any time mWillBuildScrollableLayer changes in addition to when usingDisplayPort changes. r=mstange
Changes in either one can result in AGRs being created or removed (although nothing removes them at this point in time).
2015-11-06 17:32:03 -06:00
Daniel Holbert e322a540bd Bug 1219868: Don't warn for CreateAnonymousContent failure (due to e.g. detecting & breaking <use> reference loops). r=jwatt 2015-11-06 14:59:55 -08:00
Geoff Brown e7a25cb373 Bug 1197716 - On Android, include fonts in test profile; r=jmaher 2015-11-06 12:01:33 -07:00
Mason Chang 8aa60c20d6 Bug 1221674 - Add telemetry probe in the content process to measure the time between refresh driver ticks. r=kats 2015-11-06 08:20:58 -08:00
Hiroyuki Ikezoe 443e1dfb4b Bug 1197620 - Part 3: Terminate *all* animations if corresponding element style is changed to display:none. r=bbirtles 2015-11-06 07:21:38 +09:00
Nigel Babu a30981c2d0 Backed out changeset b456daa0503f (bug 1221842) for B2G ICS Emulator Opt R7 bustage on a CLOSED TREE 2015-11-06 12:50:58 +05:30
Nigel Babu 52d7459eca Backed out 6 changesets (bug 1038663) for Android opt R2 bustage
Backed out changeset 97e3492d6080 (bug 1038663)
Backed out changeset d176322f2d36 (bug 1038663)
Backed out changeset f69af9161252 (bug 1038663)
Backed out changeset 8bb77e5fad8c (bug 1038663)
Backed out changeset 954e57438f51 (bug 1038663)
Backed out changeset 16c0919101cd (bug 1038663)
2015-11-06 12:49:36 +05:30
Nicholas Nethercote e7249c51ad Bug 1038663 (part 7) - Add test for percentage values for 'word-spacing'. r=heycam.
--HG--
extra : rebase_source : 5a38cf019e84c04edab06e436893dd028449db0c
2015-11-05 17:43:28 -08:00
Nicholas Nethercote b7bd8564c0 Bug 1038663 (part 6) - Allow percentage values for 'word-spacing'. r=heycam.
--HG--
extra : rebase_source : b7220e3c156dfef451e79b2911fbba7dec93850d
2015-11-05 17:25:46 -08:00
Nicholas Nethercote 90b8e844aa Bug 1038663 (part 5) - Change GetSpacingFlags(). r=heycam.
Again, this doesn't make sense in isolation, but it will make it easier to
allow for percentage word-spacing in a subsequent patch.

--HG--
extra : rebase_source : 5a120273b4191ae3ac9ae0532e56eb870558d4d6
2015-11-05 16:33:37 -08:00
Nicholas Nethercote 12d49e11b3 Bug 1038663 (part 4) - Inline StyleToCoord(). r=heycam.
This doesn't make much sense by itself, but one of the call sites will be
changed in a subsequent patch.

--HG--
extra : rebase_source : 7b3bb92e6e08137434f4abd56a3b423ca82e4b0e
2015-11-04 21:10:36 -08:00
Nicholas Nethercote a6e88b52f4 Bug 1038663 (part 3) - Factor out space width computation. r=heycam.
This will be reused in a subsequent patch.

--HG--
extra : rebase_source : 67d14767298841dbe3f38d2f7a1c89dfcec122dd
2015-11-04 18:02:40 -08:00
Nicholas Nethercote 0edc52ad5a Bug 1038663 (part 2) - Move GetFirstFontMetrics() up. r=heycam.
This is necessary for a subsequent patch.

--HG--
extra : rebase_source : 4d80215e1ee75105344db5d101cfa5d5d47ea33a
2015-11-04 18:02:20 -08:00
Nicholas Nethercote a12d073206 Bug 1187144 (part 1) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 0d92d0cc642a59d7229062c4b5519ecc12a06149
2015-11-03 15:51:03 -08:00
Botond Ballo 5bf85e9f9d Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical
--HG--
extra : source : 1f371f014048ed4c3c25095233fea927311a7e23
2015-11-04 11:49:49 -05:00
Matt Woodrow ddca4f6bab Bug 1221842 - Don't reallocate DLBI geometry objects if nothing has changed. r=roc 2015-11-06 16:57:47 +13:00
Phil Ringnalda aba097f1de Bug 1186440 - skip test_garbage_at_end_of_declarations.html on b2g debug
--HG--
extra : rebase_source : f1c2056a8406e707a54e028276c70483e9ff700f
2015-11-05 19:35:58 -08:00
L. David Baron 2187e9fcf7 Bug 1186768 patch 3 - Compute affectedByScriptMinSize sooner to avoid asserting or doing extra work. r=heycam
The assertion added in patch 1 caught a separate bug, which is that we
were computing whether we were affected by scriptMinSize too soon.
Prior to patch 1, this bug meant doing extra work (taking the slow
path).  With patch 1, this changes in documents without MathML to
hitting the assertion instead of taking the slow path.

--HG--
extra : commitid : JD1GY8VL4F0
2015-11-06 11:26:50 +08:00
Jesse Ruderman 9b054b046b Bug 1186768 patch 2 - Crashtest. r=heycam
David Baron confirmed locally that this fails with a fatal assertion
without patch 1 and passes with patch 1.

--HG--
extra : commitid : I8JJwlxIugj
2015-11-06 11:26:50 +08:00
L. David Baron 3c9d5e2196 Bug 1186768 patch 1 - Avoid setting different font-size conditions due to MathML font size adjustments. r=heycam
--HG--
extra : commitid : 7NjsLU22Vcv
2015-11-06 11:26:49 +08:00
Cameron McCormack 917185f23e Bug 1220516 - Devirtualize CSSStyleSheet::GetOriginalURI. r=bzbarsky 2015-11-06 12:10:15 +11:00
Mike Hommey 4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Timothy Nikkel ae9c7ca837 Bug 1208780. Set a zero-margin displayport on all scrollable ancestors of frames with displayports if they don't already have a displayport. r=botond 2015-11-05 18:57:17 -06:00
Timothy Nikkel 8345aeaa49 Bug 1218851. Fix comments related to nsIPresShell::RenderDocument and flags RENDER_DOCUMENT_RELATIVE and RENDER_IGNORE_VIEWPORT_SCROLLING. r=roc
The two flags combined used to be represented by just RENDER_IGNORE_VIEWPORT_SCROLLING. Until http://hg.mozilla.org/mozilla-central/rev/99279c1c33cc (bug 590294) split RENDER_DOCUMENT_RELATIVE out. It split out the requested rect to be document relative. But it also split out the part about "drawing the document as if it had not been scrolled" with the new flag, but the comments for that part didn't get updated.

The names of the flags are perhaps inaccurate, but changing that requires changing a lot more code.
2015-11-05 18:57:17 -06:00
Nicholas Nethercote 6f4a1e234b Bug 1059014 (part 3) - Remove support for pausing and resuming painting. r=dbaron.
This reverts much of part 2 of bug 878935, except for the Android browser.js
changes which have already been reverted elsewhere.

--HG--
extra : rebase_source : efdcede145567d8a56409cebecdd49a9307ec71a
2015-11-04 20:55:32 -08:00
Nicholas Nethercote 6cdc913990 Bug 1059014 (part 2) - Remove support for reflow on zoom event pending. r=dbaron.
This basically reverts part 2 of bug 836565.

--HG--
extra : rebase_source : 4b047c51b01936e079d9e785bb1653863eacc4cd
2015-11-04 20:55:16 -08:00
Nicholas Nethercote f07dc1c47b Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron.
This basically reverts bug 780258.

--HG--
extra : rebase_source : 59cc458d83fed9735e9e0321ec52a0a9484bd7ba
2015-11-04 20:25:01 -08:00
Mats Palmgren 504eab4598 Bug 1221902 part 2 - Crashtest. 2015-11-05 22:09:27 +01:00
Mats Palmgren 6e2478df90 Bug 1221902 part 1 - NS_RELEASE SheetLoadData::mNext iteratively instead of recursively to avoid blowing up the stack. r=bz 2015-11-05 22:09:27 +01:00
Jonathan Kew 8290bbf2e8 Bug 1221874 - Ignore the sideways-orientation flag when logical-coordinate classes are checking writing-mode compatibility. r=smontagu 2015-11-05 15:38:53 +00:00
Jonathan Kew 1821542838 Bug 1221874 - Crashtest for overzealous writing-mode check (currently asserts). r=smontagu 2015-11-05 15:37:56 +00:00
Mason Chang 1dcb06648d Bug 1211264. Fallback to render dest rect with outer box shadows on non-int transforms. r=mstange 2015-11-05 07:29:52 -08:00
Carsten "Tomcat" Book 03ccfb0b59 Backed out changeset dae1d7e445d3 (bug 1186768) for r4 test failures on a CLOSED TREE
--HG--
extra : amend_source : be88b3fbc0ba0890271fb6d560ef52db453cad12
2015-11-05 11:21:42 +01:00
Carsten "Tomcat" Book 86d664fb6c Backed out changeset a4101bc25be5 (bug 1186768) 2015-11-05 11:21:22 +01:00
Jesse Ruderman f27166e6a2 Bug 1186768 patch 2 - Crashtest. r=heycam
David Baron confirmed locally that this fails with a fatal assertion
without patch 1 and passes with patch 1.

--HG--
extra : commitid : ITdBA0fwuCq
2015-11-05 16:50:04 +08:00
L. David Baron 662cc6dc27 Bug 1186768 patch 1 - Avoid setting different font-size conditions due to MathML font size adjustments. r=heycam
--HG--
extra : commitid : AbCN2MsVtTo
2015-11-05 16:50:04 +08:00
L. David Baron 48a87a960e Bug 978833 patch 19 - Fix ResolvedStyleCache to use Declaration rather than nsCSSKeyframeRule as keys. r=heycam
This isn't needed today, but it makes more sense, and if we ever gave
the cache a longer lifetime, it would be needed, since the
nsCSSKeyframeRule can maintain its identity across style changes whereas
a matched Declaration cannot.

--HG--
extra : commitid : LPoMlq8m1TH
2015-11-05 16:44:11 +08:00
L. David Baron a511f77fef Bug 978833 patch 18 - Eliminate StyleRule::RuleMatched and call Declaration::SetImmutable directly for style rules (like for @page and keyframe rules). r=heycam
This is just simplification (plus the addition of an assertion).

--HG--
extra : commitid : 8jnKsQbG74s
2015-11-05 16:44:10 +08:00
L. David Baron 7d8e9c1328 Bug 978833 patch 17 - Remove Rule::mWasMatched. r=heycam
--HG--
extra : commitid : 61ndKkCSYPa
2015-11-05 16:44:10 +08:00
L. David Baron d049548fd1 Bug 978833 patch 16 - Always call Declaration::SetImmutable when we match a rule. r=heycam
This change needs to happen before future work that would get rid of the
DeclarationChanged dance in which we make a new StyleRule, but I've
postponed that work to a later bug.  Without this, those changes would
cause a regression, because we'd only call SetImmutable on a StyleRule's
first mDeclaration.  However, we may as well do this now, as it makes
patch 17 and patch 18 possible.

--HG--
extra : commitid : GcyBFi1AWHy
2015-11-05 16:44:10 +08:00
L. David Baron cdd348acd9 Bug 978833 patch 15 - Make css::Rule no longer inherit from nsIStyleRule. r=heycam
This inheritance was previously needed only by a subset of the classes
derived from css::Rule (css::StyleRule, nsCSSKeyframeRule,
nsCSSPageRule).  After patch 12, it is now needed by none.

--HG--
extra : commitid : CEFVRbS42w6
2015-11-05 16:44:10 +08:00
L. David Baron 62e38bcd54 Bug 978833 patch 14 - Pass mozilla::css::Rule instead of nsIStyleRule to nsIDocument/nsIDocumentObserver style rule methods. r=heycam
This also fixes bug 980560.

This is needed for patch 15, which will make the rules passed to these
methods no longer implement nsIStyleRule.

TODO (bug 1221908): Given the amount that these parameters are used (not
at all), perhaps we should have a followup on removing them and
simplifying these notifications?

--HG--
extra : commitid : 2RmPg80eWs6
2015-11-05 16:44:10 +08:00
L. David Baron 515251be97 Bug 978833 patch 13 - Remove important rule creation from css::StyleRule. r=heycam
This is the removal half corresponding to the additions in patch 7; the
removal needs to happen after patch 12.

--HG--
extra : commitid : 6Q3PyIcGMWY
2015-11-05 16:44:10 +08:00
L. David Baron bd9bbaa522 Bug 978833 patch 12 - Use the css::Declaration instead of the css::StyleRule as the matching rule. r=heycam
This is the key change in this patch series; it changes the object we
use for style data (currently nsIStyleRule) identity.  It allows
removing some hacks we have to deal with that for StyleRule, and avoids
having to write similar hacks for nsCSSKeyframeRule and nsCSSPageRule
(which are broken without this).

I confirmed locally that it is this patch that fixes both of the todo_is
mochitests, by building and testing with the patch queue through patch
11, and again through patch 12.

--HG--
extra : commitid : AzgBp6KfPhJ
2015-11-05 16:44:10 +08:00
L. David Baron c98145c66e Bug 978833 patch 11 - Add missing #includes in preparation for nsRuleWalker.h #include change in following patch. r=heycam
Patch 12 changes nsRuleWalker.h from including StyleRule.h to including
Declaration.h; this fixes other headers to deal with that change based
on the include-what-you-use principle.

--HG--
extra : commitid : 5z9LIJ2QKCn
2015-11-05 16:44:09 +08:00
L. David Baron c5977aca9e Bug 978833 patch 10 - Raise consistent exceptions so that the exception doesn't depend on rule destruction timing. r=bzbarsky
Prior to patch 12, rule destruction for rules that were matched doesn't
happen until rule tree GC.  This means that GetCSSDeclaration is less
likely to return null, but then GetCSSParsingEnvironment might fail.
With StyleRule no longer participating in the rule tree, they're more
likely to be destroyed quickly, leading to the !olddecl failure case
instead of the !env.mPrincipal failure case.

This is needed to avoid patch 12 causing:
TEST-UNEXPECTED-FAIL | layout/inspector/tests/chrome/test_bug727834.xul | original rule is not available for modification anymore - got "NS_ERROR_FAILURE", expected "NS_ERROR_NOT_AVAILABLE"

--HG--
extra : commitid : K8f1NS4DX9F
2015-11-05 16:44:09 +08:00
L. David Baron ea035e72bc Bug 978833 patch 9 - Move keyframe !important data assertion to where it will continue to happen. r=heycam
The current location of the assertion will stop being called in patch 12
and will go away in patch 15; the new location is valid both before and
after patch 12.

--HG--
extra : commitid : 8wH1hXHKWU5
2015-11-05 16:44:09 +08:00
L. David Baron 6208d2fc5b Bug 978833 patch 8 - Call SetImmutable for declarations of @page and keyframe rules. r=heycam
This probably should have been done before, but prior to this patch
series, dynamic changes of the declarations on these rules were broken
due to rule immutability violations; now that is no longer the case, but
to benefit from that, I believe we actually need to mark the
declarations as immutable once matched so that dynamic changes will
trigger construction of a new declaration (which thus has a new
nsIStyleRule identity).

--HG--
extra : commitid : 8IsYBd67qQr
2015-11-05 16:44:09 +08:00
L. David Baron 4ed7c0f036 Bug 978833 patch 7 - Fuse allocation of ImportantStyleData with Declaration. r=heycam
Note that this adds a new public API to css::Declaration; the equivalent
API is removed from css::StyleRule and nsCSSPageRule in patch 13.  But
the removal and addition need to be on opposite sides of patch 12.

This fused allocation is no larger than having a pointer, and it removes
having to worry about cycles.

--HG--
extra : commitid : EOrsMKswNMP
2015-11-05 16:44:09 +08:00
L. David Baron ed0b078c21 Bug 978833 patch 6 - Move ImportantStyleData from StyleRule.{h,cpp} to Declaration.{h,cpp} r=heycam
This is needed for patch 7.

Note that this removes an unused "friend class StyleRule;" declaration.

--HG--
extra : commitid : Fjns3SwV7M1
2015-11-05 16:44:09 +08:00
L. David Baron 00351db8e0 Bug 978833 patch 5 - Rename ImportantRule to ImportantStyleData. r=heycam
(This is part of a longer term plan to rename nsIStyleRule to StyleData
and nsIStyleRuleProcessor to StyleDataSource.  I'm not doing all of that
here, though.)

--HG--
extra : commitid : DZGpUQO2Fey
2015-11-05 16:44:08 +08:00
L. David Baron 8a5bc09609 Bug 978833 patch 4 - Add pointer back from css::Declaration to css::Rule. r=heycam
This is used in patch 12, in nsStyleSet::AssertNoCSSRules and in
inDOMUtils::GetCSSStyleRules.

--HG--
extra : commitid : 8oiNdCdLIV6
2015-11-05 16:44:08 +08:00
L. David Baron 3a0f427640 Bug 978833 patch 3 - Make css::Declaration implement nsIStyleRule. r=heycam
We switch to using this implementation instead of the one in
css::StyleRule in patch 12.

(Yes, implementing QueryInterface for a CID is ugly, but it's the same
thing StyleRule does.  Unfortunately now we'll need to have it in both
places.)

--HG--
extra : commitid : 9O6Z3E868cq
2015-11-05 16:44:08 +08:00
L. David Baron 867d3273b6 Bug 978833 patch 2 - Make css::Declaration reference-counted. r=heycam
This is done in preparation for making it implement nsIStyleRule, which
happens in patch 3, and which is used in patch 12.

--HG--
extra : commitid : 56cV7yfXq59
2015-11-05 16:44:08 +08:00
L. David Baron d004cb1154 Bug 978833 patch 1 - Add mochitest for bug 978833. r=heycam
I confirmed that without the patch series, the tests marked todo_is do
fail.

--HG--
extra : commitid : 16Psh9NUs9n
2015-11-05 16:44:07 +08:00
Cameron McCormack ddac6ef6db Bug 1220506 - Remove unused CSSStyleSheet::InsertStyleSheetAt. r=bzbarsky 2015-11-05 19:02:59 +11:00
Cameron McCormack 4a88ac6c5e Bug 1220513 - Remove unused CSSStyleSheet::StyleSheetCount. r=bzbarsky 2015-11-05 18:24:41 +11:00
Cameron McCormack 7d1d45fcfb Bug 1220509 - Remove unused CSSStyleSheet::PrependStyleRule. r=bzbarsky 2015-11-05 18:24:30 +11:00
Cameron McCormack fc548e7db1 Bug 1220496 - Create PresHint/StyleAttr rule processors in nsStyleSet::Init and make DirtyRuleProcessors private. r=bzbarsky 2015-11-05 18:24:22 +11:00
Daniel Holbert cb0e88d278 Bug 1208635 part 3: Treat "-webkit-box" as a known CSS keyword, for better parsing performance. r=heycam 2015-11-04 17:59:54 -08:00
Daniel Holbert 6c7605c5d8 Bug 1208635 part 2: Extend existing parser code for CSSUnprefixingService "-webkit-box" handling to also activate if native unprefixing is enabled. r=heycam 2015-11-04 17:59:52 -08:00
Daniel Holbert 1375826a46 Bug 1208635 part 1: Add support for several prefixed CSS properties associated with -webkit-box, as aliases for modern flexbox properties (and behind a pref). r=heycam
Specifically, this adds the following alias mappings:
  -webkit-box-flex          --> flex-grow
  -webkit-box-ordinal-group --> order
  -webkit-box-align         --> align-items
  -webkit-box-pack          --> justify-content
2015-11-04 17:59:51 -08:00
Timothy Nikkel 528864b6be Bug 1215977. Add a flag for GetNearestScrollable that makes fixed pos frames return the root scroll frame of their document. And make APZCCallbackHelper use it to restore previous behaviour. r=botond
We may want to do this for fixed pos frames in all documents (not just root documents). However, this patch only maintains the previous behaviour on purpose.
2015-11-04 19:51:03 -06:00
Timothy Nikkel 8fedb37cdc Bug 1215977. Only match the root scroll frame in GetNearestScrollableFrame if we encounter it. r=botond
Instead of returning the root scroll frame if we encountered the root frame (which is the parent of the root scroll frame).

This allows the use of GetNearestScrollableFrame to walk up the frame tree without getting into a infinite loop going from root scroll frame to root frame and back.

This regresses bug 1105823 in that fixed pos frames will no longer find the root scroll frame of their document. The next patch will fix that.

The only other type of frame that will be affected when calling GetNearestScrollableFrame are viewport (root) frames. However, the only user of SCROLLABLE_ALWAYS_MATCH_ROOT (APZCCallbackHelper) calls GetNearestScrollableFrame on the result of a hit test on a display list. Viewport frames never create any display items whose HitTest function could return the viewport frame.
2015-11-04 19:51:03 -06:00
Timothy Nikkel b9113902fc Bug 1215974. In GetNearestScrollableFrame don't skip the root scroll frame if we are asked to always match the root scroll frame even if it doesn't WantAsyncScroll(). r=botond
SCROLLABLE_ALWAYS_MATCH_ROOT should take precendence over SCROLLABLE_ONLY_ASYNC_SCROLLABLE as if we fail to find the root scroll frame we will have no usable scroll frame at all.
2015-11-04 19:51:03 -06:00
Wes Kocher ba3e14b5ca Backed out 3 changesets (bug 1176792) for WinXP/7 w(4) permafail
Backed out changeset 4d2f2e40bb5d (bug 1176792)
Backed out changeset 3de6f54e7f41 (bug 1176792)
Backed out changeset 887df043de31 (bug 1176792)

--HG--
extra : commitid : 1wE7FZUeTA1
2015-11-04 15:42:38 -08:00
Sebastian Hengst 7397339686 Backed out changeset c780a165dca1 (bug 1098131) for bc7 failures, at least on Linux. r=backout
browser_backButtonFitts.js | uncaught exception - TypeError: this.mCurrentBrowser.docShell is null at chrome://browser/content/tabbrowser.xml:4004
2015-11-04 20:41:16 +01:00
George Wright 00c482fdda Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug 2015-11-04 13:23:03 -05:00
Daniel Holbert d7c529e1a0 Bug 1221112: When checking for ::before/::after while sorting flex items by DOM order, dig past placeholder to out-of-flow frame. r=mats 2015-11-04 07:48:59 -08:00
Mats Palmgren ac4183b989 Bug 1176792 part 3 - [css-grid] Reftests for the 'grid-column-gap' and 'grid-row-gap' properties. 2015-11-04 13:46:32 +01:00
Mats Palmgren 4e5cfec08a Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-04 13:46:32 +01:00
Mats Palmgren 4aaaee94eb Bug 1176792 part 1 - [css-grid] Implement the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties in the style system. r=dholbert 2015-11-04 13:46:32 +01:00
Xidorn Quan a1dd9fc19e Bug 1216332 - Remove framearena helpers from abstract frame classes and stop them from being instantiated. r=dbaron
--HG--
extra : source : 9f59591f02706190e56db8ad89ff5a769b5c47dd
2015-11-04 20:57:35 +11:00
Daniel Holbert 84f5ecb5d0 Bug 1221407: Annotate reftest flexbox-align-self-baseline-horiz-3.xhtml as slightly-fuzzy on Mac. (no review) 2015-11-03 23:03:44 -08:00
Daniel Holbert 31dd36ab92 Bug 1179444: Add support for CSS properties -webkit-backface-visibility, -webkit-perspective, and -webkit-perspective-origin, as aliases (behind a pref). r=heycam 2015-11-03 22:38:52 -08:00
Daniel Holbert f852a2db72 Bug 1179393: Add support for -webkit-border-image longhand CSS properties, as aliases (behind a pref). r=heycam
Specifically, this patch adds support for these longhand properties:
-webkit-border-image-outset
-webkit-border-image-repeat
-webkit-border-image-slice
-webkit-border-image-source
-webkit-border-image-width
2015-11-03 22:38:01 -08:00
Matt Woodrow 8c47ae7506 Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc 2015-11-03 16:49:22 +13:00
Robert O'Callahan add8103aa5 Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
--HG--
extra : commitid : BUBPKQYEZGy
extra : rebase_source : b949adb895716866f545e00dbf88734fd0138fd1
2015-10-21 16:27:50 +13:00
Mats Palmgren 02611daf0f No bug - [css-grid] Add a small fuzz factor to make this reftest pass on Windows. r=me 2015-11-03 22:33:16 +01:00
Mats Palmgren d860fa7191 Bug 1211260 - [css-grid] Follow-up: address a code readability nit that I missed. r=dholbert 2015-11-03 22:33:16 +01:00
Mats Palmgren 59d2bd18d3 Bug 1176775 part 2 - [css-grid] Testcases for 'auto' min-sizing and intrinsic 'min-width|height'. 2015-11-03 21:45:33 +01:00
Mats Palmgren a09faf6998 Bug 1176775 part 1 - [css-grid] Implement "Implied Minimum Size of Grid Items" (special min-width/height:auto behavior). r=dholbert 2015-11-03 21:45:33 +01:00
Mats Palmgren 759f29e87f Bug 1163435 part 2 - tests. 2015-11-03 21:45:33 +01:00
Mats Palmgren a113aae1a5 Bug 1163435 part 1 - [css-grid][css-flexbox] Propagate an explicit CB width/height to the reflow state to resolve percentage lengths for grid items properly. Resolve percent against the size in the same axis for abs.pos. children too. r=dholbert
Grid items are supposed to use the size of their 'grid area',
not their grid container, as their containing block.
2015-11-03 21:45:33 +01:00
Mats Palmgren cad3e35d69 Bug 1215957 - Reftests. 2015-11-03 21:45:32 +01:00
Mats Palmgren d05caaac36 Bug 1215957 - Start at the end of the explicit grid also when matching plain negative number lines. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren 426c64bebe Bug 1215182 - Reftests. 2015-11-03 21:45:32 +01:00
Mats Palmgren 9f977fa5fc Bug 1215182 - [css-grid] Make our "Implicit Named Areas" detection match the spec. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren 97a104a942 Bug 1211260 - Implement the new Grid Placement Conflict Handling: "If the placement for a grid item contains two lines, and the start line is further end-ward than the end line, swap the two lines." r=dholbert
https://drafts.csswg.org/css-grid/#grid-placement-errors
2015-11-03 21:45:32 +01:00
Mats Palmgren b264df1571 Bug 1215099 part 2 - [css-grid] An empty grid should still have one explicit grid line in each axis. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren f6a6570360 Bug 1215099 part 1 - [css-grid] Backout bug 1206703. r=dholbert 2015-11-03 21:45:32 +01:00
Kartikaya Gupta 2a13672d4b Bug 1141884 - Handle wheel events on the main thread if the frame has snapping. r=dvander,mstange
--HG--
extra : commitid : Jw0Kdhy4ob6
2015-11-03 14:21:40 -05:00
Nathan Froyd 50a3cf956c Bug 1220714 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in layout/; r=dholbert 2015-10-30 15:12:25 -04:00
Jim Chen 498b10c3cb Bug 1219833 - Respect composition underline color; r=masayuki
nsTextFrame didn't use the composition underline color if the
composition didn't have a foreground color defined. This patch makes it
use the underline color if foreground color is not defined.
2015-11-03 11:53:58 -05:00
Mats Palmgren 2999a4b4c2 Bug 1151214 part 4 - [css-grid][css-align] Add reftests for the 'justify-content' and 'align-content' CSS properties on grid containers. 2015-11-03 17:52:40 +01:00
Mats Palmgren 7920856c17 Bug 1151214 part 3 - [css-grid][css-align] Implement layout for the 'justify-content' and 'align-content' CSS properties on grid containers. r=dholbert 2015-11-03 17:52:40 +01:00
Mats Palmgren 6708be703f Bug 1151213 part 2 - [css-grid][css-align] Reftests for the 'align-self' and 'justify-self' properties on grid items.
There are also some corrections here for existing reftests because
the old temporary 'stretch' scaffolding was wrong in many ways.
2015-11-03 17:52:40 +01:00
Mats Palmgren 8abe331366 Bug 1151213 part 1 - [css-grid][css-align] Implement layout for the 'align-self' and 'justify-self' properties on grid items. r=dholbert 2015-11-03 17:52:40 +01:00
Mason Chang 50a1920a4f Bug 1217905. Don't transform dest rects if destination context has a rotation with inset box shadows. r=mstange 2015-11-03 07:38:34 -08:00
Mats Palmgren a77e1f7b8d Bug 1151214 part 2 - [css-flexbox][css-align] Shim implemention for the new align/justify property values in flexbox layout (just to avoid fatal assertions). r=dholbert 2015-11-03 15:18:06 +01:00
Mats Palmgren 87a0b397a7 Bug 1176782 part 8 - [css-align] Update three tests that assumed that the computed value of 'align-items' is 'stretch' on all types of boxes which is no longer true. 2015-11-03 15:18:06 +01:00
Mats Palmgren 7c6b7fe751 Bug 1176782 part 7 - [css-align] Update the flexbox layout code to use the new align/justify style constants and remove the old in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren b06df07867 Bug 1176782 part 6 - [css-align] Implement additional syntax and values for the 'align-content' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren ab2709bc55 Bug 1176782 part 5 - [css-align] Implement additional syntax and values for the 'align-self' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren 343fce8c76 Bug 1176782 part 4 - [css-align] Implement additional syntax and values for the 'align-items' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Mats Palmgren 5259497975 Bug 1176782 part 3 - [css-align] Implement additional syntax and values for the 'justify-content' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Mats Palmgren 9ef57353d7 Bug 1176782 part 2 - [css-align] Implement the 'justify-self' property in the style system. r=SimonSapin 2015-11-03 15:18:05 +01:00
Mats Palmgren cb1d1d16b1 Bug 1176782 part 1 - [css-align] Implement the 'justify-items' property in the style system. r=SimonSapin 2015-11-03 15:18:05 +01:00
Nick Robson acd22ee0b8 Bug 1216284 - Tooltips do not flip correctly on OSX. r=enndeakin
--HG--
extra : rebase_source : fb1847a65adfd3d80cd0dc45e30d49729d840eff
2015-11-02 14:26:00 +01:00
Timothy Nikkel ee21c076c2 Bug 1156238. Skip setting async scroll clips if we aren't painting to the window because they are useless then. r=mstange
Displayports only get acted upon when painting to the window, and the async scroll clips only get computed when we use a displayport.

In addition we change an assert because if we are painting to the window then our root reference frame is either a root frame, or a popup frame. In either case we should not be able to get to out of flows outside of the frame subtree rooted at the root reference frame by following placeholders.
2015-11-03 02:03:47 -06:00
Timothy Nikkel fab15510f7 Bug 1156238. Fix the computation of animated geometry roots for transform items. r=mattwoodrow
Removing the "stop at ancestor" parameter from functions that compute AGR meant that nsLayoutUtils::GetAnimatedGeometryRootFor could no longer pass the display item's reference frame as the "stop at ancestor" which meant that the AGR could cross the reference frame for the item, which we don't want. So we make transformed frames into AGRs.

This makes the computation of display items whose frames are transformed tricky. We need the AGR of the transform item to be the ancestor AGR, not the underlying frame of the transform item (which is now an AGR). So we modify nsLayoutUtils::GetAnimatedGeometryRootFor to handle this. (The patch from bug 1205087 didn't suffer from this problem because it special cased the computation of the AGR of transform items. Leaving anybody who called nsLayoutUtils::GetAnimatedGeometryRootFor to get the wrong result.)

The computation of the AGR for scroll metadata in ContainerState::ProcessDisplayItems specifically bypassed nsLayoutUtils::GetAnimatedGeometryRootFor to avoid it's special processing of fixed background items. However we do want the AGR for scroll metadata to do this special processing of transform items. So we add a flag to bypass the fixed background behaviour and use it for the scroll metadata AGR.
2015-11-03 02:03:47 -06:00
Matt Woodrow cf0b78ff4c Bug 1156238. Always stop at the root reference frame when looking for an animated geometry root. r=roc,mattwoodrow
This removes the "aStopAtAncestor" argument to agr computing functions. In most cases an AGR was passed for the stop at ancestor, so we'd stop at it anyway since it was an AGR. Most of the remaining cases the root reference frame was passed. And in a few cases something else was passed, which we probably don't want (returning something that isn't an AGR and isn't the root reference frame as an AGR).

The ShouldFixToViewport case is a little tricky. We want to get the AGR of the nearest viewport frame, but only if we don't have to cross our root reference frame to get it. This happens in practice for example when a select dropdown has background-attachment: fixed inside it.

Except for the ShouldFixToViewport bit, this patch is a subset of part 3 in bug 1205087 (which has more changes, and has been temporarily backed out, the remaining bits can hopefully land soon).

The ShouldFixToViewport part is by Timothy Nikkel <tnikkel@gmail.com>
2015-11-03 02:03:47 -06:00
Nigel Babu 9892fe78d6 Backed out changeset de50fec5c3a6 (bug 1219020) 2015-11-03 11:59:06 +05:30
Nigel Babu aa60675f7f Backed out changeset 19e021ef5ba1 (bug 1216288) 2015-11-03 11:59:05 +05:30
Matt Woodrow ffd079e640 Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc
--HG--
extra : rebase_source : 9eade6266c0a1f6485e5b82ab0c0c5bc49f9a85c
2015-11-03 16:49:22 +13:00
Matt Woodrow 63db61e6ca Bug 1219020 - Don't do layer tree comparisons for inactive layer trees that have changed layers since we'll invalidate it all anyway. r=roc
--HG--
extra : rebase_source : 659233e99a8c84a7d4a097aed06adb243bd10955
2015-11-03 16:48:42 +13:00
Jamie Nicol 7f20521a78 Bug 1223479 - Fix displayport size calculation on fennec. r=kats
The displayport was accidentally being calculated as too large. This was
leading to a large number of tiles existing at once, causing very high
memory usage.
2015-11-11 09:38:12 +00:00
Mats Palmgren eb154663cc Bug 1092626 - Don't try to restore the scroll position if the frame is still dirty or has dirty children. r=roc 2015-11-11 11:33:34 +01:00
Kartikaya Gupta 795d8736fd Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc 2015-10-05 17:09:34 -04:00
Mason Chang 02d08f46c2 Bug 1220699 - Add telemetry probe to measure vsync latency in the parent refresh driver. r=avih 2015-11-02 13:21:06 -08:00
Robert Longson 6bb5c22f19 Bug 803562 - force -moz-appearance: none on foreignObject elements. r=dbaron 2015-11-02 19:17:48 +00:00
Markus Stange bbd3965fc2 Bug 1201327 - Don't repaint the whole frame subtree when background-position changes. r=dbaron
--HG--
extra : commitid : C4Jy6JKsE6u
extra : rebase_source : 25c48c50ca2b89f321f1cf699c3a6081b1e074f5
extra : amend_source : a4e07cf315a0273e867d07f53703f6def2124d37
2015-11-02 17:36:35 +01:00
Markus Stange ec2e30835a Bug 1201327 - Let DLBI detect background-position changes. r=mattwoodrow
--HG--
extra : commitid : CDTUZNG0PYF
extra : rebase_source : 0f5db6e4a5cde5fe8faeb77e15f95d12f6753fac
2015-10-28 22:52:15 +01:00
Markus Stange 0beffda503 Bug 1201327 - Rename mDestRect to mImageLayerDestRect. r=mattwoodrow
--HG--
extra : commitid : 1cQZUlaicax
extra : rebase_source : f0877a904738c9f75a96b2bbe64728ff567f044e
2015-10-20 15:27:29 +02:00
Markus Stange ef4655be32 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : K9ntCNQz1Fx
extra : rebase_source : ed8a567f22626d7074bbc58eb5e61baa251fe2c3
2015-10-30 16:28:53 +01:00
Markus Stange d4830adc3d Bug 1201330 - Refactor LayerActivity property management. r=roc
--HG--
extra : commitid : 8TXvWYgtQN
extra : rebase_source : c5ab51b6620bc5f8735c2e6567bb4c0a03b13197
2015-10-21 16:25:09 +02:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Boris Chiou b2d9321540 Bug 1108055 - Part 2: Refine ComputedTiming. r=birtles
Do some minor revisions in struct ComputedTiming.
1. Use Nullable<double> mProgress, so remove the static const kNullProgress.
   The generated ComputedTimingProperties dictionary uses "Nullable" variable,
   so we replace the origin type in ComputedTiming to make it more consistent
   with that in ComputedTimingProperties dictionary.
2. Use scoped enums for AnimationPhase.

--HG--
extra : rebase_source : 31280c867a30e7bcdcfe831cbc72ca08c8ddc762
2015-10-19 00:38:00 +02:00
Kyle Zentner 6ea6e3723a Bug 1186998 - Align overflowing table-cell content to content-box. r=dholbert 2015-07-23 15:11:00 +02:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Robert O'Callahan 00af2dcc78 Bug 264412. Optimize GetRenderedText. r=mats
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.

--HG--
extra : commitid : 75liwqsBeJY
extra : rebase_source : 34ee5d1fdfbb3b9d2ef8945f78ded935debb9106
2015-10-30 19:22:33 +13:00
Robert O'Callahan 2d8cd33dc4 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Thinker K.F. Li 2a3f9839c2 Bug 1211360 - Don't snap for non-translation 3D transform. r=roc
--HG--
extra : histedit_source : 7515376b0eb76c7957adce0fc37cc5bb52361de5
2015-10-25 22:05:00 -04:00
Ryan VanderMeulen 26dd34092c Bug 694248 - Re-enable 691824-1.xhtml on Android.
--HG--
extra : rebase_source : 587af5032df5e5fc2757b2e22a2ab89ef8cbca14
extra : histedit_source : 13d16df07b7c1a69230c59427169372608391bbd
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen ffb659f49e Bug 696869 - Add crashtest.
--HG--
extra : rebase_source : 41c72716e6d9a93eefff3ddce1434697b8af9436
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 7bb977d5ac Bug 695964 - Add crashtest.
--HG--
extra : rebase_source : 2b9fecf2d5db1db414b61c27db05f665a1d449eb
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen fa1d35aecd Bug 690619 - Add crashtest.
--HG--
extra : rebase_source : bab83c75ac963f7437bd3599bf25a52a7034d579
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen e3cdc2558a Bug 690247 - Add crashtest.
--HG--
extra : rebase_source : 108b750fb2d13437df6dc77c1b081148532da4ba
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 3c1b193ecc Bug 681489 - Add crashtest.
--HG--
extra : rebase_source : 8dbc8c341ff39734f86d872d20c4b3c2e44feb5d
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Nicholas Nethercote 3d0821d5fd Bug 1219476 (part 5) - Replace PRLogModuleInfo usage with LazyLogModule in gfx/. r=erahm.
--HG--
extra : rebase_source : c39ecc84dbe9a0f94b42f1c78dabf346ce3a3b9e
2015-10-29 15:58:24 -07:00
Timothy Nikkel ab02b09009 Bug 1220020. Recompute the current animated geometry root when a child scroll frame forces us to be layerized, and therefore turns us into an animated geometry root. r=mstange 2015-11-01 11:45:40 -06:00
Kartikaya Gupta d2dfde6db3 Bug 1220020. When we turn something into an animated geometry root, clear the cache of animated geometry roots so it's not stale. r=tnikkel 2015-10-05 17:13:02 -04:00
Timothy Nikkel f1cb02157d Bug 1215356. When setting a display port, schedule paint on that frame, not the root frame of the document. r=mattwoodrow
If we set a display port on an element in a popup we need to repaint the popup, not the main window.
2015-11-01 11:45:40 -06:00
Ryan VanderMeulen da6b5efa5d Bug 871327 - Clean up assertion annotations on 791601.xhtml and add crashtest for referenced bug that was resolved WFM. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 38eea6dc63 Bug 481035 - Remove assertion annotation from 421671.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 4a44c16c29 Bug 623091 - Re-enable 348887-1.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 6e43612cb0 Bug 859424 - Fix and re-enable 309322-4.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen 58e04dabc8 Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen e7d60aac0f Bug 738803 - Remove assertion annotation from 736924-1.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen cb6fb26fed Bug 844525 - Remove assertion annotation from 421432.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 397e16525b Bug 429586 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen aa4771d4ea Bug 531589 - Remove assertion annotation from 378325-1.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 73cc584a88 Bug 477490 - Re-enable long-url-list-stack-overflow.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 812796fec3 Bug 795534 - Re-enable the 786108 crashtests on Android/e10s. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 82bfb5ba42 Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen fac3490cb6 Bug 652976 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 75443c2f4a Bug 651342 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 329ac901c1 Bug 636229 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 4cc44aa94f Bug 622314 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen f4f3f9c8a2 No bug - Clean up layout/style crashtest manifest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen f6499720a0 Bug 616052 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen e94fcac081 Bug 613817 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen 901670a2b7 Bug 613629 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen 9d94259127 Bug 613455 - Add crashtest. 2015-10-30 19:41:16 -04:00
Andrew McCreight 5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Kartikaya Gupta 914afa45da Bug 1219898 - Remove unneccessary gPreventMouseEvents flag. r=smaug
--HG--
extra : commitid : AWJfSunbegp
2015-10-30 22:22:32 -04:00
Nathan Froyd ffdbeed5f1 Bug 1220190 - use UniquePtr<T[]> instead of delete[] calls in layout/xul/; r=dholbert 2015-10-30 11:45:39 -04:00
Benoit Girard 698006ddf9 Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
--HG--
extra : commitid : Grx9aF2UvH2
extra : rebase_source : ea2601a2a3ac2870383fa86d8e7bd90342424ce1
2015-10-26 16:06:49 -04:00
Julien Pagès 5fe647171b Bug 1185969 - [mozdevice] Allow to use android preview releases. r=bc
--HG--
extra : commitid : Ea3gZOnjoy6
extra : rebase_source : 822864eb9507c5650bc9ef29d308ffff63c44b25
2015-10-28 17:22:16 +01:00
Nathan Froyd 148c129fa3 Bug 1219903 - use UniquePtr<T[]> instead of delete[] calls in layout/generic/; r=dholbert 2015-10-29 16:16:13 -04:00
Carsten "Tomcat" Book f6402a3a5e Backed out changeset 72da2ed9b1e7 (bug 1201330) for c3 crashtest failures on Windows on a CLOSED TREE
--HG--
extra : rebase_source : cc01c3cea346c49eb0fc968a3604641564b28ed9
2015-10-30 14:46:34 +01:00
Carsten "Tomcat" Book 2fe6ba353f Backed out changeset d5d68c0258f3 (bug 1201330)
--HG--
extra : rebase_source : 2b98ebd0dd0ccd247b50e4b45210137622ef4441
2015-10-30 14:44:06 +01:00
Markus Stange 09bf18ccd8 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : AV1sQewWYHl
extra : rebase_source : ef132043f3af460c1aabc531faa06752d4c9c2df
2015-10-27 17:18:03 +01:00
Markus Stange 4d2fb24448 Bug 1201330 - Refactor LayerActivity property management. r=roc
--HG--
extra : commitid : 3igY5amVLBh
extra : rebase_source : a12ef4c43805b0e9c196e12cee4152949e627934
2015-10-21 16:25:09 +02:00
Markus Stange 3d807f5df0 Bug 947062 - Layerize background images with animated background-position if possible. r=mattwoodrow
--HG--
extra : commitid : 3X0JsdgMq4M
extra : rebase_source : 461428803c17b3634b8a242c8b1cd0bc58d67ca6
2015-10-22 22:38:46 +02:00
Markus Stange 7d8fa64572 Bug 947062 - Refactor nsDisplayBackgroundImage::GetLayerState. r=mattwoodrow
--HG--
extra : commitid : 3smcI8XeXP2
extra : rebase_source : 7fc94ccc5ffc6ce1420dc2250c32b48732665315
extra : amend_source : 9dab8e397f9428cb09ec0ce0c7ba7f97acedc1d9
2015-10-30 11:45:55 +01:00
Markus Stange 9b562aa73b Bug 947062 - Make background-position inline-style changes and CSS animations trigger layer activity. r=roc
--HG--
extra : commitid : 8Qu6NaiH9Ww
extra : rebase_source : 053f9d124287e10077c93c8e82afb60d2fab8d49
2015-10-22 22:45:14 +02:00
Markus Stange 5b914060de Bug 1216580 - Make background-position:fixed clip stealing work with display items that create their own layer. r=mattwoodrow
--HG--
extra : commitid : DDSgacDfi8Q
extra : rebase_source : 2dd3eb60ff21b2cc8f6cc588581859dc9a7fec1b
2015-10-28 18:46:40 +01:00
Milan Sreckovic 33b10a1074 Bug 1214802 - gfxEnv - consolidate environment variables used by the graphics code in one place. r=botond 2015-10-28 14:31:00 +01:00
Kartikaya Gupta 72ef88ba25 Bug 1212136 - Remove noisy warning that we don't have time to investigate properly. r=tnikkel 2015-10-29 11:27:00 +01:00
Cameron McCormack d8893979ef Bug 621596 - Followup to add the test file. (CLOSED TREE)
--HG--
extra : rebase_source : 6b0e7e2402bdd8d7aa6650a6982680f17947d909
extra : amend_source : 01699d625cb9b060266ccdd0417da5d1f7ad89fb
2015-10-30 19:16:34 +11:00
Seth Fowler b608498dd4 Bug 1207355 (Followup) - Add yet more fuzz to layout/reftests/generated-content tests. r=me 2015-10-30 00:29:23 -07:00
Seth Fowler 25f9c99819 Bug 1207355 (Followup) - Add fuzz to layout/reftests/generated-content tests. r=me 2015-10-29 23:25:59 -07:00
Cameron McCormack 81521bc53b Bug 621596 - Don't assert when a percentage base value overflows to become negative, when getting the computed style of a property that rejects negative values. r=bzbarsky 2015-10-30 16:51:38 +11:00
Seth Fowler b425c82b89 Bug 1207355 (Followup) - Add fuzz to layout/reftests/generated-content/floated-01.html. r=me 2015-10-29 21:17:36 -07:00
Matt Woodrow 6e172bbe58 Bug 1216851 - Don't include event regions when deciding if we can flatten opacity. r=roc
--HG--
extra : rebase_source : 65d28110e173bc1b51437a6d39d6406ec00271e9
2015-10-23 11:22:54 +13:00
Matt Woodrow 5ff40cc89c Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
--HG--
extra : rebase_source : 3861829d42298838eaa87912fa849b60b6f698e6
2015-10-23 11:22:45 +13:00
L. David Baron d7a6acad77 Bug 1216431 patch 8 - Fix whitespace error I made when addressing review comments.
--HG--
extra : transplant_source : %AFBD%1Bh4%86%D5gtK%9F%24%09%FE%B7%3F%23%F6%D0
2015-10-30 10:00:01 +09:00
Wes Kocher 5f77413dd1 Bug 1219972 - Bump the annotation r=me a=testonly
--HG--
extra : commitid : 7gI0dYntUCd
2015-10-29 17:51:14 -07:00
Cameron McCormack 10e7cb5fae Bug 1219991 - Make RestyleManager::{Begin,End}ProcessingRestyles private. r=dholbert 2015-10-30 10:57:47 +11:00
Cameron McCormack 2328daec26 Comment typo fix; no bug. (DONTBUILD)
--HG--
extra : rebase_source : c17a904cc2d7fcaecaaf658eed87da4511d4de94
2015-10-30 10:38:20 +11:00
Seth Fowler 6598853366 Bug 1207355 (Part 8) - Remove imgIContainer::RequestDecode() and imgIRequest::RequestDecode(). r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler 44de2cc528 Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler 8011cd262f Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Carsten "Tomcat" Book 513d05c444 Backed out changeset 0e8e25c04938 (bug 1216851) for reftest failures 2015-10-29 13:52:29 +01:00
Carsten "Tomcat" Book ed04efa6b9 Backed out changeset 9ea2c1e54b0f (bug 1216851) 2015-10-29 13:52:15 +01:00
Matt Woodrow 6a6dbf9113 Bug 1215412 - Apply perspective origin after transform origin. r=jwatt 2015-10-23 12:49:34 +13:00
Carsten "Tomcat" Book 5764850cf1 Backed out changeset c488bab447bd (bug 1215412) for R15 Test failures
--HG--
extra : rebase_source : 3229bc8f42071bda7cfda29d2349cafb6ed0fda1
2015-10-29 10:06:13 +01:00
Matt Woodrow c360842c46 Bug 1215412 - Apply perspective origin after transform origin. r=jwatt
--HG--
extra : rebase_source : f1a4faa93cf48c5bf315cdbe94358fd123aebd0c
2015-10-23 12:49:34 +13:00
Matt Woodrow 500639534a Bug 1216851 - Don't include event regions when deciding if we can flatten opacity. r=roc
--HG--
extra : rebase_source : 5bc16d6c15e5063b565dccafef71bf3a83744009
2015-10-23 11:22:54 +13:00
Matt Woodrow bab116d797 Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
--HG--
extra : rebase_source : 48b64c9ba86e89ae8d15ae05f7379fd518ca01b5
2015-10-23 11:22:45 +13:00
Daniel Holbert e030eb125c Bug 1219406: Add image file for reftest feImage-1.svg. (test-only, no review)
--HG--
rename : layout/reftests/bugs/mozilla-banner.gif => layout/reftests/svg/filters/mozilla-banner.gif
2015-10-29 00:16:16 -07:00
Cameron McCormack 40ca6f7656 Bug 1219534 - Remove unused nsStyleContext::SetStyle##name_ methods. r=dholbert 2015-10-29 17:06:52 +11:00
Cameron McCormack 5a9f585bc7 Bug 1219537 - Simplify a couple of PresContext() gets on nsIFrame/nsStyleContext. r=dholbert 2015-10-29 17:06:31 +11:00
Cameron McCormack 68f702f40a Bug 1219555 - Make RestyleManager::FrameConstructor() private. r=dholbert 2015-10-29 17:06:04 +11:00
Cameron McCormack 76a002fc30 Tweak a couple of comments; no bug. (DONTBUILD) 2015-10-29 17:05:13 +11:00
Phil Ringnalda a727c1fe68 Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
CLOSED TREE

Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Mike Hommey df0256c913 Bug 1186748 - Switch mulet builds to Gtk+3. r=mshal 2015-10-29 10:27:50 +09:00
Seth Fowler 0fa74a123c Bug 1207355 (Part 8) - Remove imgIContainer::RequestDecode() and imgIRequest::RequestDecode(). r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler 485e5ae23b Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler 90c6fe8bde Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler 68cc239e9d Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
Bas Schouten 7d3ed22660 Bug 1219411: Correctly use RGBA instead of RGB for the background color in background-blending-moz-element reftest. r=mstange 2015-10-29 00:04:05 +01:00
Andrea Marchesini b121e7da05 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 19:10:20 +00:00
James Willcox 1c5b794be3 No bug, use attached widget listener mode on iOS, NPOTB 2015-10-28 14:10:31 -05:00