Bug 530675: Support "cursor" property in SVG/SMIL. r=roc

This commit is contained in:
Daniel Holbert 2009-12-10 09:26:28 -08:00
Родитель 17ce1f0741
Коммит a4f10a3bdf
3 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -206,16 +206,12 @@ nsSMILCSSProperty::IsPropertyAnimatable(nsCSSProperty aPropID)
// XXXdholbert Rect type not yet supported by nsStyleAnimation
return PR_FALSE;
// XXXdholbert: Some properties' types aren't yet supported by
// nsStyleAnimation (due to using URI values or string values). I'm
// commenting those properties out here for the time being, so that we
// don't try to animate them yet.
case eCSSProperty_clip_rule:
case eCSSProperty_clip_path:
case eCSSProperty_color:
case eCSSProperty_color_interpolation:
case eCSSProperty_color_interpolation_filters:
// case eCSSProperty_cursor:
case eCSSProperty_cursor:
case eCSSProperty_display:
case eCSSProperty_dominant_baseline:
case eCSSProperty_fill:

Просмотреть файл

@ -87,6 +87,10 @@ var _fromByTestLists =
// List of attribute/testcase-list bundles to be tested
var gFromByBundles =
[
// Check that 'by' animations for 'cursor' has no effect
new TestcaseBundle(gPropList.cursor, [
new AnimTestcaseFromBy("crosshair", "move"),
]),
new TestcaseBundle(gPropList.fill, [].concat(_fromByTestLists.color,
_fromByTestLists.paint)),
// Check that 'by' animations involving URIs have no effect

Просмотреть файл

@ -183,8 +183,8 @@ var gFromToBundles = [
new AnimTestcaseFromTo("url('a.cur'), url('b.cur'), nw-resize", "sw-resize",
{ fromComp: "url(\"" + _testPath + "/a.cur\"), " +
"url(\"" + _testPath + "/b.cur\"), " +
"nw-resize"})
], "need support for CSS value-lists and URI values"),
"nw-resize"}),
]),
new TestcaseBundle(gPropList.direction, [
new AnimTestcaseFromTo("ltr", "rtl"),
new AnimTestcaseFromTo("rtl", "inherit"),