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

48107 Коммитов

Автор SHA1 Сообщение Дата
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
James Willcox 7fa8522446 Bug 1213970 - Enable APZ on iOS r=kats 2015-10-28 14:10:27 -05:00
David Anderson 2e67a4792c Assert that we do not attempt synchronous painting of windowless Desktop plugins. (bug 1218688 part 4, r=bsmedberg) 2015-10-28 10:50:53 -07:00
David Anderson bfa112caf5 Remove Mac-specific synchronous plugin drawing code. (bug 1218688 part 3, r=benwa) 2015-10-28 10:50:45 -07:00
David Anderson 489a63378f Remove Linux-specific synchronous plugin drawing code. (bug 1218688 part 2, r=jimm) 2015-10-28 10:50:41 -07:00
David Anderson 0a8c03ba8e Remove Windows-specific synchronous plugin drawing code. (bug 1218688 part 1, r=jimm) 2015-10-28 10:50:36 -07:00
Daniel Holbert 583052d03c Bug 1218041, part 2: add reftests for <treecell> SVG-image rendering. (no review)
The tests are marked as random for now, per bug 1218954.
2015-10-28 08:49:08 -07:00
Daniel Holbert 2524caa7eb Bug 1218041, part 1: Give nsTreeBodyFrame::PaintImage a fallback codepath for painting SVG images with no explicit height or width. r=seth 2015-10-28 08:49:07 -07:00
Carsten "Tomcat" Book bc50966763 Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE
--HG--
rename : netwerk/protocol/websocket/PWebSocketEventListener.ipdl => netwerk/protocol/websocket/PWebSocketFrameListener.ipdl
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.cpp => netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.h => netwerk/protocol/websocket/WebSocketFrameListenerChild.h
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.cpp => netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.h => netwerk/protocol/websocket/WebSocketFrameListenerParent.h
rename : netwerk/protocol/websocket/WebSocketEventService.cpp => netwerk/protocol/websocket/WebSocketFrameService.cpp
rename : netwerk/protocol/websocket/WebSocketEventService.h => netwerk/protocol/websocket/WebSocketFrameService.h
rename : netwerk/protocol/websocket/nsIWebSocketEventService.idl => netwerk/protocol/websocket/nsIWebSocketFrameService.idl
2015-10-28 14:28:59 +01:00
Andrea Marchesini 4d8e79e969 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 11:41:24 +00:00
Wes Kocher 94f75106e0 Merge fx-team to central, a=merge
--HG--
extra : commitid : EgSOvJNpPgi
2015-10-27 12:35:17 -07:00
Ryan VanderMeulen 361db003f6 Bug 1217984 - Add desktop assertion annotations as well. 2015-10-27 10:10:36 -04:00
Ryan VanderMeulen a1033a9834 Bug 591998 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 09fd8e23e5 Bug 591075 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 8f38f910b8 Bug 575464 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 913e3905c3 Bug 570038 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 2afb1dd2a6 Bug 569193 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 01e2f57093 Bug 543648 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 53972cde0c Bug 501870 - Add crashtest. 2015-10-27 10:03:37 -04:00
Ryan VanderMeulen 78721ce532 Bug 444702 - Add crashtest. 2015-10-27 10:03:37 -04:00
Ryan VanderMeulen f64d79cebe Bug 420242 - Add crashtest. 2015-10-27 10:03:37 -04:00
Ryan VanderMeulen ddc5998e35 Bug 417848 - Add crashtest. 2015-10-27 10:03:37 -04:00
Ryan VanderMeulen e80e204150 Bug 410428 - Add crashtest. 2015-10-27 10:03:37 -04:00
Victor Porof 603fd3fe06 Bug 859042 - Show onload and DOMContentLoaded markers in the timeline, r=smaug, jsantell 2015-10-27 13:10:08 +01:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Jeremy Chen da993aa4f9 Bug 1216857 - Notify selection dialog to update its position if carets are logically visible. r=TYLin
--HG--
extra : transplant_source : %98%40%E8%A6%85%D2%1A%2C%ED%CF%A0/N%E4WW%19%E6J%92
2015-10-23 10:21:16 +08:00
Birunthan Mohanathas 44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Andrea Marchesini 08f3fd3539 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal 2015-10-26 15:30:11 +00:00
Nathan Froyd 055e2365e3 Bug 1217939 - part 2 - move nsContentUtils::GetSelectionBoundingRect to nsLayoutUtils; r=smaug
All callers of this function are in layout/base/ and it uses a lot of
things from nsLayoutUtils, so nsLayoutUtils seems like a better fit for
it.
2015-10-23 13:39:00 -04:00
Nathan Froyd 4331d7171e Bug 1217939 - part 1 - remove nsContentUtils::GetViewportInfo; r=smaug
All it was doing was forwarding to the provided document, which is an
unnecessary layer of indirection.
2015-10-23 13:21:57 -04:00
Mason Chang 31f926488b Bug 1216200. Inset box shadow reftest with negative spread value. r=mstange 2015-10-26 08:31:17 -07:00
Ryan VanderMeulen bbb8d0acb0 Bug 1156588 - Add crashtest.
--HG--
extra : rebase_source : 423290ff8078e83afaea6c8bc182bd3cdb954e00
2015-10-25 16:20:16 -04:00
Ryan VanderMeulen 4a585b585e Bug 1156257 - Add crashtest.
--HG--
extra : rebase_source : 7c41dab0cbb7be275c5a9ddc316e7772b8292938
2015-10-25 16:20:16 -04:00
Ryan VanderMeulen 06b40aa156 Bug 950324 - Add crashtest.
--HG--
extra : rebase_source : c6a475460b05e74bab46a33bcec5c5605191bbbc
2015-10-25 16:20:16 -04:00
Jonathan Kew c3830d77b0 Bug 1216427 - part 2 - Ensure mouse selection does not split up a Regional Indicator flag symbol. r=emk 2015-10-26 10:47:18 +00:00
Jonathan Kew a48628058f Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk 2015-10-26 10:47:16 +00:00
Carsten "Tomcat" Book 758c43af6b merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
Seth Fowler 99a0bf4e7f Bug 661996 - Reenable border-image pixel-rounding tests everywhere. r=me
--HG--
extra : rebase_source : f2c1f6d754d53162c6f0621805d01856d7c175b3
2015-10-25 13:26:35 -07:00
Nicholas Nethercote 1f82b51908 Bug 1187784 (part 9) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 49cd13780c682f8da87c2d3250cde86885331087
2015-10-22 22:48:42 -07:00
Nicholas Nethercote fe048a987f Bug 1187784 (part 8) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
This fixes a type bug in CSSVariableDeclarations::MapRuleInfoInto(). The
existing code passes aRuleData->mVariables.get(), which has type
|CSSVariableDeclarations*|, into the |void*| parameter to EnumerateRead(). It
then extracts that in EnumerateVariableForMapRuleInfoInto() via a cast to a
different type, |nsDataHashtable<nsStringHashKey, nsString>*|. It's missing an
intermediate access of CSSVariableDeclarations::mVariables.

