Commit Graph

48224 Commits

Author SHA1 Message Date
Kartikaya Gupta
5b361ff365 Bug 1226864 - Don't wait for an APZ flush on load-only or script type reftests, since they don't get snapshotted. r=dbaron
--HG--
extra : commitid : E9G7TUheJ8A
2015-11-24 09:20:42 -05:00
Carsten "Tomcat" Book
5f1ac1afb3 merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00
Wes Kocher
3236d241db Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 3hKx4ECzupv
2015-11-20 14:45:33 -08:00
L. David Baron
46342ae711 Bug 1038663 followup - Remove assertion from reftest reference, which the CSS WG harness considers an error. No review. 2015-11-22 07:16:11 -08:00
L. David Baron
96aafcc42a Bug 1038663 followup - Remove specification link from reftest reference, which the CSS WG harness considers an error. No review. 2015-11-22 07:11:45 -08:00
L. David Baron
59cfae07c0 Bug 1038663 followup - Add the link rel=match that makes the CSS WG harness believe this test a reftest. No review. 2015-11-22 07:10:38 -08:00
Jan Varga
38ee7f95d8 Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
--HG--
rename : dom/quota/QuotaManager.cpp => dom/quota/ActorsParent.cpp
rename : dom/quota/nsIUsageCallback.idl => dom/quota/nsIQuotaCallbacks.idl
rename : dom/quota/nsIQuotaManager.idl => dom/quota/nsIQuotaManagerService.idl
rename : dom/quota/nsIQuotaRequest.idl => dom/quota/nsIQuotaRequests.idl
2015-11-22 10:43:55 +01:00
L. David Baron
b8f236aacb Bug 1221823 patch 2 - Use already_AddRefed<Declaration>&& as parameter to nsCSSKeyframeRule constructor to avoid extra reference count cycle. r=xidorn
--HG--
extra : transplant_source : A%E1%C7%A7%5BD%BF%B7j%25%D6%A7%24kX%DE%C9%94%E4%DD
2015-11-20 22:30:54 -08:00
L. David Baron
f811a31184 Bug 1221823 patch 1 - Use rvalue-reference and Move rather than just comments to show behavior of nsCSSKeyframeRule constructor. r=xidorn
--HG--
extra : transplant_source : %EB%AAv%E0%80CvD%EF%CE%B1j%5E%B4htO%BA%13%C2
2015-11-20 22:30:54 -08:00
Daniel Holbert
5c685a9b4a Bug 1217643 part 3: Represent parsed CSS -webkit-gradient(radial, ...) expressions internally as parsed versions of more modern syntax. r=heycam 2015-11-20 14:46:11 -08:00
Daniel Holbert
c177fd8597 Bug 1217643 part 2: Represent parsed CSS -webkit-gradient(linear, ...) expressions internally as parsed versions of more modern syntax. r=heycam 2015-11-20 14:46:10 -08:00
Daniel Holbert
8244546943 Bug 1217643 part 1: Add partial support for parsing CSS -webkit-gradient expressions (if webkit prefix support is enabled). r=heycam 2015-11-20 14:46:08 -08:00
Daniel Holbert
d0e03b7083 Bug 1217643 part 0: Add reftests for -webkit-gradient() expressions. r=heycam 2015-11-20 14:45:58 -08:00
L. David Baron
8b65346205 Bug 1226489 - Pass only a single rule to StyleRuleChanged. r=bzbarsky
--HG--
extra : transplant_source : g%3B%E8%9F%11/%88%E9R%85%0Dp5%CC%A7T%BC%10%0D%1E
2015-11-20 14:34:12 -08:00
Mark Finkle
0ae71e6ba8 Bug 1223526 - Create an empty theme for mobile/native UI r=margaret,mossop,gbrown 2015-11-20 12:03:01 -05:00
Nicholas Nethercote
8a4d84a51a 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.

