Commit Graph

4561 Commits

Author SHA1 Message Date
Brian Birtles
b07eebee5b Bug 1073336 part 5 - Add AnimationPlayerCollection::PlayerUpdated; r=dbaron 2014-11-17 13:45:57 +09:00
Brian Birtles
d9b4e0e02f Bug 1073336 part 4 - Add CommonAnimationManager::CollectionUpdated; r=dbaron
Adds a method to the animation manager base class to handle changes to one of
its associated collections.
2014-11-17 13:45:57 +09:00
Brian Birtles
baef709a86 Bug 1073336 part 2 - Call CheckNeedsRefresh from within EnsureStyleRuleFor; r=dbaron
Now that CheckNeedsRefresh is a member of the base class,
CommonAnimationManager, we no longer need to rely on callers of
AnimationPlayerCollection::EnsureStyleRuleFor to remember to call this method
but can do it automatically.
2014-11-17 13:45:56 +09:00
Brian Birtles
89f4908fb5 Bug 1073336 part 1 - Move CheckNeedsRefreshes to CommonAnimationManager; r=dbaron
In order to add AnimationPlayerCollection::NotifyPlayerUpdated, collections
need a way of updating their managers to inform them that their mNeedsRefreshes
flag has changed and hence the manager may need to resume observing the refresh
driver.

Currently, only nsAnimationManager makes use of mNeedsRefreshes and provides
a CheckNeedsRefresh method. In order to allow AnimationPlayerCollection to
operate independently of the type of manager it is attached to (and because
there's a lot of similar code here that we eventually want to move to a common
manager anyway), this patch moves CheckNeedsRefreshes and associated
machinery to CommonAnimationManager.
2014-11-17 13:45:56 +09:00
Phil Ringnalda
8e167728ed Backed out 2 changesets (bug 1084183) for b2g crashes
Backed out changeset a7e75614e955 (bug 1084183)
Backed out changeset af96c149900b (bug 1084183)
2014-11-16 20:21:55 -08:00
Xidorn Quan
79dba04000 Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron 2014-11-17 10:26:39 +11:00
Daniel Holbert
da820542cf Bug 624647 part 2: Honor "object-fit" & "object-position" in nsImageFrame, nsSubDocumentFrame, & nsVideoFrame. r=roc 2014-11-14 16:45:24 -08:00
Daniel Holbert
6c33817dd5 Bug 624647 part 0: Don't use ASSUME_DRAWING_RESTRICTED_TO_CONTENT_RECT flag if 'object-fit' and/or 'object-position' might make our drawing overflow. r=roc 2014-11-14 16:45:23 -08:00
Cameron McCormack
a954ec858b Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky 2014-11-15 09:08:21 +11:00
Christoph Kerschbaumer
a9d3ae9136 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Brian Marshall
5d639a0edf Bug 783213 - Part 3: Tests. r=dbaron 2014-11-10 21:50:12 -08:00
Brian Marshall
5e4a1f9247 Bug 783213 - Part 2: Don't apply the quirk to selectors that use a pseudo-element or are part of a pseudo-class argument. r=dbaron 2014-11-13 21:37:42 -08:00
Brian Marshall
9ca3173fa9 Bug 783213 - Part 1: Only apply the :active and :hover quirk to links, and not when the selector uses other pseudo-classes. r=dbaron 2014-11-08 17:16:39 -08:00
Carsten "Tomcat" Book
a1c255441d merge fx-team to mozilla-central a=merge 2014-11-14 13:13:42 +01:00
Gregory Szorc
4ae6bb6448 Bug 1098135 - Convert some rules to misc tier; r=glandium
--HG--
extra : rebase_source : 1a486bf0ff2e5b3be637f3725cd04b6073e074b8
2014-11-13 19:30:21 -08:00
Morris Tseng
ca0f216c74 Bug 1096169 - Handle selection carets overlapping case. r=roc 2014-11-12 23:03:00 -05:00
Daniel Holbert
ef419fe57d Bug 1098558: Remove unused constant NS_STYLE_DIRECTION_INHERIT. r=smontagu 2014-11-13 15:50:39 -08:00
Cameron McCormack
a08ed57e69 Bug 1096808 - Reload ua.css when ruby pref changes. r=bzbarsky 2014-11-14 09:11:20 +11:00
Cameron McCormack
6f9094eb37 Bug 1068477 - Add pref callback to style sheet cache to handle UA style sheet reloads. r=bzbarsky 2014-11-14 09:11:19 +11:00
Jonathan Kew
ecfeb14da7 Bug 1093165 - Include the text-orientation value in WritingMode, and add the IsSideways flag for baseline decisions. r=smontagu 2014-11-13 08:58:04 +00:00
L. David Baron
4120161816 Bug 1086937 patch 3 - Add test for animations continuing across a user font set update. r=birtles
I confirmed that without patch 2, the third and fourth tests fail
(reporting -1000px), whereas with the patches all 4 tests pass.
2014-11-12 23:28:52 -08:00
L. David Baron
a8e8f8637b Bug 1086937 patch 1 - Add eRestyle_ChangeAnimationPhaseDescendants restyle hint that is like eRestyle_ChangeAnimationPhase, but for a whole subtree. r=birtles 2014-11-12 23:28:52 -08:00
Daniel Holbert
edade3ea6b Bug 1097488: Honor 'object-fit' & 'object-position' in UA stylesheets even if they're preffed off, and remove no-longer-necessary @supports guard. r=heycam 2014-11-11 22:49:15 -08:00
Karl Tomlinson
e04362ca98 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
1085e66407 bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
L. David Baron
3771d286c3 Bug 1087541 - Make RuleNodeWithReplacement handle animations and transitions like RulesMatching codepath does. r=birtles
I originally wrote this to see if it would fix bug 1086937, but it
didn't.

