Commit Graph

45512 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1d0ad1ef62 Backed out changesets 2bbe38dcb529 and f6bd5a0a047d (bug 1150614) for being the more-likely cause of B2G reftest failures.
CLOSED TREE
2015-04-30 09:08:20 -04:00
Brian Birtles
a606228cd8 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
b05d97c166 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffectReadonly.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffectReadonly.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffectReadonly.webidl
2015-04-30 13:15:04 +02:00
Frédéric Wang
6c069218c1 Bug 1156463 - Add a preference option to disable the scale transform applied to MathML operators. r=karl
--HG--
extra : rebase_source : 58f08a9ec0d3c8c9843d5fd0c3eccf81cc7e11d1
2015-04-25 00:48:00 +02:00
Jonathan Kew
a34e6fd938 Bug 1157951 patch 3 - Reftests for text-overflow with text decorations in vertical writing mode. r=roc 2015-04-28 12:50:21 +01:00
Xidorn Quan
0c5653824d Bug 1159101 part 5 - Initialize writing mode of desired mode of table cell frame from its table frame on a CLOSED TREE. r=roc
--HG--
extra : source : ad2134d545e36298124b6ec5aea600d3689022ad
extra : amend_source : 8bf117c8a17a8a9d0144a00709a8963f8b7efd14
2015-04-30 18:27:54 +12:00
Brian Birtles
4fb166f6b2 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
--HG--
rename : dom/animation/AnimationEffectReadonly.cpp => dom/animation/AnimationEffectReadOnly.cpp
rename : dom/animation/AnimationEffectReadonly.h => dom/animation/AnimationEffectReadOnly.h
rename : dom/webidl/AnimationEffectReadonly.webidl => dom/webidl/AnimationEffectReadOnly.webidl
extra : rebase_source : 5fb31684bf494a57e208d0cfbbc76f65b502fc0e
2015-04-28 10:16:45 +09:00
Simon Montagu
6f25cac84c Tests for bug 1150614, r=jfkthame 2015-04-29 22:07:32 -07:00
Simon Montagu
f4ea5d40c8 Bug 1150614: place floats correctly in vertical writing modes with dir="rtl", r=jfkthame 2015-04-29 22:07:30 -07:00
Xidorn Quan
b67d865b08 Bug 1159101 part 4 - Override GetWritingMode() in nsTable{{Col,Row}{,Group},Cell}Frame. r=roc
--HG--
extra : source : 4b8d51cfa3331c052ede29b56bb7172088e47873
2015-04-30 16:24:59 +12:00
Xidorn Quan
82e7b5cf9f Bug 1159101 part 3 - Replace most of nsTableFrame::GetTableFrame() usage with new GetTableFrame() methods. r=roc
--HG--
extra : source : 626bc4d2a946d0499a529f974abe2711c0174241
2015-04-30 16:24:59 +12:00
Xidorn Quan
e30901b6a0 Bug 1159101 part 2 - Add GetTableFrame() for table inner frames. r=roc
--HG--
extra : source : c470aa2508be969b203ec686f8375383a5de6959
2015-04-30 16:24:59 +12:00
Xidorn Quan
b076220a42 Bug 1159101 part 1 - Alter dependencies among headers of table struct frames. r=roc
--HG--
extra : source : 47d27fc19bd60b57a2d910c60c48ae047c66c65c
2015-04-30 16:24:59 +12:00
Timothy Nikkel
4351a73f8e Bug 1159056. Fix typo. 2015-04-29 19:16:34 -05:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Boris Zbarsky
9cefe0c857 Bug 1141607. Fix the initial value of outline-color to actually be correct. r=dbaron 2015-04-28 14:48:39 -04:00
Mats Palmgren
3d32c9505f Bug 1153757 - Tweak DoGetParentStyleContext to exclude pseudos with a non-primary frame from using a display:contents parent as the style context parent. r=heycam 2015-04-29 13:13:47 +00:00
Kartikaya Gupta
0d34f1455a Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond 2015-04-29 07:22:27 -04:00
Kartikaya Gupta
ca4c4fda69 Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn 2015-04-29 07:22:27 -04:00
Carsten "Tomcat" Book
e5bf29ded9 Backed out changeset ebd9da2efb59 (bug 1157951) for b2g reftest failures on a CLOSED TREE 2015-04-29 13:12:33 +02:00
Jonathan Kew
1783225544 Bug 1157142 - Reftests for logical and physical orientation of <input type=range>. r=jwatt 2015-04-29 08:18:54 +01:00
Jonathan Kew
7ae17d117a Bug 1157142 - Support logical (inline/block) in addition to physical orientation for the <input type=range> element; make inline the default behavior so that range sliders respect writing mode. r=jwatt 2015-04-29 08:18:54 +01:00
Jonathan Kew
5fcbbd1ad3 Bug 1157951 patch 3 - Reftests for text-overflow with text decorations in vertical writing mode. r=roc 2015-04-29 08:18:54 +01:00
Jonathan Kew
861e6a44ed Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew
ed4f94f6c0 Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew
6fb015cbfb Bug 1157752 - Reftest for vertical mode with upright orientation overriding bidi directionality. r=smontagu 2015-04-29 08:18:53 +01:00
Jonathan Kew
d4ac33e086 Bug 1157752 - In vertical writing modes, text-orientation:upright should force LTR directionality. r=smontagu 2015-04-29 08:18:53 +01:00
Cameron McCormack
abddd905f2 Bug 1157097 - Don't share a style context that will have its cached style data cleared. r=dbaron 2015-04-29 14:47:15 +10:00
Wes Kocher
f8d9269061 Backed out changeset a1fea675c94d (bug 1141607) for mochitest-5 orange on an unrelatedly CLOSED TREE 2015-04-28 13:32:20 -07:00
L. David Baron
07676233b6 Bug 1156456 followup - Add a simple reftest for off-main-thread animation of opacity.
This is a parallel to the transform test previously added in this bug.