The revert caused mass b2g Gij test bustages
2015-11-24 16:09:04 +05:30
Andrew McCreight
a29a644203 Bug 1226709 - Enable two mochitests that seem to work with e10s. r=bz
--HG--
extra : rebase_source : df2d5629f3e9f3d7cbef7cbbaa773a064d88856b
2015-11-20 11:19:00 +01:00
Phil Ringnalda
71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Nicholas Nethercote
52b3d826da Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00
Jeff Gilbert
87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Xidorn Quan
b0bfc6460a Bug 1227001 part 3 - Remove no longer used mChangedBreaks from BreakSink. r=jfkthame
--HG--
extra : source : d279e229470cab165e28274b5e6045e2ea62f1b7
2015-11-24 10:23:05 +11:00
Xidorn Quan
a6caf098a4 Bug 1227001 part 2 - Remove no longer used mExistingTextRun from BreakSink. r=jfkthame
--HG--
extra : source : a1d68557e1c90b62a3318a81d814c21c75f45ec0
2015-11-24 10:23:05 +11:00
Xidorn Quan
03bc38abaf Bug 1227001 part 1 - Remove SetupBreakSinksFlags from BuildTextRunsScanner. r=jfkthame
--HG--
extra : source : 2ef65b73284b28557846d737f704552a2a474389
2015-11-24 10:23:05 +11:00
Blake Kaplan
62f9ceed14 Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm 2015-11-23 15:08:14 -08:00
Nicholas Nethercote
93390d7300 Backout 3ad33d09825a (bug 1059014 part 3) because the removed code is less dead than it first appears. 2015-11-23 14:13:48 -08:00
Bobby Holley
b83cc03bd2 Bug 773429 - Remove dom.disable_image_src_set. r=khuey 2015-11-23 14:08:34 -08:00
Chris Peterson
bfeb9f1127 Bug 1224951 - Part 2: Fix -Wunreachable-code warnings in layout. r=dholbert
layout/base/nsCSSFrameConstructor.cpp:12067:12: warning: will never be executed [-Wunreachable-code]
layout/base/nsPresContext.cpp:2861:10: warning: will never be executed [-Wunreachable-code]
layout/generic/nsFrameSetFrame.cpp:730:11: warning: will never be executed [-Wunreachable-code]
layout/generic/nsFrameSetFrame.cpp:725:11: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:268:62: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:269:66: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:270:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:271:75: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:272:73: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:273:81: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:274:69: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:275:60: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:276:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:277:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:279:18: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:290:62: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:291:66: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:292:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:293:75: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:294:73: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:295:81: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:296:69: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:297:60: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:5657:7: warning: will never be executed [-Wunreachable-code]
layout/mathml/nsMathMLmrootFrame.cpp:405:5: warning: will never be executed [-Wunreachable-code]
2015-11-14 00:06:58 -08:00
Chris Peterson
50912a55b9 Bug 1224951 - Part 1: Fix nsPresContext::SizeOfExcludingThis() size calculation. r=dholbert 2015-11-14 00:06:58 -08:00
John Daggett
7bb5f5b8dc Bug 1119062 - enable unicode-range load test under Linux. r=dbaron 2015-11-20 14:47:05 +09:00
John Daggett
15444a76a4 Bug 1119062 - enable unicode-range in release builds. r=dbaron 2015-11-20 14:46:47 +09:00
Phil Ringnalda
538ef0460d Merge m-c to m-i 2015-11-19 21:08:34 -08:00
Phil Ringnalda
87802cdbad Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
John Daggett
16757f4a4b Bug 1180560 - enable fontconfig platform fontlist in release builds. r=karlt,cam 2015-11-20 13:35:15 +09:00
Xidorn Quan
8de66b64b3 Bug 994418 - Renumber list items when computing intrinsic isize. r=roc
--HG--
extra : source : 65c07947ba268b74aa5ebbf2dd4681d68038a548
extra : amend_source : 2284f79dde11000547fed08ff90315d46490702b
2015-11-20 15:29:27 +11:00
Xidorn Quan
39583b4ce6 Bug 1224464 followup - Fix bustage on opt builds on CLOSED TREE 2015-11-20 14:31:38 +11:00
Kartikaya Gupta
8a6023f387 Bug 1223928 - Update various reftests that now pass/fail with gecko scrollbars on Android&&asyncPan. r=snorp
--HG--
extra : commitid : G5eJp4xTljl
2015-11-19 09:55:21 -05:00
John Daggett
7c67f302fb Bug 1224641 - tweak the italic oblique tests to avoid failure on Ubuntu/Mulet. r=m_kato 2015-11-19 23:06:41 +09:00
Hiroyuki Ikezoe
1e734eff34 Bug 1223255 - Use Animation::AnimationTimeToTimeStamp instead of timeline->ToTimeStamp. r=bbirtles
Otherwise delay value is multiplied by playbackRate twice.

