Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert f249f40239 Bug 1241021 part 4: Extend mochitest test_initial_storage.html to test that uppercase Webkit DOM accessors for css properties are functional. r=bz 2016-02-03 20:17:48 -08:00
Daniel Holbert 6318b75bf5 Bug 1241021 part 3: Refactor CSS mochitest test_initial_storage.html to perform its DOM accessor consistency-checks via a helper-function. r=bz 2016-02-03 20:17:46 -08:00
Simon Sapin 4d169705e6 (no bug) Add labels to the various is() checks in test_initial_storage.html, to aid in diagnosing test-failures. r=dholbert 2014-03-05 16:53:08 -08:00
Cameron McCormack c5c9f06632 Bug 921731 - Part 10: Modify existing style tests to use "unset". r=bzbarsky 2013-10-04 04:49: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
Jet Villegas 1958bd71d6 Bug 806068 part 1: Add support for unprefixed "initial" keyword in CSS (retaining prefixed keyword as an alias, for now). r=dholbert 2012-10-30 16:40:33 +01: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
L. David Baron 4bafde1064 No longer need to null-check domProp in style system mochitests now that bug 374216 has landed. 2010-02-06 14:36:05 -08: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 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 58c68f214a Handle serialization of inherit and -moz-initial for shorthand properties correctly, and refuse to serialize most unspecifiable cases of shorthands. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:20 -07:00
Michael Ventnor d200b4c6a4 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02: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 466cca9f63 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-14 22:13:49 -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
dbaron@dbaron.org b865d6cfdb Add tests that exercise nsCSSDeclaration::ToString. 2007-04-16 20:50:30 -07:00
dbaron@dbaron.org 5138fbff1b Test for inherit and initial on shorthand properties as well. b=258080 2007-04-15 15:28:07 -07:00
dbaron@dbaron.org 4ff6796341 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky 2007-04-15 15:25:20 -07:00
dbaron@dbaron.org 543be2506f Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky 2007-03-30 15:02:09 -07:00
dbaron@dbaron.org d41a6b0881 Add tests for parsing, storage, and serialization of inherit and -moz-initial values. 2007-03-25 22:54:44 -07:00