Commit Graph

43485 Commits

Author SHA1 Message Date
Seth Fowler
f4a8da7b65 Bug 1098652 - ImageLoader::OnStopFrame should be called when we get FRAME_COMPLETE, not LOAD_COMPLETE. r=tn
--HG--
extra : rebase_source : 5ab4ec002657890d615cbd6aa23da98ce8ade1d1
2014-11-17 14:29:56 -08:00
Jeff Gilbert
ce5cd8ab32 Bug 1096633 - Allow webgl/experimental-webgl aliasing. - r=kamidphish 2014-11-10 15:16:50 -08:00
L. David Baron
670f12a2d1 Bug 1087536 patch 3 - Use new no-selector-matching hints for animation restyles. r=birtles
This depends on bug 1086937 patch 1 because it requires that
ResolveStyleWithReplacement support eRestyle_ChangeAnimationPhase on
::before and ::after pseudo-elements.

It also depends on patch 1 of this bug for the reasons described in
patch 1's commit message.

This is needed for bug 960465 so that we can use these hints to detect
whether pending restyles include restyles other than those for
animations.  In other words, patches for bug 960465 (or perhaps a
dependent bug that lands before it) will require that all animation
restyles use an animation-specific nsRestyleHint.

It is also, on its own, a performance improvement for animations and
transitions, since we will stop rerunning selector matching on the
animating element during the progress of the animations or transitions.
Once we remove eRestyle_ChangeAnimationPhase the performance improvement
will even become slightly better.

Note that the eRestyle_ChangeAnimationPhase is needed in some cases
because we use PostRestyleForAnimation in the non-animation-restyle
phase when we have a style rule that we need to add during the animation
restyle phase.  (It's not needed during the progress of the animation,
though.  But hopefully both eRestyle_ChangeAnimationPhase will go away
soon, after bug 960465.  And hopefully the way we tick animations will
also change to look more like the animation-only restyle, but without
the main-thread-suppressed (throttled) animations.)
2014-11-17 11:39:14 -08:00
L. David Baron
54b88f7449 Bug 1087536 patch 2 - Assert when nsStyleSet::RuleNodeWithReplacement finds the rules in an incorrect order. r=birtles
I confirmed that this assertion fires (along with the other failures)
when running layout/style/test/test_transitions_events.html with patch 3
but not patch 1.
2014-11-17 11:39:14 -08:00
L. David Baron
18f4e801e6 Bug 1087536 patch 1 - Record the transition manager's cover rule as in the eTransitionSheet level of the cascade so that ResolveStyleWithReplacement replaces it correctly. r=birtles
Without this patch, patch 3 will cause bugs where we'll never remove the
cover rule we create during the process of starting a transition.  This
won't actually be problematic during the transition, since the
transition will overwrite it, but once the transition completes, the
cover rule will still be around, and we'll be stuck with the
pre-transition value instead of the post-transition value.

It's possible it also fixes existing bugs prior to the patch series in
this bug.
2014-11-17 11:39:14 -08:00
Jonathan Kew
7956e70842 Bug 1095933 - Apply horizontal writing-mode to MathML content. r=smontagu 2014-11-17 08:49:38 +00:00
Jonathan Kew
bc30822def Bug 1093684 - part 3 - Replace |bottom| with |block-end| in a bunch of comments, and rename mCarriedOutBottomMargin to mCarriedOutBEndMargin. r=smontagu 2014-11-17 08:49:38 +00:00
Jonathan Kew
4ec5862839 Bug 1093684 - part 2 - Handle vertical writing mode when computing overflow areas in nsBlockFrame. r=smontagu 2014-11-17 08:49:37 +00:00
Jonathan Kew
52835852c0 Bug 1093684 - part 1 - Make nsGfxScrollFrame aware of vertical writing modes. r=smontagu 2014-11-17 08:49:37 +00:00
Brian Birtles
aa575c832b Bug 1081007 - Fix relationship between Play/PlayFromJS/PlayFromStyle etc.; r=dholbert
The existing relationship between the particular versions of
AnimationPlayer::Play* (particularly in the CSSAnimationPlayer) subclass are
confusing because, for example, CSSAnimationPlayer::PlayFromStyle needs to be
careful to *not* call Play on CSSAnimationPlayer, but only on the parent
object (since otherwise we reset the sticky pause behavior).

This patch reworks this relationship by adding a protected DoPlay method that
performs the common pausing behavior. Play/PlayFromJS/PlayFromStyle then add
flushing, sticky pausing etc. as necessary.

This patch also removes the UpdateFlags enum and parameters previously used to
control whether we forced an update to style. This is no longer necessary since
we no longer call 'Play' from style. Instead we make Play always post restyles.

If we come across a case where we want to call Play and *not* post restyles, we
can re-add the flags then.

Roughly the same arrangement is true for Pause except that we don't currently
flush styles for CSS animations in PauseFromJS since it currently won't make any
observable difference.
2014-11-17 13:46:01 +09:00
Brian Birtles
18c294458c Bug 1073336 part 16 - Factor out animation-layer related information to a common database; r=dbaron 2014-11-17 13:46:00 +09:00
Brian Birtles
50564d30cb Bug 1073336 part 14c - Check for a null style refresh time in AnimationPlayerCollection::CanThrottleTransformChanges; r=dbaron
We often set mStyleRuleRefreshTime to null to ensure styles get updated.
However, CanThrottleTransformChanges doesn't check for this case and blindly
does subtraction using this value.