--HG--
extra : rebase_source : 42b088e65c2ce3986bc36fa1c41a06e38f1c133a
2015-11-18 01:50:00 +01:00
Nicholas Nethercote
ce671f3678 Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11:00
Tobias Schneider
1262c58ac3 Bug 1221677 - "[css-grid] Put the 'subgrid' support behind a pref, disabled by default". r=mats 2015-11-13 13:15:00 +01:00
L. David Baron
8edfb62b0c Bug 1223653 patch 2 - Use an enum class for NS_STYLE_BOX_SIZING_*. r=heycam
The casts in nsCSSProps.cpp (defining kBoxSizingKTable) and in
nsComputedDOMStyle::DoGetBoxSizing (using
nsCSSProps::ValueToKeywordEnum) are a little bit annoying, though aren't
a net reduction in typesafety.

The casts in nsRuleNode.cpp (SetDiscrete) are a little more annoying,
though the change in this patch should be sufficient for converting all
properties -- but that may also mean reducing typesafety a bit for all
properties.

I'd like to find something better to do about them, but I think I'm ok
landing this before doing that.  Bug 1224918 covers doing better.

--HG--
extra : commitid : GEVyZB5b23F
2015-11-19 18:09:29 -08:00
L. David Baron
4aa548f8f9 Bug 1223653 patch 1 - Fix incorrect function being called, caught by enum class type checking in next patch. r=jfkthame
This looks like a regression from the way I addressed review comments in
bug 311415 comment 11 (see "I just added another variant of
ComputeWidthValue").

--HG--
extra : commitid : K5US3VkC5rE
2015-11-19 18:09:29 -08:00
L. David Baron
96383fc767 Bug 1224464 patch 3 - Rename KTableValue to KTableEntry now that it is a struct. r=heycam
--HG--
extra : commitid : B2iM8wFeMUs
2015-11-19 18:09:07 -08:00
L. David Baron
f4b9c949b7 Bug 1224464 patch 2 - Make nsCSSProps keyword tables be arrays of structs, to represent what they logically are. r=heycam
--HG--
extra : commitid : 5YOv7qQkUeW
2015-11-19 18:08:57 -08:00
L. David Baron
0d55caaf13 Bug 1224464 patch 1 - Make nsCSSKeyword explicitly int16_t. r=heycam
--HG--
extra : commitid : JPC4nRd8l1k
2015-11-19 18:08:56 -08:00
Tom Klein
3056a6dcaa Bug 1131264, part 2 - Add small circle reftest to stroke-dasharray-02.svg. r=longsonr 2015-11-19 13:59:14 -06:00
Botond Ballo
65d984ff6f Bug 1221371 - Remove unnecessary explicit copies of nsTArray. r=billm
--HG--
extra : source : e3ade121fe3a26db1e65cd6b91de29dfe8cc5a61
extra : intermediate-source : a09da6e0b017448d6e2b85eb4a6c08dba51999c7
2015-11-18 13:48:12 -05:00
Xidorn Quan
65859175cd Bug 1052924 followup - Move the XXX comment to the right field. DONTBUILD 2015-11-19 18:00:25 +11:00
Timothy Nikkel
d01b47f68d Bug 1224209. Add reftest. 2015-11-18 02:44:10 -06:00
Randall Barker
437b68789f Bug 1223941 - Enabling C++ APZ in Fennec causes off by one error in placeholder-6.html. r=kats
Update the fuzz test for reftest placeholder-6.html to allow a single pixel to be
off by one in Fennec when C++APZ is enabled.

--HG--
extra : commitid : xWf4FNDIQr
2015-11-18 19:34:00 -05:00
Randall Barker
9e2f0b60fb Bug 1223944 - Reftest bg-fixed-transformed-image-ref.html fails for Fennec when C++APZ enabled. r=kats
Enabling C++APZ in Fennec causes bg-fixed-transformed-image-ref.html to fail.
The fuzz test needs to be increased to number similar to B2G in order for the test to pass.

--HG--
extra : commitid : HJkZrYVhn1w
2015-11-18 19:33:34 -05:00
Randall Barker
47968a20fd Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats
--HG--
extra : commitid : Cihc6iEBezl
2015-11-18 19:32:37 -05:00
Randall Barker
9a1bc2b629 Bug 1226041 - Remove mFirstPaint hack for JPZC when the C++ APZ is enabled. r=kats
--HG--
extra : commitid : 1JVSxoW0YJi
2015-11-16 14:33:45 -05:00
Kartikaya Gupta
3bdf2299bb Bug 1225571 - Move the code to update the SPCSPS from repaint request handling to when the resolution is updated in the presShell. r=botond
--HG--
extra : commitid : JglAPUfEC3G
2015-11-18 13:53:14 -05:00
Mats Palmgren
5b213a3172 Bug 1176792 part 3 - [css-grid] Reftests for the 'grid-column-gap' and 'grid-row-gap' properties. 2015-11-18 19:52:27 +01:00
Mats Palmgren
787aab2030 Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-18 19:52:27 +01:00
Mats Palmgren
0edbd4ad4c Bug 1176792 part 1 - [css-grid] Implement the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties in the style system. r=dholbert,dbaron 2015-11-18 19:52:27 +01:00
Ted Clancy
4a082e1689 Bug 1157727 - Part 2: Update bidi algorithm for bracket matching (patch originally by :tedders1, updated by :jfkthame). r=jfkthame
* * *
Bug 1157727 - Part 2a: Mark bidi bracket tests as passing.
2015-10-27 13:41:39 -07:00
Jonathan Kew
65a70aed66 Bug 1157727 - Part 0: Preliminary cleanup, remove a bunch of #ifdef'd dead code from nsBidi.cpp. r=smontagu 2015-11-25 12:01:03 +00:00
Jonathan Kew
e0e31b84fb Bug 1157727 - Reftests for bidi bracket pairing, based on UAX #9 examples. r=smontagu 2015-11-25 12:00:52 +00:00
Nigel Babu
29e98fdbc3 Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE 2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5 Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats) 2015-11-25 01:12:33 -08:00
John Daggett
9e2043a953 Bug 1226400 - null-check GetParentObject(). r=m_kato 2015-11-25 16:05:18 +09:00
Timothy Nikkel
15ecc61b70 Bug 1222880. Followup to the followup to handle the case when aStopAtAnimatedGeometryRoot isn't an ancestor of aAnimatedGeometryRoot the same way we did before the patches of this bug. r=mattwoordrow (more or less)
Which is to return an empty scroll clip (instead of whatever scroll clip was accumulated in the for loop).