It's likely that this hasn't (seemingly) caused problems prior to now because
mVariables is the only field in CSSVariableDeclarations, so
mVariables->mVariables is at the same address as mVariables.

--HG--
extra : rebase_source : 577c032bf52dfb30eaffeb0f4d93b45f801bfcb3
2015-10-22 22:48:40 -07:00
Nicholas Nethercote 15397665d2 Bug 1187784 (part 7) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : a627f6658ca7bbbf21b5338ef637ac9d76306f57
2015-10-22 22:47:21 -07:00
Nicholas Nethercote a16995d998 Bug 1187784 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 48decb7c0b99fcd965c77c48ddf68570f48db1ca
2015-10-22 22:46:48 -07:00
Nicholas Nethercote 4948f1b27e Bug 1187784 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 0732b564a877953063c740031b1980bd0dd708b2
2015-10-22 21:17:36 -07:00
Nicholas Nethercote 7beaebbb7f Bug 1187784 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : d839f0a7cff06a14087976b6027b613ba1da2c78
2015-10-22 21:16:45 -07:00
Victor Porof 9dc0ce6b1a Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Nicholas Nethercote e3d263e40d Bug 1187784 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 2cf01da556ef42d6f410c83d943f9f805804ee1a
2015-10-20 22:18:20 -07:00
Nicholas Nethercote b8f634b411 Bug 1187784 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : a52fb3cf996587e916816e9525a09ca2d7fb091a
2015-10-20 21:00:35 -07:00
Nicholas Nethercote d6ffcb69e8 Bug 1187784 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 01bac3410b2da622ea511d1217892eb308d64520
2015-10-20 20:52:08 -07:00
Ryan VanderMeulen 080b612cb4 Bug 740199 - Add crashtest. 2015-10-25 00:06:24 -04:00
Ryan VanderMeulen c7fbe88535 Bug 709536 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen 1645fabc28 Bug 617089 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen a237b5a490 Bug 597240 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen 399003c9b8 Bug 580129 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen 4883d8886e Bug 1195474 - Drop the expected number of assertions in 759249-1.html to 5. 2015-10-25 00:06:22 -04:00
Ryan VanderMeulen b655fc97f0 No bug - Remove e10s assertion annotation from font-inflation-762332.html. 2015-10-25 00:06:22 -04:00
Wes Kocher 3fd0527ade Bug 1214212 - Increase the fuzzing to fix a reftest r=me
(More fuzz for the fuzz gods)
2015-10-23 11:54:16 -07:00
Ryan VanderMeulen 2d107fa212 Bug 508154 - Add crashtest.
--HG--
extra : rebase_source : 4d62e093832d74a32360aa572315aa3982b7ec27
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen 80cc335b07 Bug 474377 - Add crashtest.
--HG--
extra : rebase_source : f84cd1c53448a790676a7cc7e55be42af9ae2c23
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen 1e35b5d9be Bug 460209 - Add crashtest.
--HG--
extra : rebase_source : f729a18d65d9baa5580b8b12c911f04e7f146b99
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen c1208c1624 Bug 366203 - Add crashtest.
--HG--
extra : rebase_source : ff09507d13528fcaf9b4aadd7d30e4592cfe7160
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen 64ab517ea0 Bug 325427 - Add crashtest.
--HG--
extra : rebase_source : f80084102f752fc47b35d31929bbb2b351268f63
2015-10-24 15:03:19 -04:00
Sebastian Hengst e6d06af59f Backed out 2 changesets (bug 1215699, bug 1209994) for web platform failures. r=backout
Backed out changeset a8adf1f9d366 (bug 1209994)
Backed out changeset f5ed98fdc16e (bug 1215699)
2015-10-24 15:38:03 +02:00
Robert O'Callahan d00aeddd95 Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
--HG--
extra : commitid : ADmwtJlvxUi
extra : rebase_source : b3cfce27d1bf51d8789a20bf7266455a3f0f99a6
2015-10-21 16:27:50 +13:00
Robert O'Callahan 0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan ff38db98f3 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 : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13:00
Thinker K.F. Li fd72ecbc34 Bug 1214212 - Remove clips from separator transform items. r=roc 2015-10-22 23:29:00 -04:00
Nathan Froyd 9f16f39c05 Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Nathan Froyd e65591b159 Bug 1217662 - part 5 - move FrameLayerBuilder and helper classes's ctors/dtors out-of-line; r=mattwoodrow
This change means that we don't have to have the definition of
LayerManager visible when FrameLayerBuilder is declared (which would be
necessary for, e.g. the ctor/dtor of ClippedDisplayItem), which means we
can get rid of the Layers.h include here in a subsequent patch.
2015-10-22 17:00:16 -04:00
Nathan Froyd e826816d24 Bug 1217662 - part 3 - move nsDisplayBlendContainer::GetLayerState out-of-line; r=mattwoodrow
This method is virtual, so defining it inline isn't worth a whole lot.
Defining it inline also means that we require the complete definition of
LayerManager from Layers.h, and we're trying to avoid including Layers.h
whenever possible.  Let's move it out-of-line to solve this problem.
2015-10-22 16:14:22 -04:00
Nathan Froyd 735e488da3 Bug 1217662 - part 2 - move mozilla::layers::LayerUserData to a separate header; r=mattwoodrow
Having to include all of Layers.h just to get at the definition of
LayerUserData is inconvenient, especially as most of the interesting
things in Layers.h can be forward-declared.  Let's move LayerUserData to
its own header, so clients can include a small header for that,
forward-declare anything else they need from Layers.h, and reduce header
bloat.
2015-10-22 16:04:35 -04:00
Xidorn Quan c62bff4099 Bug 1206468 - Remove unused internal appearance value -moz-mac-unified-toolbar. r=mstange
--HG--
extra : source : adbf31ddaea4d289f6a6a226a112f73cd3d8391f
2015-10-23 19:51:34 +11:00
Cameron McCormack b9cb86efd6 Comment typo fix; no bug. (DONTBUILD) 2015-10-23 18:32:26 +11:00
Hiroyuki Ikezoe d401093cb1 Bug 1217230 - Set mNeedToRecomputeVisibility true only when style or layout flush. r=seth 2015-10-21 16:12:00 +02:00
William Chen af67ca9b86 Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth
--HG--
extra : rebase_source : d4ecdf15fb679a6a78454bf08b285a068cd26104
2015-10-23 21:37:35 -07:00
Wes Kocher dd50b531bf Bug 1217963 - Correct the spelling of "corect" rs=mossop
--HG--
extra : commitid : KIXf5DKKRrc
extra : source : 3f3fbf4e7a52b1bbb2848edd65eaacc7282b1a01
2015-10-23 16:02:56 -07:00
Seth Fowler ee1cc1c521 Bug 1209765 (Followup) - Add very minor fuzz to underline-button-1.html on OS X 10.10. r=me DONTBUILD
--HG--
extra : rebase_source : fdd8def5f4eaea0c19dc1ce3ced8ddff72c43505
2015-10-22 23:19:13 -07:00
Cameron McCormack 6809576543 Bug 1043461 - Followup to ensure we still test custom property position when the UA style sheet doesn't have custom properties in it. r=dholbert 2015-10-23 17:09:06 +11:00
Seth Fowler ab6a522845 Bug 1209765 (Followup) - Add very minor fuzz to underline-button-2.html on OS X 10.10. r=me
--HG--
extra : amend_source : 4701e73265cb3edbd92cb94ec988623a423b3ee3
2015-10-22 22:48:59 -07:00
Seth Fowler 489e424221 Bug 1209765 (Part 11) - Support sync decoding and track draw results when drawing borders in nsTreeBodyFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler d72a6bf7aa Bug 1209765 (Part 10) - Support sync decoding and track draw results when drawing borders in nsGroupBoxFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler 1b8e0f237f Bug 1209765 (Part 9) - Support sync decoding and track draw results when drawing borders in nsTableFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler bbd8f63e67 Bug 1209765 (Part 8) - Support sync decoding and track draw results when drawing borders in MathML code. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler 6a4602d6e9 Bug 1209765 (Part 7) - Support sync decoding and track draw results when drawing borders in nsImageFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler 7688437ed9 Bug 1209765 (Part 6) - Support sync decoding and track draw results when drawing borders in nsColumnSetFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler 3aa7022e9f Bug 1209765 (Part 5) - Support sync decoding and track draw results when drawing borders in nsRangeFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler 3f4eeadbe7 Bug 1209765 (Part 4) - Support sync decoding and track draw results when drawing borders in nsFieldSetFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler 8a7848a0be Bug 1209765 (Part 3) - Support sync decoding and track draw results when drawing borders in nsButtonFrameRenderer. r=tn 2015-10-22 19:54:48 -07:00
Seth Fowler 737f779bd1 Bug 1209765 (Part 2) - Support sync decoding and track draw results in nsDisplayBorder. r=tn 2015-10-22 19:54:48 -07:00
Seth Fowler 6a4f2f8dde Bug 1209765 (Part 1) - Support sync decoding of border-image in nsCSSRendering. r=tn 2015-10-22 19:54:48 -07:00
Daniel Holbert 2e2f24455a Bug 1210575 part 9: Remove some obsolete XXXdholbert comments from property_database.js. (no review, comment-only so DONTBUILD) 2015-10-22 17:28:58 -07:00
L. David Baron adbd67f2a7 Bug 1216431 patch 7 - Back out bug 1209603 patch 6. r=heycam
This backs out all of the patch except that it retains some of the
comment changes for nsStyleContext::mBits.

