Valid to use subproperties as reference file for shorthand property test?


My colleague (CC'ed) is trying to create some reference files to automate CSS tests.

After reading a test at

... that "a system font sets all of the font subproperties at the same time; then each font subproperty can be altered individually",
... he creates a reference file at
span {
  font-variant: small-caps;
  font-size: 1in;
  font-family: serif;
  line-height: 1em;

... for the test case at
  font: small-caps 1in serif;
  line-height: 1em;

Is this a valid method to create reference file?

Per, "reference file must not use the same features that are being tested, but uses a different method to produce the same rendering as a test file", seems this method is not acceptable.

Feel free to review the reference files at


Received on Wednesday, 12 November 2014 02:33:09 UTC