L. David Baron
07567969d6
Add test for rule serialization to catch any bugs in DocumentRule::GetCssText that are like the bug in the DEBUG-only DocumentRule::List in the initial patch for bug 398962.
2011-06-12 18:52:32 -07:00
L. David Baron
8c1b662348
Allow -moz-box-ordinal-group: 0 (but not negatives, since we store the value as PRUint32). (Bug 644514) r=bzbarsky
2011-06-12 18:52:32 -07:00
Boris Zbarsky
e709dbd525
Add test for bug 200089.
2011-06-07 12:35:17 -07:00
Boris Zbarsky
28e08f297f
Bug 660398. Speed up test_value_cloning. r=dbaron
...
The fundamental change is that instead of using 3000+ separate documents to test this we use one big document with distinct IDs for all the tests.
2011-06-01 13:19:16 -04:00
Ed Morley
b15b8760c6
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Daniel Holbert
7bf7d3e331
Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz
2011-05-26 01:20:08 -07:00
Daniel Holbert
84fa7a2973
Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz
2011-05-24 17:39:57 +02:00
Mounir Lamouri
b1ac5604f9
Back out bug 658949 because of perma orange on Windows Reftests.
2011-05-24 15:36:32 +02:00
Daniel Holbert
945bf1e21d
Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz
2011-05-24 03:36:31 -07:00
Boris Zbarsky
d337823867
Bug 647885 part 2. Keep better track of whether our computed background-size was specified with percentages. r=dbaron a=sheriff
2011-05-23 16:36:18 -04:00
Boris Zbarsky
e89d1501e5
Bug 647885 part 1. Keep better track of whether our computed background-position was specified with percentages. r=dbaron
2011-05-23 16:36:18 -04:00
Dave Townsend
6a107ff8d6
Backing out bug 647885 due to mochitest oranges. a=backout
2011-05-23 15:52:50 -07:00
Boris Zbarsky
6fced666d7
Bug 647885 part 2. Keep better track of whether our computed background-size was specified with percentages. r=dbaron
2011-05-23 16:36:18 -04:00
Boris Zbarsky
4ae8cb022e
Bug 647885 part 1. Keep better track of whether our computed background-position was specified with percentages. r=dbaron
2011-05-23 16:36:18 -04:00
Matheus Kerschbaum
679e31e4ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Mounir Lamouri
dbe83aff34
Merging cedar with mozilla-central.
2011-05-20 15:55:16 +02:00
Ian Moody
0bd9c83ce6
Bug 657143 - Add Test and catch a few missed properties. r=bz
2011-05-20 00:15:28 +02:00
Masayuki Nakano
19d924c7ba
Bug 652486 Computed value of text-decoration should be empty when its style or color is not initial value r=dbaron
2011-05-20 14:56:23 +09:00
Mounir Lamouri
aa166641ec
Bug 655065 - Add a -moz-orient CSS property. r=bz
2011-05-10 15:47:46 +02:00
L. David Baron
54d99e822a
-moz-animation-play-state should not be part of the -moz-animation shorthand. (Bug 654890) r=bzbarsky
2011-05-09 15:02:35 -04:00
L. David Baron
ea507d81f2
Ensure nsStyleAnimation doesn't produce values outside valid ranges. (Bug 653842, patch 3) r=bzbarsky
2011-05-09 15:02:35 -04:00
Jonathan Kew
50568e4abe
bug 655198 - don't parse 'all' as a value for -moz-hyphens. r=dbaron
2011-05-07 16:01:01 +01:00
Boris Zbarsky
a503a94fbf
Bug 349259. Allow pages to override line-height on form controls, except for <select>. r=dbaron
2011-05-05 12:26:32 -04:00
Jonathan Kew
7d5853a5c4
bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron
2011-05-04 12:14:50 +01:00
L. David Baron
6e99a7b43c
Fix the remaining todo test in test_parse_rule.html, which is invalid since ~= selectors never match anything containing spaces. (Bug 384672, patch 5) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
d866ade4dc
Only allow escaped newlines inside strings (which includes url() tokens that contain strings). (Bug 384672, patch 4) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
d515b79069
Allow ParseAndAppendEscape to fail when the stream does not contain an escape, and make callers handle this failure appropriately. This changes our behavior when backslash immediately precedes end-of-stream. (Bug 384672, patch 3) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
754745585b
Handle failure of GatherIdent, which can (starting with the next patch) fail when the character sequence is not an identifier. Additionally, change the tokenization of a hash (#) followed by a non-name character or EOF to tokenize as DELIM (eCSSToken_Symbol) rather than as eCSSToken_Hash. This only changes the behavior in the EOF case, because the only caller (color parsing) that accepts eCSSToken_Hash (rather than only eCSSToken_ID) checks the length. (Bug 384672, patch 2) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
e5934eca2e
Audit for places in style rule code that need to check for a null sheet. (Bug 634373) r=bzbarsky
2011-05-02 18:43:44 -07:00
L. David Baron
b5e0b81d3d
Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
c006ffe6b9
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
e43530c9db
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
8113c4400d
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
ee37d8c145
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
8e14793054
Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky
2011-04-28 10:21:37 -07:00
L. David Baron
a5703f1211
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
59ea39a1e2
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
996d9b4fda
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
2d92313c18
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
143c24f893
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
7f2f417506
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
d4b4c59a39
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
9c503bf449
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
058a80b273
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
6bbc3c7002
Fire animation events at the correct times. (Bug 435442, patch 14) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
f60d09e0c2
Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
15f1d6db4d
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
dbff9d529d
Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
e69110bf28
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
22f88e80eb
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00