--HG--
extra : commitid : 9mBuaxmSDjX
extra : rebase_source : 57935f302f350331f46f98dac86f8f833264c5da
2015-10-23 08:57:36 +09:00
L. David Baron 8acc13bdfa Bug 1216431 patch 6 - Back out bug 1209603 patch 8. r=heycam
This requires a little bit of gymnastics since it has to add the inverse
of tests, since the is-a-reset-struct tests originally added in patch 8
were made unconditional in patch 9, and with this backout we now want to
execute the code only for inherited structs.

This also doesn't back out the cleanup to use NS_STYLE_INHERIT_BIT() for
constants rather than nsCachedStyleData::GetBitForSID.

This backs out the part of bug 1209603 whose speed I was concerned about.

--HG--
extra : commitid : 6BWdXCpywlU
extra : rebase_source : 15597857a721a3a399432c8454ecfc7b789e5e2d
2015-10-23 08:57:36 +09:00
L. David Baron 43e7bc5c52 Bug 1216431 patch 5 - Back out half of bug 1209603 patch 10. r=heycam
This leaves the half related to inherited structs, since we can still
bail early for them even without mBits.

--HG--
extra : commitid : 28h25awejXa
extra : rebase_source : 9b92da7d25fc2963c33cab063bca4fef4388a816
2015-10-23 08:57:36 +09:00
L. David Baron 93a9119fd5 Bug 1216431 patch 4 - Don't trigger computation of new structs via testing of conditions for conditionally-stored structs on the rule node. r=heycam
This is the replacement fix for bug 1209603.