This patch is actually even slightly better than what we did before in that we can stop when we hit the root AGR (which is also the root reference frame) instead of the root of the frame tree. These would be different when painting a popup frame, or when not painting to the window.
2015-11-24 22:21:10 -06:00
Jeff Gilbert
19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Karl Tomlinson
0c63a8dceb bug 866955 annotate 423107-1.xhtml crashtest assertion failure r=mats
triggered by https://hg.mozilla.org/integration/mozilla-inbound/rev/938041e183e5

--HG--
extra : rebase_source : 54da760a3c96534c47449ad44ef2027b15a1f9a6
2015-11-20 12:54:33 +13:00
Matt Woodrow
e486b02c34 Bug 1222880 - Followup to handle the case when aStopAtAnimatedGeometryRoot isn't an ancestor of aAnimatedGeometryRoot. CLOSED TREE 2015-11-25 16:24:42 +13:00
L. David Baron
2a21a450b3 Bug 1227501 patch 3 - Handle custom properties correctly in transition-property. r=xidorn
Without the code change, the property_database.js changes lead to:

 * 3 failures in test_value_cloning.html (one each for
   transition-property, -moz-transition-property, and
   -webkit-transition-property) that "computed value should be nonempty"

 * 6 failures in test_value_computation.html (two each for
   *transition-property) that "should not get empty value"

 * 16 failures in test_value_storage.html "parse+compute+serialize...
   should be idempotent":  2 for each longhand, 2 for the shorthand for
   the unprefixed, and 4 for the shorthand for each prefixed