--HG--
extra : transplant_source : %2AQi/GD%B6%E5Z3s%C1%60%D1%83%28B%BE%DD%1D
2015-04-28 12:11:16 -07:00
Boris Zbarsky
438ae4276f Bug 1141607. Fix the initial value of outline-color to actually be correct. r=dbaron 2015-04-28 14:48:39 -04:00
Neil Deakin
7003d61769 Bug 1157276, rework test to fix intermittent failure, r=test 2015-04-28 08:20:17 -04:00
Timothy Nikkel
b2cc193b4e Bug 1159056. Don't store a value in CSS pixels in a variable with type nscoord in ScrollFrameHelper::SetCoordAttribute. r=dholbert 2015-04-27 19:34:39 -05:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Tom Tromey
3fe62ac51d Bug 1154356 - Escape variable name in Declaration::AppendVariableAndValueToString. r=heycam
--HG--
extra : source : ecc645744a1134ce0e302611c8320a73f622a00a
2015-04-24 13:15:00 -04:00
Ryan VanderMeulen
105fa88eae Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Ryan VanderMeulen
ae67d6b344 Backed out 2 changesets (bug 1099149, bug 1154356) for suspicion that one of them is causing frequent Android debug recursion.js failures. a=me
Backed out changeset ecc645744a11 (bug 1154356)
Backed out changeset 1d7c532f2a62 (bug 1099149)
2015-04-27 15:14:19 -04:00
Markus Stange
4150b52acc Bug 1157936 - Put the correct ratio on the scrollbar layer. r=tn 2015-04-27 14:59:17 -04:00
Tom Tromey
31d2b6cf77 Bug 1154356 - Escape variable name in Declaration::AppendVariableAndValueToString. r=heycam 2015-04-24 13:15:00 -04:00
Boris Zbarsky
1540774b0c Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Ehsan Akhgari
ff4f580968 Bug 1158540 follow-up: Improve the comment
DONTBUILD
2015-04-27 09:17:24 -04:00
Ehsan Akhgari
65709fa8ac Bug 1158546 - Remove nsDisplayHeaderFooter::mFrame in favor of nsDisplayItem::mFrame; r=roc
There is no need to have two separate variables for the same thing
in the same object.
2015-04-27 08:10:29 -04:00
Carsten "Tomcat" Book
9a0d0fac15 Merge mozilla-central to mozilla-inbound 2015-04-27 12:37:12 +02:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
L. David Baron
c1b1d10e7d Bug 1144410 - Remove finished transitions when a frame transitions away from being display:none. r=birtles
Since bug 960465 patch 14, we've retained finished transitions in order
to handle the issues described in
https://lists.w3.org/Archives/Public/www-style/2015Jan/0444.html .  The
code that did this made the assumption that the transition manager is
notified of the full sequence of style changes that happen to an
element.  However, when an element becomes part of a display:none
subtree and then later becomes displayed again, the transition manager
is not notified of a style change when it becomes displayed again (when
we do not have the old style context).

