The following test case will fail as the parser does not parse this valid CSS correctly.
[Test]
public void CssBackgroundSizeCoverCenterTest()
{
var snippet = "background-size : center / cover";
var property = ParseDeclaration(snippet);
Assert.AreEqual("background-size", property.Name);
Assert.IsFalse(property.IsImportant);
Assert.IsFalse(property.IsInherited);
Assert.IsTrue(property.HasValue); // Error - Is False
Assert.AreEqual("center / cover", property.Value); // Error - Value is empty
}
The following test case will fail as the parser does not parse this valid CSS correctly.