Commit Graph

43100 Commits

Author SHA1 Message Date
Jesse Ruderman
7e1981b7ee Bug 822910 - crashtest. 2014-10-24 17:08:23 +00:00
Mats Palmgren
4126bb10d5 Bug 724235 - crashtest. 2014-10-24 17:08:22 +00:00
Gijs Kruitbosch
a64f8dab5f Bug 1075653 - Make tooltips use vibrancy on Yosemite. r=smichaud 2014-09-12 14:10:09 +01:00
Markus Stange
defd3c048d Bug 1055634 - Propagate font smoothing background colors to layers. r=roc 2014-10-24 18:32:23 +02:00
Jonathan Watt
4f23ebac06 Bug 1088625, part 3 - Remove nsRenderingContext's SetFont, FontMetrics and SetTextRunRTL methods now that no one uses them any more. r=mstange 2014-10-24 16:28:15 +01:00
Jonathan Watt
1c3326bede Bug 1088625, part 2 - Pass nsFontMetrics objects through to code that needs it instead of storing it on the nsRenderingContext. r=mstange 2014-10-24 16:28:14 +01:00
Jonathan Watt
a0f005a778 Bug 1088625, part 1 - Add lots of missing nsFontMetrics.h and gfxTextRun.h includes 2014-10-24 16:28:14 +01:00
Jonathan Watt
35505a8b96 Bug 1088599 - Move nsRenderingContext::GetBoundingMetrics to nsLayoutUtils. r=mstange 2014-10-24 16:28:14 +01:00
Jonathan Watt
08ae0a017c Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange 2014-10-24 16:28:13 +01:00
Carsten "Tomcat" Book
59fffd8c1d Backed out changeset b1ab04e807c3 (bug 1074736) 2014-10-24 14:45:59 +02:00
Carsten "Tomcat" Book
fadec3e0cb Backed out changeset 5b1f330c9298 (bug 1074736) 2014-10-24 14:45:38 +02:00
Xidorn Quan
2ad377ab01 Bug 1088467 - Avoid adding space for bullet with list-style: none. r=surkov 2014-10-24 01:10:00 +02:00
Jonathan Kew
83ad786e39 Bug 1087954 - Fix invalid mix of logical/physical coordinate systems in nsLineLayout::AllowForStartMargin. r=smontagu 2014-10-24 12:24:40 +01:00
Jonathan Kew
df19d5fecc Bug 1083892 - Reftest. r=smontagu 2014-10-24 12:24:40 +01:00
Jonathan Kew
9d780407e0 Bug 1083892 - Make CalculateBlockSideMargins work with logical coordinates. r=smontagu 2014-10-24 12:24:39 +01:00
Jonathan Kew
a0ca30d4c1 Bug 1086883 - Reftest. r=smontagu 2014-10-24 12:24:39 +01:00
Jonathan Kew
bb857cabb0 Bug 1086883 - Convert writing modes where necessary for orthogonal flows when collapsing margins in nsBlockReflowContext methods. r=smontagu 2014-10-24 12:24:38 +01:00
Morris Tseng
1c2f74dde5 Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-23 23:30:00 +02:00
Morris Tseng
7d092bf950 Bug 1074736 - Consider multiple range selection in selection caret. r=roc 2014-10-23 19:49:00 +02:00
Jonathan Watt
2994c1b237 Bug 1088071, part 2 - Move the nsRenderingContext::DrawString code to nsLayoutUtils::DrawUniDirString. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
0e920978be Bug 1088071, part 1 - Wrap the callers of the final nsRenderingContext::DrawString method up in a new nsLayoutUtils::DrawUniDirString method. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
11ce2774d2 Bug 1087982, part 3 - Get rid of the ASCII variants of nsRenderingContext::DrawString/GetWidth. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
21b1d08170 Bug 1087982, part 2 - Get rid of the pass-char-by-value variant of nsRenderingContext::GetWidth. r=jfkthame 2014-10-24 11:00:22 +01:00
Julian Seward
9d875a0ea9 Bug 1074697 - nsDisplaymtdBorder::GetBounds does not set out parameter *aSnap. r=roc. 2014-10-24 10:59:46 +02:00
Kearwood (Kip) Gilbert
bf999c9733 Bug 1086948 - Remove scroll-behavior: instant CSS value option. r=bz
- Removed "instant" CSS keyword and references used by scroll-behavior.
- Updated tests, removing scroll-behavior: instant test cases.
2014-10-22 11:37:00 +02:00
Jonathan Watt
a0199e0c6c Bug 1085533, part 2 - Port nsDisplayNotation::Paint to Moz2D. r=mattwoodrow 2014-10-24 08:26:28 +01:00
Jonathan Watt
254741c6df Bug 1087685 - Port gfxQuartzNativeDrawing to Moz2D. r=mattwoodrow 2014-10-24 08:26:27 +01:00
Jonathan Watt
e341351e69 Bug 1087930 - Remove the gfxPattern returning variant of nsCSSBorderRenderer::CreateCornerGradient. r=mstange 2014-10-24 08:26:27 +01:00
L. David Baron
977efff305 Bug 1088179 - Convert touch caret code to using :-moz-native-anonymous so that it doesn't expose styles for magic attribute names to content. r=birtles
I tested locally on a Flame that using this without the ua.css changes
breaks the touch caret (it doesn't appear), but with the ua.css changes
the touch caret appears again.

This was formerly bug 1082899 patch 6.

--HG--
extra : transplant_source : %CA%60%B7%10%AD%01%14%92%98%28o%AA%BF%5E%8F%7BV%AA%24%D5
2014-10-23 14:58:21 -04:00
Wes Kocher
a689009ad0 Merge m-c to inbound a=merge 2014-10-23 18:09:47 -07:00
Wes Kocher
17870433e9 Merge inbound to m-c a=merge 2014-10-23 17:37:23 -07:00
Ryan VanderMeulen
5442f82abc Merge m-c to inbound. a=merge 2014-10-23 14:11:40 -04:00
Ryan VanderMeulen
f275a7b9e9 Merge inbound to m-c. a=merge 2014-10-23 13:54:47 -04:00
Himanshu Singh
5a4e5dca23 BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats 2014-10-23 09:10:47 -04:00
Wes Kocher
a41244e4fd Merge inbound to m-c a=merge CLOSED TREE 2014-10-22 18:46:27 -07:00
Ryan VanderMeulen
45b8ddd73b Merge b2g-inbound to m-c. a=merge 2014-10-22 16:03:57 -04:00
Himanshu Singh
858cf2c9d4 Bug 1058614 - Transition mMayHaveTouchCaret to be private. r=kats 2014-10-22 13:40:20 -04:00
Daniel Holbert
4aaae25d95 Bug 1084500 part 3: Make documentation for ComputeObjectAnchorPoint cover non-background use cases. r=seth 2014-10-22 13:03:19 -07:00
Daniel Holbert
01f42ffe4d Bug 1084500 part 2: Promote & rename ComputeBackgroundAnchorPoint to nsImageRenderer::ComputeObjectAnchorPoint. r=seth 2014-10-22 13:03:18 -07:00
Daniel Holbert
f7ee152752 Bug 1084500 part 1: Refactor ComputeBackgroundAnchorPoint to take a Position & use a per-component helper method. r=seth 2014-10-22 13:03:18 -07:00
Mats Palmgren
f2d23931c0 Bug 1085701 - Report the allocation size to the OOM abort. r=roc 2014-10-21 15:42:24 +00:00
Mats Palmgren
6a3800de71 Bug 1085050 - Remove a DEBUG assertion. r=kip 2014-10-21 15:42:24 +00:00
Daniel Holbert
b126bfeb83 Bug 1081072, part 2: add reftest. 2014-10-19 23:36:46 -07:00
Ryan VanderMeulen
c457a87994 Backed out changeset 1ac58452ef7d (bug 1082899) for test_selectioncarets.py failures. 2014-10-23 13:40:41 -04:00
L. David Baron
9f9351c617 Bug 1082899 patch 6 - Convert touch caret code to using :-moz-native-anonymous so that it doesn't expose styles for magic attribute names to content. r=birtles
Note that this leaves a few selectors with repeated classes of the form
.moz-touchcaret.moz-touchcaret .   This is intentional, so that these
changes don't change the relative specificity of any of the touch caret
selectors.

I tested locally on a Flame that using this without the ua.css changes
breaks the touch caret (it doesn't appear), but with the ua.css changes
the touch caret appears again.
2014-10-23 12:57:28 -04:00
L. David Baron
826b2b3a5b Bug 1082899 patch 5 - Add :-moz-native-anonymous pseudo-class, exposed only to UA style sheets. r=birtles sr=bzbarsky 2014-10-23 12:57:28 -04:00
L. David Baron
89d590da2b Bug 1082899 patch 4 - Rename existing flag for pseudo-elements to better match what it is (UA sheets, not chrome sheets, although EditorOverride is included). r=birtles 2014-10-23 12:57:28 -04:00
L. David Baron
7bc897c97c Bug 1082899 patch 3 - Add flag for marking pseudo-classes as UA-sheet only. r=birtles 2014-10-23 12:57:28 -04:00
L. David Baron
9907e9112a Bug 1082899 patch 2 - Add flags storage and accessors for nsCSSPseudoClasses. r=birtles
The code for this is basically copied from nsCSSPseudoElements.
2014-10-23 12:57:27 -04:00
L. David Baron
b93b9a1f55 Bug 1082899 patch 1 - Add a flags field to the CSS_PSEUDO_CLASS and related macros. r=birtles 2014-10-23 12:57:27 -04:00
Mats Palmgren
3f61e03687 Bug 1083855 - part 6, Make RecreateFramesForContent params non-optional. r=bz 2014-10-23 13:19:26 +00:00
Mats Palmgren
3be9dbfbb8 Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz 2014-10-23 13:19:25 +00:00
Mats Palmgren
565da376d4 Bug 1083855 - part 2, Add a REMOVE_DESTROY_FRAMES value to RemoveFlags. Make RecreateFramesForContent skip recreating the frames when aFlags has that value. r=bz 2014-10-23 13:19:25 +00:00
Mats Palmgren
250b34decf Bug 1083855 - part 1, Add an aDestroyedFramesFor out param to ContentRemoved and propagate it (and aFlags) to RecreateFramesForContent etc. (idempotent change) r=bz 2014-10-23 13:19:25 +00:00
Rik Cabanier
3da0db254e Bug 1074056 - Part 2 - Rendering part of 1074056: Add support for interpolation hints to CSS gradients. r=roc 2014-10-22 14:25:00 +02:00
Rik Cabanier
85aa244222 Bug 1074056 - Part 1 - Add support for interpolation hints to CSS gradients. r=dbaron 2014-10-22 14:24:00 +02:00
Matt Woodrow
93f050183f Bug 1078337 - Correctly respect the source rect in DrawSingleImage. r=seth
--HG--
extra : rebase_source : c00951d46388585731340cf41c15520fc0592800
2014-10-23 11:41:14 +13:00
Carsten "Tomcat" Book
05f05fd22c merge fx-team to mozilla-central a=merge 2014-10-21 15:38:16 +02:00
Matt Woodrow
1218998a7e Bug 1078005 - Skip sending MozAfterPaint events to hidden PresShells. r=roc 2014-10-21 21:59:59 +13:00
Wes Kocher
f764a700ad Merge m-c to fx-team a=merge 2014-10-20 19:01:55 -07:00
Wes Kocher
845000a7e4 Merge m-c to fx-team a=merge 2014-10-20 18:34:45 -07:00
Wes Kocher
bc6781c19d Merge inbound to m-c a=merge 2014-10-20 17:58:32 -07:00
Carsten "Tomcat" Book
db53227352 merge mozilla-inbound to mozilla-central a=merge 2014-10-20 14:34:56 +02:00
Jonathan Watt
e3bd1068b9 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Jonathan Watt
67d66c6dc4 Bug 1085167, part 1 - Feed the appUnitPerDevPixel value through to nsCSSRendering::DrawTableBorderSegment. r=mattwoodrow
--HG--
extra : rebase_source : 4ef83ee8f45915311c1f7379e06c77f40605c17c
2014-10-20 10:55:49 +01:00
Jonathan Watt
251f92b10b Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Jonathan Watt
884793d6d9 Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 54226509a1b16efdc76f92f202cc2be07cf43ab4
2014-10-20 10:55:48 +01:00
Jonathan Watt
c972886b3e Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 70553292850517d695994c0a3422fab8ea0b760a
2014-10-20 10:55:48 +01:00
Lebedev Maksim
7dfaec718d Bug 1080360 - Add firing lostpointercapture event on document instead of on removed capturing element. r=smaug 2014-10-20 01:28:00 +02:00
Lebedev Maksim
8cd5024e08 Bug 1080360 - Test for receiving lostpointercapture event on document. r=smaug 2014-10-16 05:39:00 +02:00
Edgar Chen
30bb7f1403 Bug 1072275 - MobileConnectionService doesn't have to be created in 'profile-after-change' category. r=smaug 2014-10-16 09:57:38 +08:00
Daniel Holbert
d1eae13c7d Bug 1084039: Clean up AnimationPlayerCollection::PseudoElement(). r=birtles 2014-10-16 22:14:02 -07:00
John Daggett
556a622173 Bug 1083599 - fixup small problem with userfont logging. r=m_kato 2014-10-17 09:15:29 +09:00
David Parks
5b3ab326b6 Bug 918634 - swapFrameLoader not implemented for e10s r=nical
Allow layers to change layermanager if using LayerManagerComposite.

--HG--
extra : rebase_source : f24fde110f91fff7e2ceb3ddcd4549077a15f3c6
2014-10-14 15:11:38 -07:00
Daniel Holbert
680d388201 Bug 1084564: Add mention of bug 1084564 to webm-video & ogg-video reftest.list files, for B2G & Android failures, and remove sparsely-sprinkled links to generic bug 773482. (no review)
DONTBUILD because the changes are comment-only
2014-10-20 10:08:57 -07:00
Max Vujovic
28c94f57f0 Bug 1083241 - Call gfx->Paint in PaintFrameWithEffects when there is blending. r=roc 2014-10-17 11:37:54 -07:00
Kearwood (Kip) Gilbert
91e5d0463a Bug 1045754 - Part 2 - Tests. r=bz
- Updated smooth scroll behavior mochitest and reftests to
  match new CSSOM-View DOM scrolling method parameters.
- Added tests for Element.ScrollBy and Element.ScrollTo.
2014-10-02 17:29:22 -07:00
Ting-Yu Lin
bb554f2bb4 Bug 1082486 - Part 6 - Add tests to test_reftests_with_caret.html. r=roc
Touch caret should not be show in the two test cases since caret does
not show in the scroll frame.
2014-10-19 02:59:00 +02:00
Ting-Yu Lin
a1cdae7705 Bug 1082486 - Part 4 - Check whether nsCaret shows in the scroll frame. r=roc
This patch check whether nsCaret shows in scroll frame. If yes, touch
caret will show, and its position will be clamp to scroll frame as
before. Otherwise, we hide it since the nsCaret will not be seen in this
case.
2014-10-16 22:03:00 +02:00
Ting-Yu Lin
540da05367 Bug 1082486 - Part 5 - Hide touch caret when PresShell is suppressing painting. r=roc
When loading an html, painting is suppressed in PresShell. Therefore the
rect of nsCaret or the rect of nearest ancestor scroll frames will not
be correct. Touch caret will hide incorrectly because it cannot get the
necessary rect to calculate its position.

I added a condition in IsDisplayable() to skip when painting is
suppressed. Touch caret should sync its visibility with nsCaret again
when painting is unsuppressed, and those rects needed by touch caret
should be ready then.
2014-10-16 05:08:00 +02:00
Ting-Yu Lin
4e2fc8bd36 Bug 1082486 - Part 3 - Refactor UpdatePosition(). r=roc
GetTouchCaretPosition() is needed in a later patch.
2014-10-15 03:05:00 +02:00
Ting-Yu Lin
d6a6255879 Bug 1082486 - Part 2 - Make GetCanvasFrame() returns nsCanvasFrame*. r=roc
PresShell::GetCanvasFrame() already returns nsCanvasFrame*, and it's
needed to access nsCanvasFrame's method in a later patch.
2014-10-14 03:07:00 +02:00
Ting-Yu Lin
ddbe993306 Bug 1082486 - Part 1 - Clean up for Mozilla coding style. r=roc
Also, check mVisible before calling UpdatePosition() in
SyncVisibilityWithCaret().
2014-10-14 03:07:00 +02:00
Lebedev Maksim
d0628407c0 Bug 1078327 - Test for correct detecting capturing content. r=smaug 2014-10-17 00:47:00 +02:00
Lebedev Maksim
66480d46b7 Bug 1078327 - Add check for correct detecting capturing content. r=smaug 2014-10-06 09:16:00 +02:00
James Kitchener
2574aaedba Bug 670334 - Set a minimum size for mfence's fences and separators. r=karlt 2014-10-17 18:01:00 +02:00
Brian Birtles
e6792d259c Bug 1078122 part 9 - Move queuing of CSS animation events to CSSAnimationPlayer; r=dholbert
This patch moves the code for queuing CSS animation events from
nsAnimationManager to CSSAnimationPlayer. In doing so, it also moves the
mLastNotification member and associated enum values.
2014-10-20 13:55:47 +09:00
Brian Birtles
c1d26b86ba Bug 1078122 part 5 - Move CSSAnimationPlayer to nsAnimationManager; r=dholbert
This patch takes the CSSAnimationPlayer object, currently defined in
dom/animation/AnimationPlayer.{cpp,h}, and moves it to
layout/style/nsAnimationManager.{cpp,h} where the rest of the CSS
Animations-specific code lives.

At the same time it extends the scope of the mozilla namespace block in
nsAnimationManager.h to also include the AnimationEventInfo and EventArray types
since these classes, which don't have an ns* prefix, probably should be in the
mozilla namespace anyway.
2014-10-20 13:55:46 +09:00
Brian Birtles
b986ff9440 Bug 1078122 part 3 - Move animation value building down to the Animation objects; r=dholbert
This patch extracts the logic for calculating animation styles from
AnimationPlayerCollection and puts the bulk of it into the Animation objects.
Some of the initial logic surrounding the animation player state (e.g. is it
paused or not, etc.) is put into AnimationPlayer.

In future we may shift this logic even further down to the AnimationEffect
objects but currently we don't create such objects unless necessary.
2014-10-20 13:55:46 +09:00
Brian Birtles
0decc8d175 Bug 1078122 part 2 - Encapsulate mIsRunningOnCompositor in AnimationPlayer; r=dholbert 2014-10-20 13:55:46 +09:00
Brian Birtles
95887412b4 Bug 1078122 part 1 - Move checks for animation throttling to AnimationPlayer; r=dholbert
This patch moves code from AnimationPlayerCollection to AnimationPlayer.

However, there is one subtle change in logic involved. Previously, we would test
if the player had finished by getting the computed time of its source content
and checking if it was in the after phase or not. In this patch, however, we
simply check the play state to see if it is finished or not.

These two approaches differ in the case where an animation is paused after it
has finished. The animation phase approach will indicate the player has
finished, but the play state approach will indicate the player has paused (since
the "paused" state trumps the "finished" state). This, however, should not
produce any observable effect because when an animation is paused
mIsRunningOnCompositor will be false (we don't put paused animations on the
compositor).
2014-10-20 13:55:45 +09:00
Brian Birtles
07c1c4a9cc Bug 1078119 - Rename AnimationTimeline/AnimationPlayer GetCurrentTimeDuration; r=bz
This patch performs the following renaming:

  AnimationPlayer::GetCurrentTime -> GetCurrentTimeAsDouble
  AnimationPlayer::GetCurrentTimeDuration -> GetCurrentTime
  AnimationTimeline::GetCurrentTime -> GetCurrentTimeAsDouble
  AnimationTimeline::GetCurrentTimeDuration -> GetCurrentTime
2014-10-20 13:55:45 +09:00
Brian Birtles
6ab3c04168 Bug 1070745 part 9 - Tests for play/pause behavior; r=dholbert 2014-10-20 13:55:45 +09:00
Brian Birtles
81c9d5cfcb Bug 1070745 part 8 - Use play/pause from nsAnimationManager; r=dholbert
This patch uses the PlayFromStyle/PauseFromStyle methods on CSSAnimationPlayer
to perform play/pause control. (This allows us to encapsulate mHoldTime and
mPaused. We will encapsulate mStartTime etc. in subsequent bugs.

The override behavior of play()/pause() with regard to animation-play-state is:
* pause()/play() override the current animation-play-state
* pause() causes the player to remain paused until play() is called regardless
  of changes to animation-play-state
(* Calling play() will override the animation-play-state but won't "stick". i.e.
   subsequently setting animation-play-state: paused will pause the animation.)

These different permutations are tested in the next patch in this series.

This interaction will probably become more complicated once we introduce
finishing behavior (since we might not want animations to restart when
setting animation-play-state: running).
2014-10-20 13:55:44 +09:00
David Zbarsky
7e543c4444 Bug 1070745 part 3 - Convert AnimationPlayer mPlayState to an mPaused bool; r=birtles
We only need to store if an animation is paused or not, hence a bool is
sufficient. Furthermore, the convenience of using the same type as the specified
style of animation-play-state will disappear once pausing behavior is wrapped up
behind Play() and Pause() methods.
2014-10-20 13:55:43 +09:00
Brian Birtles
9d3da82395 Bug 1070745 part 1 - Factor out new_div etc. to animation_utils.js; r=dholbert
We use new_div, check_events etc. in a number of animation-related mochitests
and with this bug we'll want to use them in a few more. This patch factors them
out into animation_utils.js and tidies them up a little.
2014-10-20 13:55:43 +09:00
L. David Baron
87f367b612 Bug 1083461 - Convert nsCSSValue{,Pair}List::operator== back to a static Equal method so that it can be validly called on null pointers. r=bzbarsky
--HG--
extra : transplant_source : %CD%5D%9BE%FE%DE%A4%F2%B8%CF%D7%AE%84%90%3B%E8%A0d%D7%2B
2014-10-19 23:31:39 -04:00
Phil Ringnalda
b2eb743d9b Backed out 4 changesets (bug 1062963, bug 1079139) for failures in 427129-table-caption.html in b2g reftest-6 and Android 2.3 reftest-5
Backed out changeset a9672db96a5d (bug 1079139)
Backed out changeset 241c23570a62 (bug 1062963)
Backed out changeset 90172cc0b012 (bug 1062963)
Backed out changeset 71211c4a4acc (bug 1062963)
2014-10-19 18:44:16 -07:00
Phil Ringnalda
d37beb9414 Back out 820188e039a0 (bug 1067748) for Android reftest-2 failures 2014-10-19 13:50:29 -07:00
Simon Montagu
3134a81fca Bug 1079139: make nsFlowAreaRect.mRect a LogicalRect. r=jfkthame 2014-10-19 12:32:17 -07:00
Simon Montagu
3f0d7f2fcc Bug 1062963 patch 3: make nsFloatManager's origin a LogicalPoint, adapt GetFlowAreas, AddFloats, ClearFloats, etc. to use it and make nsFloatManager region functions work with logical region. r=jfkthame 2014-10-19 12:32:17 -07:00
Simon Montagu
7ed4ceb17c Bug 1062963 patch 2: changes and additions to WritingModes.h. r=jfkthame 2014-10-19 12:32:17 -07:00
Simon Montagu
ec5af204d9 Bug 1062963 patch 1: Logical coordinates in nsLineLayout:ReflowFrame and CanPlaceFrame. r=jfkthame 2014-10-19 12:32:16 -07:00
Jonathan Watt
b8b833765e Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow 2014-10-19 13:22:22 +01:00
Jonathan Watt
c6407bc7fb Bug 1083753, part 1 - Port the code that uses nsRenderingContext::FillRect(nscoord,...) to Moz2D. r=mattwoodrow 2014-10-19 11:55:36 +01:00
Jonathan Watt
9e43325322 Bug 1083597, part 2 - Add a variant of NSRectToRect that snaps to device pixels, and have nsTableCellFrame::DecorateForSelection use it to restore its snapping behavior. 2014-10-19 11:47:22 +01:00
Kearwood (Kip) Gilbert
9784f1be6c Bug 1010538 - Part 8 - Element.ScrollLeft and Element.ScrollTop Tests. r=mstange
scroll-behavior-5.html - Element.ScrollLeft and Element.ScrollTop scroll-behavior tests
- Set Element.ScrollLeft and Element.ScrollTop, for <div> tag with
  no 'scroll-behavior' attribute.  Expected to be instantaneous.
- Set Element.ScrollLeft and Element.ScrollTop, for <div> tag with
  'scroll-behavior: auto'.  Expected to be instantaneous.
- Set Element.ScrollLeft and Element.ScrollTop, for <div> tag with
  'scroll-behavior: instant'.  Expected to be instantaneous.
- Set Element.ScrollLeft and Element.ScrollTop, for <div> tag with
  'scroll-behavior: smooth'.  Expected to be smooth.
2014-10-10 13:43:45 -07:00
Kearwood (Kip) Gilbert
05cb19a985 Bug 1010538 - Part 6 - Anchor Link Scrolling Tests. r=mstange
scroll-behavior-4.html - Anchor Link Scrolling
- Navigate to Anchor, for <div> tag with no ‘scroll-behavior’ attribute.
  Expected to be instantaneous.
- Navigate to Anchor, for <div> tag with ‘scroll-behavior: auto’.
  Expected to be instantaneous.
- Navigate to Anchor, for <div> tag with ‘scroll-behavior: instant’.
  Expected to be instantaneous.
- Navigate to Anchor, for <div> tag with ‘scroll-behavior: smooth’.
  Expected to be smooth.
2014-10-10 13:43:40 -07:00
Robert O'Callahan
4e78797955 Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn 2014-09-16 16:27:14 +12:00
Bruno Peres
747255721f Bug 949651 - Serialize all pseudo-elements with the two-colon syntax, even those that allow one colon. r=dbaron 2014-10-18 17:01:58 -04:00
Kearwood (Kip) Gilbert
d657e33227 Bug 1010538 - Part 5 - Enable automatic smooth scrolling for anchor links. r=mstange
- When an anchor link is clicked, the SCROLL_SMOOTH_AUTO flag is now set by
  PresShell::GoToAnchor when calling PresShell::ScrollContentIntoView.
- Added an arguement, aAnimateScroll, to PresShell:GoToAnchor to indicate that
  the scroll may be animated.  This will only be set to true when an anchor
  link is clicked.  Opening a page with an anchor link will not trigger
  such animations.
2014-09-15 15:54:42 -07:00
Kearwood (Kip) Gilbert
4f6e45680b Bug 1010538 - Part 4 - Tests. r=mstange
scroll-behavior-1.html - Viewport Scrolling, expected to be smooth:
- DOM Method not specifying scroll-behavior, for <body> tag with 'scroll-behavior: smooth’

scroll-behavior-2.html - Div Scrolling, expected to be smooth:
- DOM Method not specifying scroll-behavior, for <div> tag with 'scroll-behavior: smooth’
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with ‘scroll-behavior: smooth’
- DOM Method specifying 'smooth’ scroll-behavior, for <div> tag with ‘scroll-behavior: smooth’
- DOM Method specifying ‘smooth’ scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method specifying ‘smooth’ scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method specifying ‘smooth’ scroll-behavior, for <div> tag with no scroll-behavior attribute.

scroll-behavior-3.html - Div Scrolling, expected to be instant:
- DOM Method not specifying scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method not specifying scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method not specifying scroll-behavior, for <div> tag with no scroll-behavior attribute.
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with ‘scroll-behavior: smooth’
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with no scroll-behavior attribute.
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with no scroll-behavior attribute.
2014-09-15 15:54:40 -07:00
Kearwood (Kip) Gilbert
6af03cd32f Bug 1010538 - Part 3 - Implement scroll-behavior CSS property. r=mstange
- Added SCROLL_SMOOTH_AUTO flag to nsIPresShell to enable selection of
  scroll behavior through CSS.
- Updated Element and Window scrolling DOM methods to enable smooth scrolling
  set through the scroll-behavior CSS property.
- Keyboard, scroll bar, mousewheel, and any other events that scroll smoothly
  with the general.smoothScroll preference enabled will now scroll instantly
  if the scroll frame has "scroll-behavior: instant" applied through CSS.
2014-09-15 12:30:03 -07:00
Kearwood (Kip) Gilbert
66cbd490cf Bug 1010538 - Part 2 - Add scroll-behavior to ScrollbarStyles. r=mstange
- ScrollbarStyles extended to support the scroll-behavior CSS property
- Corrected naming of parameters to ScrollbarStyles CTOR
2014-09-15 12:30:00 -07:00
Kearwood (Kip) Gilbert
b91d62a334 Bug 1010538 - Part 1 - Style support for scroll-behavior. r=mstange
- Implemented boilerplate to add the scroll-behavior CSS property.
- Added layout.css.scroll-behavior.property-enabled preference to
  allow the scroll-behavior CSS property to be enabled independently
  of the CSSOM-View DOM scrolling api extensions for smooth scrolling.
2014-09-15 12:29:58 -07:00
Joshua Cranmer
c221a78dbc Bug 1083793: Make nsITreeBoxObject and nsIBoxObject scriptable again, r=bz
This scriptability is needed for comm-central to work properly, and hopefully
it is only temporary.
2014-10-20 17:02:36 -05:00
Timothy Nikkel
48cd9f6fc0 Bug 1076783. Move scroll info layers to the bottom of the background layer so they are behind most things. r=roc
Bug 1041510 moved them to the top so merging and flattening with scroll layer items worked correctly, but we don't need scroll layer items anymore.
2014-10-20 20:20:16 -05:00
Markus Stange
4a9b04adc7 Bug 1087293 - Remove unused nsIFrameLoader::renderMode. r=kats 2014-10-23 22:45:14 +02:00
Nick Alexander
e2aa678126 Bug 1083279 - Follow-up: address review comments. r=gbrown
Pushed without committing the changes addressing gbrown's review
comments.

--HG--
extra : rebase_source : 4df8be9befc251aa8652baa62da81d1637a6a86d
2014-10-23 11:28:46 -07:00
Ryan VanderMeulen
de50edfb55 Merge m-c to fx-team. a=merge
--HG--
rename : media/libcubeb/README => media/libcubeb/README.md
extra : rebase_source : e737591afb844e80b36bb0192ef72b23f68cbd5e
2014-10-23 14:07:56 -04:00
Nick Alexander
fd08a3a7bb Bug 1083279 - Part 2: Allow SCRIPT_DIRECTORY to depend on the invocation script name. r=ted
This issue manifests itself as the reftest extension not being installed
for local testers.  This is because the extension's location is
determined relative to SCRIPT_DIRECTORY, and for local testers, __file__
ignores the symlink from $OBJDIR/_tests/reftest/runreftest.py ->
$SRCDIR/layout/tools/reftest/runreftest.py.

This was changed in Bug 915865.
2014-10-23 11:05:49 -07:00
Nick Alexander
76e714925e Bug 1083279 - Part 1: Don't get_binary_path on mobile/android. r=gbrown
The logic was cribbed from the final output of |mach run|.
2014-10-23 11:05:48 -07:00
Xidorn Quan
69835869dc Bug 1077718 - Switch dynamic CounterStyle objects to use arena allocation. r=mats 2014-10-16 16:10:00 -04:00
Carsten "Tomcat" Book
ba9335b6e7 Merge mozilla-central to mozilla-inbound 2014-10-20 15:14:35 +02:00
Ryan VanderMeulen
f00e2738a4 Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Ryan VanderMeulen
819f8c4929 Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier
2f56cf117b Bug 1077872 - Implement rendering of isolation CSS property. r=roc 2014-10-13 14:03:00 -04:00
Rik Cabanier
bfeb49d3b2 Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 -04:00
Kartikaya Gupta
72ea4fdacd Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Jonathan Kew
0e773b6fc0 Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu 2014-10-16 09:40:19 +01:00
Jonathan Watt
5de5850bc5 Bug 1083501 - Port the code that uses nsRenderingContext::SetLineStyle/nsLineStyle to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Jonathan Watt
953853c7bd Bug 1083221 - Port the code that uses nsRenderingContext::DrawEllipse/FillEllipse and gfxContext::Ellipse to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Markus Stange
cd9122458b Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc 2014-10-16 12:37:09 +02:00
Jonathan Watt
3a8b0e745a Bug 1083215, part 2 - Convert drawing of HTML image map area focus to Moz2D. r=mattwoodrow 2014-10-16 10:51:14 +01:00
Jonathan Watt
e3b677cbfd Bug 1082553 - Remove a few unnecessary nsRenderingContext includes and forward declarations. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
08d7dd3f8f Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas 2014-10-16 10:51:12 +01:00
Carsten "Tomcat" Book
a20685ff2b Backed out changeset 1abddb50ed34 (bug 1081867) for bustage on a CLOSED TREE 2014-10-16 11:42:11 +02:00
Jonathan Kew
75e3fc9c57 Bug 1083104 - Fix misuse of physical instead of logical dimension for line breaking. r=smontagu 2014-10-16 09:40:20 +01:00
Jonathan Kew
4778df83d1 Bug 1080621 - Don't pass nscoord in-params by reference in nsBidiPresUtils methods. r=smontagu 2014-10-16 09:40:20 +01:00
Jonathan Kew
1428512193 Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu 2014-10-16 09:40:19 +01:00
pchang
120fb11ce3 Bug 1067243 - Refine the selection reason matching logic to toggle the visibility of selection carets. r=roc 2014-09-26 15:14:35 +08:00
Christoph Kerschbaumer
29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Ryan VanderMeulen
c4efcdc11c Backed out changeset f7e1426249f2 (bug 949651) for mochitest-5 failures. 2014-10-15 18:58:56 -04:00
Bruno Peres
139a3159ab Bug 949651 - Serialize all pseudo-elements with the two-colon syntax, even those that allow one colon. r=dbaron 2014-10-15 14:50:58 -07:00
Michael Wu
71bba5063f Bug 1083393 - Remove unused thebes things in nsLayoutUtils, r=mattwoodrow 2014-10-15 17:13:14 -04:00
Bob Clary
0cea442ede Bug 1079931 - Update reftest remotereftest.py to support connecting to device by serial number, r=ahal. 2014-10-15 07:09:16 -07:00
Bobby Holley
a94527ccc8 Bug 1082450 - Remove exposedProps from reftest harness. r=gabor 2014-10-15 15:05:09 +02:00
Carsten "Tomcat" Book
a51c7ea5a8 Backed out changeset e457165df2a3 (bug 1077872) for bustage 2014-10-15 10:40:02 +02:00
Lebedev Maksim
0dcc02a12b Bug 1080361 - Add test for check exceptions in setPointerCapture function. r=smaug 2014-10-14 08:01:00 +02:00
Rik Cabanier
644cf4f5f0 Bug 1077872 - Implement rendering of isolation CSS property. r=roc 2014-10-13 14:03:00 +02:00