зеркало из https://github.com/mozilla/gecko-dev.git
Bug 530675: Support "cursor" property in SVG/SMIL. r=roc
This commit is contained in:
Родитель
17ce1f0741
Коммит
a4f10a3bdf
|
@ -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"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче