File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
AngleSharp.Css.Tests/Declarations
AngleSharp.Css/Values/Functions 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()
560560 Assert . IsFalse ( property . IsImportant ) ;
561561 Assert . IsFalse ( property . IsInherited ) ;
562562 Assert . IsTrue ( property . HasValue ) ;
563+ Assert . AreEqual ( property . Value , "rotateX(10deg)" ) ;
563564 }
564565
565566 [ Test ]
@@ -571,6 +572,7 @@ public void CssTransformRotateYLegal()
571572 Assert . IsFalse ( property . IsImportant ) ;
572573 Assert . IsFalse ( property . IsInherited ) ;
573574 Assert . IsTrue ( property . HasValue ) ;
575+ Assert . AreEqual ( property . Value , "rotateY(10deg)" ) ;
574576 }
575577
576578 [ Test ]
@@ -582,6 +584,7 @@ public void CssTransformRotateZLegal()
582584 Assert . IsFalse ( property . IsImportant ) ;
583585 Assert . IsFalse ( property . IsInherited ) ;
584586 Assert . IsTrue ( property . HasValue ) ;
587+ Assert . AreEqual ( property . Value , "rotateZ(10deg)" ) ;
585588 }
586589
587590 [ Test ]
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public String Name
6262 }
6363 else if ( _x is null && _y is null && _z is not null )
6464 {
65- return FunctionNames . RotateY ;
65+ return FunctionNames . RotateZ ;
6666 }
6767
6868 return FunctionNames . Rotate3d ;
You can’t perform that action at this time.
0 commit comments