Commit Graph

35 Commits

Author SHA1 Message Date
Jesse Ruderman
41735266e9 Bug 840402 - Add some more values to property_database.js. r=dbaron 2013-02-15 18:42:48 -08:00
L. David Baron
cf6c5ffdb1 Bug 774169, patch 4: Revert bug 719054 for prefixed -moz-transform but leave it for unprefixed transform. r=bzbarsky 2012-09-18 11:37:14 -07:00
L. David Baron
5a6fcd294a Bug 774169, patch 2: Add property_database.js entries for property aliases. r=bzbarsky
This adds entries for property aliases as though they are shorthands.
This fits with the CSS working group's recent resolution to describe
aliases as shorthands, recorded in
http://lists.w3.org/Archives/Public/www-style/2012Aug/0770.html .

The property_database.js entries themselves are copied from the
non-alias entries for the properties, with these changes:
 (1) The property name is changed to the prefixed form
 (2) The domProp entry is changed to the prefixed form
 (3) Adding alias_for entries for each property.
 (4) When type is CSS_TYPE_LONGHAND in the target of the alias, type for
     the alias is CSS_TYPE_SHORTHAND_AND_LONGHAND and a subproperties
     entry is added with the target of the alias.

There are also some indentation fixes to the copied entries in
property_database.js (made before they were copied, and thus affecting
the original as well).
2012-09-18 11:37:14 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Boris Zbarsky
26e17bd22d 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
L. David Baron
7af761111d Add calc() support for the easiest cases: properties that take lengths but not percentages and take simple values only (-moz-column-rule-width, -moz-column-width, letter-spacing, word-spacing, marker-offset, outline-offset, border-spacing). (Bug 363249) r=bzbarsky 2010-05-11 08:49:43 -07:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
L. David Baron
fa0ce94791 Don't mess with the max_script_run_time pref since the mochitest harness now does that for us. 2009-03-31 12:37:40 -07:00
L. David Baron
5195ec80b9 Use SimpleTest.executeSoon instead of setTimeout for iteration of properties/descriptors. 2009-03-31 12:37:40 -07:00
L. David Baron
473a55f246 Fix parsing of 'none' values in 'list-style' shorthand. (Bug 474135) r+sr=bzbarsky 2009-01-22 17:28:13 -08:00
L. David Baron
020fe687d6 Expect percentages to be unsupported for -moz-column-width. I'm not sure why I made it as it is, since they were never supported in either our implementation or the spec. 2008-12-29 10:07:36 -05:00
L. David Baron
81919802f0 Rewrite the shorthand condensation code in nsCSSDeclaration::ToString. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
5eb3c08c33 Condense box property four side shorthands in value getters, just as in serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
fd19b3e628 Suppress serialization of -moz-use-text-color in border shorthand in property getters just like we do in declaration serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
L. David Baron
65434311b9 Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
dbaron@dbaron.org
3bc7dd28e0 Fix buggy test; rgb() non-% arguments are required to be integers. a=tests 2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
4b82f11407 Remove unused gNoComputedValue variable. 2007-07-22 10:59:14 -07:00
dbaron@dbaron.org
6f3e04c270 Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky 2007-07-22 10:58:37 -07:00
dbaron@dbaron.org
2be70ea82e Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 11:51:16 -07:00
dbaron@dbaron.org
00f940f9de Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
bzbarsky@mit.edu
01da3bef40 Followup tweak for bug 379809, r=dbaron 2007-05-16 09:03:05 -07:00
bzbarsky@mit.edu
1492416482 Back out part of the last change which is not actually correct 2007-05-15 20:39:36 -07:00
bzbarsky@mit.edu
6f8670aed8 Change round-trip testing for specified sub-properties of a shorthand to setthem all before looking at computed style, since, for example, the specifiedfont-family affects the computed line-height if the specified line-height is"normal". Bug 379809, r=dbaron 2007-05-15 20:03:34 -07:00
dbaron@dbaron.org
7e729aa8a8 Fix the description of the serialize+parse tests. 2007-05-05 10:06:49 -07:00
bzbarsky@mit.edu
4739353ef4 Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
dbaron@dbaron.org
be11deaee0 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-20 17:16:52 -07:00
dbaron@dbaron.org
30dd65ee30 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
dbaron@dbaron.org
769aa8470d Add comment explaining some of the test. 2007-04-17 11:57:35 -07:00
dbaron@dbaron.org
6b9392fc01 Better express that failures in one of the system font cases depend on what the system fonts actually are. 2007-04-17 11:01:17 -07:00
dbaron@dbaron.org
80fda8f92e Add code to know which failures to expect in test_value_storage.html (whether to call todo_is or is), and turn on the test. 2007-04-17 10:06:23 -07:00
dbaron@dbaron.org
2a04f2b89f Work towards getting test_value_storage running. 2007-04-17 00:41:44 -07:00
dbaron@dbaron.org
f7bae14fc0 Work in progress on a test for value storage and serialization. 2007-04-16 21:45:49 -07:00