mirror of
https://github.com/servo/servo.git
synced 2025-06-27 10:33:39 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
12
tests/wpt/css-tests/tools/scripts/id2path.js
Normal file
12
tests/wpt/css-tests/tools/scripts/id2path.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
var fs = require("fs")
|
||||
, pth = require("path")
|
||||
, id = process.argv[2]
|
||||
;
|
||||
|
||||
if (!id) {
|
||||
console.log("Missing ID");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
console.log(JSON.parse(fs.readFileSync(pth.join(__dirname, "id2path.json"), "utf8"))[id]);
|
Loading…
Add table
Add a link
Reference in a new issue