Cameron McCormack
281ddc537e
Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron
2014-04-02 14:32:16 +11:00
Cameron McCormack
f7a49b8eee
Bug 969961 - Turn CSS Variables pref on in tests that rely on it. r=philor
2014-02-10 11:56:35 +11:00
Cameron McCormack
25f94a2c72
Bug 773296 - Part 26: Tests. r=dbaron
2013-12-12 13:09:47 +11:00
Cameron McCormack
5e05c379b4
Bug 915439 - Use longer timeouts for test_value_computation.html and test_value_storage.html. r=bzbarsky
2013-09-19 11:35:19 +10:00
John Daggett
4f5ff964a4
Bug 904263 - add tests to assure all properties can be removed. r=dbaron
2013-08-15 09:38:01 +09:00
Jesse Ruderman
22acf5597b
Bug 840402 - Add some more values to property_database.js. r=dbaron
2013-02-15 18:42:48 -08:00
L. David Baron
550706a221
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
aa7554cffd
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
c20b68638f
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
d709058f42
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
454d6dd6d0
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
f0c43ecb3d
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
0b2493d9d1
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
4d52ad29cb
Use SimpleTest.executeSoon instead of setTimeout for iteration of properties/descriptors.
2009-03-31 12:37:40 -07:00
L. David Baron
e5173ca99c
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
9532b5af90
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
f58f64920e
Rewrite the shorthand condensation code in nsCSSDeclaration::ToString. (Bug 376075) r+sr=bzbarsky
2008-12-23 09:06:57 -05:00
L. David Baron
a60fb02bee
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
5d32582baa
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)
7d3343e0fa
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8
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)
269c2d355a
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
L. David Baron
e943265e81
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
5223033580
Fix buggy test; rgb() non-% arguments are required to be integers. a=tests
2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
13ca5bbce6
Remove unused gNoComputedValue variable.
2007-07-22 10:59:14 -07:00
dbaron@dbaron.org
16033c063e
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
df3358641f
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
3f93d36016
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
3555233146
Followup tweak for bug 379809, r=dbaron
2007-05-16 09:03:05 -07:00
bzbarsky@mit.edu
8dbc1ad3a7
Back out part of the last change which is not actually correct
2007-05-15 20:39:36 -07:00
bzbarsky@mit.edu
c64c0e9a5a
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
72aade210a
Fix the description of the serialize+parse tests.
2007-05-05 10:06:49 -07:00
bzbarsky@mit.edu
c51b87ebce
Implement "content: none". Bug 378535, r+sr=dbaron
2007-04-26 21:43:06 -07:00
dbaron@dbaron.org
b774028305
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
028b212457
Fix regression of background-position serialization. b=258080 r+sr=bzbarsky
2007-04-18 13:41:14 -07:00
dbaron@dbaron.org
4336f5d51a
Add comment explaining some of the test.
2007-04-17 11:57:35 -07:00
dbaron@dbaron.org
28f0026e63
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
ef8dec477f
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
961e3a1e34
Work towards getting test_value_storage running.
2007-04-17 00:41:44 -07:00
dbaron@dbaron.org
15a42a08bb
Work in progress on a test for value storage and serialization.
2007-04-16 21:45:49 -07:00