--HG--
extra : commitid : ADG1EQ3rOlK
2015-11-24 17:45:02 -08:00
Jesse Ruderman
a6fae6aaa5 Bug 1227501 patch 2 - Crashtest.
--HG--
extra : commitid : 8Sld106lbG2
2015-11-24 17:45:02 -08:00
L. David Baron
f2ac6fad96 Bug 1227501 patch 1 - Don't check flags for eCSSPropertyExtra_variable. r=xidorn
I tested locally that the crashtest in patch 2 hits the fatal assertion
without this patch, and passes with the patch.

--HG--
extra : commitid : 8NwOfppKxBN
2015-11-24 17:45:01 -08:00
L. David Baron
e5a5e95ab1 Bug 1217833 followup - Add margin to avoid fuzz on reftest.
--HG--
extra : commitid : 6mp1Q3MN1v3
2015-11-24 17:45:01 -08:00
Wes Kocher
3f9d73cccc Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : HQ2HZ9hq60S
2015-11-24 16:59:18 -08:00
Mike Hommey
70a5b9589d Bug 1227388 - Finish removing dehydra support. r=mshal
Dehydra/Treehydra is unmaintained, broken (iirc), and obsoleted by clang
static analysis. We've removed parts of the build system support for it, but
not all. This is meant to remove the remains.
2015-11-25 08:23:25 +09:00
Matt Woodrow
41a4ad2285 Bug 1222880 - Build a tree of AnimatedGeometryRoots to speed up traversal of ancestors. r=roc,tn 2015-11-25 11:53:51 +13:00
Wes Kocher
edb144c4e2 Backed out changeset e0a9decc5fb0 (bug 756241) for failing on b2g emulator
--HG--
extra : commitid : D7UlzME6eDt
2015-11-24 13:14:37 -08:00
Bob Clary
41a63c38e5 Bug 641724 - Crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
1b3b23c6e6 Bug 716503 - Crashtest. 2015-11-24 20:04:04 +01:00
Mats Palmgren
eb30f1d808 Bug 756241 - Crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
ac6d02817c Bug 914501 - Crashtest. 2015-11-24 20:04:04 +01:00
Aki Helin
14ab1d2a44 Bug 964078 - crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
109cdac5f9 Bug 1145768 - Crashtest. 2015-11-24 20:04:03 +01:00
Atte Kettunen
1124caf989 Bug 1163583 - Crashtest. 2015-11-24 20:04:03 +01:00
Mats Palmgren
2107f2a655 Bug 1226278 - Make 'overflow-clip-box: content-box' work on <fieldset>. r=bz 2015-11-24 20:04:03 +01:00
Mason Chang
e74c79f0e3 Bug 1221840. Support repeating images in 1 axis. r=seth 2015-11-23 08:17:35 -08:00
Mats Palmgren
4e20c0f6c8 Bug 1226627 - Truncate the result in ZoomText/UnZoomText rather than rounding it for better performance. r=roc 2015-11-21 04:41:00 +01:00
Boris Chiou
fe6df692e1 Bug 1215406 - Part 3: Change the types of direction and fillmode in AnimationTiming. r=heycam
Use mozilla::dom::FillMode and mozilla::dom::PlaybackDirection
in AnimationTiming.

--HG--
extra : rebase_source : 8210d002d6f116793f439d88b0325ab6fb880048
2015-11-20 06:12:00 +01:00
Boris Chiou
a8877cd1a7 Bug 1215406 - Part 2: Change the types of direction and fillmode in StyleAnimation. r=heycam
Use scoped enum mozilla::dom::FillMode and mozilla::dom::PlaybackDirection,
instead of uint8_t in StyleAnimation.

--HG--
extra : rebase_source : 24539e1d425d293c268a95305a9511ed746bb15e
2015-11-20 06:09:00 +01:00
Boris Chiou
30de036e45 Bug 1215406 - Part 1: Remove NS_STYLE_ANIMATION_DIRECTION_XXX and NS_STYLE_ANIMATION_FILL_MODE_XXX. r=heycam
Replace the definitions of
1. NS_STYLE_ANIMATION_DIRECTION_XXX with mozilla::dom::PlaybackDirection
2. NS_STYLE_ANIMATION_FILL_MODE_XXX with mozilla::dom::FillMode

