Simon Montagu
9ae01b3767
Bug 1076986: make LogicalMargin and LogicalRect's IsEmpty the same as nsMargin and nsRect, r=jfkthame
2014-10-04 23:02:36 -07:00
L. David Baron
581c8fe4b7
Bug 1077849 - Use eRestyle_ForceDescendants for all cases of rebuilding the rule tree. r=heycam
...
Bug 931668 added the eRestyle_ForceDescendants case for all cases that
go through RebuildAllStyleData, but there is another case that calls
DoRebuildAllStyleData directly, and we should cover that too.
This is needed because when we're rebuilding the rule tree, we need to
create new style contexts for all frames.
I don't know of any bugs caused by this, but it seems worth fixing.
2014-10-04 16:59:47 -07:00
Trevor Saunders
21cecdb67f
no bug - fix nullptr to bool conversion in FontFaceSet.cpp r=themaid
2014-10-04 11:06:21 -04:00
Jonathan Watt
ab6c7388b8
Bug 932762, part 2 - Make SVG elements cache their Moz2D path data to speed up rendering, hit-testing, clipPath clipping, bbox calculations and animation/text along a path. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
ddbdd580a2
Bug 1077745 - Get rid of the scaling hack and GetCanvasTM() call in nsSVGPathGeometryFrame::GetBBoxContribution. r=longsonr
2014-10-04 12:13:30 +01:00
Jonathan Watt
3915b285fe
Bug 1077120 - Remove gfxContext::HasError(). r=Bas
2014-10-04 12:13:29 +01:00
Jonathan Kew
6d59a6a90c
Bug 1064737 pt 4 - Simple reftest for a WOFF2 font. r=jdaggett
2014-10-04 11:47:11 +01:00
Jonathan Kew
f7b6074716
Bug 1064737 pt 3 - Read metadata from a WOFF2 font if present. r=jdaggett
2014-10-04 11:46:54 +01:00
Jonathan Kew
0768d94de1
Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett
2014-10-04 11:36:05 +01:00
William Chen
efc007e0f2
Bug 1076784 - Don't remove binding when shadow root host is removed from tree. r=smaug
2014-10-03 18:32:05 -07:00
Ryan VanderMeulen
1e05b90cf5
Backed out changeset cb3fd4a4b7c5 (bug 771043) for Android mochitest-8 failures.
...
CLOSED TREE
2014-10-03 15:26:06 -04:00
Boris Zbarsky
fc75ac6acd
Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron
2014-10-03 14:15:25 -04:00
Kartikaya Gupta
f8118760e7
Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond
2014-10-03 13:39:37 -04:00
Max Vujovic
fd5b0bb84c
Bug 913990 - Test 'feed:' filter URL as crashtest instead of computed style test. r=dbaron
2014-10-03 10:06:07 -07:00
Jonathan Kew
08beb76502
Bug 1077139 - Use the vertical-text I-beam cursor when the writing mode is vertical. r=dbaron
2014-10-03 13:47:26 +01:00
Jonathan Watt
a8fd52ce9c
Bug 1075399 - Temporary follow-up to disable test while I get fuzzing right. r=orange CLOSED TREE
2014-10-03 11:02:23 +01:00
Ed Morley
b7f870ecfa
Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE
2014-10-03 10:12:53 +01:00
Jonathan Watt
544ffe53b3
Bug 934183, part 2 - Remove lots of old Thebes code paths from the SVG code (GeneratePath and all the nsSVGPathGeometryElement::ConstructPath implementations). r=longsonr
2014-10-03 09:50:44 +01:00
Jonathan Watt
96cef3133e
Bug 934183, part 1 - Convert the bounds calculation code for SVG geometry to use Moz2D Path. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
44410c0ebe
Bug 1075399, part 4 - Don't make an exception for arcs when simulating zero length SVG subpaths. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
c0bb11b805
Bug 1075399, part 2 - Add more reftests for zero-length SVG subpaths. r=longsonr
2014-10-03 09:50:43 +01:00
Jonathan Watt
a62a1e6c6f
Bug 1075399, part 1 - Simulate zero length SVG subpath for stroke-linecap=round. r=longsonr
2014-10-03 09:50:42 +01:00
Christoph Kerschbaumer
599a7f15d9
Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst)
2014-10-02 23:34:30 -07:00
Masayuki Nakano
3e20ab1463
Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug
2014-10-03 15:33:50 +09:00
L. David Baron
e6a364a01f
Bug 1075137 patch 7 - Remove old IsProcessingRestyles and IsProcessingAnimationStyleChange booleans. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
74a8d78db6
Bug 1075137 patch 6 - Convert remaining IsProcessingAnimationStyleChange calls to call the method on the RestyleManager. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
aba79cd536
Bug 1075137 patch 5 - Add new boolean to RestyleManager for whether we're currently processing animation restyles. r=birtles
...
This is just moving one bit of data from the pres context without any
logic change. But given the other refactoring, it seems to make more
sense here now.
2014-10-02 21:53:24 -07:00
L. David Baron
ed09e905d2
Bug 1075137 patch 4 - Convert callers from IsProcessingRestyles/IsProcessingAnimationStyleChange to SkipAnimationRules/PostAnimationRestyles. r=birtles
2014-10-02 21:53:24 -07:00
L. David Baron
481c419fd4
Bug 1075137 patch 3 - Add PresContext() method to nsRuleWalker. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
ad2b0a920f
Bug 1075137 patch 2 - Add new booleans for whether to skip animation styles and whether to post animation restyles. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
e4428de7bf
Bug 1075137 patch 1 - Convert one use of IsProcessingRestyles that doesn't follow normal pattern to a debug-only member on the restyle manager. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
d120465d4b
Bug 1075082 patch 2 - Add assertion in destructor of style contexts that should have been destroyed earlier. r=birtles
2014-10-02 21:53:23 -07:00
L. David Baron
5a45cf9123
Bug 1075082 patch 1 - Add a helper function for the root of the rule tree. r=birtles
2014-10-02 21:53:22 -07:00
L. David Baron
c78b1f75bb
Bug 1074634 - Don't overwrite eRestyleResult_ContinueAndForceDescendants with eRestyleResult_Continue. r=heycam
2014-10-02 21:53:22 -07:00
Xidorn Quan
6b70562b17
Bug 1075336 - Fix lifetime management of CounterStyle. r=dbaron
...
--HG--
extra : rebase_source : c9fe6b023024c11147372cd4a9d7f25fdfaabed8
2014-10-02 14:29:04 -04:00
Andrew McCreight
385f7c868a
Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted
2014-10-02 08:42:11 -07:00
Andrew McCreight
a72aa8ab00
Bug 1068276, part 3 - Set some defaults for leak parameters on B2G reftests. r=jmaher
2014-10-02 08:40:21 -07:00
Mats Palmgren
c5be424a5b
Bug 649849 - part 1b, Remove the default -moz-appearance:none for <select> in Fennec theme. r=wjohnston@mozilla.com
2014-10-02 13:05:16 +00:00
Mats Palmgren
40070919df
Bug 649849, part 1 - Make -moz-appearance:none on a combobox remove the dropdown button (for WebKit compat). r=roc
2014-10-02 13:05:15 +00:00
Anuj Agarwal
4fb2f0f09c
Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj
2014-10-01 11:26:00 +02:00
David Zbarsky
5a40e7ae63
Bug 1067701 - Implement Animation.target; r=birtles, r=bz
2014-10-02 15:14:15 +09:00
Brian Birtles
62b903a7e1
Bug 1046055 part 5 - Check for current animations from ActiveLayerTracker::IsStyleAnimated; r=dbaron
...
Within the context of determining of a layer is active, we should only consider
an element animated if it has an animation that is yet to finish, i.e. a current
animation. Animations that have finished should not cause a layer to be active
(even if they are applying a forwards fill).
This patch makes that change by calling
nsLayoutUtils::HasCurrentAnimationsForProperty instead of
nsLayoutUtils::HasAnimations.
2014-10-02 15:14:14 +09:00
Brian Birtles
f6a9643ef6
Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron
...
This patch adds a method to nsLayoutUtils, alongside the existing
HasCurrentAnimations, that returns true if there exists an unfinished animation
on the element for the specified property.
2014-10-02 15:14:14 +09:00
Brian Birtles
94aa873419
Bug 1046055 part 3 - Add AnimationPlayerCollection::HasCurrentAnimationsForProperty; r=dbaron
...
This patch adds another method to AnimationPlayerCollection alongside
HasCurrentAnimations that returns true if there is a player in the collection
with current source content that targets the specified property.
At the same time it also makes the original HasCurrentAnimations a const method.
2014-10-02 15:14:13 +09:00
Brian Birtles
6de21c8b65
Bug 1046055 part 2 - Rename AnimationPlayer::IsCurrent to HasCurrentSource; r=dbaron
...
It's not the player that's "current" (a Web Animations term for an animation
that hasn't yet finished), but its source content, if any. This patch renames
the method on AnimationPlayer accordingly.
At the same time this patch moves the method to the header file since it's
quite simple and could possibly benefit from inlining.
2014-10-02 15:14:13 +09:00
Brian Birtles
46c3ada344
Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
2014-10-02 15:14:13 +09:00
Brian Birtles
4bf6785250
Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz
2014-10-02 15:14:12 +09:00
Boris Zbarsky
1ca473b6c1
Bug 1075617 followup to fix crash when rule is null.
2014-10-02 02:06:39 -04:00
Boris Zbarsky
47a1dd4ed6
Bug 1075617. Log the correct file/line for the @font-face rule for font errors. r=jfkthame
2014-10-02 00:23:53 -04:00
Cameron McCormack
df5fa13ceb
Bug 1028497 - Part 28: Reftests. r=jdaggett
2014-10-02 12:32:10 +10:00