Until now we've got away with this but now that we set mStyleRuleRefreshTime to
null when making changes via the API this case crops up in different
circumstances and we can trip over it.

This patch simply adds a null check before using mStyleRuleRefreshTime in
CanThrottleTransformChanges. All other cases where we operate on
mStyleRuleRefreshTime check for null.
2014-11-17 13:46:00 +09:00
Brian Birtles
d5678b7ad6 Bug 1073336 part 14b - Make ElementRestyler detect changes to the animation generation; r=dbaron
For some kinds of changes we need to update the layer tree even though there is
no change to style. For example, if an animation is paused via the Web
Animations API, we need to remove the animation from the layer even though the
style will not change.

This patch detects such changes by making ElementRestyler check for an
out-of-date animation generation on layers. This is complicated by the fact that
we currently maintain *two* animation generation numbers: one for the set of
animations and one for the set of transitions, but we only have *one* animation
generation number on each layer. This is a known issue (bug 847286).

As a result, until bug 847286 is fixed, we need to be careful to compare against
the greater of the two numbers.
2014-11-17 13:46:00 +09:00
Brian Birtles
dc417c2fec Bug 1073336 part 14a - Update animation generation when changing animations via the API; r=dbaron 2014-11-17 13:45:59 +09:00
Brian Birtles
9acbbb6122 Bug 1073336 part 11 - Move GetAnimationPlayers to base CommonAnimationManager class; r=dbaron
nsAnimationManager provides GetAnimationPlayers while nsTransitionManager
provides GetElementTransitions. Both perform the same function, namely, fetching
(and optionally creating if it does not exist) the AnimationPlayerCollection for
the specified element/pseudo. Furthermore, both take the same arguments.

This patch aligns the method names and makes this a virtual method on the base
class CommonAnimationManager so that it can be used generically from a pointer
to a CommonAnimationManager.
2014-11-17 13:45:59 +09:00
Brian Birtles
bb9a6c6bf6 Bug 1073336 part 10 - Add AnimationPlayer::GetAnimationManager(); r=dbaron
This patch introduces an abstract method to AnimationPlayer to fetch the manager
object associated with the player. This method is implemented separate by
CSSAnimationPlayer and CSSTransitionPlayer to return the nsAnimationManager or
nsTransitionManager accordingly.
2014-11-17 13:45:58 +09:00
Brian Birtles
9efcdfde21 Bug 1073336 part 7 - Move style flushing to CSSAnimationPlayer and CSSTransitionPlayer; r=dbaron
Previously AnimationPlayer::Play() and AnimationPlayer::PlayState() would flush
styles as part of their operation. This, however, is only needed when the player
corresponds to a CSS Animation or CSS Transition. Now that we have concrete
subclasses for each of these cases we can move style flushing to the subclasses
and remove it from the base class (which is expected to be shared with
animations that are not dependent on style).
2014-11-17 13:45:58 +09:00
Brian Birtles
5f35f63800 Bug 1073336 part 6 - Add CSSTransitionPlayer; r=dbaron
In order to be able to find the collection a player belongs to from its source
content, we first need to be able to determine which manager--the animation
manager or transition manager--to look up.

We eventually plan to push transition event dispatch down to a CSS
transitions-specific subclass of AnimationPlayer, so this seems like a suitable
point to introduce this class.