So we can static_cast mozilla::dom::PlaybackDirection and mozilla::dom::FillMode
into integers directly.

--HG--
extra : rebase_source : d01bd54f901096b3b00dd3d7b6994c30f9660e82
2015-11-21 06:34:00 +01:00
Kartikaya Gupta
3f1887d8f0 Bug 1226872 - Remove unnecessary wrapper methods in nsLayoutUtils. r=roc
--HG--
extra : commitid : 6XdZwhzPuoM
2015-11-23 09:14:18 -05:00
Kartikaya Gupta
c460ebbd06 Bug 1226872 - Stop keeping a copy of the resolution in the root scrollframe. r=roc
The only reason we had this in the scrollframe at all was so that it could be
saved/restored as part of the frame state when leaving a page and then going
back to it. However we can accomplish this by just reading/writing the resolution
from/to the presshell instead, so there's no need to keep a second copy of it.

--HG--
extra : commitid : J4QBfG2GGjn
2015-11-23 09:14:15 -05:00
Ting-Yu Lin
b48a4c37c2 Bug 1225701 - Update comments in AccessibleCaret files. r=mtseng
DONTBUILD NPOTB

--HG--
extra : commitid : LWzB3w73OeN
extra : rebase_source : 4e359bda2a8c005eedf2ebf972182111094e809e
2015-11-18 11:44:00 +08:00
Ting-Yu Lin
68407e278f Bug 1225701 - Add comments in TouchCaret and SelectionCarets for their obsolescence. r=mtseng
DONTBUILD NPOTB

--HG--
extra : commitid : LWzB3w73OeN
extra : rebase_source : 3494c4e6c8d3f3093e4080ebbfd207c937b90633
2015-11-18 11:44:00 +08:00
Nicholas Nethercote
26b0d282a5 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Boris Zbarsky
187d95cc83 Bug 1220621. When removing a <col>, only create an anonymous colframe to replace it if one is really needed. r=dbaron 2015-11-17 18:15:01 -05:00
Nicholas Nethercote
eb12a384c0 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
Bas Schouten
9c69abbb6c Bug 1224798: Do not produce a clip mask if our context is entirely clipped out anyway. r=jrmuizel 2015-11-17 16:27:17 +01:00
Jesse Ruderman
20405e523f Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
03bd1366df Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
91c762fa9b Bug 576927 - Use saturating multiply when calculating zoomed app units to avoid integer overflow. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
5c372395c9 Bug 1224804 - [css-align] Make ::-moz-table-outer inherit 'justify-self'. r=dholbert 2015-11-16 17:32:39 +01:00
Jesse Ruderman
9ff4167bee Bug 1223282 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
82b3daf6c8 Bug 1223282 - Make NS_AUTOMARGIN be a different value than NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
d376b16387 Bug 1224634 - [css-grid] Tweak a few tests to account for correct 'justify-self' behavior. 2015-11-17 15:00:29 +01:00
Mats Palmgren
921715fa31 Bug 1224634 - [css-grid] Make grid items shrink-wrap when reflowing them, unless they have justify-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
Jesse Ruderman
0468f22070 Bug 1225118 - Crashtest. 2015-11-17 15:00:29 +01:00
Mats Palmgren
b442e0b4b3 Bug 1225118 - [css-grid] Deal with nscoord overflow when applying [align|justify]-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
David Anderson
7e9cf5355c Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Cameron McCormack
fd2fba0c73 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
Ting-Yu Lin
2322e84c59 Bug 1206545 - Add a marionette test case. r=roc
Test AccessibleCaretEventHub is properly initialized if <html> has
"display: none" initially.

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 9c767b200a63777b3f20e85ebc3f83272e979bc9
2015-11-16 18:16:43 +08:00
Ting-Yu Lin
41f35c7496 Bug 1206545 - Initialize AccessibleCaretEventHub in nsCanvasFrame. r=roc
To properly initialize AccessibleCaretEventHub, both canvas frame and
its anonymous mCustomContentContainer are required to successfully
insert anonymous caret elements.