This patch introduces code to prune the finished transitions when that
happens.

This really fixes only part of the set of problems described in bug
1158431, which also affect running transitions.  However, it's the part
of that set that was a regression from bug 960465, which introduced the
retention of finished transitions, and which makes these issues
substantially easier to hit.

I'd like to fix this part quickly because it's a regression and we
should backport the fix.

Without the patch, I confirmed that the following two tests fail:
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity after starting second transition - got 0, expected 1
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity during second transition - got 0, expected 0.5

With the patch, all the added tests pass.

--HG--
extra : transplant_source : %B4%A5%5Ck%E1%B7%F5Et%CF%9B%9F%40%97c%C5NM%D3%A8
2015-04-26 19:20:19 -07:00
Brian Birtles
7382c76c89 Bug 1150807 part 4 - Don't play/pause an idle animation when animation-play-state changes; r=jwatt
This isn't spec'ed anywhere (since the whole Web Animations API <-> CSS
interaction isn't spec'ed yet) but it seems that changing animation-play-state
should not restart an idle animation.

If an author calls Cancel() on an animation then that animation should continue
to be idle until they call Play()/Pause() from the API. Cancelling an animation
and hanging on to it is a purely API-only feature and hence it's reasonable that
restoring it from this state is also an API-only feature.

One can imagine use-cases such as polyfilling where script wants to remove any
CSS Animations/Transitions run by the browser and replace them with something
else entirely. In that case, the script can call Cancel() on the animation and
be sure that the animation is going to stay out of the way even if something
else tweaks the animation-play-state.
2015-04-27 08:53:19 +09:00
Brian Birtles
012ebba32c Bug 1150807 part 3 - Call PostUpdate from Cancel; r=jwatt
This patch makes Cancel() call PostUpdate which clobbers certain state in style
so that animated style is correctly flushed when an animation is cancelled.

The main difficulty with this is that we *don't* want to call this when we're
cancelling an animation as a result of a style update or else we'll trigger
needless work. The pattern elsewhere has been to define a *FromStyle() method
for this case (e.g. CSSAnimation::PlayFromStyle, PauseFromStyle). This isn't
ideal because there's always the danger we will forget to call the appropriate
*FromStyle method. It is, however, consistent. Hopefully in bug 1151731 we'll
find a better way of expressing this.
2015-04-27 08:53:19 +09:00
Ehsan Akhgari
3c14a64fec Backout bug 1157276 because it broke the test on all platforms 2015-04-26 17:25:56 -04:00
Neil Deakin
38d7846b11 Bug 1157276, yield on mouse synthesize calls, r=test-only-change 2015-04-26 12:31:49 -04:00
Ehsan Akhgari
c7febd7a07 Bug 1158540 - Don't repeat the mRefCnt member of URLValue in ImageValue; r=dbaron
Even after this patch, it's not OK to AddRef an ImageValue and then call
Release on its base pointer (URLValue) since URLValue refcounting methods
are not virtual, so it would confuse the leak checker, but at least it
wouldn't cause UAF issues since we'd still be looking at the same mRefCnt
member.
2015-04-25 18:38:24 -04:00