L. David Baron
6d7a1b6c6a
Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
aa3677a93e
Add additional test for @-moz-document regexp() case-sensitivity (after discussion in bug 653495).
2011-04-30 15:16:19 -07:00
L. David Baron
a1b0cfc70a
Convert use of zoom API in style system mochitests to SpecialPowers. (Bug 653461, patch 3) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
3f21fee119
Convert use of DOMWindowUtils in style system mochitests to SpecialPowers. (Bug 653461, patch 2) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
1f7739e466
Convert use of preferences API in style system mochitests to SpecialPowers. (Bug 653461, patch 1) r=bzbarsky
2011-04-30 15:16:18 -07:00
L. David Baron
6c68aef211
Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky
2011-04-28 10:21:37 -07:00
L. David Baron
2ee5bebdb6
Don't set mNeedsRefreshes to false when we get two refreshes at the same time stamp. (Bug 651456) r=bzbarsky
2011-04-28 10:21:36 -07:00
Mike Hommey
faec066224
Bug 590181 part 1 - Fix tests to avoid rounding errors. Original patch from jlebar. r=dbaron
2011-04-28 15:48:59 +02:00
Masayuki Nakano
1adf21f3e7
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
L. David Baron
5f05f9582d
Should check link-related bits before reusing style context for root element. (Bug 652268) r=bzbarsky
2011-04-22 18:36:24 -07:00
L. David Baron
4e3e6d8813
Fix css3-animations handling of properties that are not present in all keyframes to match WebKit and generally be more sensible. (Bug 649400) r=bzbarsky
...
This inverts the relationship between segments and properties in the
animation data structures: now each property has a set of segments,
since the segments differ between properties.
Furthermore, we now handle inability to interpolate between values by
dropping the entire property rather than dropping a single segment.
2011-04-22 18:36:23 -07:00
L. David Baron
72447213b1
Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
eac95bc5f3
Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
...
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
Dão Gottwald
9291640652
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2011-04-17 21:53:25 +02:00
L. David Baron
d177e3432d
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
719d41cdd2
Fire animation events at the correct times. (Bug 435442, patch 14) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
88867baa75
Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
fe7e5ee602
Factor some common testing code into animation_utils.js. (Bug 435442, patch 10) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
608bc593d5
Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
fa6f166e61
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
7bee896472
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
Masayuki Nakano
4ac1042cce
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
L. David Baron
6d2667f933
Add test for bug 583219. r=bzbarsky
2011-03-29 20:46:13 -07:00
L. David Baron
a1b15c117e
Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky
2011-03-28 16:07:27 -07:00
L. David Baron
c12115ab74
Make test_property_database.html give all the errors rather than throwing an exception for the first missing longhand property. (Bug 636039, patch 18) r=bzbarsky
...
The main fix is in the first of the three for loops modified, but the
new structure of that one seems like an improvement worth applying to
the other two.
2011-03-17 20:14:31 -07:00
L. David Baron
032ddb90c8
Make the three CSS_PROP_INCLUDE_NOT_CSS properties much more like normal CSS properties, and (importantly) give them property IDs in the longhand range. Replace CSS_PROP_INCLUDE_NOT_CSS with CSS_PROP_STUB_NOT_CSS for callers that need stubs. (Bug 636039, patch 13) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
49daed21e9
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
6f8a7f7e04
Include the opening "url(" in URL and Bad_URL tokens (though the latter do not have a close paren), and make tokenization of url() function be noncontextual, as required by CSS. (Bug 604179, patch 7) r=bzbarsky
...
Note that tokenization of url-prefix() and domain() remains contextual.
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-11 11:29:45 -06:00
L. David Baron
5c5dffb84a
Disallow control characters less than space inside unquoted url(), per spec. (Bug 604179, patch 5) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
3ec2ecbf58
Use GatherURL in ParseNameSpaceRule and ParseImageRect, and rename GatherURL to ParseURLOrString for clarity. (Bug 604179, patch 1) r=bzbarsky
...
Note that this adds a missing UngetToken(), which affects the other
consumer of GatherURL, parsing of @import rules.
2011-03-11 11:29:44 -06:00
L. David Baron
2f73995ced
Fix keyword table entries in nsCSSPropList and code in nsRuleNode to match those used in the parser. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
08ab704b49
Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
f2adcfab27
-moz-box-ordinal-group should not accept 0, since the code that uses the property ignores values of 0. (Bug 636034) r=bzbarsky
2011-03-03 13:18:42 -08:00
Boris Zbarsky
cbc1af6201
Bug 635286. Fix dynamic handling of :not() inside :-moz-any(). r=dbaron, a=dbaron
2011-02-24 13:42:15 -05:00
Jeff Walden
f15d2639f5
Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan
2011-01-22 17:46:22 -08:00
Jeff Walden
985dbafd23
Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity
2011-01-23 03:12:28 -08:00
Jeff Walden
ca2ed756b9
Another round of orange fixes, sigh. r=orange yet again
2011-01-23 00:12:05 -08:00
L. David Baron
89fdb8f658
Make this test more reliable given imperfect timers, to fix TEST-UNEXPECTED-FAIL that has happened once so far. (Bug 613888) a=tests
2011-01-15 10:24:41 -08:00
SHIMODA Hiroshi ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
c1a13fedf3
Add test for transitionend events firing for transitions that, prior to bug 613888, were canceled right before completing. r=bzbarsky a2.0=blocking
2011-01-14 19:57:53 -08:00
L. David Baron
92d417dc17
Fix backwards handling of zero-duration transitions. (Bug 622461) r=bzbarsky a2.0=blocking2.0:betaN
2011-01-04 10:10:54 -05:00
L. David Baron
639cdb33d9
Correct handling of unitless zero in calc() expressions. (Bug 595648) r=bzbarsky a=blocking2.0:betaN+
...
This ensures that we treat a unitless zero as a number rather than a
length inside of calc() expressions. This causes both the acceptance of
previously-rejected expressions (such as -moz-calc(0 * 1em)) and the
rejection of previously-accepted ones (such as -moz-calc(0 + 1em)).
2010-12-30 12:59:33 -05:00
L. David Baron
c64142dd70
In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
...
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation. This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
Serge Gautherie
91b6fa83fb
Bug 558705 - [Debug] mochitests-4: intermittent "test_value_cloning.html | Test timed out."; (Av1) Increase timeout factor to 4 from 3.
...
r=dbaron a=(test only).
2010-12-21 03:08:23 +01:00
L. David Baron
1ee276beab
Remove comment that I forgot to remove in the previous patch (which fixed the issue it was pointing out). (Bug 617372) a2.0=tests
2010-12-16 08:53:17 -08:00
Mark Finkle
45373efb36
Bug 618016 - Make a new media query for device orientation [r=dbaron a=blassey]
2010-12-10 13:35:36 -05:00
L. David Baron
3a0e6c6e3f
Make style system mochitests handle cases where initial font family is sans-serif. (Bug 617372) a2.0=tests
2010-12-09 20:38:53 -08:00
Timothy Nikkel
a8f8014803
Bug 593491. Load an external file instead of data URI to see if anything changes for random orange. a=test
2010-11-24 19:35:02 -06:00
L. David Baron
8c6808d7f3
Animate skew in angle space rather than tangent space for interop and to avoid issues with infinite tangents. (Bug 606722) r=bzbarsky a2.0=blocking
2010-11-16 09:56:03 -08:00
Kyle Huey
7d5d01ed5b
Backing out Bug 590181 since the GCC 4.5 upgrade failed on this CLOSED TREE
2010-11-11 12:36:01 -05:00
Justin Lebar
8d94665847
Bug 590181 - Part 1: Fix linux tests broken by GCC at -O3. r=dbaron
2010-09-29 14:32:17 -07:00