Using this subclass we can define a virtual GetManager method that will
return the appropriate animation/transition manager for the player.
2014-11-17 13:45:57 +09:00
Brian Birtles
371d30ed6a Bug 1073336 part 5 - Add AnimationPlayerCollection::PlayerUpdated; r=dbaron 2014-11-17 13:45:57 +09:00
Brian Birtles
e8b261ac02 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
b8775a0cfa Bug 1073336 part 3b - Add nsPresContext::ClearLastStyleUpdateForAllAnimations; r=dbaron 2014-11-17 13:45:57 +09:00
Brian Birtles
3ba1306512 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
6435d45744 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
5cdbb8940e 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
7f8acfe395 Bug 1084183 - Test for text-decoration for ruby frames. r=dbaron 2014-11-17 10:26:45 +11:00
Xidorn Quan
06a84fbe4a Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron 2014-11-17 10:26:39 +11:00
Jonathan Watt
cd03927dbc Bug 1094063 follow-up - Remove yet more fuzzing from reftests that don't need it any more. 2014-11-13 15:11:42 +00:00
Jonathan Watt
82831ccc12 Bug 1097438 - Restore the use of AntialiasMode::NONE in nsCSSBorderRenderer::DrawBorders(). r=roc 2014-11-12 02:56:12 +00:00
Bas Schouten
f58f8f8040 Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
Sotaro Ikeda
148067068a Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Daniel Holbert
d68a5662f6 Bug 624647 reftests, part 3: Test 'object-fit' & 'object-position' properties with SVG images in various container elements. (no review because substantially similar to r+'d reftests part 1)
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/generate-object-fit-png-tests.sh => layout/reftests/w3c-css/submitted/images3/support/generate-object-fit-svg-tests.sh
2014-11-14 16:45:24 -08:00
Daniel Holbert
fc26aa8e05 Bug 624647 reftests, part 2: Test 'object-fit' & 'object-position' properties with a WebM-backed <video> element. r=seth
--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/colors-16x8.png => layout/reftests/webm-video/colors-16x8.png
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16.png => layout/reftests/webm-video/colors-8x16.png
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001-ref.html => layout/reftests/webm-video/object-fit-contain-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001p.html => layout/reftests/webm-video/object-fit-contain-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002-ref.html => layout/reftests/webm-video/object-fit-contain-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002p.html => layout/reftests/webm-video/object-fit-contain-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001-ref.html => layout/reftests/webm-video/object-fit-cover-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001p.html => layout/reftests/webm-video/object-fit-cover-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002-ref.html => layout/reftests/webm-video/object-fit-cover-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002p.html => layout/reftests/webm-video/object-fit-cover-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001-ref.html => layout/reftests/webm-video/object-fit-fill-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001p.html => layout/reftests/webm-video/object-fit-fill-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002-ref.html => layout/reftests/webm-video/object-fit-fill-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002p.html => layout/reftests/webm-video/object-fit-fill-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001-ref.html => layout/reftests/webm-video/object-fit-none-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001p.html => layout/reftests/webm-video/object-fit-none-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002-ref.html => layout/reftests/webm-video/object-fit-none-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002p.html => layout/reftests/webm-video/object-fit-none-webm-002.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001-ref.html => layout/reftests/webm-video/object-fit-scale-down-webm-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001p.html => layout/reftests/webm-video/object-fit-scale-down-webm-001.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002-ref.html => layout/reftests/webm-video/object-fit-scale-down-webm-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002p.html => layout/reftests/webm-video/object-fit-scale-down-webm-002.html
2014-11-14 16:45:24 -08:00
Daniel Holbert
c0172f049e Bug 624647 reftests, part 1: Test 'object-fit' & 'object-position' properties with a PNG image in various container elements. r=seth 2014-11-14 16:45:24 -08:00
Daniel Holbert
99c07151f7 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
9f4cb9be39 Bug 624647 part 1: Add utility method nsLayoutUtils::ComputeObjectDestRect() to handle object-fit/object-position. r=seth 2014-11-14 16:45:23 -08:00
Daniel Holbert
6ea2fe785e 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
Glenn Randers-Pehrson
af6365f04f Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
Cameron McCormack
2c2626a679 Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky 2014-11-15 09:08:21 +11:00
Botond Ballo
8692d54447 Bug 1099104 - Temporary fix for a rendering regression caused by bug 1076163. r=kats 2014-11-14 14:08:02 -05:00
Christoph Kerschbaumer
d5cbc137e2 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Brian Marshall
8173554150 Bug 783213 - Part 3: Tests. r=dbaron 2014-11-10 21:50:12 -08:00
Brian Marshall
ce5f1f5c0d 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
c0a3b6e87d 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
Kartikaya Gupta
aa17d0e26d Bug 1090398 - Small refactoring that adds ParentLayerPixel::ToUntyped. r=botond 2014-11-14 07:40:14 -05:00
Carsten "Tomcat" Book
98164c5baf merge fx-team to mozilla-central a=merge 2014-11-14 13:13:42 +01:00
Gregory Szorc
727d153d18 Bug 1098135 - Convert some rules to misc tier; r=glandium
--HG--
extra : rebase_source : 1a486bf0ff2e5b3be637f3725cd04b6073e074b8
2014-11-13 19:30:21 -08:00
Ryan VanderMeulen
28c2fca375 Merge fx-team to m-c. a=merge 2014-11-13 15:40:39 -05:00
Ting-Yu Lin
9b3563ea90 Bug 1097094 - Keep a WeakPtr to nsDocShell in SectionCarets. r=roc
When SelectionCarets::Terminate() is called, it's not guaranteed that we
can get nsDocShell from PresContext. It causes that SelectionCarets
cannot remove itself as an observer.

To fix this, we keep a member WeakPtr<nsDocShell> so that we can always
have nsDocShell in SelectionCarets::Terminate().
2014-11-13 08:32:00 -05:00
Morris Tseng
d0e550df52 Bug 1096169 - Handle selection carets overlapping case. r=roc 2014-11-12 23:03:00 -05:00
Carsten "Tomcat" Book
b1214c5765 Merge mozilla-central to fx-team 2014-11-13 16:27:00 +01:00
Carsten "Tomcat" Book
4916e71e91 Backed out changeset e36492ae23a6 (bug 1094434) for Android Reftest Failures on a CLOSED TREE 2014-11-13 12:04:06 +01:00
Carsten "Tomcat" Book
3649cb2cd1 Backed out changeset 13167bb74be0 (bug 1094434) 2014-11-13 12:03:23 +01:00
Carsten "Tomcat" Book
8894f4319e Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Jonathan Kew
1b048b4316 Bug 1094434 - Reftests for display of resizer on vertical-lr and vertical-rl textareas. r=roc 2014-11-13 09:12:53 +00:00
Jonathan Kew
dbeb458ff7 Bug 1094434 - Render resizer appropriately for vertical-lr and vertical-rl writing modes. r=roc 2014-11-13 08:58:06 +00:00
Jonathan Kew
5182bb2e02 Bug 1093553 - Followup to fix positioning of the caret with writing-mode:vertical-lr and text-orientation:sideways-right. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
34fea182cd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
e27a2da74c Bug 1090159 - Reftest for erratic baseline in vertical-rl mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
257b729bc8 Bug 1090159 - Correct baseline alignment in vertical-rl writing mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
1dc8cfa43b Bug 1091058 - Reftest for underlining of vertical writing-mode spans. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
e1255310b1 Bug 1091058 - Fix positioning of text-decoration lines in vertical writing mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
0a0ca18b1f Bug 1090168 - Reftests for textBaseline support in <canvas> vertical writing-mode text. r=jdaggett 2014-11-13 08:58:05 +00:00
Jonathan Kew
f97a6b6a7d 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
Jonathan Kew
ae4c472fad Bug 1088025 - Reftest for positioning of lines within paragraphs in a vertical-rl block. r=dbaron 2014-11-13 08:58:04 +00:00
Jonathan Kew
5de4d98d5c Bug 1088025 - part 2 - Fix up block-dir position of lines in a vertical-rl block once we know the final block size (container width) needed to map to physical coordinates. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew
1bdefeee1e Bug 1088025 - part 1 - Ensure nsBlockReflowState has a constrained mContainerWidth before we reflow lines into the container. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew
c02ad81b73 Bug 1089581 - Convert nsLineBox::SlideBy to use logical coordinates. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
c2e1350336 Bug 1089388 - Reftests for nsBlockFrame::SlideLine in vertical writing modes. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
c8bcdce921 Bug 1089388 - Followup to add a LogicalPoint version of nsIFrame::MovePositionBy, and use this in SlideLine. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
150a68da5c Bug 1089388 - Convert nsBlockFrame::SlideLine to use logical coordinates. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
5922ab8a63 Bug 1094914 - Reftest for margins and writing-mode of an inline block. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
6f8bff7661 Bug 1094914 - part 2 - Store margins and borders using line's writing mode in perFrameData, to avoid writing-mode conversions. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
a2a1b29517 Bug 1094914 - part 1 - Don't confuse frame and line writing-modes in nsLineLayout. r=smontagu 2014-11-13 08:58:02 +00:00
L. David Baron
7cff21024e 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
5fc1b3d275 Bug 1086937 patch 2 - Use eRestyle_ChangeAnimationPhaseDescendants to get the right style data in RestyleManager::RebuildAllStyleData. r=birtles
Until we get rid of animation phases in bug 960465, we need to ensure
we're producing style data for the correct animation phase.  This makes
this optimization slightly less beneficial until then.
2014-11-12 23:28:52 -08:00
L. David Baron
0c5741e2ef 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
L. David Baron
70fce093ea Bug 1086937 patch 0 - Add missing null check of root element so this patch series doesn't expose a crash in layout/style/crashtests/472237-1.html . r=birtles 2014-11-12 23:28:52 -08:00
Botond Ballo
d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
1c1e4448a5 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Xidorn Quan
ef58484437 Bug 1096152 - Use frame instead of content to track break position. r=dbaron
--HG--
extra : amend_source : efab3508002471ed24c629d13985bca4fe4a1376
2014-11-14 16:41:14 +11:00
Matt Woodrow
fb90898fa4 Bug 1097441 - Use SetScaleToSize for scaling videos so that it works for asynchronous size changes. r=roc 2014-11-12 17:11:53 +13:00
Daniel Holbert
e67266e10b Bug 1098558: Remove unused constant NS_STYLE_DIRECTION_INHERIT. r=smontagu 2014-11-13 15:50:39 -08:00
Daniel Holbert
009f262d50 Bug 1098551: Use nsBidiLevel (instead of uint8_t) to capture result of functions that return nsBidiLevel. r=smontagu 2014-11-13 14:53:17 -08:00
Cameron McCormack
bea7a50ffc Bug 1096808 - Reload ua.css when ruby pref changes. r=bzbarsky 2014-11-14 09:11:20 +11:00
Cameron McCormack
5b29892f54 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
Botond Ballo
98ceb86b05 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
57adf459d4 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Botond Ballo
751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
c854025367 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Gijs Kruitbosch
e62dfd0026 Bug 989947 - disable popups during modal alerts on OS X, r=bz 2014-11-12 17:05:29 +00:00
Jim Mathies
6f6e8ef4e9 Bug 669200 - Various changes to non-ipc related plugin code to facilitate remoting windowed plugin widgets in content. r=roc 2014-11-12 14:59:20 -06:00
Jim Mathies
a323270a8b Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Robert O'Callahan
9484467be5 Bug 1092842. When setting cliprects on background color display items, don't shrink them to exclude opaque borders (unless there's nonzero border-radius). r=mattwoodrow
By not excluding opaque borders from the display item cliprects, we produce
a larger opaque area for opaque background items.

--HG--
extra : rebase_source : 4e27157c2b60d1a0386a4db681dd8f1e741b61fd
2014-11-12 20:53:03 +13:00
Robert O'Callahan
98a7a56835 Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel
--HG--
extra : rebase_source : deb88329b8948686119df73122032db999006cae
2014-11-12 20:52:57 +13:00
Robert O'Callahan
5168260865 Bug 1096181. Recompute overflow areas of transformed elements when a parent element with perspective is scrolled. r=mattwoodrow
--HG--
extra : rebase_source : 249eb13623ef78c847a4e98602a8372cdeb27381
2014-11-12 18:08:27 +13:00
Ryan VanderMeulen
94af97dcbd Backed out changesets c61c91ea40fe and 8ac5fed37830 (bug 1071769) for causing frequent Android reftest failures.
--HG--
extra : rebase_source : c0b340f22ab24456272451a88aea302b0f19026b
2014-11-12 11:34:57 -05:00
Bas Schouten
ae410039d3 Bug 1097628: Mark tests as fuzzy with D2D even when Canvas & Content backends are identical. r=jwatt 2014-11-12 15:05:14 +00:00
Maksim Lebedev
2663f2a50d Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug 2014-11-11 08:29:00 +01:00
Maksim Lebedev
a2f293b9fc Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
Morris Tseng
8733cb18e1 Bug 1094056 - Use nsCaret::GetGeometryForFrame to determine position of selection carets. r=roc 2014-11-11 22:54:00 +01:00
Ting-Yu Lin
892f540142 Bug 1073457 - Launch long tap detector when APZ isn't enabled. f=mtseng, r=roc
LaunchLongTapDetector() is used to fire long tap to select word when
async pan zoom is not enabled. We should check if async pan zoom is
enabled rather than check whether it's on main process.

