File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
AngleSharp.Css/Values/Functions
AngleSharp.Css.Tests/Declarations Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -560,6 +560,7 @@ public void CssTransformRotateXLegal()
560
560
Assert . IsFalse ( property . IsImportant ) ;
561
561
Assert . IsFalse ( property . IsInherited ) ;
562
562
Assert . IsTrue ( property . HasValue ) ;
563
+ Assert . AreEqual ( property . Value , "rotateX(10deg)" ) ;
563
564
}
564
565
565
566
[ Test ]
@@ -571,6 +572,7 @@ public void CssTransformRotateYLegal()
571
572
Assert . IsFalse ( property . IsImportant ) ;
572
573
Assert . IsFalse ( property . IsInherited ) ;
573
574
Assert . IsTrue ( property . HasValue ) ;
575
+ Assert . AreEqual ( property . Value , "rotateY(10deg)" ) ;
574
576
}
575
577
576
578
[ Test ]
@@ -582,6 +584,7 @@ public void CssTransformRotateZLegal()
582
584
Assert . IsFalse ( property . IsImportant ) ;
583
585
Assert . IsFalse ( property . IsInherited ) ;
584
586
Assert . IsTrue ( property . HasValue ) ;
587
+ Assert . AreEqual ( property . Value , "rotateZ(10deg)" ) ;
585
588
}
586
589
587
590
[ Test ]
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public String Name
62
62
}
63
63
else if ( _x is null && _y is null && _z is not null )
64
64
{
65
- return FunctionNames . RotateY ;
65
+ return FunctionNames . RotateZ ;
66
66
}
67
67
68
68
return FunctionNames . Rotate3d ;
You can’t perform that action at this time.
0 commit comments