However, if <html> has "display: none",
nsCSSFrameConstructor::ConstructDocElementFrame() will return early in
[1] without constructing mCustomContentContainer. Thus,
AccessibleCaretEventHub will fail to initialize in [2] due to null
mCustomContentContainer.

By moving AccessibleCaretEventHub::Init() to
nsCanvasFrame::CreateAnonymousContent(), we can guarantee that
mCustomContentContainer is constructed before initializing
AccessibleCaretEventHub.

[1] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsCSSFrameConstructor.cpp#2413-2416
[2] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsPresShell.cpp#1682

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 0edef7db8004da2e2cde3d4510bb23f1e9cee61e
2015-11-16 18:16:43 +08:00
Ting-Yu Lin
3d15f9d1ae Bug 1206545 - Store nsIPresShell pointer in constructor instead of Init(). r=roc
When constructing AccessibleCaretEventHub, bypass and store the
nsIPresShell pointer. This is a preparation for later patches.

Also, remove 'virtual' for Init() and Terminate() since the mock object
in gtest does not need to override them.

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : ff934904a6144a3408746574a5534ab44731192d
2015-11-16 18:16:43 +08:00
Cameron McCormack
904f671b03 Bug 1222745 - Restore eRestyleResult_StopWithStyleChange optimization for shared style contexts by comparing rule nodes for inherited style data changes. r=dbaron 2015-11-17 15:09:55 +11:00
Cameron McCormack
fa1a36783a Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Mason Chang
5af03a5859 Bug 1221674 Part 2: Correct for negative content delay values. r=avih 2015-11-16 16:21:04 -08:00
Gijs Kruitbosch
a06294cced Bug 1221947 - part 3: pass touch information to focus manager in RenderFrameParent, r=kats
--HG--
extra : commitid : 47acXgQvIIX
extra : rebase_source : 5cd19375c1bd6451e9cf80f6bae8dbf1de2b34be
extra : histedit_source : 50e6c9d203bde42a45812d352d60fa45987d8806
2015-11-16 14:03:35 +00:00
Xidorn Quan
281856bae0 Bug 1220903 - Allow style to access chrome-only properties if it is loaded via chrome protocol. r=bz
--HG--
extra : source : 4d665a07ace08c052311c97ed4b0cc71d5ec9fd5
2015-11-17 09:54:34 +11:00
Xidorn Quan
ba639e3e07 Bug 1213710 part 3 - Remove enableTestPlugin.js files and make the tests reference plugin-utils.js directly. r=bsmedberg
--HG--
extra : source : 985fc6ba41c30914969940c30dd5a07c3f19f157
2015-11-17 09:54:12 +11:00
Wes Kocher
12532a74a8 Backed out changeset 4efb6cc4fd5d (bug 1225004) for build bustage CLOSED TREE
--HG--
extra : commitid : 4eYsywoFekg
2015-11-16 14:51:17 -08:00
Matt Woodrow
7606ee64ed Bug 1212823 - Use correct coordinate space for box-shadow native rect when doing themed drawing. r=roc 2015-11-12 15:23:11 +13:00
Cameron McCormack
6087c6d62a Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Boris Zbarsky
1fec018fcb Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv 2015-11-20 16:29:41 -05:00
Wes Kocher
7ebb7aa32e Backed out changeset 14641a6d6747 (bug 1223282) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : 6RJMD744I6U
2015-11-16 11:00:47 -08:00
Wes Kocher
0a7442f682 Backed out changeset 5204879f21c8 (bug 1223282) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : LREBAm4ifSA
2015-11-16 11:00:41 -08:00
Wes Kocher
e14054a1ad Backed out changeset 028619a0e9ae (bug 1224804) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : H6wEF8ruy0H
2015-11-16 11:00:37 -08:00
Wes Kocher
e4aa9d36de Backed out changeset cbc8ceae73a2 (bug 576927) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : KD1fFkxta16
2015-11-16 11:00:32 -08:00
Wes Kocher
31d3e04fd9 Backed out changeset 1fc0ecca3e9b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : Cehes9e2lBC
2015-11-16 11:00:28 -08:00
Wes Kocher
74584ef91e Backed out changeset ceb2a5dce49b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : BzR0ugCJ593
2015-11-16 11:00:17 -08:00
Jesse Ruderman
fc98aae16c Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
6e7818f946 Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
313a973bc0 Bug 576927 - Use saturating multiply when calculating zoomed app units to avoid integer overflow. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
7763759c02 Bug 1224804 - [css-align] Make ::-moz-table-outer inherit 'justify-self'. r=dholbert 2015-11-16 17:32:39 +01:00
Jesse Ruderman
1bff27f675 Bug 1223282 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
c05e8fc735 Bug 1223282 - Make NS_AUTOMARGIN not be the same value as NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Mason Chang
675f9bf1f2 Bug 1210261. Tick root refresh driver last. r=mattwoodrow 2015-11-16 08:12:38 -08:00
Kartikaya Gupta
745bba593a Bug 1225137 - Avoid crash on some platforms if scrollbar fading is enabled and the duration is set to zero. r=spohl
--HG--
extra : commitid : 6fBlaRsXx09
2015-11-16 10:44:45 -05:00
Nigel Babu
ef1ce5e989 Backed out changeset 6d47b0590988 (bug 1225004) for ASAN build bustage on a CLOSED TREE
--HG--
extra : amend_source : e082a4a17e47eac5922bcec3059999fae6798cb1
2015-11-16 14:46:58 +05:30
Cameron McCormack
fa99a8cc59 Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Nicholas Nethercote
e48ef7f5e0 Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats.
--HG--
extra : rebase_source : 6364076d0924ed1cd5a952ffa1fcb0543c05c0f7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
f38ebf7649 Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats.
The patch also changes nsMenuPopupFrame::mLastClientOffset to
LayoutDeviceIntPoint.