Note that this conflicts a bit with the patch in bug 1085769; whoever
lands second will have some merging (though it shouldn't be difficult).

The updating of the style rule is needed as part of the animation-only
style update, but it shouldn't be in the general restyling code, so it
has moved there.
2014-11-11 15:42:57 -08:00
Daniel Holbert
2c707f2d53 Bug 1041075 followup: Request even-longer timeout for test_value_storage.html. r=dbaron 2014-11-11 08:46:49 -08:00
Cameron McCormack
5e52aa2468 Bug 1092570 - Avoid exposing FontFace(Set) constructors when the Font Loading API pref is not set. r=bzbarsky 2014-11-11 14:53:55 +11:00
Seth Fowler
bc3fd9cc71 Bug 969406 - Make ImageLoader force painting on FRAME_COMPLETE but not FRAME_CHANGED. r=mattwoodrow 2014-11-07 15:40:12 -08:00
John Daggett
2bf063af98 Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame 2014-11-06 13:42:50 +09:00
Daniel Holbert
6ef5776e05 Bug 1094360: Move nsRuleNode::ComputeTextData's chunk for 'mControlCharacterVisibility' down, to match the style struct's member-var ordering. r=roc 2014-11-05 16:08:30 -08:00
Xidorn Quan
c3cb8e27e9 Bug 1094460 - Reorder KTables in nsCSSProps. r=dholbert
--HG--
extra : rebase_source : ccd2b7160158737c2c5fc0434eae5f2efeea428c
2014-11-06 10:14:49 +11:00
Chris Lord
6162d0f241 Bug 974125 - Use RepaintFrame change hint for will-change. r=dbaron 2014-10-30 15:12:11 +00:00
Ryan VanderMeulen
4402a94e8d Bug 891840 - Re-enable test_pixel_lengths.html now that the underlying platform bug has been fixed. r=me
--HG--
extra : rebase_source : 896d2b1f078ade77d5d99b6f2b00759242d0eb34
2014-11-03 17:09:41 -05:00
Vaibhav Agrawal
1ab18000f4 Bug 1083347 - Removing entries from android23.json and annotating manifests. r=gbrown 2014-11-03 12:01:51 -08:00
Rik Cabanier
a15ff61f2f Bug 1092264 - Fix testing of 'isolation' property. r=dbaron 2014-11-03 10:13:13 -08:00
Phil Ringnalda
e2eee0a3e3 Back out b327975e972b (bug 891840) for moving test_bluetooth.html into a b2g debug mochitest chunk where it doesn't want to run half the time 2014-11-01 19:44:43 -07:00
stefanh@inbox.com
4d0ef73c27 Bug 1085134 - Native theming for Mac OS X disclosure buttons, widget part. r=mstange, roc. 2014-11-01 17:13:27 +01:00
Ryan VanderMeulen
9004afee41 Bug 891840 - Re-enable test_pixel_lengths.html now that the underlying platform bug has been fixed. r=me
--HG--
extra : rebase_source : 576d08968224eceb6f90c0e85f364d1d8fdb2f8c
2014-10-31 21:31:26 -04:00
Jonathan Watt
1151d6d34f Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Wes Kocher
a7798a8f83 Backed out changeset 4ed63d7489fe (bug 1087541) for b2g mochitest-9 failures 2014-10-30 14:56:03 -07:00
Wes Kocher
e357edf364 Bug 1090555 - Disable test on mulet r=me 2014-10-30 14:10:07 -07:00
L. David Baron
f9254c3d2f Bug 1087541 - Make RuleNodeWithReplacement handle animations and transitions like RulesMatching codepath does. r=birtles
I originally wrote this to see if it would fix bug 1086937, but it
didn't.

Note that this conflicts a bit with the patch in bug 1085769; whoever
lands second will have some merging (though it shouldn't be difficult).
2014-10-30 11:27:45 -07:00
Kearwood (Kip) Gilbert
1fe913b235 Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Boris Zbarsky
cd481477eb Bug 1087801. Don't assume the global is a Window in the DOM CSS object. r=bholley 2014-10-29 17:00:48 -04:00
Carsten "Tomcat" Book
039dd8961e Backed out changeset 6cd46e671a9d (bug 1082098) for reftest failures 2014-10-29 13:01:37 +01:00
Kearwood (Kip) Gilbert
bda8b6fbd0 Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Brian Marshall
7ff2a511e8 Bug 82711 - Support CSS white-space property on textareas. r=bz 2014-10-28 10:33:15 -07:00
Patrick Brosset
695f157138 Bug 1020244 - Ability to insert AnonymousContent nodes in the canvasFrame via a chrome-only Document API; r=smaug; r=roc; r=ehsan 2014-10-28 11:15:25 +01:00
Jonathan Watt
68a8947f76 Bug 1080688 - Calculate SVG rect bounds using a simple rect transform rather than using a Moz2D Path. r=longsonr 2014-10-26 18:00:03 +00:00