Brian Birtles
85627bb281
Bug 1164813 - Make nsAnimationManager update cached in-effect status even when there is no frame; r=dbaron
2015-05-22 13:46:26 +09:00
Brian Birtles
3947001236
Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt
...
Animation::ResumeAt contains an assertion that, when we exit the play-pending
state, checks we either have a resolved start time or a resolved hold time.
That's normally true but if we are aborting a pause on animation that is
finished we can end up with a resolved start time (since we don't clear the
start time when we're aborting a pause) and a resolved hold time (either
because the regular finishing behavior set one, or, because play() applied
auto-rewinding behavior and set it).
In that case we should actually respect the hold time and update the start time
when resuming the animation. However, ResumeAt won't update the start time if it
is already set.
This patch fixes that by clearing the start time in DoPlay in the case where we
are aborting a pause and have a hold time.
--HG--
extra : rebase_source : 83f980d6cbc34375274f30f6527992b4fec7f639
2015-05-08 16:17:13 +09:00
Cameron McCormack
45163479b0
Bug 1163446 - Followup to add the actual test.
2015-05-11 12:27:08 +10:00
Cameron McCormack
8f153827fb
Bug 1163446 - Drop reference to FontFace once a FontFaceBufferSource is loaded. r=jdaggett
2015-05-11 11:24:49 +10:00
Cameron McCormack
91197585f6
Bug 1161366 - Correctly set referrer when loading fonts with |new FontFace()|. r=dbaron
2015-05-05 19:55:28 +10:00
Cameron McCormack
5c5b8c9484
Bug 1153693 - Followup test change.
2015-04-13 16:36:14 +10:00
Cameron McCormack
df13ff4889
Bug 1153693 - Only call ReleaseRef on nsStyle{ClipPath,Filter} once when setting a new value. r=dbaron
2015-04-13 12:34:15 +10:00
Cameron McCormack
eff3f9d4c4
Bug 1139723
- Turn on expensive style struct assertions for 1136010-1.html, and fix pref name typo. r=dbaron
2015-03-05 14:46:18 +11:00
Cameron McCormack
5ca39a7a39
Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron
2015-03-04 18:06:29 +11:00
Jesse Ruderman
c91b23533e
Bug 559491 - crashtest.
2014-11-23 15:09:51 +00: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
Brian Birtles
cf167e36af
Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz
2014-10-02 15:14:12 +09:00
Daniel Holbert
e0b9e676dc
Bug 1066089: add crashtest. (test-only)
2014-09-23 14:12:54 -07:00
L. David Baron
a970368ff2
Bug 972199 followup - use crashtest manifest rather than setBoolPref so that all later crashtests aren't affected by the pref change. No review.
2014-08-06 22:58:43 -07:00
Mats Palmgren
d4a41f8618
Bug 637242, patch 3 of 3: crashtest. r=dbaron
2014-07-13 13:01:44 +00:00
Brian Birtles
51cf0526d8
Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj
...
In TimeStamp_windows.cpp and TimeStamp_darwin.cpp, in
TimeStamp::FromMilliseconds we cast the floating-point number of ticks to
a 64-bit integer before passing to TimeStamp::FromTicks(int64_t).
This means that we skip the check for integer overflow performed by
TimeStamp::FromTicks(double).
This patch simply removes that cast so that we perform overflow checking.
It also adds an assertion to ElementAnimation since this is one place where
the lack of overflow checking was producing a negative value where it should
not.
2014-06-25 09:42:18 +09:00
David Major
e390b7e97c
Bug 576435 - Use the clamping variant of NSToCoordRound to avoid rounding nscoord_MAX. r=roc
2014-06-24 15:47:02 +12:00
Cameron McCormack
1eb6e77616
Bug 1017798 - Part 3: Crashtest. r=bzbarsky
2014-06-06 17:51:25 +10:00
Cameron McCormack
df0af63410
Bug 992333 - Skip custom properties when looking for properties to transition. r=dbaron
2014-04-13 11:44:31 +10:00
L. David Baron
2fe45fbadd
Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
...
I confirmed that the crashtest crashes in the harness without the patch.
--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/style/crashtests/blue-32x32.png
2014-04-02 22:56:19 -07:00
Cameron McCormack
b40f160398
Bug 989965 - Resolve style for pseudo-elements correctly when style rules that have user action pseudo-classes on them are present. r=bzbarsky
2014-04-02 15:08:52 +11:00
Brian Birtles
cc4e645610
Bug 972199 part 2 - Add a crashtest for restoring the refresh driver after an advance; r=nrc
...
In this crash test we restore the refresh driver after manually advancing it.
This causes a situation where a layer has an animation that has yet to start.
Prior to modifying ElementAnimations::GetPositionIteration this test case would
trip an assertion there that rejected negative elapsed times when called from
the compositor thread.
2014-03-05 10:19:15 +09:00
William Chen
982c2340c8
Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron
2014-02-18 14:14:31 -08:00
Cameron McCormack
c568af0049
Bug 945048 - Correctly check for the CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE flag when parsing pseudo-classes after pseudo-elements. r=bz
2013-12-02 13:06:20 +11:00
Cameron McCormack
63e8d03dd6
Bug 930270 - Don't initialize the ancestor filter for elements outside the document. r=dbaron
...
--HG--
extra : rebase_source : fa10a28a8bbd9eaf670f8133ccd81a9c706ebec7
2013-11-01 13:44:40 +11:00
Cameron McCormack
8a7175ea9f
Bug 927734 - Loosen assertions about the contents of the style scope stack. r=dbaron
...
--HG--
extra : rebase_source : 6b9b7e4051bebeb7da640c7878229b1d014841dd
2013-11-01 13:44:27 +11:00
John Daggett
e86732f90b
Bug 915440. Crashtest for empty font URL. r=me
2013-10-22 13:06:20 +02:00
Jesse Ruderman
ece1cef136
Crashtest for bug 861489.
2013-09-17 20:46:17 -07:00
Phil Ringnalda
ba4d2831fe
Bug 522515 followup, remove the crashtest assertion annotations that are no longer true
2013-09-10 20:01:24 -07:00
John Daggett
a6f1b20e1a
Bug 873222 - check unit-type of font-synthesis value before use. r=dbaron
2013-06-27 14:43:00 +09:00
L. David Baron
d34aaed0bf
Bug 807184 patch 1: Fix uses in tests of prefixed -moz-initial. r=dholbert
2013-06-20 18:31:27 -07:00
Andrew McCreight
0718a98afd
Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron
2013-06-13 15:13:13 -07:00
Andrew McCreight
765c2d3211
Bug 880862 - nsUserFontSet::Destroy() should clear mRules. r=jdaggett
2013-06-11 15:20:04 -07:00
Daniel Holbert
45060ddc8d
Bug 585185: Parse font-sizes as non-negative, in 'font' shorthand. r=dbaron
2013-05-24 09:39:03 +08:00
Boris Zbarsky
c18bdb2db8
Bug 867487. Make sure we don't think we're cloning a complete sheet when we're actually cloning a loading one because the complete sheet was dirty. r=dbaron
2013-05-23 09:20:52 -04:00
Boris Zbarsky
efe4d8a5a5
Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert
2013-04-18 01:21:46 -04:00
Daniel Holbert
32511651c4
Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD
2013-03-25 17:01:35 -07:00
Zack Weinberg
dd8331da7a
Bug 842134: fix serialization of unquoted url() in CSS. r=heycam
2013-02-17 22:03:55 -05:00
Boris Zbarsky
0236f0c5b6
Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde
2013-02-15 22:36:15 -05:00
Martijn Wargers
502e893be7
Bug 368740 - crashtest
2013-01-26 21:28:56 +01:00
Martijn Wargers
b668ae5ad0
Bug 363950 - crashtest.
2013-01-26 14:15:30 +01:00
Brendan Dahl
da1c0a3d9e
Bug 827591 - Be more careful changing declarations on page rules. r=dbaron
2013-01-09 10:33:09 -08:00
Boris Zbarsky
75d26f98a1
Bug 822766. Be a bit more careful with our level assert in ReplaceAnimationRule. r=dbaron
2012-12-22 00:27:27 -08:00
Trevor Saunders
a9e67d2fa7
bug 822842 - crash when nsROCSSPrimitiveValue::Reset() is called multiple times r=bz
2012-12-18 21:29:23 -05:00
Kyle Huey
83feb11ffb
Bug 812824: Use a clean struct for inheritance on root nodes. r=dbaron,Waldo
2012-11-28 13:21:36 -08:00
Jesse Ruderman
8b32923325
Testcase for bug 806310.
2012-11-09 20:18:36 -08:00
Seth Fowler
15aee59cde
Bug 786108 - Cache UTF-16 version of URI to prevent repeated conversions in the CSS scanner, and free the cache after a short time. r=bz
2012-10-03 15:28:57 -07:00
Ed Morley
d3c2c6f0a2
Backout ec0dcd401a3f (bug 786108) for crashes
2012-09-28 22:04:56 +01:00
Seth Fowler
c8791ccf26
Bug 786108 - Cache UTF-16 version of URI to prevent repeated conversions in the CSS scanner, and free the cache after a short time. r=bz
2012-09-28 09:56:47 -07:00
Mats Palmgren
6eaf6d0d2b
Bug 788836 - Simplify @-keyword parsing by letting ParseAtKeyword deal with everthing after the @. Make it pass the first char to GatherIdent so that it returns false for a bad escape sequence at the start. r=dbaron
2012-09-12 00:20:52 +02:00