--HG--
extra : rebase_source : d7c0784efd332e382db3f2857c8f43eabc1c807c
2015-11-13 01:37:02 -08:00
Matt Woodrow
545885b406 Bug 1217012 - Use doubles when untransforming points since we need the extra precision. r=kip 2015-11-16 17:05:55 +13:00
Cameron McCormack
389927a98a Bug 1223688 - Clear mInSupportsConditions when we error out of CSS.supports() upon finding no tokens. r=dholbert 2015-11-16 12:49:22 +11:00
Timothy Nikkel
5731d2c32f Bug 1224209. The animated geometry root of a fixed pos and transformed frame needs to be that frame itself so FrameLayerBuilder can determine it is fixed pos. r=mattwoodrow
We need such frames to get fixed pos annotation by FLB, and FLB can only determine that if the AGR is inside the fixed pos frame subtree.

Bug 1156238 made transformed frames into AGRs, whereas fixed pos frames in a displayport were already AGRs.

So fixed pos and transformed frames are AGRs twice over. We can think of the AGR parent of fixed pos transformed frame as the fixed pos frame itself, but outside the transform.
2015-11-15 12:32:31 -06:00
Thinker K.F. Li
03a1cfe9b2 Bug 1208673 - Do HitTest with skipping non-leaf preserve-3d transform items. r=roc 2015-11-15 14:47:27 +01:00
Phil Ringnalda
f86b7dab19 Bug 774689 - Mark 632781-verybig.html random-if on OS X 10.10 for too many intermittent failures 2015-11-14 17:36:00 -08:00
Jonathan Kew
022c161e17 Bug 1224230 - Explicitly store the lineContainer's writing mode in InlineIntrinsicISizeData. r=dbaron 2015-11-14 08:46:11 +00:00
Mason Chang
cde405cbff Backout bug 1210261 for multiple talos regressions. r=me 2015-11-13 13:47:34 -08:00
Matt Brubeck
871cea5bf5 Bug 1081272 - Include position and transform when computing header/footer size [r=tn] 2015-11-12 16:55:02 -08:00
Matt Brubeck
3777952460 Bug 1224307 - Fix page scrolling for non-full-width fixed headers/footers [r=tn] 2015-11-12 16:55:00 -08:00
Mason Chang
903bae3946 Bug 1210261. Tick root refresh driver last. r=mattwoodrow 2015-11-13 07:14:09 -08:00
Nicholas Nethercote
7922110bde Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00