This can also fix selection carets not working on e10s.
2014-11-10 00:29:00 +01:00
Carsten "Tomcat" Book
de08411809 Backed out changeset 357b7bb14462 (bug 1083004) for frequent b2g m-9 test failures 2014-11-12 11:26:12 +01:00
Carsten "Tomcat" Book
ed5d6b9e18 Backed out changeset 61fa2ff606b8 (bug 1083004) 2014-11-12 11:25:51 +01:00
Matt Woodrow
a60e5618ba Backed out changeset f96fe425680e for cuasing OSX reftest failures 2014-11-12 21:43:47 +13:00
Matt Woodrow
716c4beebe Bug 1097441 - Use SetScaleToSize for scaling videos so that it works for asynchronous size changes. r=roc
--HG--
extra : rebase_source : c18b17e8b146aa8a7cebc4125fd0dc86fb20f882
2014-11-12 17:11:53 +13:00
Daniel Holbert
7599f81f93 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
Xidorn Quan
f06648f619 Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-12 17:31:37 +11:00
Xidorn Quan
da018dfde0 Bug 1083004 - Fix crashes for tests. r=dbaron 2014-11-12 17:31:31 +11:00
Xidorn Quan
07ac0c4e67 Bug 1088489 - Meet the specification for pseudo ruby box generation. r=bz 2014-11-12 14:44:36 +11:00
Karl Tomlinson
a3ba9b4cb5 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
e74a26e05e bug 1096131 clarify docs for LayoutDevicePixels and LayerPixels r=kats f=tn
--HG--
extra : rebase_source : c2e854a7af06abbfcd9bb95fef3ac241472b88b5
2014-11-08 12:39:42 +13:00
Karl Tomlinson
4b1c0e2e81 bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
4b187d31fa bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
L. David Baron
e60f613f42 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
Christoph Kerschbaumer
ea908adf75 Bug 1089912: Part 2, move mixedcontentblocker into dom/security (r=tanvi,jst)
--HG--
rename : dom/base/nsMixedContentBlocker.cpp => dom/security/nsMixedContentBlocker.cpp
rename : dom/base/nsMixedContentBlocker.h => dom/security/nsMixedContentBlocker.h
2014-10-28 09:44:11 -07:00
Christoph Kerschbaumer
ab97bec4cb Bug 1089912: Part 1, move csp into dom/security (r=sstamm,jst)
--HG--
rename : dom/base/nsIContentSecurityPolicy.idl => dom/interfaces/security/nsIContentSecurityPolicy.idl
rename : dom/base/nsCSPContext.cpp => dom/security/nsCSPContext.cpp
rename : dom/base/nsCSPContext.h => dom/security/nsCSPContext.h
rename : dom/base/nsCSPParser.cpp => dom/security/nsCSPParser.cpp
rename : dom/base/nsCSPParser.h => dom/security/nsCSPParser.h
rename : dom/base/nsCSPService.cpp => dom/security/nsCSPService.cpp
rename : dom/base/nsCSPService.h => dom/security/nsCSPService.h
rename : dom/base/nsCSPUtils.cpp => dom/security/nsCSPUtils.cpp
rename : dom/base/nsCSPUtils.h => dom/security/nsCSPUtils.h
2014-10-27 16:58:20 -07:00
Ryan VanderMeulen
8d432fef90 Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
CLOSED TREE
2014-11-11 13:10:56 -05:00
Daniel Holbert
1d7a29d2b3 Bug 1041075 followup: Request even-longer timeout for test_value_storage.html. r=dbaron 2014-11-11 08:46:49 -08:00
Daniel Holbert
e05d4dd477 (no bug) Minor whitespace cleanup in nsImageFrame.cpp. whitespace-only, so DONTBUILD 2014-11-11 08:46:06 -08:00
Frédéric Wang
8cfba1533e Bug 619521 - Part 3: Send a notification for missing math fonts. r=jkitch 2014-11-11 02:37:00 -05:00
Jonathan Kew
fce2d16101 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-11-07 06:32:00 -05:00
Olli Pettay
115ea30870 Bug 1096076 - [E10s] When resizing a window, all the tabs are resized, r=roc 2014-11-11 00:38:28 +02:00
Jonathan Kew
8412cec73a Bug 1096260 - Convert flags parameter of nsIFrame::ComputeSize from uint32_t to a typed enum, and update callers accordingly. r=dholbert 2014-11-11 11:02:41 +00:00
Carsten "Tomcat" Book
73921d7d11 Backed out changeset a263c8cfb04f (bug 1083004) for m5 test failures 2014-11-11 08:14:42 +01:00
Xidorn Quan
2d623e68f6 Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-11 16:41:58 +11:00
Cameron McCormack
3fe0848250 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
Wes Kocher
8417fca951 Backed out 3 changesets (bug 1092888) for marionette bustage on a CLOSED TREE
Backed out changeset eeff2ff03d39 (bug 1092888)
Backed out changeset c25a6fd7903f (bug 1092888)
Backed out changeset e4e735cdd665 (bug 1092888)
2014-11-10 14:47:52 -08:00
Seth Fowler
552b8dfc85 Bug 1091229 - Make nsBulletFrame block onload when it loads images. r=tn
--HG--
extra : rebase_source : e6b4ed67cab9d0d674a6a5f194c14c7362723440
2014-11-10 13:37:49 -08:00
Morris Tseng
bcc32a1ccd Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc
--HG--
extra : rebase_source : 9e343626d67f6d9d4435535e3d10535ca1006cf0
2014-11-10 02:04:00 -05:00
Morris Tseng
d1bbae134d Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc
--HG--
extra : rebase_source : 23e1c11c1a89a5e5fa4d80af6abace7d1c7e2012
2014-11-10 02:03:00 -05:00
Robert Longson
6e7cf817ac Bug 1093327 - Correct marker orientation of polygon and polylines. r=cam 2014-11-10 14:40:43 +00:00
Ting-Yu Lin
41fb52c7e0 Bug 1094607 - Move scroll observer logic to SelectionCarets. r=roc 2014-11-05 22:00:00 +01:00
Xidorn Quan
a85f3a113d Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-10 12:25:17 +11:00
Xidorn Quan
08641f507e Bug 1063857 - Improve selecting on justified characters. r=roc 2014-11-10 12:25:09 +11:00
Xidorn Quan
9a699374b5 Bug 1063857 - Fix reftests for new justification algorithm.
--HG--
rename : layout/reftests/bugs/503399-ref.html => layout/base/tests/bug503399-ref.html
rename : layout/reftests/bugs/503399.html => layout/base/tests/bug503399.html
2014-11-10 12:24:51 +11:00
Benjamin Peterson
a1cbc9ea90 No bug - Remove extra words to make the sentence coherent. r=me 2014-11-09 13:45:27 -05:00
Benjamin Peterson
8360dcaa79 No bug - fix typo r=me 2014-11-08 14:35:00 -05:00
Seth Fowler
819193bb68 Bug 969406 - Make ImageLoader force painting on FRAME_COMPLETE but not FRAME_CHANGED. r=mattwoodrow 2014-11-07 15:40:12 -08:00
Kartikaya Gupta
ed7afa138f Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc 2014-11-06 08:05:51 -05:00
Robert O'Callahan
0284071e77 Bug 1083635. Part 7: Fix UpdateLayerTree to sync-decode images and flush pending notifications. r=mattwoodrow
--HG--
extra : rebase_source : d13f993c4dd1b868f47b6c79b39172bb40b3871c
2014-11-07 13:20:27 +13:00
Brian Marshall
1b446e531d Bug 346043 - Reset selected index correctly after closing drop-down menu. r=roc 2014-11-05 12:32:00 -08:00
James Kitchener
5fe32432f6 Bug 1002526 - Part 5 - Force <math> element's font inflation in <mtd> descendants. b=1002526. r=roc 2014-11-06 14:01:00 +01:00
Frédéric Wang
1697d54243 Bug 1002526 - Part 4 - Add a reftest for MathML and font inflation. b=1002526. r=jkitch 2014-11-05 23:33:00 +01:00
James Kitchener
391052cbf2 Bug 1002526 - Part 3 - MathMLTextRunFactory needs to now about font inflation. r=roc 2014-11-05 11:58:00 +01:00
Frédéric Wang
7bd964a4d4 Bug 1002526 - Part 2 - Pass the font inflation parameter to nsMathMLChar. b=1002526. r=karl 2014-10-25 08:30:00 +02:00
Frédéric Wang
ce3221837c Bug 1002526 - Part 1 - Pass the font inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. b=1002526. r=karl 2014-10-25 08:29:00 +02:00
Jean-Yves Avenard
b46530b839 Bug 1065827 - Use onloadeddata event for reftests. r=jwwang 2014-11-06 20:55:03 +11:00
Seth Fowler
f114d563da Bug 1084136 (Part 5) - Don't reset STATUS_DECODE_STARTED when decoding finishes. r=tn
--HG--
extra : rebase_source : d60164094c0dc0d7fbc4f47980f8b2d9df0b9deb
2014-11-06 17:33:58 -08:00
Jonathan Watt
c84beb6938 Bug 1094063 follow-up - Add some fuzz for unaccelerated Windows for curved-border-background-nogap.html. a=kwierso 2014-11-07 01:15:56 +00:00
Jonathan Watt
3721b8fd1c Bug 1094163 - Rename nsSVGUtils::GetOpacity's aOuterContextPaint argument to avoid confusion. r=longsonr
--HG--
extra : rebase_source : ff8c8e6703ac3525032f4638aa016bce71295076
2014-11-06 22:07:36 +00:00
Jonathan Watt
51db314da4 Bug 1094063, part 2 - Remove most of the fuzzing that was added in bug 1091787 part 1.
--HG--
extra : rebase_source : 11229624b22bfc19946b13bb69d6a2912a220186
2014-11-06 22:07:36 +00:00
Jonathan Watt
f304504ca1 Bug 1094063, part 1 - Stop nsCSSBorderRenderer::DrawBorders from sometimes drawing the border twice. r=mattwoodrow
--HG--
extra : rebase_source : 091c0cbbe0cf6f7bf0dcfa4fcabe9c4c31e23c42
2014-11-06 22:07:36 +00:00
Jonathan Watt
806bb3744a Bug 1094480 - Fix rendering of CSS borders when only some of the corners have a border-radius and the border-radius is greater than the sum of the border width and the element's content area width/height. r=mattwoodrow
--HG--
extra : rebase_source : eb5023f83ec846dbdbf2ae19eb7e24bd01ce1c8a
2014-11-06 22:07:36 +00:00
Jonathan Watt
5767be9b18 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +00:00
Carsten "Tomcat" Book
c4cb4d7865 Backed out changeset f1989cb41965 (bug 1093686) for B2G Desktop Linux opt m1 test failures 2014-11-06 16:42:36 +01:00
Carsten "Tomcat" Book
be3a4f019a Backed out changeset 4467ecf7bc6b (bug 1065827) 2014-11-06 14:59:01 +01:00
Kartikaya Gupta
a1f6f203be Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc 2014-11-06 08:05:51 -05:00
Kartikaya Gupta
371ecd8746 Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc 2014-11-06 08:05:51 -05:00
Kartikaya Gupta
6afff5ec62 Bug 1093686 - Ignore body-level touch/mouse listeners when assessing element clickability. r=roc
When walking up the content tree to assess if an element is contained inside a
clickable element, we should stop before hitting the body element. This is a
heuristic based on pages in the wild, because a lot of pages have mouse/touch
listeners on the body. Without this patch all elements end up getting treated
as clickable which makes the event retargeting code useless.
2014-11-06 08:05:51 -05:00
Jean-Yves Avenard
bae20f0bf5 Bug 1065827 - Use onloadeddata event for reftests. r=jwwang 2014-11-06 20:55:03 +11:00
Robert Longson
dce1292dc9 Bug 1090936 - Make invalidation of rendering observers asynchronous. r=jwatt 2014-11-06 09:30:11 +00:00
Jonathan Kew
193b552c7e Bug 1093949 - Reverse scroll position for RTL content. r=mats 2014-11-06 09:06:22 +00:00
Ting-Yu Lin
189652787e Bug 1094072 - Update selection carets after reflow. r=roc
Let SelectionCarets inherits from nsIReflowObserver so it could refresh
its position after reflow. This fixes the incorrect position of
selection carets after we rotate the device to change the screen from
portrait mode to landscape mode and vice versa.
2014-11-05 21:18:00 +01:00
Timothy Nikkel
3738e087a7 Bug 1086683. We need to take into account the resolution when comparing the size of a frame and it's associated widget. r=botond
The size of the frame is scaled by the local resolution of it's presshell. The widget contains the document, so it's size is scaled the parent presshell resolution, but not the local presshell resolution. So comparing the widget size and the frame size directly without taking into account resolution is wrong.
2014-11-06 00:42:17 -06:00
John Daggett
7e06312fa6 Bug 475891 - reftests for unicode-range. r=jfkthame 2014-11-06 13:43:51 +09:00
John Daggett
6f795700cb Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame 2014-11-06 13:42:50 +09:00
Mike Hommey
2277137650 Bug 1094037 - Move EXTRA_COMPONENTS and EXTRA_PP_COMPONENTS to the misc tier. r=gps 2014-11-06 09:29:11 +09:00
Daniel Holbert
97c3b91bc1 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
56803c672c Bug 1094460 - Reorder KTables in nsCSSProps. r=dholbert
--HG--
extra : rebase_source : ccd2b7160158737c2c5fc0434eae5f2efeea428c
2014-11-06 10:14:49 +11:00
Felipe Gomes
70982a275f Bug 1093691 - Part 3. Safeguard Mochitest, Reftest from e10s-on-nightly pref. r=gavin 2014-11-05 02:15:16 -02:00
Xidorn Quan [:xidorn]
81efa1ff0f Bug 1085311 - Vertical writing-mode support for single-line <input> fields. r=jfkthame 2014-11-04 15:45:00 +01:00
Chris Lord
4dad620994 Bug 1084321 - Remove b2g app meta viewport work-around. r=kats,roc 2014-11-04 17:15:30 +00:00
Jonathan Watt
2ac2b5426a Bug 1093066 - Get rid of gfxContext's Stroke() methods. r=mattwoodrow 2014-11-05 09:16:37 +00:00
Pankaj Malhotra(:bitgeeky)
4351fe04c1 Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
Robert O'Callahan
f458f27d6b Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
ba470b0a04 Bug 1080205. Part 1: Don't add clip rects to async-scrolled layers for root scrollframes, since the FrameMetrics to scroll those layers will be set on a ContainerLayer parent. r=tn
--HG--
extra : rebase_source : b8fc0e3c97d5be50443734ed80caafabd37cf1a3
2014-10-28 17:34:58 +13:00
Robert O'Callahan
6b0fb73717 Bug 1083635. Part 6: Rename viewport to scrollport in ScrollFrameHelper::ComputeFrameMetrics. r=mattwoodrow
--HG--
extra : rebase_source : 188a2ddd979eacdcfee18b700d6c4f0c2ced48a0
2014-10-21 10:32:11 +13:00
Robert O'Callahan
5670ea50e5 Bug 1083635. Part 4.5: Avoid requesting PAINT_WIDGET_LAYERS if we're in a content process. r=mattwoodrow
--HG--
extra : rebase_source : 2559a0f44319264fe6395ef833269fb412f18502
2014-10-24 12:20:01 +13:00
Robert O'Callahan
7f0095de5c Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Robert O'Callahan
8151ed239b Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
--HG--
extra : rebase_source : 8c39aebedb275b56eda4a740b63ae4e00523c206
2014-10-21 10:32:10 +13:00
Robert O'Callahan
b99457e086 Bug 1083635. Part 3: Flush displaylist dump before calling PaintRoot. r=mattwoodrow
--HG--
extra : rebase_source : 6da7f168218036a13be7dcd73ed8b3c552dcace1
2014-10-21 10:32:10 +13:00
Robert O'Callahan
050aec01b4 Bug 1083635. Part 2: Inline nsDisplayList::PaintForFrame into PaintRoot. r=mattwoodrow
--HG--
extra : rebase_source : 1d313b18a2b0cc5894924299f421966a1f428799
2014-10-21 10:32:09 +13:00
Robert O'Callahan
2229b67428 Bug 1083635. Part 1: Remove nsDisplayZoom::Paint since it's dead code. r=mattwoodrow
--HG--
extra : rebase_source : bb053e5abb7f5a8ae17ab59af542db292ba35543
2014-10-21 10:32:09 +13:00
Robert O'Callahan
5fbde2a977 Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
--HG--
extra : rebase_source : 51cc908538bd127c0af9089ae92aa82146032015
2014-10-22 14:26:17 +13:00
Kartikaya Gupta
7644286079 Bug 1078029 - Add code to reposition input event coordinates into the target frame. r=roc
The PositionedEventTargeting code allows input events to be dispatched to a
target not directly under the input event point. However, the coordinates of the
input event can then end up outside the bounding rect of the event target. This
state is generally unexpected by web content and may cause compatibility issues.
Fennec's front-end code used to deal with this by repositioning the input event
coordinates to be inside the bounding rect; now that Fennec is using the shared
C++ code we need to have that code here. This behaviour is guarded by a pref and
disabled by default (but enabled on Fennec).
2014-11-04 09:52:16 -05:00
Robert Longson
4a07c5065f Bug 975757 - changes to transforms in patterns do not cause an update. r=jwatt 2014-11-04 14:52:27 +00:00
Armen Zambrano Gasparnian
eeb05f45e8 Bug 1043699 - Add Mulet reftests support. r=jgriffin 2014-11-04 09:18:27 -05:00
Chris Lord
6614238071 Bug 974125 - Use RepaintFrame change hint for will-change. r=dbaron 2014-10-30 15:12:11 +00:00
Carsten "Tomcat" Book
2032c5061a Backed out changeset 53d51e7fbb9e (bug 1063857) for Android Reftest Failures 2014-11-04 10:59:46 +01:00
Jonathan Watt
45afd98fc7 Bug 1092392 - Finish porting nsCSSBorderRenderer to Moz2D. r=roc
--HG--
extra : rebase_source : 6db1d646f09b563b40208ba8bacdf3743fbe1ba7
2014-11-04 09:53:05 +00:00
Xidorn Quan
6ce2bfc5f9 Bug 1063857 - Implement new justification algorithm. r=roc,masayuki 2014-11-02 15:07:00 +01:00
Ryan VanderMeulen
c73329409c 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
9ac0482856 Bug 1083347 - Removing entries from android23.json and annotating manifests. r=gbrown 2014-11-03 12:01:51 -08:00
Rik Cabanier
407297fd8e Bug 1092264 - Fix testing of 'isolation' property. r=dbaron 2014-11-03 10:13:13 -08:00
Bill McCloskey
aff2cddbe0 Bug 1090627 - [e10s] Fix broken fuzzy annotation in reftest (r=dbaron) 2014-11-03 07:10:28 -08:00
Bill McCloskey
61098bacba Bug 1090627 - [e10s] Ensure hasTestPlugin is true in reftests (r=roc) 2014-11-03 07:10:28 -08:00
Kartikaya Gupta
ec83bae817 Bug 1092139 - Make the PositionedEventTargeting code respect the flag to ignore root scroll frames. r=roc
The ignore-root-scroll-frame flag is used on mobile platforms in order to allow
hit-testing outside the viewport area. This is needed because the user can zoom
out and make visible an area larger than the viewport (i.e. the displayport) but
layout generally restricts hit-testing to the viewport. The code to retarget
events to nearby clickable elements also needs to respect this flag, otherwise
the retargeting fails to work outside the viewport area.
2014-11-03 09:43:52 -05:00
Gabor Krizsanits
4b2b201df7 Bug 1079185 - Using GetFlattenedTreeParent in GetParentForNode. r=bz 2014-11-03 12:16:41 +01:00