--HG--
extra : commitid : EKsTIfcAu4h
extra : rebase_source : bdb8678c0c7854b91681cc0dde9199cf7b3ce17c
2015-10-23 08:57:35 +09:00
L. David Baron 98f6eaaddc Bug 1216431 patch 3 - Cache structs that are stored with conditions on the rule node all the time, rather than only when freshly computed. r=heycam
This is another case similar to the problem fixed in bug 1209603 patch 9.

This should make things faster by caching structs on the style context
more reliably.

--HG--
extra : commitid : GdalxPoI0wr
extra : rebase_source : 103e678a237f723b386b517d478e70214a75467e
2015-10-23 08:57:35 +09:00
L. David Baron 6d81ecb5c0 Bug 1216431 patch 2 - Pass nsStyleVisibility to nsStylePosition::CalcDifference to avoid computing new nsStyleVisibility during nsStyleContext::CalcStyleDifference. r=heycam
This is needed to avoid hitting the assertion:
Assertion failure: !!(structsFound & (1 << uint64_t(eStyleStruct_Visibility))) == !!PeekStyleVisibility() (PeekStyleData results must not change in the middle of difference calculation.), at ./nsStyleStructList.h:62
once exact PeekStyleData is backed out in the later patches.

Without this patch, we can compute a new nsStyleVisibility struct inside
of nsStylePosition::CalcDifference.  This patch ensures we use
PeekStyleVisibility() instead of StyleVisibility().

