Rewrite css/WOFF2/available-001.xht as a reftest

Open
#8,482 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
html
Domain
testing

Research direction

Review css/WOFF2/available-001.xht and the neighboring WOFF2 tests with *-ref files; start by comparing how their page and reference are structured. Convert the two-frame comparison into a page/reference pair, then verify the resulting reftest preserves the original comparison and is recognized alongside the other WOFF2 tests.

Written by the indexing model from the issue text.

Description

WOFF2

http://www.w3c-test.org/css/WOFF2/available-001.xht compares two frames in the same page. In order to be automatically executed in web engines, it should rather be converted into a reftest with a page and its -ref.

Note: it seems to be the only WOFF2 test lacking a reference:

web-platform-tests/css/WOFF2$ ls -I*-ref* > ~/tests.txt 
web-platform-tests/css/WOFF2$ ls *-ref* | sed 's/-ref//' > ~/references.txt
web-platform-tests/css/WOFF2$ diff -U1 ~/references.txt ~/tests.txt  
@@ -1 +1,2 @@
+available-001.xht
 blocks-extraneous-data-001.xht
@@ -270,4 +271,6 @@
 metadata-noeffect-002.xht
+OWNERS
 privatedata-noeffect-001.xht
 privatedata-noeffect-002.xht
+support
 tabledata-bad-origlength-loca-001.xht
@@ -293,2 +296,3 @@
 tabledata-transform-hmtx-004.xht
+testcaseindex.xht
 valid-001.xht
Dominant language
HTML
Stars
6.2k
Forks
3.9k
Avg merge
1d 6h
Merged PRs (30d)
586

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from web-platform-tests/wpt

All issues in web-platform-tests/wpt

Similar issues

More Testing & QA issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.