W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2014

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

From: Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
Date: Wed, 12 Nov 2014 02:31:28 +0000
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
CC: "Chen, XiX A" <xix.a.chen@intel.com>
Message-ID: <0EA8FB2070816C499E0A50AC1B0B5C16016C31E5@SHSMSX101.ccr.corp.intel.com>

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 http://testthewebforward.org/docs/reftests.html#2-the-reftest-reference-file, "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

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:20 UTC