--HG--
extra : commitid : eVWnVp7V0P
extra : rebase_source : ee6541397d09c724a7a6c4628bbfbbe2d2f152c0
2015-10-23 08:57:35 +09:00
L. David Baron 2766b80ef9 Bug 1216431 patch 1 - Give WritingMode an nsStyleVisibility* constructor. r=heycam
This is needed for patch 2.

--HG--
extra : commitid : 5YdkHqnj3d3
extra : rebase_source : 02260f6cbd922702d655449fc9d4c7518e643285
2015-10-23 08:57:34 +09:00
Daniel Holbert 656ac65729 Bug 1210575 part 8: Implement -webkit-linear-gradient parse quirks with "to", angles, and "center". r=heycam 2015-10-22 16:36:50 -07:00
Daniel Holbert 19d14fea0b Bug 1210575 part 7: Refactor linear-gradient parsing code slightly & add/extend comments. r=heycam 2015-10-22 16:36:42 -07:00
Nicholas Nethercote 5957f4c9ae Bug 1038663 (part 1) - Make nsStyleText::mWordSpacing an nsStyleCoord. r=heycam.
This makes mWordSpacing a lot more like mLetterSpacing, while maintaining the
existing "'normal' computes to 0px" behaviour.

--HG--
extra : rebase_source : d3273f60d4de6a9a0f05f1dbf2ed095f0f7e6c0e
2015-10-21 22:13:11 -07:00
Cameron McCormack df6cf5f87b Bug 1208951 - Part 8: Don't warn if StyleAnimationValue::ComputeValue fails to parse a CSS property. r=birtles
Since we will call StyleAnimationValue::ComputeValues with values that
come from script, we don't want to warn if we have an invalid value.
2015-10-22 19:22:38 +11:00