From 58d1bef3b6040a415444880cc41fdd8279d19a7e Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Wed, 9 Aug 2017 00:50:31 +0800 Subject: [PATCH] Beging implementing reftests --- .gitignore | 3 + karma.conf.js | 111 + package.json | 24 +- scripts/create-reftest-list.js | 38 + scripts/create-reftests.js | 37 + scripts/parse-reftest.js | 154 + src/Color.js | 2 + src/Renderer.js | 44 +- src/index.js | 18 +- src/parsing/background.js | 12 +- src/parsing/border.js | 2 +- src/renderer/RefTestRenderer.js | 48 +- tests/assets/jquery-1.6.2.js | 8981 ----------------- tests/cases/google-maps.html | 41 - tests/mocha/clone.js | 2 +- tests/mocha/css.js | 75 +- tests/mocha/gradients.js | 201 +- tests/mocha/lib/expect.js | 2195 ++-- tests/mocha/lib/mocha.js | 7647 +++++++------- tests/mocha/selenium.js | 122 +- tests/node/color.js | 78 +- tests/node/package.js | 12 +- tests/{cases => reftests}/acid2.html | 0 tests/reftests/acid2.txt | 145 + .../{cases => reftests}/background/clip.html | 0 tests/reftests/background/clip.txt | 29 + .../background/encoded.html | 0 tests/reftests/background/encoded.txt | 11 + .../background/linear-gradient.html | 0 tests/reftests/background/linear-gradient.txt | 132 + .../{cases => reftests}/background/multi.html | 0 tests/reftests/background/multi.txt | 26 + .../background/position.html | 0 tests/reftests/background/position.txt | 77 + .../background/radial-gradient.html | 0 tests/reftests/background/radial-gradient.txt | 61 + .../background/repeat.html | 0 tests/reftests/background/repeat.txt | 53 + .../{cases => reftests}/background/size.html | 0 tests/reftests/background/size.txt | 43 + tests/{cases => reftests}/border/dashed.html | 0 tests/reftests/border/dashed.txt | 27 + tests/{cases => reftests}/border/dotted.html | 0 tests/reftests/border/dotted.txt | 27 + tests/{cases => reftests}/border/double.html | 0 tests/reftests/border/double.txt | 27 + tests/{cases => reftests}/border/inset.html | 0 tests/reftests/border/inset.txt | 39 + tests/{cases => reftests}/border/radius.html | 0 tests/reftests/border/radius.txt | 36 + tests/{cases => reftests}/border/solid.html | 0 tests/reftests/border/solid.txt | 27 + tests/{cases => reftests}/clip.html | 3 + tests/reftests/clip.txt | 178 + .../crossorigin-iframe.html | 0 tests/reftests/crossorigin-iframe.txt | 7 + tests/{cases => reftests}/forms.html | 0 tests/reftests/forms.txt | 310 + tests/{cases => reftests}/iframe.html | 0 tests/reftests/iframe.txt | 7 + tests/{cases => reftests}/images/base.html | 6 +- tests/reftests/images/base.txt | 16 + tests/{cases => reftests}/images/canvas.html | 0 tests/reftests/images/canvas.txt | 5 + .../images/cross-origin.html | 5 + tests/reftests/images/cross-origin.txt | 7 + tests/{cases => reftests}/images/empty.html | 5 + tests/reftests/images/empty.txt | 32 + tests/{cases => reftests}/images/images.html | 0 tests/reftests/images/images.txt | 36 + .../images/svg/base64.html | 5 + tests/reftests/images/svg/base64.txt | 9 + .../images/svg/external.html | 5 + tests/reftests/images/svg/external.txt | 9 + .../images/svg/inline.html | 5 + tests/reftests/images/svg/inline.txt | 7 + .../images/svg/native_only.html | 5 + tests/reftests/images/svg/native_only.txt | 7 + .../{cases => reftests}/images/svg/node.html | 5 + tests/reftests/images/svg/node.txt | 7 + .../list/decimal-leading-zero.html | 0 tests/reftests/list/decimal-leading-zero.txt | 603 ++ tests/{cases => reftests}/list/decimal.html | 0 tests/reftests/list/decimal.txt | 603 ++ .../{cases => reftests}/list/lower-alpha.html | 0 tests/reftests/list/lower-alpha.txt | 603 ++ .../{cases => reftests}/list/upper-roman.html | 0 tests/reftests/list/upper-roman.txt | 603 ++ .../overflow/overflow-transform.html | 3 + .../reftests/overflow/overflow-transform.txt | 134 + .../overflow/overflow.html | 3 + tests/reftests/overflow/overflow.txt | 567 ++ tests/{cases => reftests}/pseudoelements.html | 4 +- tests/reftests/pseudoelements.txt | 73 + .../text/child-textnodes.html | 3 + tests/reftests/text/child-textnodes.txt | 32 + tests/{cases => reftests}/text/chinese.html | 0 tests/reftests/text/chinese.txt | 1532 +++ .../{cases => reftests}/text/fontawesome.html | 0 tests/reftests/text/fontawesome.txt | 88 + .../{cases => reftests}/text/linethrough.html | 0 tests/reftests/text/linethrough.txt | 355 + tests/{cases => reftests}/text/multiple.html | 0 tests/reftests/text/multiple.txt | 355 + tests/{cases => reftests}/text/shadow.html | 0 tests/reftests/text/shadow.txt | 88 + tests/{cases => reftests}/text/text.html | 0 tests/reftests/text/text.txt | 266 + .../text/underline-lineheight.html | 0 tests/reftests/text/underline-lineheight.txt | 355 + tests/{cases => reftests}/text/underline.html | 0 tests/reftests/text/underline.txt | 355 + .../{cases => reftests}/transform/nested.html | 0 tests/reftests/transform/nested.txt | 42 + .../{cases => reftests}/transform/rotate.html | 0 tests/reftests/transform/rotate.txt | 12 + .../transform/translate.html | 0 tests/reftests/transform/translate.txt | 37 + tests/{cases => reftests}/visibility.html | 0 tests/reftests/visibility.txt | 25 + .../{cases => reftests}/zindex/z-index1.html | 0 tests/reftests/zindex/z-index1.txt | 75 + .../{cases => reftests}/zindex/z-index10.html | 0 tests/reftests/zindex/z-index10.txt | 114 + .../{cases => reftests}/zindex/z-index11.html | 0 tests/reftests/zindex/z-index11.txt | 28 + .../{cases => reftests}/zindex/z-index12.html | 0 tests/reftests/zindex/z-index12.txt | 15 + .../{cases => reftests}/zindex/z-index13.html | 0 tests/reftests/zindex/z-index13.txt | 9 + .../{cases => reftests}/zindex/z-index14.html | 0 tests/reftests/zindex/z-index14.txt | 9 + .../{cases => reftests}/zindex/z-index15.html | 0 tests/reftests/zindex/z-index15.txt | 9 + .../{cases => reftests}/zindex/z-index16.html | 0 tests/reftests/zindex/z-index16.txt | 31 + .../{cases => reftests}/zindex/z-index17.html | 0 tests/reftests/zindex/z-index17.txt | 13 + .../{cases => reftests}/zindex/z-index18.html | 0 tests/reftests/zindex/z-index18.txt | 47 + .../{cases => reftests}/zindex/z-index2.html | 0 tests/reftests/zindex/z-index2.txt | 89 + .../{cases => reftests}/zindex/z-index3.html | 0 tests/reftests/zindex/z-index3.txt | 167 + .../{cases => reftests}/zindex/z-index4.html | 0 tests/reftests/zindex/z-index4.txt | 23 + .../{cases => reftests}/zindex/z-index5.html | 0 tests/reftests/zindex/z-index5.txt | 23 + .../{cases => reftests}/zindex/z-index6.html | 0 tests/reftests/zindex/z-index6.txt | 34 + .../{cases => reftests}/zindex/z-index7.html | 0 tests/reftests/zindex/z-index7.txt | 64 + .../{cases => reftests}/zindex/z-index8.html | 0 tests/reftests/zindex/z-index8.txt | 64 + .../{cases => reftests}/zindex/z-index9.html | 0 tests/reftests/zindex/z-index9.txt | 89 + tests/sauceconnect.js | 13 - tests/selenium.js | 114 - tests/test.js | 151 +- tests/testrunner.html | 19 + tests/testrunner.js | 287 + tests/utils.js | 66 - webpack.config.js | 10 + 163 files changed, 15221 insertions(+), 14371 deletions(-) create mode 100644 karma.conf.js create mode 100644 scripts/create-reftest-list.js create mode 100644 scripts/create-reftests.js create mode 100644 scripts/parse-reftest.js delete mode 100644 tests/assets/jquery-1.6.2.js delete mode 100644 tests/cases/google-maps.html rename tests/{cases => reftests}/acid2.html (100%) create mode 100644 tests/reftests/acid2.txt rename tests/{cases => reftests}/background/clip.html (100%) create mode 100644 tests/reftests/background/clip.txt rename tests/{cases => reftests}/background/encoded.html (100%) create mode 100644 tests/reftests/background/encoded.txt rename tests/{cases => reftests}/background/linear-gradient.html (100%) create mode 100644 tests/reftests/background/linear-gradient.txt rename tests/{cases => reftests}/background/multi.html (100%) create mode 100644 tests/reftests/background/multi.txt rename tests/{cases => reftests}/background/position.html (100%) create mode 100644 tests/reftests/background/position.txt rename tests/{cases => reftests}/background/radial-gradient.html (100%) create mode 100644 tests/reftests/background/radial-gradient.txt rename tests/{cases => reftests}/background/repeat.html (100%) create mode 100644 tests/reftests/background/repeat.txt rename tests/{cases => reftests}/background/size.html (100%) create mode 100644 tests/reftests/background/size.txt rename tests/{cases => reftests}/border/dashed.html (100%) create mode 100644 tests/reftests/border/dashed.txt rename tests/{cases => reftests}/border/dotted.html (100%) create mode 100644 tests/reftests/border/dotted.txt rename tests/{cases => reftests}/border/double.html (100%) create mode 100644 tests/reftests/border/double.txt rename tests/{cases => reftests}/border/inset.html (100%) create mode 100644 tests/reftests/border/inset.txt rename tests/{cases => reftests}/border/radius.html (100%) create mode 100644 tests/reftests/border/radius.txt rename tests/{cases => reftests}/border/solid.html (100%) create mode 100644 tests/reftests/border/solid.txt rename tests/{cases => reftests}/clip.html (96%) create mode 100644 tests/reftests/clip.txt rename tests/{cases => reftests}/crossorigin-iframe.html (100%) create mode 100644 tests/reftests/crossorigin-iframe.txt rename tests/{cases => reftests}/forms.html (100%) create mode 100644 tests/reftests/forms.txt rename tests/{cases => reftests}/iframe.html (100%) create mode 100644 tests/reftests/iframe.txt rename tests/{cases => reftests}/images/base.html (86%) create mode 100644 tests/reftests/images/base.txt rename tests/{cases => reftests}/images/canvas.html (100%) create mode 100644 tests/reftests/images/canvas.txt rename tests/{cases => reftests}/images/cross-origin.html (82%) create mode 100644 tests/reftests/images/cross-origin.txt rename tests/{cases => reftests}/images/empty.html (86%) create mode 100644 tests/reftests/images/empty.txt rename tests/{cases => reftests}/images/images.html (100%) create mode 100644 tests/reftests/images/images.txt rename tests/{cases => reftests}/images/svg/base64.html (94%) create mode 100644 tests/reftests/images/svg/base64.txt rename tests/{cases => reftests}/images/svg/external.html (79%) create mode 100644 tests/reftests/images/svg/external.txt rename tests/{cases => reftests}/images/svg/inline.html (93%) create mode 100644 tests/reftests/images/svg/inline.txt rename tests/{cases => reftests}/images/svg/native_only.html (97%) create mode 100644 tests/reftests/images/svg/native_only.txt rename tests/{cases => reftests}/images/svg/node.html (93%) create mode 100644 tests/reftests/images/svg/node.txt rename tests/{cases => reftests}/list/decimal-leading-zero.html (100%) create mode 100644 tests/reftests/list/decimal-leading-zero.txt rename tests/{cases => reftests}/list/decimal.html (100%) create mode 100644 tests/reftests/list/decimal.txt rename tests/{cases => reftests}/list/lower-alpha.html (100%) create mode 100644 tests/reftests/list/lower-alpha.txt rename tests/{cases => reftests}/list/upper-roman.html (100%) create mode 100644 tests/reftests/list/upper-roman.txt rename tests/{cases => reftests}/overflow/overflow-transform.html (96%) create mode 100644 tests/reftests/overflow/overflow-transform.txt rename tests/{cases => reftests}/overflow/overflow.html (98%) create mode 100644 tests/reftests/overflow/overflow.txt rename tests/{cases => reftests}/pseudoelements.html (96%) create mode 100644 tests/reftests/pseudoelements.txt rename tests/{cases => reftests}/text/child-textnodes.html (91%) create mode 100644 tests/reftests/text/child-textnodes.txt rename tests/{cases => reftests}/text/chinese.html (100%) create mode 100644 tests/reftests/text/chinese.txt rename tests/{cases => reftests}/text/fontawesome.html (100%) create mode 100644 tests/reftests/text/fontawesome.txt rename tests/{cases => reftests}/text/linethrough.html (100%) create mode 100644 tests/reftests/text/linethrough.txt rename tests/{cases => reftests}/text/multiple.html (100%) create mode 100644 tests/reftests/text/multiple.txt rename tests/{cases => reftests}/text/shadow.html (100%) create mode 100644 tests/reftests/text/shadow.txt rename tests/{cases => reftests}/text/text.html (100%) create mode 100644 tests/reftests/text/text.txt rename tests/{cases => reftests}/text/underline-lineheight.html (100%) create mode 100644 tests/reftests/text/underline-lineheight.txt rename tests/{cases => reftests}/text/underline.html (100%) create mode 100644 tests/reftests/text/underline.txt rename tests/{cases => reftests}/transform/nested.html (100%) create mode 100644 tests/reftests/transform/nested.txt rename tests/{cases => reftests}/transform/rotate.html (100%) create mode 100644 tests/reftests/transform/rotate.txt rename tests/{cases => reftests}/transform/translate.html (100%) create mode 100644 tests/reftests/transform/translate.txt rename tests/{cases => reftests}/visibility.html (100%) create mode 100644 tests/reftests/visibility.txt rename tests/{cases => reftests}/zindex/z-index1.html (100%) create mode 100644 tests/reftests/zindex/z-index1.txt rename tests/{cases => reftests}/zindex/z-index10.html (100%) create mode 100644 tests/reftests/zindex/z-index10.txt rename tests/{cases => reftests}/zindex/z-index11.html (100%) create mode 100644 tests/reftests/zindex/z-index11.txt rename tests/{cases => reftests}/zindex/z-index12.html (100%) create mode 100644 tests/reftests/zindex/z-index12.txt rename tests/{cases => reftests}/zindex/z-index13.html (100%) create mode 100644 tests/reftests/zindex/z-index13.txt rename tests/{cases => reftests}/zindex/z-index14.html (100%) create mode 100644 tests/reftests/zindex/z-index14.txt rename tests/{cases => reftests}/zindex/z-index15.html (100%) create mode 100644 tests/reftests/zindex/z-index15.txt rename tests/{cases => reftests}/zindex/z-index16.html (100%) create mode 100644 tests/reftests/zindex/z-index16.txt rename tests/{cases => reftests}/zindex/z-index17.html (100%) create mode 100644 tests/reftests/zindex/z-index17.txt rename tests/{cases => reftests}/zindex/z-index18.html (100%) create mode 100644 tests/reftests/zindex/z-index18.txt rename tests/{cases => reftests}/zindex/z-index2.html (100%) create mode 100644 tests/reftests/zindex/z-index2.txt rename tests/{cases => reftests}/zindex/z-index3.html (100%) create mode 100644 tests/reftests/zindex/z-index3.txt rename tests/{cases => reftests}/zindex/z-index4.html (100%) create mode 100644 tests/reftests/zindex/z-index4.txt rename tests/{cases => reftests}/zindex/z-index5.html (100%) create mode 100644 tests/reftests/zindex/z-index5.txt rename tests/{cases => reftests}/zindex/z-index6.html (100%) create mode 100644 tests/reftests/zindex/z-index6.txt rename tests/{cases => reftests}/zindex/z-index7.html (100%) create mode 100644 tests/reftests/zindex/z-index7.txt rename tests/{cases => reftests}/zindex/z-index8.html (100%) create mode 100644 tests/reftests/zindex/z-index8.txt rename tests/{cases => reftests}/zindex/z-index9.html (100%) create mode 100644 tests/reftests/zindex/z-index9.txt delete mode 100644 tests/sauceconnect.js delete mode 100644 tests/selenium.js create mode 100644 tests/testrunner.html create mode 100644 tests/testrunner.js delete mode 100644 tests/utils.js diff --git a/.gitignore b/.gitignore index a91bd16..a982a42 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /dist +/build /nbproject/ image.jpg /.project @@ -11,3 +12,5 @@ node_modules/ .idea/ .DS_Store npm-debug.log +debug.log +tests/reftests.js diff --git a/karma.conf.js b/karma.conf.js new file mode 100644 index 0000000..c09ccee --- /dev/null +++ b/karma.conf.js @@ -0,0 +1,111 @@ +// Karma configuration +// Generated on Sat Aug 05 2017 23:42:26 GMT+0800 (Malay Peninsula Standard Time) + +const port = 9876; + +module.exports = function(config) { + config.set({ + + // base path that will be used to resolve all patterns (eg. files, exclude) + basePath: '', + + + // frameworks to use + // available frameworks: https://npmjs.org/browse/keyword/karma-adapter + frameworks: ['mocha'], + + + // list of files / patterns to load in the browser + files: [ + 'tests/testrunner.js', + { pattern: './tests/**/*', 'watched': true, 'included': false, 'served': true}, + { pattern: './dist/**/*', 'watched': true, 'included': false, 'served': true}, + { pattern: './node_modules/**/*', 'watched': true, 'included': false, 'served': true} + ], + + + // list of files to exclude + exclude: [ + ], + + + // preprocess matching files before serving them to the browser + // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor + preprocessors: { + }, + + + // test results reporter to use + // possible values: 'dots', 'progress' + // available reporters: https://npmjs.org/browse/keyword/karma-reporter + reporters: ['progress'], + + + // web server port + port, + + + // enable / disable colors in the output (reporters and logs) + colors: true, + + + // level of logging + // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG + logLevel: config.LOG_INFO, + + + // enable / disable watching file and executing tests whenever any file changes + autoWatch: true, + + + // start these browsers + // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher + browsers: [ + 'Chrome', + 'Firefox', + 'IE9', + 'IE10', + 'IE11', + 'Edge' + ], + + + customLaunchers: { + IE9: { + base: 'IE', + 'x-ua-compatible': 'IE=EmulateIE9' + }, + IE10: { + base: 'IE', + 'x-ua-compatible': 'IE=EmulateIE10' + }, + IE11: { + base: 'IE' + } + }, + + // Continuous Integration mode + // if true, Karma captures browsers, runs the tests and exits + singleRun: false, + + // Concurrency level + // how many browser should be started simultaneous + concurrency: Infinity, + + proxies: { + '/dist': `http://localhost:${port}/base/dist`, + '/node_modules': `http://localhost:${port}/base/node_modules`, + '/tests': `http://localhost:${port}/base/tests`, + '/assets': `http://localhost:${port}/base/tests/assets`, + }, + + client: { + mocha: { + // change Karma's debug.html to the mocha web reporter + reporter: 'html' + } + }, + + browserNoActivityTimeout: 30000 + }) +}; diff --git a/package.json b/package.json index a049ea5..e7898e0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": { "name": "Niklas von Hertzen", "email": "niklasvh@gmail.com", - "url": "http://hertzen.com" + "url": "https://hertzen.com" }, "engines": { "node": ">=4.0.0" @@ -28,24 +28,40 @@ "babel-preset-es2015": "6.24.1", "babel-preset-flow": "6.23.0", "base64-arraybuffer": "0.1.5", + "chai": "4.1.1", + "chromeless": "^1.2.0", "eslint": "4.2.0", "eslint-plugin-flowtype": "2.35.0", "eslint-plugin-prettier": "2.1.2", + "express": "4.15.4", "flow-bin": "0.50.0", + "glob": "7.1.2", + "jquery": "3.2.1", + "karma": "1.7.0", + "karma-chrome-launcher": "2.2.0", + "karma-edge-launcher": "0.4.1", + "karma-firefox-launcher": "1.0.1", + "karma-ie-launcher": "1.0.0", + "karma-mocha": "1.3.0", + "mocha": "3.5.0", "prettier": "1.5.3", + "promise-polyfill": "6.0.2", "rimraf": "2.6.1", + "slash": "1.0.0", "webpack": "3.4.1" }, "scripts": { "build": "rimraf dist/ && npm run build:npm && npm run build:browser", "build:npm": "babel src/ -d dist/npm/", "build:browser": "webpack", - "format": "prettier --single-quote --no-bracket-spacing --tab-width 4 --print-width 100 --write \"src/**/*.js\"", + "format": "prettier --single-quote --no-bracket-spacing --tab-width 4 --print-width 100 --write \"{src,tests,scripts}/**/*.js\"", "flow": "flow", "lint": "eslint src/**", - "test": "npm run flow && npm run lint" + "test": "npm run flow && npm run lint", + "karma": "karma start karma.conf.js", + "watch": "webpack --progress --colors --watch" }, - "homepage": "http://html2canvas.hertzen.com", + "homepage": "https://html2canvas.hertzen.com", "license": "MIT", "dependencies": { "punycode": "2.1.0" diff --git a/scripts/create-reftest-list.js b/scripts/create-reftest-list.js new file mode 100644 index 0000000..0302f3f --- /dev/null +++ b/scripts/create-reftest-list.js @@ -0,0 +1,38 @@ +'use strict'; + +const path = require('path'); +const glob = require('glob'); +const fs = require('fs'); +const slash = require('slash'); +const parseRefTest = require('./parse-reftest'); +const outputPath = 'tests/reftests.js'; + +glob( + '../tests/reftests/**/*.html', + { + cwd: __dirname, + root: path.resolve(__dirname, '../../') + }, + (err, files) => { + if (err) { + console.error(err); + process.exit(1); + } + + const testList = files.reduce((acc, filename) => { + const refTestFilename = path.resolve(__dirname, filename.replace(/\.html$/, '.txt')); + console.log(refTestFilename); + acc[`/${slash(path.relative('../', filename))}`] = fs.existsSync(refTestFilename) + ? parseRefTest(fs.readFileSync(refTestFilename).toString()) + : null; + + return acc; + }, {}); + fs.writeFileSync( + path.resolve(__dirname, `../${outputPath}`), + `module.exports = ${JSON.stringify(testList, null, 4)};` + ); + + console.log(`${outputPath} updated`); + } +); diff --git a/scripts/create-reftests.js b/scripts/create-reftests.js new file mode 100644 index 0000000..9d38f8b --- /dev/null +++ b/scripts/create-reftests.js @@ -0,0 +1,37 @@ +const {Chromeless} = require('chromeless'); +const path = require('path'); +const fs = require('fs'); +const express = require('express'); +const reftests = require('../tests/reftests'); + +const app = express(); +app.use('/', express.static(path.resolve(__dirname, '../'))); + +const listener = app.listen(0, () => { + async function run() { + const chromeless = new Chromeless(); + const tests = Object.keys(reftests); + let i = 0; + while (tests[i]) { + const filename = tests[i]; + i++; + const reftest = await chromeless + .goto(`http://localhost:${listener.address().port}${filename}?reftest&run=false`) + .evaluate(() => + html2canvas(document.documentElement, { + windowWidth: 800, + windowHeight: 600, + target: new RefTestRenderer() + }) + ); + fs.writeFileSync( + path.resolve(__dirname, `..${filename.replace(/\.html$/i, '.txt')}`), + reftest + ); + } + + await chromeless.end(); + } + + run().catch(console.error.bind(console)).then(() => process.exit(0)); +}); diff --git a/scripts/parse-reftest.js b/scripts/parse-reftest.js new file mode 100644 index 0000000..e1a3d3f --- /dev/null +++ b/scripts/parse-reftest.js @@ -0,0 +1,154 @@ +const ACTION = /^\s*(\w+ ?\w*):\s+(.+)$/; +const TEXT = /^\s*\[(-?\d+), (-?\d+)\]:\s+(.+)$/; +const WINDOW_SIZE = /^\[(-?\d+), (-?\d+)\]$/; +const RECTANGLE = /^\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\s+(.+)$/; +const REPEAT = /^Image\s+\("(.+)"\)\s+\[(-?\d+), (-?\d+)\]\s+Size\s+\((-?\d+), (-?\d+)\)\s+(.+)$/; +const PATH = /^Path \((.+)\)$/; +const VECTOR = /^Vector\(x: (-?\d+), y: (-?\d+)\)$/; +const BEZIER_CURVE = /^BezierCurve\(x0: (-?\d+), y0: (-?\d+), x1: (-?\d+), y1: (-?\d+), cx0: (-?\d+), cy0: (-?\d+), cx1: (-?\d+), cy1: (-?\d+)\)$/; +const SHAPE = /^(rgba?\((:?.+)\)) (Path .+)$/; +const CIRCLE = /^(rgba?\((:?.+)\)) Circle\(x: (-?\d+), y: (-?\d+), r: (-?\d+)\)$/; +const IMAGE = /^Image\s+\("(.+)"\)\s+\(source:\s+\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\)\s+\(destination:\s+\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\)$/; +const CANVAS = /^(Canvas)\s+\(source:\s+\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\)\s+\(destination:\s+\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\)$/; +const GRADIENT = /^\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\s+linear-gradient\(x0: (-?\d+), x1: (-?\d+), y0: (-?\d+), y1: (-?\d+) (.+)\)$/; +const TRANSFORM = /^\((-?\d+), (-?\d+)\) \[(.+)\]$/; + +function parsePath(path) { + const parts = path.match(PATH)[1]; + return parts.split(' > ').map(p => { + const vector = p.match(VECTOR); + if (vector) { + return { + type: 'Vector', + x: parseInt(vector[1], 10), + y: parseInt(vector[2], 10) + }; + } else { + const bezier = p.match(BEZIER_CURVE); + return { + type: 'BezierCurve', + x0: parseInt(bezier[1], 10), + y0: parseInt(bezier[2], 10), + x1: parseInt(bezier[3], 10), + y1: parseInt(bezier[4], 10), + cx0: parseInt(bezier[5], 10), + cy0: parseInt(bezier[6], 10), + cx1: parseInt(bezier[7], 10), + cy1: parseInt(bezier[8], 10) + }; + } + }); +} + +function parseRefTest(txt) { + return txt.split(/\n/g).filter(l => l.length > 0).map((l, i) => { + const parseAction = l.match(ACTION); + if (!parseAction) { + const text = l.match(TEXT); + return { + action: 'T', + x: parseInt(text[1], 10), + y: parseInt(text[2], 10), + text: text[3] + }; + } + const args = parseAction[2]; + + const data = { + action: parseAction[1], + line: i + 1 + }; + + switch (data.action) { + case 'Opacity': + data.opacity = parseFloat(args); + break; + case 'Fill': + data.color = args; + break; + case 'Clip': + data.path = args.split(' | ').map(path => parsePath(path)); + break; + case 'Window': + const windowSize = args.match(WINDOW_SIZE); + data.width = parseInt(windowSize[1], 10); + data.height = parseInt(windowSize[2], 10); + break; + case 'Rectangle': + const rectangle = args.match(RECTANGLE); + data.x = parseInt(rectangle[1], 10); + data.y = parseInt(rectangle[2], 10); + data.width = parseInt(rectangle[3], 10); + data.height = parseInt(rectangle[4], 10); + data.color = rectangle[5]; + break; + case 'Repeat': + const repeat = args.match(REPEAT); + data.imageSrc = repeat[1]; + data.x = parseInt(repeat[2], 10); + data.y = parseInt(repeat[3], 10); + data.width = parseInt(repeat[4], 10); + data.height = parseInt(repeat[5], 10); + data.path = parsePath(repeat[6]); + break; + case 'Shape': + const shape = args.match(SHAPE); + if (!shape) { + const circle = args.match(CIRCLE); + data.color = circle[1]; + data.path = [ + { + type: 'Circle', + x: parseInt(circle[2], 10), + y: parseInt(circle[3], 10), + r: parseInt(circle[4], 10) + } + ]; + } else { + data.color = shape[1]; + data.path = parsePath(shape[3]); + } + break; + case 'Text': + data.font = args; + break; + case 'Draw image': + const image = args.match(IMAGE) ? args.match(IMAGE) : args.match(CANVAS); + data.imageSrc = image[1]; + data.sx = parseInt(image[2], 10); + data.xy = parseInt(image[3], 10); + data.sw = parseInt(image[4], 10); + data.sh = parseInt(image[5], 10); + data.dx = parseInt(image[6], 10); + data.dy = parseInt(image[7], 10); + data.dw = parseInt(image[8], 10); + data.dh = parseInt(image[9], 10); + break; + case 'Gradient': + const gradient = args.match(GRADIENT); + data.x = parseInt(gradient[1], 10); + data.y = parseInt(gradient[2], 10); + data.width = parseInt(gradient[3], 10); + data.height = parseInt(gradient[4], 10); + data.x0 = parseInt(gradient[5], 10); + data.x1 = parseInt(gradient[6], 10); + data.y0 = parseInt(gradient[7], 10); + data.y1 = parseInt(gradient[8], 10); + data.stops = gradient[9]; + break; + case 'Transform': + const transform = args.match(TRANSFORM); + data.x = parseInt(transform[1], 10); + data.y = parseInt(transform[2], 10); + data.matrix = transform[3]; + break; + default: + console.log(args); + throw new Error('Unhandled action ' + data.action); + } + + return data; + }); +} + +module.exports = parseRefTest; diff --git a/src/Color.js b/src/Color.js index 506c5a6..b8b1902 100644 --- a/src/Color.js +++ b/src/Color.js @@ -247,3 +247,5 @@ const NAMED_COLORS = { yellow: [255, 255, 0, null], yellowgreen: [154, 205, 50, null] }; + +export const TRANSPARENT = new Color([0, 0, 0, 0]); diff --git a/src/Renderer.js b/src/Renderer.js index 0aecae4..2b277a2 100644 --- a/src/Renderer.js +++ b/src/Renderer.js @@ -151,34 +151,48 @@ export default class Renderer { } renderNodeBackgroundAndBorders(container: NodeContainer) { + const HAS_BACKGROUND = + !container.style.background.backgroundColor.isTransparent() || + container.style.background.backgroundImage.length; + + const renderableBorders = container.style.border.filter( + border => + border.borderStyle !== BORDER_STYLE.NONE && !border.borderColor.isTransparent() + ); + const callback = () => { const backgroundPaintingArea = calculateBackgroungPaintingArea( container.curvedBounds, container.style.background.backgroundClip ); - this.target.clip([backgroundPaintingArea], () => { - if (!container.style.background.backgroundColor.isTransparent()) { - this.target.fill(container.style.background.backgroundColor); - } - this.renderBackgroundImage(container); - }); + if (HAS_BACKGROUND) { + this.target.clip([backgroundPaintingArea], () => { + if (!container.style.background.backgroundColor.isTransparent()) { + this.target.fill(container.style.background.backgroundColor); + } - container.style.border.forEach((border, side) => { + this.renderBackgroundImage(container); + }); + } + + renderableBorders.forEach((border, side) => { this.renderBorder(border, side, container.curvedBounds); }); }; - const paths = container.parent ? container.parent.getClipPaths() : []; - if (paths.length) { - this.target.clip(paths, callback); - } else { - callback(); + if (HAS_BACKGROUND || renderableBorders.length) { + const paths = container.parent ? container.parent.getClipPaths() : []; + if (paths.length) { + this.target.clip(paths, callback); + } else { + callback(); + } } } renderBackgroundImage(container: NodeContainer) { - container.style.background.backgroundImage.reverse().forEach(backgroundImage => { + container.style.background.backgroundImage.slice(0).reverse().forEach(backgroundImage => { if (backgroundImage.source.method === 'url' && backgroundImage.source.args.length) { this.renderBackgroundRepeat(container, backgroundImage); } else { @@ -224,9 +238,7 @@ export default class Renderer { } renderBorder(border: Border, side: BorderSide, curvePoints: BoundCurves) { - if (border.borderStyle !== BORDER_STYLE.NONE && !border.borderColor.isTransparent()) { - this.target.drawShape(parsePathForBorder(curvePoints, side), border.borderColor); - } + this.target.drawShape(parsePathForBorder(curvePoints, side), border.borderColor); } renderStack(stack: StackingContext) { diff --git a/src/index.js b/src/index.js index 8e2bfce..2f80a39 100644 --- a/src/index.js +++ b/src/index.js @@ -10,7 +10,7 @@ import Logger from './Logger'; import ImageLoader from './ImageLoader'; import {Bounds, parseDocumentSize} from './Bounds'; import {cloneWindow} from './Clone'; -import Color from './Color'; +import Color, {TRANSPARENT} from './Color'; import {FontMetrics} from './Font'; export type Options = { @@ -24,7 +24,9 @@ export type Options = { target: RenderTarget<*> | Array>, type: ?string, windowWidth: number, - windowHeight: number + windowHeight: number, + offsetX: number, + offsetY: number }; const html2canvas = (element: HTMLElement, config: Options): Promise<*> => { @@ -47,14 +49,16 @@ const html2canvas = (element: HTMLElement, config: Options): Promise<*> => { target: new CanvasRenderer(config.canvas), type: null, windowWidth: defaultView.innerWidth, - windowHeight: defaultView.innerHeight + windowHeight: defaultView.innerHeight, + offsetX: defaultView.pageXOffset, + offsetY: defaultView.pageYOffset }; const options = {...defaultOptions, ...config}; const windowBounds = new Bounds( - defaultView.pageXOffset, - defaultView.pageYOffset, + options.offsetX, + options.offsetY, options.windowWidth, options.windowHeight ); @@ -91,6 +95,10 @@ const html2canvas = (element: HTMLElement, config: Options): Promise<*> => { : stack.container.style.background.backgroundColor : null; + if (backgroundColor === stack.container.style.background.backgroundColor) { + stack.container.style.background.backgroundColor = TRANSPARENT; + } + return imageLoader.ready().then(imageStore => { if (options.removeContainer === true) { if (container.parentNode) { diff --git a/src/parsing/background.js b/src/parsing/background.js index 45a85c2..364c009 100644 --- a/src/parsing/background.js +++ b/src/parsing/background.js @@ -350,11 +350,13 @@ const parseBackgroundImage = (image: string, imageLoader: ImageLoader): Array => { return SIDES.map(side => { const borderColor = new Color(style.getPropertyValue(`border-${side}-color`)); const borderStyle = parseBorderStyle(style.getPropertyValue(`border-${side}-style`)); - const borderWidth = parseInt(style.getPropertyValue(`border-${side}-width`), 10); + const borderWidth = parseFloat(style.getPropertyValue(`border-${side}-width`)); return { borderColor, borderStyle, diff --git a/src/renderer/RefTestRenderer.js b/src/renderer/RefTestRenderer.js index c8152cb..e1037fb 100644 --- a/src/renderer/RefTestRenderer.js +++ b/src/renderer/RefTestRenderer.js @@ -1,5 +1,6 @@ /* @flow */ 'use strict'; +import {parse} from 'url'; import type {RenderTarget, RenderOptions} from '../Renderer'; import type Color from '../Color'; @@ -33,10 +34,11 @@ class RefTestRenderer implements RenderTarget { this.indent = 0; this.lines = []; options.logger.log(`RefTest renderer initialized`); + this.writeLine(`Window: [${options.width}, ${options.height}]`); } clip(clipPaths: Array, callback: () => void) { - this.writeLine(`Clip ${clipPaths.map(this.formatPath, this).join(', ')}`); + this.writeLine(`Clip: ${clipPaths.map(this.formatPath, this).join(' | ')}`); this.indent += 2; callback(); this.indent -= 2; @@ -44,18 +46,18 @@ class RefTestRenderer implements RenderTarget { drawImage(image: ImageElement, source: Bounds, destination: Bounds) { this.writeLine( - `Draw image ${this.formatImage(image)} (source: ${this.formatBounds( + `Draw image: ${this.formatImage(image)} (source: ${this.formatBounds( source - )} (destination: ${this.formatBounds(source)})` + )}) (destination: ${this.formatBounds(source)})` ); } drawShape(path: Path, color: Color) { - this.writeLine(`Shape ${color.toString()} ${this.formatPath(path)}`); + this.writeLine(`Shape: ${color.toString()} ${this.formatPath(path)}`); } fill(color: Color) { - this.writeLine(`Fill ${color.toString()}`); + this.writeLine(`Fill: ${color.toString()}`); } getTarget(): Promise { @@ -64,7 +66,7 @@ class RefTestRenderer implements RenderTarget { rectangle(x: number, y: number, width: number, height: number, color: Color) { const list = [x, y, width, height].map(v => Math.round(v)).join(', '); - this.writeLine(`Rectangle [${list}] ${color.toString()}`); + this.writeLine(`Rectangle: [${list}] ${color.toString()}`); } formatBounds(bounds: Bounds): string { @@ -73,8 +75,10 @@ class RefTestRenderer implements RenderTarget { } formatImage(image: ImageElement): string { - // $FlowFixMe - return image.tagName === 'CANVAS' ? 'Canvas' : `Image src="${image.src}"`; + return image.tagName === 'CANVAS' + ? 'Canvas' + : // $FlowFixMe + `Image ("${parse(image.src).pathname.substring(0, 100)}")`; } formatPath(path: Path): string { @@ -86,7 +90,7 @@ class RefTestRenderer implements RenderTarget { const string = path .map(v => { if (v.type === PATH.VECTOR) { - return `Vector(x: ${Math.round(v.x)}, y: ${Math.round(v.y)}))`; + return `Vector(x: ${Math.round(v.x)}, y: ${Math.round(v.y)})`; } if (v.type === PATH.BEZIER_CURVE) { const values = [ @@ -102,7 +106,7 @@ class RefTestRenderer implements RenderTarget { return `BezierCurve(${values.join(', ')})`; } }) - .join(', '); + .join(' > '); return `Path (${string})`; } @@ -114,12 +118,14 @@ class RefTestRenderer implements RenderTarget { `y1: ${Math.round(gradient.direction.y1)}` ]; - const stops = gradient.colorStops.map(stop => `${stop.color.toString()} ${stop.stop}px`); + const stops = gradient.colorStops.map( + stop => `${stop.color.toString()} ${Math.round(stop.stop * 100) / 100}` + ); this.writeLine( - `${this.formatBounds(bounds)} linear-gradient(${direction.join(', ')} ${stops.join( + `Gradient: ${this.formatBounds(bounds)} linear-gradient(${direction.join( ', ' - )})` + )} ${stops.join(', ')})` ); } @@ -131,7 +137,7 @@ class RefTestRenderer implements RenderTarget { offsetY: number ) { this.writeLine( - `Repeat ${this.formatImage( + `Repeat: ${this.formatImage( image )} [${offsetX}, ${offsetY}] Size (${imageSize.width}, ${imageSize.height}) ${this.formatPath( path @@ -151,7 +157,7 @@ class RefTestRenderer implements RenderTarget { font.fontVariant, font.fontWeight, font.fontSize, - font.fontFamily + font.fontFamily.replace(/"/g, '') ] .join(' ') .split(',')[0]; @@ -167,7 +173,7 @@ class RefTestRenderer implements RenderTarget { : ''; this.writeLine( - `Text ${color.toString()} ${fontString}${shadowString}${textDecorationString}` + `Text: ${color.toString()} ${fontString}${shadowString}${textDecorationString}` ); this.indent += 2; @@ -231,18 +237,22 @@ class RefTestRenderer implements RenderTarget { } setOpacity(opacity: number) { - this.writeLine(`Opacity ${opacity}`); + this.writeLine(`Opacity: ${opacity}`); } transform(offsetX: number, offsetY: number, matrix: Matrix, callback: () => void) { - this.writeLine(`Transform (${offsetX}, ${offsetY}) [${matrix.join(', ')}]`); + this.writeLine( + `Transform: (${Math.round(offsetX)}, ${Math.round(offsetY)}) [${matrix + .map(v => Math.round(v * 100) / 100) + .join(', ')}]` + ); this.indent += 2; callback(); this.indent -= 2; } writeLine(text: string) { - this.lines.push(`${new Array(this.indent).join(' ')}${text}`); + this.lines.push(`${new Array(this.indent + 1).join(' ')}${text}`); } } diff --git a/tests/assets/jquery-1.6.2.js b/tests/assets/jquery-1.6.2.js deleted file mode 100644 index 829c706..0000000 --- a/tests/assets/jquery-1.6.2.js +++ /dev/null @@ -1,8981 +0,0 @@ -/*! - * jQuery JavaScript Library v1.6.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Jun 30 14:16:56 2011 -0400 - */ -(function( window, undefined ) { - -// Use the correct document accordingly with window argument (sandbox) -var document = window.document, - navigator = window.navigator, - location = window.location; -var jQuery = (function() { - -// Define a local copy of jQuery -var jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // A central reference to the root jQuery(document) - rootjQuery, - - // A simple way to check for HTML strings or ID strings - // (both of which we optimize for) - quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, - - // Check if a string has a non-whitespace character in it - rnotwhite = /\S/, - - // Used for trimming whitespace - trimLeft = /^\s+/, - trimRight = /\s+$/, - - // Check for digits - rdigit = /\d/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, - rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - - // Useragent RegExp - rwebkit = /(webkit)[ \/]([\w.]+)/, - ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/, - rmsie = /(msie) ([\w.]+)/, - rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/, - - // Matches dashed string for camelizing - rdashAlpha = /-([a-z])/ig, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // Keep a UserAgent string for use with jQuery.browser - userAgent = navigator.userAgent, - - // For matching the engine and version of the browser - browserMatch, - - // The deferred used on DOM ready - readyList, - - // The ready event handler - DOMContentLoaded, - - // Save a reference to some core methods - toString = Object.prototype.toString, - hasOwn = Object.prototype.hasOwnProperty, - push = Array.prototype.push, - slice = Array.prototype.slice, - trim = String.prototype.trim, - indexOf = Array.prototype.indexOf, - - // [[Class]] -> type pairs - class2type = {}; - -jQuery.fn = jQuery.prototype = { - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem, ret, doc; - - // Handle $(""), $(null), or $(undefined) - if ( !selector ) { - return this; - } - - // Handle $(DOMElement) - if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - } - - // The body element only exists once, optimize finding it - if ( selector === "body" && !context && document.body ) { - this.context = document; - this[0] = document.body; - this.selector = selector; - this.length = 1; - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - // Are we dealing with HTML string or an ID? - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = quickExpr.exec( selector ); - } - - // Verify a match, and that no context was specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - doc = (context ? context.ownerDocument || context : document); - - // If a single string is passed in and it's a single tag - // just do a createElement and skip the rest - ret = rsingleTag.exec( selector ); - - if ( ret ) { - if ( jQuery.isPlainObject( context ) ) { - selector = [ document.createElement( ret[1] ) ]; - jQuery.fn.attr.call( selector, context, true ); - - } else { - selector = [ doc.createElement( ret[1] ) ]; - } - - } else { - ret = jQuery.buildFragment( [ match[1] ], [ doc ] ); - selector = (ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment).childNodes; - } - - return jQuery.merge( this, selector ); - - // HANDLE: $("#id") - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return (context || rootjQuery).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if (selector.selector !== undefined) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The current version of jQuery being used - jquery: "1.6.2", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return slice.call( this, 0 ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems, name, selector ) { - // Build a new jQuery matched element set - var ret = this.constructor(); - - if ( jQuery.isArray( elems ) ) { - push.apply( ret, elems ); - - } else { - jQuery.merge( ret, elems ); - } - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - ret.context = this.context; - - if ( name === "find" ) { - ret.selector = this.selector + (this.selector ? " " : "") + selector; - } else if ( name ) { - ret.selector = this.selector + "." + name + "(" + selector + ")"; - } - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Attach the listeners - jQuery.bindReady(); - - // Add the callback - readyList.done( fn ); - - return this; - }, - - eq: function( i ) { - return i === -1 ? - this.slice( i ) : - this.slice( i, +i + 1 ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ), - "slice", slice.call(arguments).join(",") ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - // Either a released hold or an DOMready/load event and not yet ready - if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready, 1 ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger( "ready" ).unbind( "ready" ); - } - } - }, - - bindReady: function() { - if ( readyList ) { - return; - } - - readyList = jQuery._Deferred(); - - // Catch cases where $(document).ready() is called after the - // browser event has already occurred. - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - return setTimeout( jQuery.ready, 1 ); - } - - // Mozilla, Opera and webkit nightlies currently support this event - if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", jQuery.ready, false ); - - // If IE event model is used - } else if ( document.attachEvent ) { - // ensure firing before onload, - // maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", DOMContentLoaded ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", jQuery.ready ); - - // If IE and not a frame - // continually check to see if the document is ready - var toplevel = false; - - try { - toplevel = window.frameElement == null; - } catch(e) {} - - if ( document.documentElement.doScroll && toplevel ) { - doScrollCheck(); - } - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - // A crude way of determining if an object is a window - isWindow: function( obj ) { - return obj && typeof obj === "object" && "setInterval" in obj; - }, - - isNaN: function( obj ) { - return obj == null || !rdigit.test( obj ) || isNaN( obj ); - }, - - type: function( obj ) { - return obj == null ? - String( obj ) : - class2type[ toString.call(obj) ] || "object"; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - // Not own constructor property must be Object - if ( obj.constructor && - !hasOwn.call(obj, "constructor") && - !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - for ( var name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw msg; - }, - - parseJSON: function( data ) { - if ( typeof data !== "string" || !data ) { - return null; - } - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return (new Function( "return " + data ))(); - - } - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - // (xml & tmp used internally) - parseXML: function( data , xml , tmp ) { - - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - - tmp = xml.documentElement; - - if ( ! tmp || ! tmp.nodeName || tmp.nodeName === "parsererror" ) { - jQuery.error( "Invalid XML: " + data ); - } - - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && rnotwhite.test( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Converts a dashed string to camelCased string; - // Used by both the css and data modules - camelCase: function( string ) { - return string.replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); - }, - - // args is for internal usage only - each: function( object, callback, args ) { - var name, i = 0, - length = object.length, - isObj = length === undefined || jQuery.isFunction( object ); - - if ( args ) { - if ( isObj ) { - for ( name in object ) { - if ( callback.apply( object[ name ], args ) === false ) { - break; - } - } - } else { - for ( ; i < length; ) { - if ( callback.apply( object[ i++ ], args ) === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isObj ) { - for ( name in object ) { - if ( callback.call( object[ name ], name, object[ name ] ) === false ) { - break; - } - } - } else { - for ( ; i < length; ) { - if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) { - break; - } - } - } - } - - return object; - }, - - // Use native String.trim function wherever possible - trim: trim ? - function( text ) { - return text == null ? - "" : - trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - text.toString().replace( trimLeft, "" ).replace( trimRight, "" ); - }, - - // results is for internal usage only - makeArray: function( array, results ) { - var ret = results || []; - - if ( array != null ) { - // The window, strings (and functions) also have 'length' - // The extra typeof function check is to prevent crashes - // in Safari 2 (See: #3039) - // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 - var type = jQuery.type( array ); - - if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) { - push.call( ret, array ); - } else { - jQuery.merge( ret, array ); - } - } - - return ret; - }, - - inArray: function( elem, array ) { - - if ( indexOf ) { - return indexOf.call( array, elem ); - } - - for ( var i = 0, length = array.length; i < length; i++ ) { - if ( array[ i ] === elem ) { - return i; - } - } - - return -1; - }, - - merge: function( first, second ) { - var i = first.length, - j = 0; - - if ( typeof second.length === "number" ) { - for ( var l = second.length; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var ret = [], retVal; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( var i = 0, length = elems.length; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, key, ret = [], - i = 0, - length = elems.length, - // jquery objects are treated as arrays - isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( key in elems ) { - value = callback( elems[ key ], key, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return ret.concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - if ( typeof context === "string" ) { - var tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - var args = slice.call( arguments, 2 ), - proxy = function() { - return fn.apply( context, args.concat( slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; - - return proxy; - }, - - // Mutifunctional method to get and set values to a collection - // The value/s can optionally be executed if it's a function - access: function( elems, key, value, exec, fn, pass ) { - var length = elems.length; - - // Setting many attributes - if ( typeof key === "object" ) { - for ( var k in key ) { - jQuery.access( elems, k, key[k], exec, fn, value ); - } - return elems; - } - - // Setting one attribute - if ( value !== undefined ) { - // Optionally, function values get executed if exec is true - exec = !pass && exec && jQuery.isFunction(value); - - for ( var i = 0; i < length; i++ ) { - fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); - } - - return elems; - } - - // Getting an attribute - return length ? fn( elems[0], key ) : undefined; - }, - - now: function() { - return (new Date()).getTime(); - }, - - // Use of jQuery.browser is frowned upon. - // More details: http://docs.jquery.com/Utilities/jQuery.browser - uaMatch: function( ua ) { - ua = ua.toLowerCase(); - - var match = rwebkit.exec( ua ) || - ropera.exec( ua ) || - rmsie.exec( ua ) || - ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) || - []; - - return { browser: match[1] || "", version: match[2] || "0" }; - }, - - sub: function() { - function jQuerySub( selector, context ) { - return new jQuerySub.fn.init( selector, context ); - } - jQuery.extend( true, jQuerySub, this ); - jQuerySub.superclass = this; - jQuerySub.fn = jQuerySub.prototype = this(); - jQuerySub.fn.constructor = jQuerySub; - jQuerySub.sub = this.sub; - jQuerySub.fn.init = function init( selector, context ) { - if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { - context = jQuerySub( context ); - } - - return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); - }; - jQuerySub.fn.init.prototype = jQuerySub.fn; - var rootjQuerySub = jQuerySub(document); - return jQuerySub; - }, - - browser: {} -}); - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -browserMatch = jQuery.uaMatch( userAgent ); -if ( browserMatch.browser ) { - jQuery.browser[ browserMatch.browser ] = true; - jQuery.browser.version = browserMatch.version; -} - -// Deprecated, use jQuery.browser.webkit instead -if ( jQuery.browser.webkit ) { - jQuery.browser.safari = true; -} - -// IE doesn't match non-breaking spaces with \s -if ( rnotwhite.test( "\xA0" ) ) { - trimLeft = /^[\s\xA0]+/; - trimRight = /[\s\xA0]+$/; -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); - -// Cleanup functions for the document ready method -if ( document.addEventListener ) { - DOMContentLoaded = function() { - document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - jQuery.ready(); - }; - -} else if ( document.attachEvent ) { - DOMContentLoaded = function() { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( document.readyState === "complete" ) { - document.detachEvent( "onreadystatechange", DOMContentLoaded ); - jQuery.ready(); - } - }; -} - -// The DOM ready check for Internet Explorer -function doScrollCheck() { - if ( jQuery.isReady ) { - return; - } - - try { - // If IE is used, use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - document.documentElement.doScroll("left"); - } catch(e) { - setTimeout( doScrollCheck, 1 ); - return; - } - - // and execute any waiting functions - jQuery.ready(); -} - -return jQuery; - -})(); - - -var // Promise methods - promiseMethods = "done fail isResolved isRejected promise then always pipe".split( " " ), - // Static reference to slice - sliceDeferred = [].slice; - -jQuery.extend({ - // Create a simple deferred (one callbacks list) - _Deferred: function() { - var // callbacks list - callbacks = [], - // stored [ context , args ] - fired, - // to avoid firing when already doing so - firing, - // flag to know if the deferred has been cancelled - cancelled, - // the deferred itself - deferred = { - - // done( f1, f2, ...) - done: function() { - if ( !cancelled ) { - var args = arguments, - i, - length, - elem, - type, - _fired; - if ( fired ) { - _fired = fired; - fired = 0; - } - for ( i = 0, length = args.length; i < length; i++ ) { - elem = args[ i ]; - type = jQuery.type( elem ); - if ( type === "array" ) { - deferred.done.apply( deferred, elem ); - } else if ( type === "function" ) { - callbacks.push( elem ); - } - } - if ( _fired ) { - deferred.resolveWith( _fired[ 0 ], _fired[ 1 ] ); - } - } - return this; - }, - - // resolve with given context and args - resolveWith: function( context, args ) { - if ( !cancelled && !fired && !firing ) { - // make sure args are available (#8421) - args = args || []; - firing = 1; - try { - while( callbacks[ 0 ] ) { - callbacks.shift().apply( context, args ); - } - } - finally { - fired = [ context, args ]; - firing = 0; - } - } - return this; - }, - - // resolve with this as context and given arguments - resolve: function() { - deferred.resolveWith( this, arguments ); - return this; - }, - - // Has this deferred been resolved? - isResolved: function() { - return !!( firing || fired ); - }, - - // Cancel - cancel: function() { - cancelled = 1; - callbacks = []; - return this; - } - }; - - return deferred; - }, - - // Full fledged deferred (two callbacks list) - Deferred: function( func ) { - var deferred = jQuery._Deferred(), - failDeferred = jQuery._Deferred(), - promise; - // Add errorDeferred methods, then and promise - jQuery.extend( deferred, { - then: function( doneCallbacks, failCallbacks ) { - deferred.done( doneCallbacks ).fail( failCallbacks ); - return this; - }, - always: function() { - return deferred.done.apply( deferred, arguments ).fail.apply( this, arguments ); - }, - fail: failDeferred.done, - rejectWith: failDeferred.resolveWith, - reject: failDeferred.resolve, - isRejected: failDeferred.isResolved, - pipe: function( fnDone, fnFail ) { - return jQuery.Deferred(function( newDefer ) { - jQuery.each( { - done: [ fnDone, "resolve" ], - fail: [ fnFail, "reject" ] - }, function( handler, data ) { - var fn = data[ 0 ], - action = data[ 1 ], - returned; - if ( jQuery.isFunction( fn ) ) { - deferred[ handler ](function() { - returned = fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise().then( newDefer.resolve, newDefer.reject ); - } else { - newDefer[ action ]( returned ); - } - }); - } else { - deferred[ handler ]( newDefer[ action ] ); - } - }); - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - if ( obj == null ) { - if ( promise ) { - return promise; - } - promise = obj = {}; - } - var i = promiseMethods.length; - while( i-- ) { - obj[ promiseMethods[i] ] = deferred[ promiseMethods[i] ]; - } - return obj; - } - }); - // Make sure only one callback list will be used - deferred.done( failDeferred.cancel ).fail( deferred.cancel ); - // Unexpose cancel - delete deferred.cancel; - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - return deferred; - }, - - // Deferred helper - when: function( firstParam ) { - var args = arguments, - i = 0, - length = args.length, - count = length, - deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ? - firstParam : - jQuery.Deferred(); - function resolveFunc( i ) { - return function( value ) { - args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value; - if ( !( --count ) ) { - // Strange bug in FF4: - // Values changed onto the arguments object sometimes end up as undefined values - // outside the $.when method. Cloning the object into a fresh array solves the issue - deferred.resolveWith( deferred, sliceDeferred.call( args, 0 ) ); - } - }; - } - if ( length > 1 ) { - for( ; i < length; i++ ) { - if ( args[ i ] && jQuery.isFunction( args[ i ].promise ) ) { - args[ i ].promise().then( resolveFunc(i), deferred.reject ); - } else { - --count; - } - } - if ( !count ) { - deferred.resolveWith( deferred, args ); - } - } else if ( deferred !== firstParam ) { - deferred.resolveWith( deferred, length ? [ firstParam ] : [] ); - } - return deferred.promise(); - } -}); - - - -jQuery.support = (function() { - - var div = document.createElement( "div" ), - documentElement = document.documentElement, - all, - a, - select, - opt, - input, - marginDiv, - support, - fragment, - body, - testElementParent, - testElement, - testElementStyle, - tds, - events, - eventName, - i, - isSupported; - - // Preliminary tests - div.setAttribute("className", "t"); - div.innerHTML = "
a"; - - all = div.getElementsByTagName( "*" ); - a = div.getElementsByTagName( "a" )[ 0 ]; - - // Can't get basic test support - if ( !all || !all.length || !a ) { - return {}; - } - - // First batch of supports tests - select = document.createElement( "select" ); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName( "input" )[ 0 ]; - - support = { - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: ( div.firstChild.nodeType === 3 ), - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName( "tbody" ).length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName( "link" ).length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: ( a.getAttribute( "href" ) === "/a" ), - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.55$/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Make sure that if no value is specified for a checkbox - // that it defaults to "on". - // (WebKit defaults to "" instead) - checkOn: ( input.value === "on" ), - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // Will be defined later - submitBubbles: true, - changeBubbles: true, - focusinBubbles: false, - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Test to see if it's possible to delete an expando from an element - // Fails in Internet Explorer - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - if ( !div.addEventListener && div.attachEvent && div.fireEvent ) { - div.attachEvent( "onclick", function() { - // Cloning a node shouldn't copy over any - // bound event handlers (IE does this) - support.noCloneEvent = false; - }); - div.cloneNode( true ).fireEvent( "onclick" ); - } - - // Check if a radio maintains it's value - // after being appended to the DOM - input = document.createElement("input"); - input.value = "t"; - input.setAttribute("type", "radio"); - support.radioValue = input.value === "t"; - - input.setAttribute("checked", "checked"); - div.appendChild( input ); - fragment = document.createDocumentFragment(); - fragment.appendChild( div.firstChild ); - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - div.innerHTML = ""; - - // Figure out if the W3C box model works as expected - div.style.width = div.style.paddingLeft = "1px"; - - body = document.getElementsByTagName( "body" )[ 0 ]; - // We use our own, invisible, body unless the body is already present - // in which case we use a div (#9239) - testElement = document.createElement( body ? "div" : "body" ); - testElementStyle = { - visibility: "hidden", - width: 0, - height: 0, - border: 0, - margin: 0 - }; - if ( body ) { - jQuery.extend( testElementStyle, { - position: "absolute", - left: -1000, - top: -1000 - }); - } - for ( i in testElementStyle ) { - testElement.style[ i ] = testElementStyle[ i ]; - } - testElement.appendChild( div ); - testElementParent = body || documentElement; - testElementParent.insertBefore( testElement, testElementParent.firstChild ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - support.boxModel = div.offsetWidth === 2; - - if ( "zoom" in div.style ) { - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - // (IE < 8 does this) - div.style.display = "inline"; - div.style.zoom = 1; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 2 ); - - // Check if elements with layout shrink-wrap their children - // (IE 6 does this) - div.style.display = ""; - div.innerHTML = "
"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 2 ); - } - - div.innerHTML = "
t
"; - tds = div.getElementsByTagName( "td" ); - - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - // (only IE 8 fails this test) - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Check if empty table cells still have offsetWidth/Height - // (IE < 8 fail this test) - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - div.innerHTML = ""; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. For more - // info see bug #3333 - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - if ( document.defaultView && document.defaultView.getComputedStyle ) { - marginDiv = document.createElement( "div" ); - marginDiv.style.width = "0"; - marginDiv.style.marginRight = "0"; - div.appendChild( marginDiv ); - support.reliableMarginRight = - ( parseInt( ( document.defaultView.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0; - } - - // Remove the body element we added - testElement.innerHTML = ""; - testElementParent.removeChild( testElement ); - - // Technique from Juriy Zaytsev - // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ - // We only care about the case where non-standard event systems - // are used, namely in IE. Short-circuiting here helps us to - // avoid an eval call (in setAttribute) which can cause CSP - // to go haywire. See: https://developer.mozilla.org/en/Security/CSP - if ( div.attachEvent ) { - for( i in { - submit: 1, - change: 1, - focusin: 1 - } ) { - eventName = "on" + i; - isSupported = ( eventName in div ); - if ( !isSupported ) { - div.setAttribute( eventName, "return;" ); - isSupported = ( typeof div[ eventName ] === "function" ); - } - support[ i + "Bubbles" ] = isSupported; - } - } - - // Null connected elements to avoid leaks in IE - testElement = fragment = select = opt = body = marginDiv = div = input = null; - - return support; -})(); - -// Keep track of boxModel -jQuery.boxModel = jQuery.support.boxModel; - - - - -var rbrace = /^(?:\{.*\}|\[.*\])$/, - rmultiDash = /([a-z])([A-Z])/g; - -jQuery.extend({ - cache: {}, - - // Please use with caution - uuid: 0, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data, pvt /* Internal Use Only */ ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var internalKey = jQuery.expando, getByName = typeof name === "string", thisCache, - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ jQuery.expando ] : elem[ jQuery.expando ] && jQuery.expando; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || (pvt && id && !cache[ id ][ internalKey ])) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ jQuery.expando ] = id = ++jQuery.uuid; - } else { - id = jQuery.expando; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // TODO: This is a hack for 1.5 ONLY. Avoids exposing jQuery - // metadata on plain JS objects when the object is serialized using - // JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ][ internalKey ] = jQuery.extend(cache[ id ][ internalKey ], name); - } else { - cache[ id ] = jQuery.extend(cache[ id ], name); - } - } - - thisCache = cache[ id ]; - - // Internal jQuery data is stored in a separate object inside the object's data - // cache in order to avoid key collisions between internal data and user-defined - // data - if ( pvt ) { - if ( !thisCache[ internalKey ] ) { - thisCache[ internalKey ] = {}; - } - - thisCache = thisCache[ internalKey ]; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // TODO: This is a hack for 1.5 ONLY. It will be removed in 1.6. Users should - // not attempt to inspect the internal events object using jQuery.data, as this - // internal data object is undocumented and subject to change. - if ( name === "events" && !thisCache[name] ) { - return thisCache[ internalKey ] && thisCache[ internalKey ].events; - } - - return getByName ? - // Check for both converted-to-camel and non-converted data property names - thisCache[ jQuery.camelCase( name ) ] || thisCache[ name ] : - thisCache; - }, - - removeData: function( elem, name, pvt /* Internal Use Only */ ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var internalKey = jQuery.expando, isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - - // See jQuery.data for more information - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - var thisCache = pvt ? cache[ id ][ internalKey ] : cache[ id ]; - - if ( thisCache ) { - delete thisCache[ name ]; - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !isEmptyDataObject(thisCache) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( pvt ) { - delete cache[ id ][ internalKey ]; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject(cache[ id ]) ) { - return; - } - } - - var internalCache = cache[ id ][ internalKey ]; - - // Browsers that fail expando deletion also refuse to delete expandos on - // the window, but it will allow it on all other JS objects; other browsers - // don't care - if ( jQuery.support.deleteExpando || cache != window ) { - delete cache[ id ]; - } else { - cache[ id ] = null; - } - - // We destroyed the entire user cache at once because it's faster than - // iterating through each key, but we need to continue to persist internal - // data if it existed - if ( internalCache ) { - cache[ id ] = {}; - // TODO: This is a hack for 1.5 ONLY. Avoids exposing jQuery - // metadata on plain JS objects when the object is serialized using - // JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - - cache[ id ][ internalKey ] = internalCache; - - // Otherwise, we need to eliminate the expando on the node to avoid - // false lookups in the cache for entries that no longer exist - } else if ( isNode ) { - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( jQuery.support.deleteExpando ) { - delete elem[ jQuery.expando ]; - } else if ( elem.removeAttribute ) { - elem.removeAttribute( jQuery.expando ); - } else { - elem[ jQuery.expando ] = null; - } - } - }, - - // For internal use only. - _data: function( elem, name, data ) { - return jQuery.data( elem, name, data, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - if ( elem.nodeName ) { - var match = jQuery.noData[ elem.nodeName.toLowerCase() ]; - - if ( match ) { - return !(match === true || elem.getAttribute("classid") !== match); - } - } - - return true; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var data = null; - - if ( typeof key === "undefined" ) { - if ( this.length ) { - data = jQuery.data( this[0] ); - - if ( this[0].nodeType === 1 ) { - var attr = this[0].attributes, name; - for ( var i = 0, l = attr.length; i < l; i++ ) { - name = attr[i].name; - - if ( name.indexOf( "data-" ) === 0 ) { - name = jQuery.camelCase( name.substring(5) ); - - dataAttr( this[0], name, data[ name ] ); - } - } - } - } - - return data; - - } else if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - var parts = key.split("."); - parts[1] = parts[1] ? "." + parts[1] : ""; - - if ( value === undefined ) { - data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); - - // Try to fetch any internally stored data first - if ( data === undefined && this.length ) { - data = jQuery.data( this[0], key ); - data = dataAttr( this[0], key, data ); - } - - return data === undefined && parts[1] ? - this.data( parts[0] ) : - data; - - } else { - return this.each(function() { - var $this = jQuery( this ), - args = [ parts[0], value ]; - - $this.triggerHandler( "setData" + parts[1] + "!", args ); - jQuery.data( this, key, value ); - $this.triggerHandler( "changeData" + parts[1] + "!", args ); - }); - } - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - var name = "data-" + key.replace( rmultiDash, "$1-$2" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - !jQuery.isNaN( data ) ? parseFloat( data ) : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// TODO: This is a hack for 1.5 ONLY to allow objects with a single toJSON -// property to be considered empty objects; this property always exists in -// order to make sure JSON.stringify does not expose internal metadata -function isEmptyDataObject( obj ) { - for ( var name in obj ) { - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} - - - - -function handleQueueMarkDefer( elem, type, src ) { - var deferDataKey = type + "defer", - queueDataKey = type + "queue", - markDataKey = type + "mark", - defer = jQuery.data( elem, deferDataKey, undefined, true ); - if ( defer && - ( src === "queue" || !jQuery.data( elem, queueDataKey, undefined, true ) ) && - ( src === "mark" || !jQuery.data( elem, markDataKey, undefined, true ) ) ) { - // Give room for hard-coded callbacks to fire first - // and eventually mark/queue something else on the element - setTimeout( function() { - if ( !jQuery.data( elem, queueDataKey, undefined, true ) && - !jQuery.data( elem, markDataKey, undefined, true ) ) { - jQuery.removeData( elem, deferDataKey, true ); - defer.resolve(); - } - }, 0 ); - } -} - -jQuery.extend({ - - _mark: function( elem, type ) { - if ( elem ) { - type = (type || "fx") + "mark"; - jQuery.data( elem, type, (jQuery.data(elem,type,undefined,true) || 0) + 1, true ); - } - }, - - _unmark: function( force, elem, type ) { - if ( force !== true ) { - type = elem; - elem = force; - force = false; - } - if ( elem ) { - type = type || "fx"; - var key = type + "mark", - count = force ? 0 : ( (jQuery.data( elem, key, undefined, true) || 1 ) - 1 ); - if ( count ) { - jQuery.data( elem, key, count, true ); - } else { - jQuery.removeData( elem, key, true ); - handleQueueMarkDefer( elem, type, "mark" ); - } - } - }, - - queue: function( elem, type, data ) { - if ( elem ) { - type = (type || "fx") + "queue"; - var q = jQuery.data( elem, type, undefined, true ); - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !q || jQuery.isArray(data) ) { - q = jQuery.data( elem, type, jQuery.makeArray(data), true ); - } else { - q.push( data ); - } - } - return q || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - fn = queue.shift(), - defer; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - } - - if ( fn ) { - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift("inprogress"); - } - - fn.call(elem, function() { - jQuery.dequeue(elem, type); - }); - } - - if ( !queue.length ) { - jQuery.removeData( elem, type + "queue", true ); - handleQueueMarkDefer( elem, type, "queue" ); - } - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - } - - if ( data === undefined ) { - return jQuery.queue( this[0], type ); - } - return this.each(function() { - var queue = jQuery.queue( this, type, data ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; - type = type || "fx"; - - return this.queue( type, function() { - var elem = this; - setTimeout(function() { - jQuery.dequeue( elem, type ); - }, time ); - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, object ) { - if ( typeof type !== "string" ) { - object = type; - type = undefined; - } - type = type || "fx"; - var defer = jQuery.Deferred(), - elements = this, - i = elements.length, - count = 1, - deferDataKey = type + "defer", - queueDataKey = type + "queue", - markDataKey = type + "mark", - tmp; - function resolve() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - } - while( i-- ) { - if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) || - ( jQuery.data( elements[ i ], queueDataKey, undefined, true ) || - jQuery.data( elements[ i ], markDataKey, undefined, true ) ) && - jQuery.data( elements[ i ], deferDataKey, jQuery._Deferred(), true ) )) { - count++; - tmp.done( resolve ); - } - } - resolve(); - return defer.promise(); - } -}); - - - - -var rclass = /[\n\t\r]/g, - rspace = /\s+/, - rreturn = /\r/g, - rtype = /^(?:button|input)$/i, - rfocusable = /^(?:button|input|object|select|textarea)$/i, - rclickable = /^a(?:rea)?$/i, - rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, - rinvalidChar = /\:|^on/, - formHook, boolHook; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, name, value, true, jQuery.attr ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, name, value, true, jQuery.prop ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classNames, i, l, elem, - setClass, c, cl; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call(this, j, this.className) ); - }); - } - - if ( value && typeof value === "string" ) { - classNames = value.split( rspace ); - - for ( i = 0, l = this.length; i < l; i++ ) { - elem = this[ i ]; - - if ( elem.nodeType === 1 ) { - if ( !elem.className && classNames.length === 1 ) { - elem.className = value; - - } else { - setClass = " " + elem.className + " "; - - for ( c = 0, cl = classNames.length; c < cl; c++ ) { - if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) { - setClass += classNames[ c ] + " "; - } - } - elem.className = jQuery.trim( setClass ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classNames, i, l, elem, className, c, cl; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call(this, j, this.className) ); - }); - } - - if ( (value && typeof value === "string") || value === undefined ) { - classNames = (value || "").split( rspace ); - - for ( i = 0, l = this.length; i < l; i++ ) { - elem = this[ i ]; - - if ( elem.nodeType === 1 && elem.className ) { - if ( value ) { - className = (" " + elem.className + " ").replace( rclass, " " ); - for ( c = 0, cl = classNames.length; c < cl; c++ ) { - className = className.replace(" " + classNames[ c ] + " ", " "); - } - elem.className = jQuery.trim( className ); - - } else { - elem.className = ""; - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.split( rspace ); - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space seperated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - } else if ( type === "undefined" || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // toggle whole className - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " "; - for ( var i = 0, l = this.length; i < l; i++ ) { - if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var hooks, ret, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.nodeName.toLowerCase() ] || jQuery.valHooks[ elem.type ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return undefined; - } - - var isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var self = jQuery(this), val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.nodeName.toLowerCase() ] || jQuery.valHooks[ this.type ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, - index = elem.selectedIndex, - values = [], - options = elem.options, - one = elem.type === "select-one"; - - // Nothing was selected - if ( index < 0 ) { - return null; - } - - // Loop through all the selected options - for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { - var option = options[ i ]; - - // Don't return options that are disabled or in a disabled optgroup - if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) && - (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - // Fixes Bug #2551 -- select.val() broken in IE after form.reset() - if ( one && !values.length && options.length ) { - return jQuery( options[ index ] ).val(); - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attrFn: { - val: true, - css: true, - html: true, - text: true, - data: true, - width: true, - height: true, - offset: true - }, - - attrFix: { - // Always normalize to ensure hook usage - tabindex: "tabIndex" - }, - - attr: function( elem, name, value, pass ) { - var nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return undefined; - } - - if ( pass && name in jQuery.attrFn ) { - return jQuery( elem )[ name ]( value ); - } - - // Fallback to prop when attributes are not supported - if ( !("getAttribute" in elem) ) { - return jQuery.prop( elem, name, value ); - } - - var ret, hooks, - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // Normalize the name if needed - if ( notxml ) { - name = jQuery.attrFix[ name ] || name; - - hooks = jQuery.attrHooks[ name ]; - - if ( !hooks ) { - // Use boolHook for boolean attributes - if ( rboolean.test( name ) ) { - - hooks = boolHook; - - // Use formHook for forms and if the name contains certain characters - } else if ( formHook && name !== "className" && - (jQuery.nodeName( elem, "form" ) || rinvalidChar.test( name )) ) { - - hooks = formHook; - } - } - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return undefined; - - } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, "" + value ); - return value; - } - - } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - ret = elem.getAttribute( name ); - - // Non-existent attributes return null, we normalize to undefined - return ret === null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, name ) { - var propName; - if ( elem.nodeType === 1 ) { - name = jQuery.attrFix[ name ] || name; - - if ( jQuery.support.getSetAttribute ) { - // Use removeAttribute in browsers that support it - elem.removeAttribute( name ); - } else { - jQuery.attr( elem, name, "" ); - elem.removeAttributeNode( elem.getAttributeNode( name ) ); - } - - // Set corresponding property to false for boolean attributes - if ( rboolean.test( name ) && (propName = jQuery.propFix[ name ] || name) in elem ) { - elem[ propName ] = false; - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - // We can't allow the type property to be changed (since it causes problems in IE) - if ( rtype.test( elem.nodeName ) && elem.parentNode ) { - jQuery.error( "type property can't be changed" ); - } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to it's default in case type is set after value - // This is for element creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - }, - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabIndex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - }, - // Use the value property for back compat - // Use the formHook for button elements in IE6/7 (#1954) - value: { - get: function( elem, name ) { - if ( formHook && jQuery.nodeName( elem, "button" ) ) { - return formHook.get( elem, name ); - } - return name in elem ? - elem.value : - null; - }, - set: function( elem, value, name ) { - if ( formHook && jQuery.nodeName( elem, "button" ) ) { - return formHook.set( elem, value, name ); - } - // Does not return so that setAttribute is also used - elem.value = value; - } - } - }, - - propFix: { - tabindex: "tabIndex", - readonly: "readOnly", - "for": "htmlFor", - "class": "className", - maxlength: "maxLength", - cellspacing: "cellSpacing", - cellpadding: "cellPadding", - rowspan: "rowSpan", - colspan: "colSpan", - usemap: "useMap", - frameborder: "frameBorder", - contenteditable: "contentEditable" - }, - - prop: function( elem, name, value ) { - var nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return undefined; - } - - var ret, hooks, - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return (elem[ name ] = value); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== undefined ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: {} -}); - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - // Align boolean attributes with corresponding properties - return jQuery.prop( elem, name ) ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - var propName; - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - // value is true since we know at this point it's type boolean and not false - // Set boolean attributes to the same name and set the DOM property - propName = jQuery.propFix[ name ] || name; - if ( propName in elem ) { - // Only set the IDL specifically if it already exists on the element - elem[ propName ] = true; - } - - elem.setAttribute( name, name.toLowerCase() ); - } - return name; - } -}; - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !jQuery.support.getSetAttribute ) { - - // propFix is more comprehensive and contains all fixes - jQuery.attrFix = jQuery.propFix; - - // Use this for any attribute on a form in IE6/7 - formHook = jQuery.attrHooks.name = jQuery.attrHooks.title = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret; - ret = elem.getAttributeNode( name ); - // Return undefined if nodeValue is empty string - return ret && ret.nodeValue !== "" ? - ret.nodeValue : - undefined; - }, - set: function( elem, value, name ) { - // Check form objects in IE (multiple bugs related) - // Only use nodeValue if the attribute node exists on the form - var ret = elem.getAttributeNode( name ); - if ( ret ) { - ret.nodeValue = value; - return value; - } - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); -} - - -// Some attributes require a special call on IE -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret === null ? undefined : ret; - } - }); - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Normalize to lowercase since IE uppercases css property names - return elem.style.cssText.toLowerCase() || undefined; - }, - set: function( elem, value ) { - return (elem.style.cssText = "" + value); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - }); -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return (elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0); - } - } - }); -}); - - - - -var rnamespaces = /\.(.*)$/, - rformElems = /^(?:textarea|input|select)$/i, - rperiod = /\./g, - rspaces = / /g, - rescape = /[^\w\s.|`]/g, - fcleanup = function( nm ) { - return nm.replace(rescape, "\\$&"); - }; - -/* - * A number of helper functions used for managing events. - * Many of the ideas behind this code originated from - * Dean Edwards' addEvent library. - */ -jQuery.event = { - - // Bind an event to an element - // Original by Dean Edwards - add: function( elem, types, handler, data ) { - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - if ( handler === false ) { - handler = returnFalse; - } else if ( !handler ) { - // Fixes bug #7229. Fix recommended by jdalton - return; - } - - var handleObjIn, handleObj; - - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - } - - // Make sure that the function being executed has a unique ID - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure - var elemData = jQuery._data( elem ); - - // If no elemData is found then we must be trying to bind to one of the - // banned noData elements - if ( !elemData ) { - return; - } - - var events = elemData.events, - eventHandle = elemData.handle; - - if ( !events ) { - elemData.events = events = {}; - } - - if ( !eventHandle ) { - elemData.handle = eventHandle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.handle.apply( eventHandle.elem, arguments ) : - undefined; - }; - } - - // Add elem as a property of the handle function - // This is to prevent a memory leak with non-native events in IE. - eventHandle.elem = elem; - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = types.split(" "); - - var type, i = 0, namespaces; - - while ( (type = types[ i++ ]) ) { - handleObj = handleObjIn ? - jQuery.extend({}, handleObjIn) : - { handler: handler, data: data }; - - // Namespaced event handlers - if ( type.indexOf(".") > -1 ) { - namespaces = type.split("."); - type = namespaces.shift(); - handleObj.namespace = namespaces.slice(0).sort().join("."); - - } else { - namespaces = []; - handleObj.namespace = ""; - } - - handleObj.type = type; - if ( !handleObj.guid ) { - handleObj.guid = handler.guid; - } - - // Get the current list of functions bound to this event - var handlers = events[ type ], - special = jQuery.event.special[ type ] || {}; - - // Init the event handler queue - if ( !handlers ) { - handlers = events[ type ] = []; - - // Check for a special event handler - // Only use addEventListener/attachEvent if the special - // events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add the function to the element's handler list - handlers.push( handleObj ); - - // Keep track of which events have been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - global: {}, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, pos ) { - // don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - if ( handler === false ) { - handler = returnFalse; - } - - var ret, type, fn, j, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ), - events = elemData && elemData.events; - - if ( !elemData || !events ) { - return; - } - - // types is actually an event object here - if ( types && types.type ) { - handler = types.handler; - types = types.type; - } - - // Unbind all events for the element - if ( !types || typeof types === "string" && types.charAt(0) === "." ) { - types = types || ""; - - for ( type in events ) { - jQuery.event.remove( elem, type + types ); - } - - return; - } - - // Handle multiple events separated by a space - // jQuery(...).unbind("mouseover mouseout", fn); - types = types.split(" "); - - while ( (type = types[ i++ ]) ) { - origType = type; - handleObj = null; - all = type.indexOf(".") < 0; - namespaces = []; - - if ( !all ) { - // Namespaced event handlers - namespaces = type.split("."); - type = namespaces.shift(); - - namespace = new RegExp("(^|\\.)" + - jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)"); - } - - eventType = events[ type ]; - - if ( !eventType ) { - continue; - } - - if ( !handler ) { - for ( j = 0; j < eventType.length; j++ ) { - handleObj = eventType[ j ]; - - if ( all || namespace.test( handleObj.namespace ) ) { - jQuery.event.remove( elem, origType, handleObj.handler, j ); - eventType.splice( j--, 1 ); - } - } - - continue; - } - - special = jQuery.event.special[ type ] || {}; - - for ( j = pos || 0; j < eventType.length; j++ ) { - handleObj = eventType[ j ]; - - if ( handler.guid === handleObj.guid ) { - // remove the given handler for the given type - if ( all || namespace.test( handleObj.namespace ) ) { - if ( pos == null ) { - eventType.splice( j--, 1 ); - } - - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - - if ( pos != null ) { - break; - } - } - } - - // remove generic event handler if no more handlers exist - if ( eventType.length === 0 || pos != null && eventType.length === 1 ) { - if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - ret = null; - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - var handle = elemData.handle; - if ( handle ) { - handle.elem = null; - } - - delete elemData.events; - delete elemData.handle; - - if ( jQuery.isEmptyObject( elemData ) ) { - jQuery.removeData( elem, undefined, true ); - } - } - }, - - // Events that are safe to short-circuit if no handlers are attached. - // Native DOM events should not be added, they may have inline handlers. - customEvent: { - "getData": true, - "setData": true, - "changeData": true - }, - - trigger: function( event, data, elem, onlyHandlers ) { - // Event object or event type - var type = event.type || event, - namespaces = [], - exclusive; - - if ( type.indexOf("!") >= 0 ) { - // Exclusive events trigger only for the exact event (no namespaces) - type = type.slice(0, -1); - exclusive = true; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - - if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) { - // No jQuery handlers for this event type, and it can't have inline handlers - return; - } - - // Caller can pass in an Event, Object, or just an event type string - event = typeof event === "object" ? - // jQuery.Event object - event[ jQuery.expando ] ? event : - // Object literal - new jQuery.Event( type, event ) : - // Just the event type (string) - new jQuery.Event( type ); - - event.type = type; - event.exclusive = exclusive; - event.namespace = namespaces.join("."); - event.namespace_re = new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)"); - - // triggerHandler() and global events don't bubble or run the default action - if ( onlyHandlers || !elem ) { - event.preventDefault(); - event.stopPropagation(); - } - - // Handle a global trigger - if ( !elem ) { - // TODO: Stop taunting the data cache; remove global events and always attach to document - jQuery.each( jQuery.cache, function() { - // internalKey variable is just used to make it easier to find - // and potentially change this stuff later; currently it just - // points to jQuery.expando - var internalKey = jQuery.expando, - internalCache = this[ internalKey ]; - if ( internalCache && internalCache.events && internalCache.events[ type ] ) { - jQuery.event.trigger( event, data, internalCache.handle.elem ); - } - }); - return; - } - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // Clean up the event in case it is being reused - event.result = undefined; - event.target = elem; - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data != null ? jQuery.makeArray( data ) : []; - data.unshift( event ); - - var cur = elem, - // IE doesn't like method names with a colon (#3533, #8272) - ontype = type.indexOf(":") < 0 ? "on" + type : ""; - - // Fire event on the current element, then bubble up the DOM tree - do { - var handle = jQuery._data( cur, "handle" ); - - event.currentTarget = cur; - if ( handle ) { - handle.apply( cur, data ); - } - - // Trigger an inline bound script - if ( ontype && jQuery.acceptData( cur ) && cur[ ontype ] && cur[ ontype ].apply( cur, data ) === false ) { - event.result = false; - event.preventDefault(); - } - - // Bubble up to document, then to window - cur = cur.parentNode || cur.ownerDocument || cur === event.target.ownerDocument && window; - } while ( cur && !event.isPropagationStopped() ); - - // If nobody prevented the default action, do it now - if ( !event.isDefaultPrevented() ) { - var old, - special = jQuery.event.special[ type ] || {}; - - if ( (!special._default || special._default.call( elem.ownerDocument, event ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction)() check here because IE6/7 fails that test. - // IE<9 dies on focus to hidden element (#1486), may want to revisit a try/catch. - try { - if ( ontype && elem[ type ] ) { - // Don't re-trigger an onFOO event when we call its FOO() method - old = elem[ ontype ]; - - if ( old ) { - elem[ ontype ] = null; - } - - jQuery.event.triggered = type; - elem[ type ](); - } - } catch ( ieError ) {} - - if ( old ) { - elem[ ontype ] = old; - } - - jQuery.event.triggered = undefined; - } - } - - return event.result; - }, - - handle: function( event ) { - event = jQuery.event.fix( event || window.event ); - // Snapshot the handlers list since a called handler may add/remove events. - var handlers = ((jQuery._data( this, "events" ) || {})[ event.type ] || []).slice(0), - run_all = !event.exclusive && !event.namespace, - args = Array.prototype.slice.call( arguments, 0 ); - - // Use the fix-ed Event rather than the (read-only) native event - args[0] = event; - event.currentTarget = this; - - for ( var j = 0, l = handlers.length; j < l; j++ ) { - var handleObj = handlers[ j ]; - - // Triggered event must 1) be non-exclusive and have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event. - if ( run_all || event.namespace_re.test( handleObj.namespace ) ) { - // Pass in a reference to the handler function itself - // So that we can later remove it - event.handler = handleObj.handler; - event.data = handleObj.data; - event.handleObj = handleObj; - - var ret = handleObj.handler.apply( this, args ); - - if ( ret !== undefined ) { - event.result = ret; - if ( ret === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - - if ( event.isImmediatePropagationStopped() ) { - break; - } - } - } - return event.result; - }, - - props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // store a copy of the original event object - // and "clone" to set read-only properties - var originalEvent = event; - event = jQuery.Event( originalEvent ); - - for ( var i = this.props.length, prop; i; ) { - prop = this.props[ --i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Fix target property, if necessary - if ( !event.target ) { - // Fixes #1925 where srcElement might not be defined either - event.target = event.srcElement || document; - } - - // check if target is a textnode (safari) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && event.fromElement ) { - event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement; - } - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && event.clientX != null ) { - var eventDocument = event.target.ownerDocument || document, - doc = eventDocument.documentElement, - body = eventDocument.body; - - event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0); - event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0); - } - - // Add which for key events - if ( event.which == null && (event.charCode != null || event.keyCode != null) ) { - event.which = event.charCode != null ? event.charCode : event.keyCode; - } - - // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs) - if ( !event.metaKey && event.ctrlKey ) { - event.metaKey = event.ctrlKey; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && event.button !== undefined ) { - event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) )); - } - - return event; - }, - - // Deprecated, use jQuery.guid instead - guid: 1E8, - - // Deprecated, use jQuery.proxy instead - proxy: jQuery.proxy, - - special: { - ready: { - // Make sure the ready event is setup - setup: jQuery.bindReady, - teardown: jQuery.noop - }, - - live: { - add: function( handleObj ) { - jQuery.event.add( this, - liveConvert( handleObj.origType, handleObj.selector ), - jQuery.extend({}, handleObj, {handler: liveHandler, guid: handleObj.handler.guid}) ); - }, - - remove: function( handleObj ) { - jQuery.event.remove( this, liveConvert( handleObj.origType, handleObj.selector ), handleObj ); - } - }, - - beforeunload: { - setup: function( data, namespaces, eventHandle ) { - // We only want to do this special case on windows - if ( jQuery.isWindow( this ) ) { - this.onbeforeunload = eventHandle; - } - }, - - teardown: function( namespaces, eventHandle ) { - if ( this.onbeforeunload === eventHandle ) { - this.onbeforeunload = null; - } - } - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - if ( elem.detachEvent ) { - elem.detachEvent( "on" + type, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !this.preventDefault ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault()) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // timeStamp is buggy for some events on Firefox(#3843) - // So we won't rely on the native value - this.timeStamp = jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -function returnFalse() { - return false; -} -function returnTrue() { - return true; -} - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - preventDefault: function() { - this.isDefaultPrevented = returnTrue; - - var e = this.originalEvent; - if ( !e ) { - return; - } - - // if preventDefault exists run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // otherwise set the returnValue property of the original event to false (IE) - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - this.isPropagationStopped = returnTrue; - - var e = this.originalEvent; - if ( !e ) { - return; - } - // if stopPropagation exists run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - // otherwise set the cancelBubble property of the original event to true (IE) - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - }, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse -}; - -// Checks if an event happened on an element within another element -// Used in jQuery.event.special.mouseenter and mouseleave handlers -var withinElement = function( event ) { - - // Check if mouse(over|out) are still within the same parent element - var related = event.relatedTarget, - inside = false, - eventType = event.type; - - event.type = event.data; - - if ( related !== this ) { - - if ( related ) { - inside = jQuery.contains( this, related ); - } - - if ( !inside ) { - - jQuery.event.handle.apply( this, arguments ); - - event.type = eventType; - } - } -}, - -// In case of event delegation, we only need to rename the event.type, -// liveHandler will take care of the rest. -delegate = function( event ) { - event.type = event.data; - jQuery.event.handle.apply( this, arguments ); -}; - -// Create mouseenter and mouseleave events -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - setup: function( data ) { - jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig ); - }, - teardown: function( data ) { - jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement ); - } - }; -}); - -// submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function( data, namespaces ) { - if ( !jQuery.nodeName( this, "form" ) ) { - jQuery.event.add(this, "click.specialSubmit", function( e ) { - var elem = e.target, - type = elem.type; - - if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) { - trigger( "submit", this, arguments ); - } - }); - - jQuery.event.add(this, "keypress.specialSubmit", function( e ) { - var elem = e.target, - type = elem.type; - - if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) { - trigger( "submit", this, arguments ); - } - }); - - } else { - return false; - } - }, - - teardown: function( namespaces ) { - jQuery.event.remove( this, ".specialSubmit" ); - } - }; - -} - -// change delegation, happens here so we have bind. -if ( !jQuery.support.changeBubbles ) { - - var changeFilters, - - getVal = function( elem ) { - var type = elem.type, val = elem.value; - - if ( type === "radio" || type === "checkbox" ) { - val = elem.checked; - - } else if ( type === "select-multiple" ) { - val = elem.selectedIndex > -1 ? - jQuery.map( elem.options, function( elem ) { - return elem.selected; - }).join("-") : - ""; - - } else if ( jQuery.nodeName( elem, "select" ) ) { - val = elem.selectedIndex; - } - - return val; - }, - - testChange = function testChange( e ) { - var elem = e.target, data, val; - - if ( !rformElems.test( elem.nodeName ) || elem.readOnly ) { - return; - } - - data = jQuery._data( elem, "_change_data" ); - val = getVal(elem); - - // the current data will be also retrieved by beforeactivate - if ( e.type !== "focusout" || elem.type !== "radio" ) { - jQuery._data( elem, "_change_data", val ); - } - - if ( data === undefined || val === data ) { - return; - } - - if ( data != null || val ) { - e.type = "change"; - e.liveFired = undefined; - jQuery.event.trigger( e, arguments[1], elem ); - } - }; - - jQuery.event.special.change = { - filters: { - focusout: testChange, - - beforedeactivate: testChange, - - click: function( e ) { - var elem = e.target, type = jQuery.nodeName( elem, "input" ) ? elem.type : ""; - - if ( type === "radio" || type === "checkbox" || jQuery.nodeName( elem, "select" ) ) { - testChange.call( this, e ); - } - }, - - // Change has to be called before submit - // Keydown will be called before keypress, which is used in submit-event delegation - keydown: function( e ) { - var elem = e.target, type = jQuery.nodeName( elem, "input" ) ? elem.type : ""; - - if ( (e.keyCode === 13 && !jQuery.nodeName( elem, "textarea" ) ) || - (e.keyCode === 32 && (type === "checkbox" || type === "radio")) || - type === "select-multiple" ) { - testChange.call( this, e ); - } - }, - - // Beforeactivate happens also before the previous element is blurred - // with this event you can't trigger a change event, but you can store - // information - beforeactivate: function( e ) { - var elem = e.target; - jQuery._data( elem, "_change_data", getVal(elem) ); - } - }, - - setup: function( data, namespaces ) { - if ( this.type === "file" ) { - return false; - } - - for ( var type in changeFilters ) { - jQuery.event.add( this, type + ".specialChange", changeFilters[type] ); - } - - return rformElems.test( this.nodeName ); - }, - - teardown: function( namespaces ) { - jQuery.event.remove( this, ".specialChange" ); - - return rformElems.test( this.nodeName ); - } - }; - - changeFilters = jQuery.event.special.change.filters; - - // Handle when the input is .focus()'d - changeFilters.focus = changeFilters.beforeactivate; -} - -function trigger( type, elem, args ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - // Don't pass args or remember liveFired; they apply to the donor event. - var event = jQuery.extend( {}, args[ 0 ] ); - event.type = type; - event.originalEvent = {}; - event.liveFired = undefined; - jQuery.event.handle.call( elem, event ); - if ( event.isDefaultPrevented() ) { - args[ 0 ].preventDefault(); - } -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - - function handler( donor ) { - // Donor event is always a native one; fix it and switch its type. - // Let focusin/out handler cancel the donor focus/blur event. - var e = jQuery.event.fix( donor ); - e.type = fix; - e.originalEvent = {}; - jQuery.event.trigger( e, null, e.target ); - if ( e.isDefaultPrevented() ) { - donor.preventDefault(); - } - } - }); -} - -jQuery.each(["bind", "one"], function( i, name ) { - jQuery.fn[ name ] = function( type, data, fn ) { - var handler; - - // Handle object literals - if ( typeof type === "object" ) { - for ( var key in type ) { - this[ name ](key, data, type[key], fn); - } - return this; - } - - if ( arguments.length === 2 || data === false ) { - fn = data; - data = undefined; - } - - if ( name === "one" ) { - handler = function( event ) { - jQuery( this ).unbind( event, handler ); - return fn.apply( this, arguments ); - }; - handler.guid = fn.guid || jQuery.guid++; - } else { - handler = fn; - } - - if ( type === "unload" && name !== "one" ) { - this.one( type, data, fn ); - - } else { - for ( var i = 0, l = this.length; i < l; i++ ) { - jQuery.event.add( this[i], type, handler, data ); - } - } - - return this; - }; -}); - -jQuery.fn.extend({ - unbind: function( type, fn ) { - // Handle object literals - if ( typeof type === "object" && !type.preventDefault ) { - for ( var key in type ) { - this.unbind(key, type[key]); - } - - } else { - for ( var i = 0, l = this.length; i < l; i++ ) { - jQuery.event.remove( this[i], type, fn ); - } - } - - return this; - }, - - delegate: function( selector, types, data, fn ) { - return this.live( types, data, fn, selector ); - }, - - undelegate: function( selector, types, fn ) { - if ( arguments.length === 0 ) { - return this.unbind( "live" ); - - } else { - return this.die( types, null, fn, selector ); - } - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - - triggerHandler: function( type, data ) { - if ( this[0] ) { - return jQuery.event.trigger( type, data, this[0], true ); - } - }, - - toggle: function( fn ) { - // Save reference to arguments for access in closure - var args = arguments, - guid = fn.guid || jQuery.guid++, - i = 0, - toggler = function( event ) { - // Figure out which function to execute - var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i; - jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 ); - - // Make sure that clicks stop - event.preventDefault(); - - // and execute the function - return args[ lastToggle ].apply( this, arguments ) || false; - }; - - // link all the functions, so any of them can unbind this click handler - toggler.guid = guid; - while ( i < args.length ) { - args[ i++ ].guid = guid; - } - - return this.click( toggler ); - }, - - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - } -}); - -var liveMap = { - focus: "focusin", - blur: "focusout", - mouseenter: "mouseover", - mouseleave: "mouseout" -}; - -jQuery.each(["live", "die"], function( i, name ) { - jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) { - var type, i = 0, match, namespaces, preType, - selector = origSelector || this.selector, - context = origSelector ? this : jQuery( this.context ); - - if ( typeof types === "object" && !types.preventDefault ) { - for ( var key in types ) { - context[ name ]( key, data, types[key], selector ); - } - - return this; - } - - if ( name === "die" && !types && - origSelector && origSelector.charAt(0) === "." ) { - - context.unbind( origSelector ); - - return this; - } - - if ( data === false || jQuery.isFunction( data ) ) { - fn = data || returnFalse; - data = undefined; - } - - types = (types || "").split(" "); - - while ( (type = types[ i++ ]) != null ) { - match = rnamespaces.exec( type ); - namespaces = ""; - - if ( match ) { - namespaces = match[0]; - type = type.replace( rnamespaces, "" ); - } - - if ( type === "hover" ) { - types.push( "mouseenter" + namespaces, "mouseleave" + namespaces ); - continue; - } - - preType = type; - - if ( liveMap[ type ] ) { - types.push( liveMap[ type ] + namespaces ); - type = type + namespaces; - - } else { - type = (liveMap[ type ] || type) + namespaces; - } - - if ( name === "live" ) { - // bind live handler - for ( var j = 0, l = context.length; j < l; j++ ) { - jQuery.event.add( context[j], "live." + liveConvert( type, selector ), - { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } ); - } - - } else { - // unbind live handler - context.unbind( "live." + liveConvert( type, selector ), fn ); - } - } - - return this; - }; -}); - -function liveHandler( event ) { - var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret, - elems = [], - selectors = [], - events = jQuery._data( this, "events" ); - - // Make sure we avoid non-left-click bubbling in Firefox (#3861) and disabled elements in IE (#6911) - if ( event.liveFired === this || !events || !events.live || event.target.disabled || event.button && event.type === "click" ) { - return; - } - - if ( event.namespace ) { - namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)"); - } - - event.liveFired = this; - - var live = events.live.slice(0); - - for ( j = 0; j < live.length; j++ ) { - handleObj = live[j]; - - if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) { - selectors.push( handleObj.selector ); - - } else { - live.splice( j--, 1 ); - } - } - - match = jQuery( event.target ).closest( selectors, event.currentTarget ); - - for ( i = 0, l = match.length; i < l; i++ ) { - close = match[i]; - - for ( j = 0; j < live.length; j++ ) { - handleObj = live[j]; - - if ( close.selector === handleObj.selector && (!namespace || namespace.test( handleObj.namespace )) && !close.elem.disabled ) { - elem = close.elem; - related = null; - - // Those two events require additional checking - if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) { - event.type = handleObj.preType; - related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0]; - - // Make sure not to accidentally match a child element with the same selector - if ( related && jQuery.contains( elem, related ) ) { - related = elem; - } - } - - if ( !related || related !== elem ) { - elems.push({ elem: elem, handleObj: handleObj, level: close.level }); - } - } - } - } - - for ( i = 0, l = elems.length; i < l; i++ ) { - match = elems[i]; - - if ( maxLevel && match.level > maxLevel ) { - break; - } - - event.currentTarget = match.elem; - event.data = match.handleObj.data; - event.handleObj = match.handleObj; - - ret = match.handleObj.origHandler.apply( match.elem, arguments ); - - if ( ret === false || event.isPropagationStopped() ) { - maxLevel = match.level; - - if ( ret === false ) { - stop = false; - } - if ( event.isImmediatePropagationStopped() ) { - break; - } - } - } - - return stop; -} - -function liveConvert( type, selector ) { - return (type && type !== "*" ? type + "." : "") + selector.replace(rperiod, "`").replace(rspaces, "&"); -} - -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - if ( fn == null ) { - fn = data; - data = null; - } - - return arguments.length > 0 ? - this.bind( name, data, fn ) : - this.trigger( name ); - }; - - if ( jQuery.attrFn ) { - jQuery.attrFn[ name ] = true; - } -}); - - - -/*! - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){ - -var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, - done = 0, - toString = Object.prototype.toString, - hasDuplicate = false, - baseHasDuplicate = true, - rBackslash = /\\/g, - rNonWord = /\W/; - -// Here we check if the JavaScript engine is using some sort of -// optimization where it does not always call our comparision -// function. If that is the case, discard the hasDuplicate value. -// Thus far that includes Google Chrome. -[0, 0].sort(function() { - baseHasDuplicate = false; - return 0; -}); - -var Sizzle = function( selector, context, results, seed ) { - results = results || []; - context = context || document; - - var origContext = context; - - if ( context.nodeType !== 1 && context.nodeType !== 9 ) { - return []; - } - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - var m, set, checkSet, extra, ret, cur, pop, i, - prune = true, - contextXML = Sizzle.isXML( context ), - parts = [], - soFar = selector; - - // Reset the position of the chunker regexp (start from head) - do { - chunker.exec( "" ); - m = chunker.exec( soFar ); - - if ( m ) { - soFar = m[3]; - - parts.push( m[1] ); - - if ( m[2] ) { - extra = m[3]; - break; - } - } - } while ( m ); - - if ( parts.length > 1 && origPOS.exec( selector ) ) { - - if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { - set = posProcess( parts[0] + parts[1], context ); - - } else { - set = Expr.relative[ parts[0] ] ? - [ context ] : - Sizzle( parts.shift(), context ); - - while ( parts.length ) { - selector = parts.shift(); - - if ( Expr.relative[ selector ] ) { - selector += parts.shift(); - } - - set = posProcess( selector, set ); - } - } - - } else { - // Take a shortcut and set the context if the root selector is an ID - // (but not if it'll be faster if the inner selector is an ID) - if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && - Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { - - ret = Sizzle.find( parts.shift(), context, contextXML ); - context = ret.expr ? - Sizzle.filter( ret.expr, ret.set )[0] : - ret.set[0]; - } - - if ( context ) { - ret = seed ? - { expr: parts.pop(), set: makeArray(seed) } : - Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); - - set = ret.expr ? - Sizzle.filter( ret.expr, ret.set ) : - ret.set; - - if ( parts.length > 0 ) { - checkSet = makeArray( set ); - - } else { - prune = false; - } - - while ( parts.length ) { - cur = parts.pop(); - pop = cur; - - if ( !Expr.relative[ cur ] ) { - cur = ""; - } else { - pop = parts.pop(); - } - - if ( pop == null ) { - pop = context; - } - - Expr.relative[ cur ]( checkSet, pop, contextXML ); - } - - } else { - checkSet = parts = []; - } - } - - if ( !checkSet ) { - checkSet = set; - } - - if ( !checkSet ) { - Sizzle.error( cur || selector ); - } - - if ( toString.call(checkSet) === "[object Array]" ) { - if ( !prune ) { - results.push.apply( results, checkSet ); - - } else if ( context && context.nodeType === 1 ) { - for ( i = 0; checkSet[i] != null; i++ ) { - if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) { - results.push( set[i] ); - } - } - - } else { - for ( i = 0; checkSet[i] != null; i++ ) { - if ( checkSet[i] && checkSet[i].nodeType === 1 ) { - results.push( set[i] ); - } - } - } - - } else { - makeArray( checkSet, results ); - } - - if ( extra ) { - Sizzle( extra, origContext, results, seed ); - Sizzle.uniqueSort( results ); - } - - return results; -}; - -Sizzle.uniqueSort = function( results ) { - if ( sortOrder ) { - hasDuplicate = baseHasDuplicate; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( var i = 1; i < results.length; i++ ) { - if ( results[i] === results[ i - 1 ] ) { - results.splice( i--, 1 ); - } - } - } - } - - return results; -}; - -Sizzle.matches = function( expr, set ) { - return Sizzle( expr, null, null, set ); -}; - -Sizzle.matchesSelector = function( node, expr ) { - return Sizzle( expr, null, null, [node] ).length > 0; -}; - -Sizzle.find = function( expr, context, isXML ) { - var set; - - if ( !expr ) { - return []; - } - - for ( var i = 0, l = Expr.order.length; i < l; i++ ) { - var match, - type = Expr.order[i]; - - if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { - var left = match[1]; - match.splice( 1, 1 ); - - if ( left.substr( left.length - 1 ) !== "\\" ) { - match[1] = (match[1] || "").replace( rBackslash, "" ); - set = Expr.find[ type ]( match, context, isXML ); - - if ( set != null ) { - expr = expr.replace( Expr.match[ type ], "" ); - break; - } - } - } - } - - if ( !set ) { - set = typeof context.getElementsByTagName !== "undefined" ? - context.getElementsByTagName( "*" ) : - []; - } - - return { set: set, expr: expr }; -}; - -Sizzle.filter = function( expr, set, inplace, not ) { - var match, anyFound, - old = expr, - result = [], - curLoop = set, - isXMLFilter = set && set[0] && Sizzle.isXML( set[0] ); - - while ( expr && set.length ) { - for ( var type in Expr.filter ) { - if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { - var found, item, - filter = Expr.filter[ type ], - left = match[1]; - - anyFound = false; - - match.splice(1,1); - - if ( left.substr( left.length - 1 ) === "\\" ) { - continue; - } - - if ( curLoop === result ) { - result = []; - } - - if ( Expr.preFilter[ type ] ) { - match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); - - if ( !match ) { - anyFound = found = true; - - } else if ( match === true ) { - continue; - } - } - - if ( match ) { - for ( var i = 0; (item = curLoop[i]) != null; i++ ) { - if ( item ) { - found = filter( item, match, i, curLoop ); - var pass = not ^ !!found; - - if ( inplace && found != null ) { - if ( pass ) { - anyFound = true; - - } else { - curLoop[i] = false; - } - - } else if ( pass ) { - result.push( item ); - anyFound = true; - } - } - } - } - - if ( found !== undefined ) { - if ( !inplace ) { - curLoop = result; - } - - expr = expr.replace( Expr.match[ type ], "" ); - - if ( !anyFound ) { - return []; - } - - break; - } - } - } - - // Improper expression - if ( expr === old ) { - if ( anyFound == null ) { - Sizzle.error( expr ); - - } else { - break; - } - } - - old = expr; - } - - return curLoop; -}; - -Sizzle.error = function( msg ) { - throw "Syntax error, unrecognized expression: " + msg; -}; - -var Expr = Sizzle.selectors = { - order: [ "ID", "NAME", "TAG" ], - - match: { - ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, - CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, - NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, - ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/, - TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, - CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, - POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, - PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ - }, - - leftMatch: {}, - - attrMap: { - "class": "className", - "for": "htmlFor" - }, - - attrHandle: { - href: function( elem ) { - return elem.getAttribute( "href" ); - }, - type: function( elem ) { - return elem.getAttribute( "type" ); - } - }, - - relative: { - "+": function(checkSet, part){ - var isPartStr = typeof part === "string", - isTag = isPartStr && !rNonWord.test( part ), - isPartStrNotTag = isPartStr && !isTag; - - if ( isTag ) { - part = part.toLowerCase(); - } - - for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { - if ( (elem = checkSet[i]) ) { - while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} - - checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? - elem || false : - elem === part; - } - } - - if ( isPartStrNotTag ) { - Sizzle.filter( part, checkSet, true ); - } - }, - - ">": function( checkSet, part ) { - var elem, - isPartStr = typeof part === "string", - i = 0, - l = checkSet.length; - - if ( isPartStr && !rNonWord.test( part ) ) { - part = part.toLowerCase(); - - for ( ; i < l; i++ ) { - elem = checkSet[i]; - - if ( elem ) { - var parent = elem.parentNode; - checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; - } - } - - } else { - for ( ; i < l; i++ ) { - elem = checkSet[i]; - - if ( elem ) { - checkSet[i] = isPartStr ? - elem.parentNode : - elem.parentNode === part; - } - } - - if ( isPartStr ) { - Sizzle.filter( part, checkSet, true ); - } - } - }, - - "": function(checkSet, part, isXML){ - var nodeCheck, - doneName = done++, - checkFn = dirCheck; - - if ( typeof part === "string" && !rNonWord.test( part ) ) { - part = part.toLowerCase(); - nodeCheck = part; - checkFn = dirNodeCheck; - } - - checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML ); - }, - - "~": function( checkSet, part, isXML ) { - var nodeCheck, - doneName = done++, - checkFn = dirCheck; - - if ( typeof part === "string" && !rNonWord.test( part ) ) { - part = part.toLowerCase(); - nodeCheck = part; - checkFn = dirNodeCheck; - } - - checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML ); - } - }, - - find: { - ID: function( match, context, isXML ) { - if ( typeof context.getElementById !== "undefined" && !isXML ) { - var m = context.getElementById(match[1]); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }, - - NAME: function( match, context ) { - if ( typeof context.getElementsByName !== "undefined" ) { - var ret = [], - results = context.getElementsByName( match[1] ); - - for ( var i = 0, l = results.length; i < l; i++ ) { - if ( results[i].getAttribute("name") === match[1] ) { - ret.push( results[i] ); - } - } - - return ret.length === 0 ? null : ret; - } - }, - - TAG: function( match, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( match[1] ); - } - } - }, - preFilter: { - CLASS: function( match, curLoop, inplace, result, not, isXML ) { - match = " " + match[1].replace( rBackslash, "" ) + " "; - - if ( isXML ) { - return match; - } - - for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { - if ( elem ) { - if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) { - if ( !inplace ) { - result.push( elem ); - } - - } else if ( inplace ) { - curLoop[i] = false; - } - } - } - - return false; - }, - - ID: function( match ) { - return match[1].replace( rBackslash, "" ); - }, - - TAG: function( match, curLoop ) { - return match[1].replace( rBackslash, "" ).toLowerCase(); - }, - - CHILD: function( match ) { - if ( match[1] === "nth" ) { - if ( !match[2] ) { - Sizzle.error( match[0] ); - } - - match[2] = match[2].replace(/^\+|\s*/g, ''); - - // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' - var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec( - match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || - !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); - - // calculate the numbers (first)n+(last) including if they are negative - match[2] = (test[1] + (test[2] || 1)) - 0; - match[3] = test[3] - 0; - } - else if ( match[2] ) { - Sizzle.error( match[0] ); - } - - // TODO: Move to normal caching system - match[0] = done++; - - return match; - }, - - ATTR: function( match, curLoop, inplace, result, not, isXML ) { - var name = match[1] = match[1].replace( rBackslash, "" ); - - if ( !isXML && Expr.attrMap[name] ) { - match[1] = Expr.attrMap[name]; - } - - // Handle if an un-quoted value was used - match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" ); - - if ( match[2] === "~=" ) { - match[4] = " " + match[4] + " "; - } - - return match; - }, - - PSEUDO: function( match, curLoop, inplace, result, not ) { - if ( match[1] === "not" ) { - // If we're dealing with a complex expression, or a simple one - if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { - match[3] = Sizzle(match[3], null, null, curLoop); - - } else { - var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); - - if ( !inplace ) { - result.push.apply( result, ret ); - } - - return false; - } - - } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { - return true; - } - - return match; - }, - - POS: function( match ) { - match.unshift( true ); - - return match; - } - }, - - filters: { - enabled: function( elem ) { - return elem.disabled === false && elem.type !== "hidden"; - }, - - disabled: function( elem ) { - return elem.disabled === true; - }, - - checked: function( elem ) { - return elem.checked === true; - }, - - selected: function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - parent: function( elem ) { - return !!elem.firstChild; - }, - - empty: function( elem ) { - return !elem.firstChild; - }, - - has: function( elem, i, match ) { - return !!Sizzle( match[3], elem ).length; - }, - - header: function( elem ) { - return (/h\d/i).test( elem.nodeName ); - }, - - text: function( elem ) { - var attr = elem.getAttribute( "type" ), type = elem.type; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null ); - }, - - radio: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type; - }, - - checkbox: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type; - }, - - file: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "file" === elem.type; - }, - - password: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "password" === elem.type; - }, - - submit: function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && "submit" === elem.type; - }, - - image: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "image" === elem.type; - }, - - reset: function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && "reset" === elem.type; - }, - - button: function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && "button" === elem.type || name === "button"; - }, - - input: function( elem ) { - return (/input|select|textarea|button/i).test( elem.nodeName ); - }, - - focus: function( elem ) { - return elem === elem.ownerDocument.activeElement; - } - }, - setFilters: { - first: function( elem, i ) { - return i === 0; - }, - - last: function( elem, i, match, array ) { - return i === array.length - 1; - }, - - even: function( elem, i ) { - return i % 2 === 0; - }, - - odd: function( elem, i ) { - return i % 2 === 1; - }, - - lt: function( elem, i, match ) { - return i < match[3] - 0; - }, - - gt: function( elem, i, match ) { - return i > match[3] - 0; - }, - - nth: function( elem, i, match ) { - return match[3] - 0 === i; - }, - - eq: function( elem, i, match ) { - return match[3] - 0 === i; - } - }, - filter: { - PSEUDO: function( elem, match, i, array ) { - var name = match[1], - filter = Expr.filters[ name ]; - - if ( filter ) { - return filter( elem, i, match, array ); - - } else if ( name === "contains" ) { - return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0; - - } else if ( name === "not" ) { - var not = match[3]; - - for ( var j = 0, l = not.length; j < l; j++ ) { - if ( not[j] === elem ) { - return false; - } - } - - return true; - - } else { - Sizzle.error( name ); - } - }, - - CHILD: function( elem, match ) { - var type = match[1], - node = elem; - - switch ( type ) { - case "only": - case "first": - while ( (node = node.previousSibling) ) { - if ( node.nodeType === 1 ) { - return false; - } - } - - if ( type === "first" ) { - return true; - } - - node = elem; - - case "last": - while ( (node = node.nextSibling) ) { - if ( node.nodeType === 1 ) { - return false; - } - } - - return true; - - case "nth": - var first = match[2], - last = match[3]; - - if ( first === 1 && last === 0 ) { - return true; - } - - var doneName = match[0], - parent = elem.parentNode; - - if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { - var count = 0; - - for ( node = parent.firstChild; node; node = node.nextSibling ) { - if ( node.nodeType === 1 ) { - node.nodeIndex = ++count; - } - } - - parent.sizcache = doneName; - } - - var diff = elem.nodeIndex - last; - - if ( first === 0 ) { - return diff === 0; - - } else { - return ( diff % first === 0 && diff / first >= 0 ); - } - } - }, - - ID: function( elem, match ) { - return elem.nodeType === 1 && elem.getAttribute("id") === match; - }, - - TAG: function( elem, match ) { - return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match; - }, - - CLASS: function( elem, match ) { - return (" " + (elem.className || elem.getAttribute("class")) + " ") - .indexOf( match ) > -1; - }, - - ATTR: function( elem, match ) { - var name = match[1], - result = Expr.attrHandle[ name ] ? - Expr.attrHandle[ name ]( elem ) : - elem[ name ] != null ? - elem[ name ] : - elem.getAttribute( name ), - value = result + "", - type = match[2], - check = match[4]; - - return result == null ? - type === "!=" : - type === "=" ? - value === check : - type === "*=" ? - value.indexOf(check) >= 0 : - type === "~=" ? - (" " + value + " ").indexOf(check) >= 0 : - !check ? - value && result !== false : - type === "!=" ? - value !== check : - type === "^=" ? - value.indexOf(check) === 0 : - type === "$=" ? - value.substr(value.length - check.length) === check : - type === "|=" ? - value === check || value.substr(0, check.length + 1) === check + "-" : - false; - }, - - POS: function( elem, match, i, array ) { - var name = match[2], - filter = Expr.setFilters[ name ]; - - if ( filter ) { - return filter( elem, i, match, array ); - } - } - } -}; - -var origPOS = Expr.match.POS, - fescape = function(all, num){ - return "\\" + (num - 0 + 1); - }; - -for ( var type in Expr.match ) { - Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) ); - Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) ); -} - -var makeArray = function( array, results ) { - array = Array.prototype.slice.call( array, 0 ); - - if ( results ) { - results.push.apply( results, array ); - return results; - } - - return array; -}; - -// Perform a simple check to determine if the browser is capable of -// converting a NodeList to an array using builtin methods. -// Also verifies that the returned array holds DOM nodes -// (which is not the case in the Blackberry browser) -try { - Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; - -// Provide a fallback method if it does not work -} catch( e ) { - makeArray = function( array, results ) { - var i = 0, - ret = results || []; - - if ( toString.call(array) === "[object Array]" ) { - Array.prototype.push.apply( ret, array ); - - } else { - if ( typeof array.length === "number" ) { - for ( var l = array.length; i < l; i++ ) { - ret.push( array[i] ); - } - - } else { - for ( ; array[i]; i++ ) { - ret.push( array[i] ); - } - } - } - - return ret; - }; -} - -var sortOrder, siblingCheck; - -if ( document.documentElement.compareDocumentPosition ) { - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { - return a.compareDocumentPosition ? -1 : 1; - } - - return a.compareDocumentPosition(b) & 4 ? -1 : 1; - }; - -} else { - sortOrder = function( a, b ) { - // The nodes are identical, we can exit early - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Fallback to using sourceIndex (in IE) if it's available on both nodes - } else if ( a.sourceIndex && b.sourceIndex ) { - return a.sourceIndex - b.sourceIndex; - } - - var al, bl, - ap = [], - bp = [], - aup = a.parentNode, - bup = b.parentNode, - cur = aup; - - // If the nodes are siblings (or identical) we can do a quick check - if ( aup === bup ) { - return siblingCheck( a, b ); - - // If no parents were found then the nodes are disconnected - } else if ( !aup ) { - return -1; - - } else if ( !bup ) { - return 1; - } - - // Otherwise they're somewhere else in the tree so we need - // to build up a full list of the parentNodes for comparison - while ( cur ) { - ap.unshift( cur ); - cur = cur.parentNode; - } - - cur = bup; - - while ( cur ) { - bp.unshift( cur ); - cur = cur.parentNode; - } - - al = ap.length; - bl = bp.length; - - // Start walking down the tree looking for a discrepancy - for ( var i = 0; i < al && i < bl; i++ ) { - if ( ap[i] !== bp[i] ) { - return siblingCheck( ap[i], bp[i] ); - } - } - - // We ended someplace up the tree so do a sibling check - return i === al ? - siblingCheck( a, bp[i], -1 ) : - siblingCheck( ap[i], b, 1 ); - }; - - siblingCheck = function( a, b, ret ) { - if ( a === b ) { - return ret; - } - - var cur = a.nextSibling; - - while ( cur ) { - if ( cur === b ) { - return -1; - } - - cur = cur.nextSibling; - } - - return 1; - }; -} - -// Utility function for retreiving the text value of an array of DOM nodes -Sizzle.getText = function( elems ) { - var ret = "", elem; - - for ( var i = 0; elems[i]; i++ ) { - elem = elems[i]; - - // Get the text from text nodes and CDATA nodes - if ( elem.nodeType === 3 || elem.nodeType === 4 ) { - ret += elem.nodeValue; - - // Traverse everything else, except comment nodes - } else if ( elem.nodeType !== 8 ) { - ret += Sizzle.getText( elem.childNodes ); - } - } - - return ret; -}; - -// Check to see if the browser returns elements by name when -// querying by getElementById (and provide a workaround) -(function(){ - // We're going to inject a fake input element with a specified name - var form = document.createElement("div"), - id = "script" + (new Date()).getTime(), - root = document.documentElement; - - form.innerHTML = ""; - - // Inject it into the root element, check its status, and remove it quickly - root.insertBefore( form, root.firstChild ); - - // The workaround has to do additional checks after a getElementById - // Which slows things down for other browsers (hence the branching) - if ( document.getElementById( id ) ) { - Expr.find.ID = function( match, context, isXML ) { - if ( typeof context.getElementById !== "undefined" && !isXML ) { - var m = context.getElementById(match[1]); - - return m ? - m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? - [m] : - undefined : - []; - } - }; - - Expr.filter.ID = function( elem, match ) { - var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); - - return elem.nodeType === 1 && node && node.nodeValue === match; - }; - } - - root.removeChild( form ); - - // release memory in IE - root = form = null; -})(); - -(function(){ - // Check to see if the browser returns only elements - // when doing getElementsByTagName("*") - - // Create a fake element - var div = document.createElement("div"); - div.appendChild( document.createComment("") ); - - // Make sure no comments are found - if ( div.getElementsByTagName("*").length > 0 ) { - Expr.find.TAG = function( match, context ) { - var results = context.getElementsByTagName( match[1] ); - - // Filter out possible comments - if ( match[1] === "*" ) { - var tmp = []; - - for ( var i = 0; results[i]; i++ ) { - if ( results[i].nodeType === 1 ) { - tmp.push( results[i] ); - } - } - - results = tmp; - } - - return results; - }; - } - - // Check to see if an attribute returns normalized href attributes - div.innerHTML = ""; - - if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && - div.firstChild.getAttribute("href") !== "#" ) { - - Expr.attrHandle.href = function( elem ) { - return elem.getAttribute( "href", 2 ); - }; - } - - // release memory in IE - div = null; -})(); - -if ( document.querySelectorAll ) { - (function(){ - var oldSizzle = Sizzle, - div = document.createElement("div"), - id = "__sizzle__"; - - div.innerHTML = "

"; - - // Safari can't handle uppercase or unicode characters when - // in quirks mode. - if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { - return; - } - - Sizzle = function( query, context, extra, seed ) { - context = context || document; - - // Only use querySelectorAll on non-XML documents - // (ID selectors don't work in non-HTML documents) - if ( !seed && !Sizzle.isXML(context) ) { - // See if we find a selector to speed up - var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query ); - - if ( match && (context.nodeType === 1 || context.nodeType === 9) ) { - // Speed-up: Sizzle("TAG") - if ( match[1] ) { - return makeArray( context.getElementsByTagName( query ), extra ); - - // Speed-up: Sizzle(".CLASS") - } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) { - return makeArray( context.getElementsByClassName( match[2] ), extra ); - } - } - - if ( context.nodeType === 9 ) { - // Speed-up: Sizzle("body") - // The body element only exists once, optimize finding it - if ( query === "body" && context.body ) { - return makeArray( [ context.body ], extra ); - - // Speed-up: Sizzle("#ID") - } else if ( match && match[3] ) { - var elem = context.getElementById( match[3] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id === match[3] ) { - return makeArray( [ elem ], extra ); - } - - } else { - return makeArray( [], extra ); - } - } - - try { - return makeArray( context.querySelectorAll(query), extra ); - } catch(qsaError) {} - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - var oldContext = context, - old = context.getAttribute( "id" ), - nid = old || id, - hasParent = context.parentNode, - relativeHierarchySelector = /^\s*[+~]/.test( query ); - - if ( !old ) { - context.setAttribute( "id", nid ); - } else { - nid = nid.replace( /'/g, "\\$&" ); - } - if ( relativeHierarchySelector && hasParent ) { - context = context.parentNode; - } - - try { - if ( !relativeHierarchySelector || hasParent ) { - return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra ); - } - - } catch(pseudoError) { - } finally { - if ( !old ) { - oldContext.removeAttribute( "id" ); - } - } - } - } - - return oldSizzle(query, context, extra, seed); - }; - - for ( var prop in oldSizzle ) { - Sizzle[ prop ] = oldSizzle[ prop ]; - } - - // release memory in IE - div = null; - })(); -} - -(function(){ - var html = document.documentElement, - matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector; - - if ( matches ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9 fails this) - var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ), - pseudoWorks = false; - - try { - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( document.documentElement, "[test!='']:sizzle" ); - - } catch( pseudoError ) { - pseudoWorks = true; - } - - Sizzle.matchesSelector = function( node, expr ) { - // Make sure that attribute selectors are quoted - expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); - - if ( !Sizzle.isXML( node ) ) { - try { - if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) { - var ret = matches.call( node, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || !disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9, so check for that - node.document && node.document.nodeType !== 11 ) { - return ret; - } - } - } catch(e) {} - } - - return Sizzle(expr, null, null, [node]).length > 0; - }; - } -})(); - -(function(){ - var div = document.createElement("div"); - - div.innerHTML = "
"; - - // Opera can't find a second classname (in 9.6) - // Also, make sure that getElementsByClassName actually exists - if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { - return; - } - - // Safari caches class attributes, doesn't catch changes (in 3.2) - div.lastChild.className = "e"; - - if ( div.getElementsByClassName("e").length === 1 ) { - return; - } - - Expr.order.splice(1, 0, "CLASS"); - Expr.find.CLASS = function( match, context, isXML ) { - if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { - return context.getElementsByClassName(match[1]); - } - }; - - // release memory in IE - div = null; -})(); - -function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - - if ( elem ) { - var match = false; - - elem = elem[dir]; - - while ( elem ) { - if ( elem.sizcache === doneName ) { - match = checkSet[elem.sizset]; - break; - } - - if ( elem.nodeType === 1 && !isXML ){ - elem.sizcache = doneName; - elem.sizset = i; - } - - if ( elem.nodeName.toLowerCase() === cur ) { - match = elem; - break; - } - - elem = elem[dir]; - } - - checkSet[i] = match; - } - } -} - -function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - - if ( elem ) { - var match = false; - - elem = elem[dir]; - - while ( elem ) { - if ( elem.sizcache === doneName ) { - match = checkSet[elem.sizset]; - break; - } - - if ( elem.nodeType === 1 ) { - if ( !isXML ) { - elem.sizcache = doneName; - elem.sizset = i; - } - - if ( typeof cur !== "string" ) { - if ( elem === cur ) { - match = true; - break; - } - - } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { - match = elem; - break; - } - } - - elem = elem[dir]; - } - - checkSet[i] = match; - } - } -} - -if ( document.documentElement.contains ) { - Sizzle.contains = function( a, b ) { - return a !== b && (a.contains ? a.contains(b) : true); - }; - -} else if ( document.documentElement.compareDocumentPosition ) { - Sizzle.contains = function( a, b ) { - return !!(a.compareDocumentPosition(b) & 16); - }; - -} else { - Sizzle.contains = function() { - return false; - }; -} - -Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; - - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -var posProcess = function( selector, context ) { - var match, - tmpSet = [], - later = "", - root = context.nodeType ? [context] : context; - - // Position selectors must be done after the filter - // And so must :not(positional) so we move all PSEUDOs to the end - while ( (match = Expr.match.PSEUDO.exec( selector )) ) { - later += match[0]; - selector = selector.replace( Expr.match.PSEUDO, "" ); - } - - selector = Expr.relative[selector] ? selector + "*" : selector; - - for ( var i = 0, l = root.length; i < l; i++ ) { - Sizzle( selector, root[i], tmpSet ); - } - - return Sizzle.filter( later, tmpSet ); -}; - -// EXPOSE -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.filters; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})(); - - -var runtil = /Until$/, - rparentsprev = /^(?:parents|prevUntil|prevAll)/, - // Note: This RegExp should be improved, or likely pulled from Sizzle - rmultiselector = /,/, - isSimple = /^.[^:#\[\.,]*$/, - slice = Array.prototype.slice, - POS = jQuery.expr.match.POS, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var self = this, - i, l; - - if ( typeof selector !== "string" ) { - return jQuery( selector ).filter(function() { - for ( i = 0, l = self.length; i < l; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }); - } - - var ret = this.pushStack( "", "find", selector ), - length, n, r; - - for ( i = 0, l = this.length; i < l; i++ ) { - length = ret.length; - jQuery.find( selector, this[i], ret ); - - if ( i > 0 ) { - // Make sure that the results are unique - for ( n = length; n < ret.length; n++ ) { - for ( r = 0; r < length; r++ ) { - if ( ret[r] === ret[n] ) { - ret.splice(n--, 1); - break; - } - } - } - } - } - - return ret; - }, - - has: function( target ) { - var targets = jQuery( target ); - return this.filter(function() { - for ( var i = 0, l = targets.length; i < l; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false), "not", selector); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true), "filter", selector ); - }, - - is: function( selector ) { - return !!selector && ( typeof selector === "string" ? - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var ret = [], i, l, cur = this[0]; - - // Array - if ( jQuery.isArray( selectors ) ) { - var match, selector, - matches = {}, - level = 1; - - if ( cur && selectors.length ) { - for ( i = 0, l = selectors.length; i < l; i++ ) { - selector = selectors[i]; - - if ( !matches[ selector ] ) { - matches[ selector ] = POS.test( selector ) ? - jQuery( selector, context || this.context ) : - selector; - } - } - - while ( cur && cur.ownerDocument && cur !== context ) { - for ( selector in matches ) { - match = matches[ selector ]; - - if ( match.jquery ? match.index( cur ) > -1 : jQuery( cur ).is( match ) ) { - ret.push({ selector: selector, elem: cur, level: level }); - } - } - - cur = cur.parentNode; - level++; - } - } - - return ret; - } - - // String - var pos = POS.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( i = 0, l = this.length; i < l; i++ ) { - cur = this[i]; - - while ( cur ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - - } else { - cur = cur.parentNode; - if ( !cur || !cur.ownerDocument || cur === context || cur.nodeType === 11 ) { - break; - } - } - } - } - - ret = ret.length > 1 ? jQuery.unique( ret ) : ret; - - return this.pushStack( ret, "closest", selectors ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - if ( !elem || typeof elem === "string" ) { - return jQuery.inArray( this[0], - // If it receives a string, the selector is used - // If it receives nothing, the siblings are used - elem ? jQuery( elem ) : this.parent().children() ); - } - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? - all : - jQuery.unique( all ) ); - }, - - andSelf: function() { - return this.add( this.prevObject ); - } -}); - -// A painfully simple check to see if an element is disconnected -// from a document (should be improved, where feasible). -function isDisconnected( node ) { - return !node || !node.parentNode || node.parentNode.nodeType === 11; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return jQuery.nth( elem, 2, "nextSibling" ); - }, - prev: function( elem ) { - return jQuery.nth( elem, 2, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( elem.parentNode.firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.makeArray( elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ), - // The variable 'args' was introduced in - // https://github.com/jquery/jquery/commit/52a0238 - // to work around a bug in Chrome 10 (Dev) and should be removed when the bug is fixed. - // http://code.google.com/p/v8/issues/detail?id=1050 - args = slice.call(arguments); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret, name, args.join(",") ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - nth: function( cur, result, dir, elem ) { - result = result || 1; - var num = 0; - - for ( ; cur; cur = cur[dir] ) { - if ( cur.nodeType === 1 && ++num === result ) { - break; - } - } - - return cur; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem, i ) { - return (elem === qualifier) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem, i ) { - return (jQuery.inArray( elem, qualifier ) >= 0) === keep; - }); -} - - - - -var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, - rtagName = /<([\w:]+)/, - rtbody = /", "" ], - legend: [ 1, "
", "
" ], - thead: [ 1, "", "
" ], - tr: [ 2, "", "
" ], - td: [ 3, "", "
" ], - col: [ 2, "", "
" ], - area: [ 1, "", "" ], - _default: [ 0, "", "" ] - }; - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -// IE can't serialize and - - - - - -
-

Google maps

-
- -
- - diff --git a/tests/mocha/clone.js b/tests/mocha/clone.js index 576d4ba..e77e91a 100644 --- a/tests/mocha/clone.js +++ b/tests/mocha/clone.js @@ -1 +1 @@ -document.querySelector("#block").className += "class"; +document.querySelector('#block').className += 'class'; diff --git a/tests/mocha/css.js b/tests/mocha/css.js index 885a4bc..f049c9c 100644 --- a/tests/mocha/css.js +++ b/tests/mocha/css.js @@ -3,15 +3,20 @@ var NodeContainer = html2canvas.NodeContainer; describe('Borders', function() { $('#borders div').each(function(i, node) { it($(this).attr('style'), function() { - ["borderTopWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth"].forEach(function(prop) { + [ + 'borderTopWidth', + 'borderRightWidth', + 'borderBottomWidth', + 'borderLeftWidth' + ].forEach(function(prop) { var result = $(node).css(prop); // older IE's don't necessarily return px even with jQuery - if (result === "thin") { - result = "1px"; - } else if (result === "medium") { - result = "3px"; - } else if (result === "thick") { - result = "5px"; + if (result === 'thin') { + result = '1px'; + } else if (result === 'medium') { + result = '3px'; + } else if (result === 'thick') { + result = '5px'; } var container = new NodeContainer(node, null); expect(container.css(prop)).to.be(result); @@ -23,10 +28,10 @@ describe('Borders', function() { describe('Padding', function() { $('#padding div').each(function(i, node) { it($(this).attr('style'), function() { - ["paddingTop", "paddingRight", "paddingBottom", "paddingLeft"].forEach(function(prop) { + ['paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft'].forEach(function(prop) { var container = new NodeContainer(node, null); var result = container.css(prop); - expect(result).to.contain("px"); + expect(result).to.contain('px'); expect(result, $(node).css(prop)); }); }); @@ -36,20 +41,25 @@ describe('Padding', function() { describe('Background-position', function() { $('#backgroundPosition div').each(function(i, node) { it($(this).attr('style'), function() { - var prop = "backgroundPosition"; - var img = new Image(); + var prop = 'backgroundPosition'; + var img = new Image(); img.width = 50; img.height = 50; var container = new NodeContainer(node, null); var item = container.css(prop), - backgroundPosition = container.parseBackgroundPosition(html2canvas.utils.getBounds(node), img), - split = (window.getComputedStyle) ? $(node).css(prop).split(" ") : [$(node).css(prop+"X"), $(node).css(prop+"Y")]; + backgroundPosition = container.parseBackgroundPosition( + html2canvas.utils.getBounds(node), + img + ), + split = window.getComputedStyle + ? $(node).css(prop).split(' ') + : [$(node).css(prop + 'X'), $(node).css(prop + 'Y')]; var testEl = $('
').css({ - 'position': 'absolute', - 'left': split[0], - 'top': split[1] + position: 'absolute', + left: split[0], + top: split[1] }); testEl.appendTo(node); @@ -158,8 +168,11 @@ describe('Background-image', function() { { prefix: '', method: 'url', - value: 'url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)', - args: ['data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'], + value: + 'url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)', + args: [ + 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' + ], image: null }, 'data url' @@ -171,7 +184,7 @@ describe('Background-image', function() { prefix: '', method: 'linear-gradient', value: 'linear-gradient(red,black)', - args: ['red','black'], + args: ['red', 'black'], image: null }, 'linear-gradient' @@ -195,26 +208,34 @@ describe('Background-image', function() { prefix: '-webkit-', method: 'linear-gradient', value: '-webkit-linear-gradient(red,black)', - args: ['red','black'], + args: ['red', 'black'], image: null }, 'prefixed linear-gradient' ); test_parse_background_image( - 'linear-gradient(red,black), url(test), url("test"),\n none, ', [ - { prefix: '', method: 'linear-gradient', value: 'linear-gradient(red,black)', args: ['red','black'], image: null }, - { prefix: '', method: 'url', value: 'url(test)', args: ['test'], image: null }, - { prefix: '', method: 'url', value: 'url("test")', args: ['test'], image: null }, - { prefix: '', method: 'none', value: 'none', args: [], image: null } + 'linear-gradient(red,black), url(test), url("test"),\n none, ', + [ + { + prefix: '', + method: 'linear-gradient', + value: 'linear-gradient(red,black)', + args: ['red', 'black'], + image: null + }, + {prefix: '', method: 'url', value: 'url(test)', args: ['test'], image: null}, + {prefix: '', method: 'url', value: 'url("test")', args: ['test'], image: null}, + {prefix: '', method: 'none', value: 'none', args: [], image: null} ], 'multiple backgrounds' ); - function test_parse_background_image(value, expected, name) { it(name, function() { - expect(html2canvas.utils.parseBackgrounds(value)).to.eql(Array.isArray(expected) ? expected : [expected]); + expect(html2canvas.utils.parseBackgrounds(value)).to.eql( + Array.isArray(expected) ? expected : [expected] + ); }); } }); diff --git a/tests/mocha/gradients.js b/tests/mocha/gradients.js index 8f616f0..2e30f31 100644 --- a/tests/mocha/gradients.js +++ b/tests/mocha/gradients.js @@ -1,158 +1,145 @@ -describe("Gradients", function() { +describe('Gradients', function() { var expected = [ { - method: "linear-gradient", - args: [ - "left", - " rgb(255, 0, 0)", - " rgb(255, 255, 0)", - " rgb(0, 255, 0)" - ] + method: 'linear-gradient', + args: ['left', ' rgb(255, 0, 0)', ' rgb(255, 255, 0)', ' rgb(0, 255, 0)'] }, { - method: "linear-gradient", + method: 'linear-gradient', + args: ['left', ' red', ' rgb(255, 255, 0)', ' rgb(0, 255, 0)'] + }, + { + method: 'linear-gradient', args: [ - "left", - " red", - " rgb(255, 255, 0)", - " rgb(0, 255, 0)" + 'left', + ' rgb(206, 219, 233) 0%', + ' rgb(170, 197, 222) 17%', + ' rgb(97, 153, 199) 50%', + ' rgb(58, 132, 195) 51%', + ' rgb(65, 154, 214) 59%', + ' rgb(75, 184, 240) 71%', + ' rgb(58, 139, 194) 84%', + ' rgb(38, 85, 139) 100%' ] }, { method: 'linear-gradient', args: [ - "left", - " rgb(206, 219, 233) 0%", - " rgb(170, 197, 222) 17%", - " rgb(97, 153, 199) 50%", - " rgb(58, 132, 195) 51%", - " rgb(65, 154, 214) 59%", - " rgb(75, 184, 240) 71%", - " rgb(58, 139, 194) 84%", - " rgb(38, 85, 139) 100%" + 'left', + ' rgb(206, 219, 233) 0%', + ' rgb(170, 197, 222) 17px', + ' rgb(97, 153, 199) 50%', + ' rgb(58, 132, 195) 51px', + ' rgb(65, 154, 214) 59%', + ' rgb(75, 184, 240) 71px', + ' rgb(58, 139, 194) 84%', + ' rgb(38, 85, 139) 100px' ] }, { - method: 'linear-gradient', + method: 'gradient', args: [ - "left", - " rgb(206, 219, 233) 0%", - " rgb(170, 197, 222) 17px", - " rgb(97, 153, 199) 50%", - " rgb(58, 132, 195) 51px", - " rgb(65, 154, 214) 59%", - " rgb(75, 184, 240) 71px", - " rgb(58, 139, 194) 84%", - " rgb(38, 85, 139) 100px" + 'linear', + ' 50% 0%', + ' 50% 100%', + ' from(rgb(240, 183, 161))', + ' color-stop(0.5, rgb(140, 51, 16))', + ' color-stop(0.51, rgb(117, 34, 1))', + ' to(rgb(191, 110, 78))' ] }, { - method: "gradient", + method: 'gradient', args: [ - "linear", - " 50% 0%", - " 50% 100%", - " from(rgb(240, 183, 161))", - " color-stop(0.5, rgb(140, 51, 16))", - " color-stop(0.51, rgb(117, 34, 1))", - " to(rgb(191, 110, 78))" - ] - }, - { - method: "gradient", - args: [ - "linear", - " 50% 0%", - " 50% 100%", - " from(rgb(255, 0, 0))", - " color-stop(0.314159, green)", - " color-stop(0.51, rgb(0, 0, 255))", + 'linear', + ' 50% 0%', + ' 50% 100%', + ' from(rgb(255, 0, 0))', + ' color-stop(0.314159, green)', + ' color-stop(0.51, rgb(0, 0, 255))', // temporary workaround for Blink/WebKit bug: crbug.com/453414 //" to(rgba(0, 0, 0, 0.5))" - " to(rgba(0, 0, 0, 0))" + ' to(rgba(0, 0, 0, 0))' ] }, { method: 'linear-gradient', + args: ['0deg', ' rgb(221, 221, 221)', ' rgb(221, 221, 221) 50%', ' transparent 50%'] + }, + { + method: 'radial-gradient', args: [ - "0deg", - " rgb(221, 221, 221)", - " rgb(221, 221, 221) 50%", - " transparent 50%" + '75% 19%', + ' ellipse closest-side', + ' rgb(171, 171, 171)', + ' rgb(0, 0, 255) 33%', + ' rgb(153, 31, 31) 100%' ] }, { - method: "radial-gradient", + method: 'radial-gradient', args: [ - "75% 19%", - " ellipse closest-side", - " rgb(171, 171, 171)", - " rgb(0, 0, 255) 33%", - " rgb(153, 31, 31) 100%" + '75% 19%', + ' ellipse closest-corner', + ' rgb(171, 171, 171)', + ' rgb(0, 0, 255) 33%', + ' rgb(153, 31, 31) 100%' ] }, { - method: "radial-gradient", + method: 'radial-gradient', args: [ - "75% 19%", - " ellipse closest-corner", - " rgb(171, 171, 171)", - " rgb(0, 0, 255) 33%", - " rgb(153, 31, 31) 100%" + '75% 19%', + ' ellipse farthest-side', + ' rgb(171, 171, 171)', + ' rgb(0, 0, 255) 33%', + ' rgb(153, 31, 31) 100%' ] }, { - method: "radial-gradient", + method: 'radial-gradient', args: [ - "75% 19%", - " ellipse farthest-side", - " rgb(171, 171, 171)", - " rgb(0, 0, 255) 33%", - " rgb(153, 31, 31) 100%" + '75% 19%', + ' ellipse farthest-corner', + ' rgb(171, 171, 171)', + ' rgb(0, 0, 255) 33%', + ' rgb(153, 31, 31) 100%' ] }, { - method: "radial-gradient", + method: 'radial-gradient', args: [ - "75% 19%", - " ellipse farthest-corner", - " rgb(171, 171, 171)", - " rgb(0, 0, 255) 33%", - " rgb(153, 31, 31) 100%" + '75% 19%', + ' ellipse contain', + ' rgb(171, 171, 171)', + ' rgb(0, 0, 255) 33%', + ' rgb(153, 31, 31) 100%' ] }, { - method: "radial-gradient", + method: 'radial-gradient', args: [ - "75% 19%", - " ellipse contain", - " rgb(171, 171, 171)", - " rgb(0, 0, 255) 33%", - " rgb(153, 31, 31) 100%" - ] - }, - { - method: "radial-gradient", - args: [ - "75% 19%", - " ellipse cover", - " rgb(171, 171, 171)", - " rgb(0, 0, 255) 33%", - " rgb(153, 31, 31) 100%" + '75% 19%', + ' ellipse cover', + ' rgb(171, 171, 171)', + ' rgb(0, 0, 255) 33%', + ' rgb(153, 31, 31) 100%' ] } ]; - [].slice.call(document.querySelectorAll('#backgroundGradients div'), 0).forEach(function(node, i) { - var container = new html2canvas.NodeContainer(node, null); - var value = container.css("backgroundImage"); - it(value, function() { - var parsedBackground = html2canvas.utils.parseBackgrounds(value); - if (parsedBackground[0].args[0] === "0% 50%") { - parsedBackground[0].args[0] = 'left'; - } - expect(parsedBackground[0].args).to.eql(expected[i].args); - expect(parsedBackground[0].method).to.eql(expected[i].method); + [].slice + .call(document.querySelectorAll('#backgroundGradients div'), 0) + .forEach(function(node, i) { + var container = new html2canvas.NodeContainer(node, null); + var value = container.css('backgroundImage'); + it(value, function() { + var parsedBackground = html2canvas.utils.parseBackgrounds(value); + if (parsedBackground[0].args[0] === '0% 50%') { + parsedBackground[0].args[0] = 'left'; + } + expect(parsedBackground[0].args).to.eql(expected[i].args); + expect(parsedBackground[0].method).to.eql(expected[i].method); + }); }); - }); }); diff --git a/tests/mocha/lib/expect.js b/tests/mocha/lib/expect.js index b1e921d..808721c 100644 --- a/tests/mocha/lib/expect.js +++ b/tests/mocha/lib/expect.js @@ -1,241 +1,265 @@ -(function (global, module) { +(function(global, module) { + var exports = module.exports; - var exports = module.exports; - - /** + /** * Exports. */ - module.exports = expect; - expect.Assertion = Assertion; + module.exports = expect; + expect.Assertion = Assertion; - /** + /** * Exports version. */ - expect.version = '0.3.1'; + expect.version = '0.3.1'; - /** + /** * Possible assertion flags. */ - var flags = { - not: ['to', 'be', 'have', 'include', 'only'] - , to: ['be', 'have', 'include', 'only', 'not'] - , only: ['have'] - , have: ['own'] - , be: ['an'] - }; + var flags = { + not: ['to', 'be', 'have', 'include', 'only'], + to: ['be', 'have', 'include', 'only', 'not'], + only: ['have'], + have: ['own'], + be: ['an'] + }; - function expect (obj) { - return new Assertion(obj); - } + function expect(obj) { + return new Assertion(obj); + } - /** + /** * Constructor * * @api private */ - function Assertion (obj, flag, parent) { - this.obj = obj; - this.flags = {}; + function Assertion(obj, flag, parent) { + this.obj = obj; + this.flags = {}; - if (undefined != parent) { - this.flags[flag] = true; + if (undefined != parent) { + this.flags[flag] = true; - for (var i in parent.flags) { - if (parent.flags.hasOwnProperty(i)) { - this.flags[i] = true; - } - } - } - - var $flags = flag ? flags[flag] : keys(flags) - , self = this; - - if ($flags) { - for (var i = 0, l = $flags.length; i < l; i++) { - // avoid recursion - if (this.flags[$flags[i]]) continue; - - var name = $flags[i] - , assertion = new Assertion(this.obj, name, this) - - if ('function' == typeof Assertion.prototype[name]) { - // clone the function, make sure we dont touch the prot reference - var old = this[name]; - this[name] = function () { - return old.apply(self, arguments); - }; - - for (var fn in Assertion.prototype) { - if (Assertion.prototype.hasOwnProperty(fn) && fn != name) { - this[name][fn] = bind(assertion[fn], assertion); + for (var i in parent.flags) { + if (parent.flags.hasOwnProperty(i)) { + this.flags[i] = true; + } } - } - } else { - this[name] = assertion; } - } - } - } - /** + var $flags = flag ? flags[flag] : keys(flags), + self = this; + + if ($flags) { + for (var i = 0, l = $flags.length; i < l; i++) { + // avoid recursion + if (this.flags[$flags[i]]) continue; + + var name = $flags[i], + assertion = new Assertion(this.obj, name, this); + + if ('function' == typeof Assertion.prototype[name]) { + // clone the function, make sure we dont touch the prot reference + var old = this[name]; + this[name] = function() { + return old.apply(self, arguments); + }; + + for (var fn in Assertion.prototype) { + if (Assertion.prototype.hasOwnProperty(fn) && fn != name) { + this[name][fn] = bind(assertion[fn], assertion); + } + } + } else { + this[name] = assertion; + } + } + } + } + + /** * Performs an assertion * * @api private */ - Assertion.prototype.assert = function (truth, msg, error, expected) { - var msg = this.flags.not ? error : msg - , ok = this.flags.not ? !truth : truth - , err; + Assertion.prototype.assert = function(truth, msg, error, expected) { + var msg = this.flags.not ? error : msg, + ok = this.flags.not ? !truth : truth, + err; - if (!ok) { - err = new Error(msg.call(this)); - if (arguments.length > 3) { - err.actual = this.obj; - err.expected = expected; - err.showDiff = true; - } - throw err; - } + if (!ok) { + err = new Error(msg.call(this)); + if (arguments.length > 3) { + err.actual = this.obj; + err.expected = expected; + err.showDiff = true; + } + throw err; + } - this.and = new Assertion(this.obj); - }; + this.and = new Assertion(this.obj); + }; - /** + /** * Check if the value is truthy * * @api public */ - Assertion.prototype.ok = function () { - this.assert( - !!this.obj - , function(){ return 'expected ' + i(this.obj) + ' to be truthy' } - , function(){ return 'expected ' + i(this.obj) + ' to be falsy' }); - }; + Assertion.prototype.ok = function() { + this.assert( + !!this.obj, + function() { + return 'expected ' + i(this.obj) + ' to be truthy'; + }, + function() { + return 'expected ' + i(this.obj) + ' to be falsy'; + } + ); + }; - /** + /** * Creates an anonymous function which calls fn with arguments. * * @api public */ - Assertion.prototype.withArgs = function() { - expect(this.obj).to.be.a('function'); - var fn = this.obj; - var args = Array.prototype.slice.call(arguments); - return expect(function() { fn.apply(null, args); }); - }; + Assertion.prototype.withArgs = function() { + expect(this.obj).to.be.a('function'); + var fn = this.obj; + var args = Array.prototype.slice.call(arguments); + return expect(function() { + fn.apply(null, args); + }); + }; - /** + /** * Assert that the function throws. * * @param {Function|RegExp} callback, or regexp to match error string against * @api public */ - Assertion.prototype.throwError = - Assertion.prototype.throwException = function (fn) { - expect(this.obj).to.be.a('function'); + Assertion.prototype.throwError = Assertion.prototype.throwException = function(fn) { + expect(this.obj).to.be.a('function'); - var thrown = false - , not = this.flags.not; + var thrown = false, + not = this.flags.not; - try { - this.obj(); - } catch (e) { - if (isRegExp(fn)) { - var subject = 'string' == typeof e ? e : e.message; - if (not) { - expect(subject).to.not.match(fn); - } else { - expect(subject).to.match(fn); + try { + this.obj(); + } catch (e) { + if (isRegExp(fn)) { + var subject = 'string' == typeof e ? e : e.message; + if (not) { + expect(subject).to.not.match(fn); + } else { + expect(subject).to.match(fn); + } + } else if ('function' == typeof fn) { + fn(e); + } + thrown = true; } - } else if ('function' == typeof fn) { - fn(e); - } - thrown = true; - } - if (isRegExp(fn) && not) { - // in the presence of a matcher, ensure the `not` only applies to - // the matching. - this.flags.not = false; - } + if (isRegExp(fn) && not) { + // in the presence of a matcher, ensure the `not` only applies to + // the matching. + this.flags.not = false; + } - var name = this.obj.name || 'fn'; - this.assert( - thrown - , function(){ return 'expected ' + name + ' to throw an exception' } - , function(){ return 'expected ' + name + ' not to throw an exception' }); - }; + var name = this.obj.name || 'fn'; + this.assert( + thrown, + function() { + return 'expected ' + name + ' to throw an exception'; + }, + function() { + return 'expected ' + name + ' not to throw an exception'; + } + ); + }; - /** + /** * Checks if the array is empty. * * @api public */ - Assertion.prototype.empty = function () { - var expectation; + Assertion.prototype.empty = function() { + var expectation; - if ('object' == typeof this.obj && null !== this.obj && !isArray(this.obj)) { - if ('number' == typeof this.obj.length) { - expectation = !this.obj.length; - } else { - expectation = !keys(this.obj).length; - } - } else { - if ('string' != typeof this.obj) { - expect(this.obj).to.be.an('object'); - } + if ('object' == typeof this.obj && null !== this.obj && !isArray(this.obj)) { + if ('number' == typeof this.obj.length) { + expectation = !this.obj.length; + } else { + expectation = !keys(this.obj).length; + } + } else { + if ('string' != typeof this.obj) { + expect(this.obj).to.be.an('object'); + } - expect(this.obj).to.have.property('length'); - expectation = !this.obj.length; - } + expect(this.obj).to.have.property('length'); + expectation = !this.obj.length; + } - this.assert( - expectation - , function(){ return 'expected ' + i(this.obj) + ' to be empty' } - , function(){ return 'expected ' + i(this.obj) + ' to not be empty' }); - return this; - }; + this.assert( + expectation, + function() { + return 'expected ' + i(this.obj) + ' to be empty'; + }, + function() { + return 'expected ' + i(this.obj) + ' to not be empty'; + } + ); + return this; + }; - /** + /** * Checks if the obj exactly equals another. * * @api public */ - Assertion.prototype.be = - Assertion.prototype.equal = function (obj) { - this.assert( - obj === this.obj - , function(){ return 'expected ' + i(this.obj) + ' to equal ' + i(obj) } - , function(){ return 'expected ' + i(this.obj) + ' to not equal ' + i(obj) }); - return this; - }; + Assertion.prototype.be = Assertion.prototype.equal = function(obj) { + this.assert( + obj === this.obj, + function() { + return 'expected ' + i(this.obj) + ' to equal ' + i(obj); + }, + function() { + return 'expected ' + i(this.obj) + ' to not equal ' + i(obj); + } + ); + return this; + }; - /** + /** * Checks if the obj sortof equals another. * * @api public */ - Assertion.prototype.eql = function (obj) { - this.assert( - expect.eql(this.obj, obj) - , function(){ return 'expected ' + i(this.obj) + ' to sort of equal ' + i(obj) } - , function(){ return 'expected ' + i(this.obj) + ' to sort of not equal ' + i(obj) } - , obj); - return this; - }; + Assertion.prototype.eql = function(obj) { + this.assert( + expect.eql(this.obj, obj), + function() { + return 'expected ' + i(this.obj) + ' to sort of equal ' + i(obj); + }, + function() { + return 'expected ' + i(this.obj) + ' to sort of not equal ' + i(obj); + }, + obj + ); + return this; + }; - /** + /** * Assert within start to finish (inclusive). * * @param {Number} start @@ -243,113 +267,147 @@ * @api public */ - Assertion.prototype.within = function (start, finish) { - var range = start + '..' + finish; - this.assert( - this.obj >= start && this.obj <= finish - , function(){ return 'expected ' + i(this.obj) + ' to be within ' + range } - , function(){ return 'expected ' + i(this.obj) + ' to not be within ' + range }); - return this; - }; + Assertion.prototype.within = function(start, finish) { + var range = start + '..' + finish; + this.assert( + this.obj >= start && this.obj <= finish, + function() { + return 'expected ' + i(this.obj) + ' to be within ' + range; + }, + function() { + return 'expected ' + i(this.obj) + ' to not be within ' + range; + } + ); + return this; + }; - /** + /** * Assert typeof / instance of * * @api public */ - Assertion.prototype.a = - Assertion.prototype.an = function (type) { - if ('string' == typeof type) { - // proper english in error msg - var n = /^[aeiou]/.test(type) ? 'n' : ''; + Assertion.prototype.a = Assertion.prototype.an = function(type) { + if ('string' == typeof type) { + // proper english in error msg + var n = /^[aeiou]/.test(type) ? 'n' : ''; - // typeof with support for 'array' - this.assert( - 'array' == type ? isArray(this.obj) : - 'regexp' == type ? isRegExp(this.obj) : - 'object' == type - ? 'object' == typeof this.obj && null !== this.obj - : type == typeof this.obj - , function(){ return 'expected ' + i(this.obj) + ' to be a' + n + ' ' + type } - , function(){ return 'expected ' + i(this.obj) + ' not to be a' + n + ' ' + type }); - } else { - // instanceof - var name = type.name || 'supplied constructor'; - this.assert( - this.obj instanceof type - , function(){ return 'expected ' + i(this.obj) + ' to be an instance of ' + name } - , function(){ return 'expected ' + i(this.obj) + ' not to be an instance of ' + name }); - } + // typeof with support for 'array' + this.assert( + 'array' == type + ? isArray(this.obj) + : 'regexp' == type + ? isRegExp(this.obj) + : 'object' == type + ? 'object' == typeof this.obj && null !== this.obj + : type == typeof this.obj, + function() { + return 'expected ' + i(this.obj) + ' to be a' + n + ' ' + type; + }, + function() { + return 'expected ' + i(this.obj) + ' not to be a' + n + ' ' + type; + } + ); + } else { + // instanceof + var name = type.name || 'supplied constructor'; + this.assert( + this.obj instanceof type, + function() { + return 'expected ' + i(this.obj) + ' to be an instance of ' + name; + }, + function() { + return 'expected ' + i(this.obj) + ' not to be an instance of ' + name; + } + ); + } - return this; - }; + return this; + }; - /** + /** * Assert numeric value above _n_. * * @param {Number} n * @api public */ - Assertion.prototype.greaterThan = - Assertion.prototype.above = function (n) { - this.assert( - this.obj > n - , function(){ return 'expected ' + i(this.obj) + ' to be above ' + n } - , function(){ return 'expected ' + i(this.obj) + ' to be below ' + n }); - return this; - }; + Assertion.prototype.greaterThan = Assertion.prototype.above = function(n) { + this.assert( + this.obj > n, + function() { + return 'expected ' + i(this.obj) + ' to be above ' + n; + }, + function() { + return 'expected ' + i(this.obj) + ' to be below ' + n; + } + ); + return this; + }; - /** + /** * Assert numeric value below _n_. * * @param {Number} n * @api public */ - Assertion.prototype.lessThan = - Assertion.prototype.below = function (n) { - this.assert( - this.obj < n - , function(){ return 'expected ' + i(this.obj) + ' to be below ' + n } - , function(){ return 'expected ' + i(this.obj) + ' to be above ' + n }); - return this; - }; + Assertion.prototype.lessThan = Assertion.prototype.below = function(n) { + this.assert( + this.obj < n, + function() { + return 'expected ' + i(this.obj) + ' to be below ' + n; + }, + function() { + return 'expected ' + i(this.obj) + ' to be above ' + n; + } + ); + return this; + }; - /** + /** * Assert string value matches _regexp_. * * @param {RegExp} regexp * @api public */ - Assertion.prototype.match = function (regexp) { - this.assert( - regexp.exec(this.obj) - , function(){ return 'expected ' + i(this.obj) + ' to match ' + regexp } - , function(){ return 'expected ' + i(this.obj) + ' not to match ' + regexp }); - return this; - }; + Assertion.prototype.match = function(regexp) { + this.assert( + regexp.exec(this.obj), + function() { + return 'expected ' + i(this.obj) + ' to match ' + regexp; + }, + function() { + return 'expected ' + i(this.obj) + ' not to match ' + regexp; + } + ); + return this; + }; - /** + /** * Assert property "length" exists and has value of _n_. * * @param {Number} n * @api public */ - Assertion.prototype.length = function (n) { - expect(this.obj).to.have.property('length'); - var len = this.obj.length; - this.assert( - n == len - , function(){ return 'expected ' + i(this.obj) + ' to have a length of ' + n + ' but got ' + len } - , function(){ return 'expected ' + i(this.obj) + ' to not have a length of ' + len }); - return this; - }; + Assertion.prototype.length = function(n) { + expect(this.obj).to.have.property('length'); + var len = this.obj.length; + this.assert( + n == len, + function() { + return 'expected ' + i(this.obj) + ' to have a length of ' + n + ' but got ' + len; + }, + function() { + return 'expected ' + i(this.obj) + ' to not have a length of ' + len; + } + ); + return this; + }; - /** + /** * Assert property _name_ exists, with optional _val_. * * @param {String} name @@ -357,70 +415,108 @@ * @api public */ - Assertion.prototype.property = function (name, val) { - if (this.flags.own) { - this.assert( - Object.prototype.hasOwnProperty.call(this.obj, name) - , function(){ return 'expected ' + i(this.obj) + ' to have own property ' + i(name) } - , function(){ return 'expected ' + i(this.obj) + ' to not have own property ' + i(name) }); - return this; - } + Assertion.prototype.property = function(name, val) { + if (this.flags.own) { + this.assert( + Object.prototype.hasOwnProperty.call(this.obj, name), + function() { + return 'expected ' + i(this.obj) + ' to have own property ' + i(name); + }, + function() { + return 'expected ' + i(this.obj) + ' to not have own property ' + i(name); + } + ); + return this; + } - if (this.flags.not && undefined !== val) { - if (undefined === this.obj[name]) { - throw new Error(i(this.obj) + ' has no property ' + i(name)); - } - } else { - var hasProp; - try { - hasProp = name in this.obj - } catch (e) { - hasProp = undefined !== this.obj[name] - } + if (this.flags.not && undefined !== val) { + if (undefined === this.obj[name]) { + throw new Error(i(this.obj) + ' has no property ' + i(name)); + } + } else { + var hasProp; + try { + hasProp = name in this.obj; + } catch (e) { + hasProp = undefined !== this.obj[name]; + } - this.assert( - hasProp - , function(){ return 'expected ' + i(this.obj) + ' to have a property ' + i(name) } - , function(){ return 'expected ' + i(this.obj) + ' to not have a property ' + i(name) }); - } + this.assert( + hasProp, + function() { + return 'expected ' + i(this.obj) + ' to have a property ' + i(name); + }, + function() { + return 'expected ' + i(this.obj) + ' to not have a property ' + i(name); + } + ); + } - if (undefined !== val) { - this.assert( - val === this.obj[name] - , function(){ return 'expected ' + i(this.obj) + ' to have a property ' + i(name) - + ' of ' + i(val) + ', but got ' + i(this.obj[name]) } - , function(){ return 'expected ' + i(this.obj) + ' to not have a property ' + i(name) - + ' of ' + i(val) }); - } + if (undefined !== val) { + this.assert( + val === this.obj[name], + function() { + return ( + 'expected ' + + i(this.obj) + + ' to have a property ' + + i(name) + + ' of ' + + i(val) + + ', but got ' + + i(this.obj[name]) + ); + }, + function() { + return ( + 'expected ' + + i(this.obj) + + ' to not have a property ' + + i(name) + + ' of ' + + i(val) + ); + } + ); + } - this.obj = this.obj[name]; - return this; - }; + this.obj = this.obj[name]; + return this; + }; - /** + /** * Assert that the array contains _obj_ or string contains _obj_. * * @param {Mixed} obj|string * @api public */ - Assertion.prototype.string = - Assertion.prototype.contain = function (obj) { - if ('string' == typeof this.obj) { - this.assert( - ~this.obj.indexOf(obj) - , function(){ return 'expected ' + i(this.obj) + ' to contain ' + i(obj) } - , function(){ return 'expected ' + i(this.obj) + ' to not contain ' + i(obj) }); - } else { - this.assert( - ~indexOf(this.obj, obj) - , function(){ return 'expected ' + i(this.obj) + ' to contain ' + i(obj) } - , function(){ return 'expected ' + i(this.obj) + ' to not contain ' + i(obj) }); - } - return this; - }; + Assertion.prototype.string = Assertion.prototype.contain = function(obj) { + if ('string' == typeof this.obj) { + this.assert( + ~this.obj.indexOf(obj), + function() { + return 'expected ' + i(this.obj) + ' to contain ' + i(obj); + }, + function() { + return 'expected ' + i(this.obj) + ' to not contain ' + i(obj); + } + ); + } else { + this.assert( + ~indexOf(this.obj, obj), + function() { + return 'expected ' + i(this.obj) + ' to contain ' + i(obj); + }, + function() { + return 'expected ' + i(this.obj) + ' to not contain ' + i(obj); + } + ); + } + return this; + }; - /** + /** * Assert exact keys or inclusion of keys by using * the `.own` modifier. * @@ -428,857 +524,892 @@ * @api public */ - Assertion.prototype.key = - Assertion.prototype.keys = function ($keys) { - var str - , ok = true; + Assertion.prototype.key = Assertion.prototype.keys = function($keys) { + var str, + ok = true; - $keys = isArray($keys) - ? $keys - : Array.prototype.slice.call(arguments); + $keys = isArray($keys) ? $keys : Array.prototype.slice.call(arguments); - if (!$keys.length) throw new Error('keys required'); + if (!$keys.length) throw new Error('keys required'); - var actual = keys(this.obj) - , len = $keys.length; + var actual = keys(this.obj), + len = $keys.length; - // Inclusion - ok = every($keys, function (key) { - return ~indexOf(actual, key); - }); + // Inclusion + ok = every($keys, function(key) { + return ~indexOf(actual, key); + }); - // Strict - if (!this.flags.not && this.flags.only) { - ok = ok && $keys.length == actual.length; - } + // Strict + if (!this.flags.not && this.flags.only) { + ok = ok && $keys.length == actual.length; + } - // Key string - if (len > 1) { - $keys = map($keys, function (key) { - return i(key); - }); - var last = $keys.pop(); - str = $keys.join(', ') + ', and ' + last; - } else { - str = i($keys[0]); - } + // Key string + if (len > 1) { + $keys = map($keys, function(key) { + return i(key); + }); + var last = $keys.pop(); + str = $keys.join(', ') + ', and ' + last; + } else { + str = i($keys[0]); + } - // Form - str = (len > 1 ? 'keys ' : 'key ') + str; + // Form + str = (len > 1 ? 'keys ' : 'key ') + str; - // Have / include - str = (!this.flags.only ? 'include ' : 'only have ') + str; + // Have / include + str = (!this.flags.only ? 'include ' : 'only have ') + str; - // Assertion - this.assert( - ok - , function(){ return 'expected ' + i(this.obj) + ' to ' + str } - , function(){ return 'expected ' + i(this.obj) + ' to not ' + str }); + // Assertion + this.assert( + ok, + function() { + return 'expected ' + i(this.obj) + ' to ' + str; + }, + function() { + return 'expected ' + i(this.obj) + ' to not ' + str; + } + ); - return this; - }; + return this; + }; - /** + /** * Assert a failure. * * @param {String ...} custom message * @api public */ - Assertion.prototype.fail = function (msg) { - var error = function() { return msg || "explicit failure"; } - this.assert(false, error, error); - return this; - }; + Assertion.prototype.fail = function(msg) { + var error = function() { + return msg || 'explicit failure'; + }; + this.assert(false, error, error); + return this; + }; - /** + /** * Function bind implementation. */ - function bind (fn, scope) { - return function () { - return fn.apply(scope, arguments); + function bind(fn, scope) { + return function() { + return fn.apply(scope, arguments); + }; } - } - /** + /** * Array every compatibility * * @see bit.ly/5Fq1N2 * @api public */ - function every (arr, fn, thisObj) { - var scope = thisObj || global; - for (var i = 0, j = arr.length; i < j; ++i) { - if (!fn.call(scope, arr[i], i, arr)) { - return false; - } + function every(arr, fn, thisObj) { + var scope = thisObj || global; + for (var i = 0, j = arr.length; i < j; ++i) { + if (!fn.call(scope, arr[i], i, arr)) { + return false; + } + } + return true; } - return true; - } - /** + /** * Array indexOf compatibility. * * @see bit.ly/a5Dxa2 * @api public */ - function indexOf (arr, o, i) { - if (Array.prototype.indexOf) { - return Array.prototype.indexOf.call(arr, o, i); + function indexOf(arr, o, i) { + if (Array.prototype.indexOf) { + return Array.prototype.indexOf.call(arr, o, i); + } + + if (arr.length === undefined) { + return -1; + } + + for ( + var j = arr.length, i = i < 0 ? (i + j < 0 ? 0 : i + j) : i || 0; + i < j && arr[i] !== o; + i++ + ); + + return j <= i ? -1 : i; } - if (arr.length === undefined) { - return -1; - } + // https://gist.github.com/1044128/ + var getOuterHTML = function(element) { + if ('outerHTML' in element) return element.outerHTML; + var ns = 'http://www.w3.org/1999/xhtml'; + var container = document.createElementNS(ns, '_'); + var xmlSerializer = new XMLSerializer(); + var html; + if (document.xmlVersion) { + return xmlSerializer.serializeToString(element); + } else { + container.appendChild(element.cloneNode(false)); + html = container.innerHTML.replace('><', '>' + element.innerHTML + '<'); + container.innerHTML = ''; + return html; + } + }; - for (var j = arr.length, i = i < 0 ? i + j < 0 ? 0 : i + j : i || 0 - ; i < j && arr[i] !== o; i++); + // Returns true if object is a DOM element. + var isDOMElement = function(object) { + if (typeof HTMLElement === 'object') { + return object instanceof HTMLElement; + } else { + return ( + object && + typeof object === 'object' && + object.nodeType === 1 && + typeof object.nodeName === 'string' + ); + } + }; - return j <= i ? -1 : i; - } - - // https://gist.github.com/1044128/ - var getOuterHTML = function(element) { - if ('outerHTML' in element) return element.outerHTML; - var ns = "http://www.w3.org/1999/xhtml"; - var container = document.createElementNS(ns, '_'); - var xmlSerializer = new XMLSerializer(); - var html; - if (document.xmlVersion) { - return xmlSerializer.serializeToString(element); - } else { - container.appendChild(element.cloneNode(false)); - html = container.innerHTML.replace('><', '>' + element.innerHTML + '<'); - container.innerHTML = ''; - return html; - } - }; - - // Returns true if object is a DOM element. - var isDOMElement = function (object) { - if (typeof HTMLElement === 'object') { - return object instanceof HTMLElement; - } else { - return object && - typeof object === 'object' && - object.nodeType === 1 && - typeof object.nodeName === 'string'; - } - }; - - /** + /** * Inspects an object. * * @see taken from node.js `util` module (copyright Joyent, MIT license) * @api private */ - function i (obj, showHidden, depth) { - var seen = []; + function i(obj, showHidden, depth) { + var seen = []; - function stylize (str) { - return str; - } - - function format (value, recurseTimes) { - // Provide a hook for user-specified inspect functions. - // Check that value is an object with an inspect function on it - if (value && typeof value.inspect === 'function' && - // Filter out the util module, it's inspect function is special - value !== exports && - // Also filter out any prototype objects using the circular check. - !(value.constructor && value.constructor.prototype === value)) { - return value.inspect(recurseTimes); - } - - // Primitive types cannot have properties - switch (typeof value) { - case 'undefined': - return stylize('undefined', 'undefined'); - - case 'string': - var simple = '\'' + json.stringify(value).replace(/^"|"$/g, '') - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') + '\''; - return stylize(simple, 'string'); - - case 'number': - return stylize('' + value, 'number'); - - case 'boolean': - return stylize('' + value, 'boolean'); - } - // For some reason typeof null is "object", so special case here. - if (value === null) { - return stylize('null', 'null'); - } - - if (isDOMElement(value)) { - return getOuterHTML(value); - } - - // Look up the keys of the object. - var visible_keys = keys(value); - var $keys = showHidden ? Object.getOwnPropertyNames(value) : visible_keys; - - // Functions without properties can be shortcutted. - if (typeof value === 'function' && $keys.length === 0) { - if (isRegExp(value)) { - return stylize('' + value, 'regexp'); - } else { - var name = value.name ? ': ' + value.name : ''; - return stylize('[Function' + name + ']', 'special'); - } - } - - // Dates without properties can be shortcutted - if (isDate(value) && $keys.length === 0) { - return stylize(value.toUTCString(), 'date'); - } - - // Error objects can be shortcutted - if (value instanceof Error) { - return stylize("["+value.toString()+"]", 'Error'); - } - - var base, type, braces; - // Determine the object type - if (isArray(value)) { - type = 'Array'; - braces = ['[', ']']; - } else { - type = 'Object'; - braces = ['{', '}']; - } - - // Make functions say that they are functions - if (typeof value === 'function') { - var n = value.name ? ': ' + value.name : ''; - base = (isRegExp(value)) ? ' ' + value : ' [Function' + n + ']'; - } else { - base = ''; - } - - // Make dates with properties first say the date - if (isDate(value)) { - base = ' ' + value.toUTCString(); - } - - if ($keys.length === 0) { - return braces[0] + base + braces[1]; - } - - if (recurseTimes < 0) { - if (isRegExp(value)) { - return stylize('' + value, 'regexp'); - } else { - return stylize('[Object]', 'special'); - } - } - - seen.push(value); - - var output = map($keys, function (key) { - var name, str; - if (value.__lookupGetter__) { - if (value.__lookupGetter__(key)) { - if (value.__lookupSetter__(key)) { - str = stylize('[Getter/Setter]', 'special'); - } else { - str = stylize('[Getter]', 'special'); - } - } else { - if (value.__lookupSetter__(key)) { - str = stylize('[Setter]', 'special'); - } - } - } - if (indexOf(visible_keys, key) < 0) { - name = '[' + key + ']'; - } - if (!str) { - if (indexOf(seen, value[key]) < 0) { - if (recurseTimes === null) { - str = format(value[key]); - } else { - str = format(value[key], recurseTimes - 1); - } - if (str.indexOf('\n') > -1) { - if (isArray(value)) { - str = map(str.split('\n'), function (line) { - return ' ' + line; - }).join('\n').substr(2); - } else { - str = '\n' + map(str.split('\n'), function (line) { - return ' ' + line; - }).join('\n'); - } - } - } else { - str = stylize('[Circular]', 'special'); - } - } - if (typeof name === 'undefined') { - if (type === 'Array' && key.match(/^\d+$/)) { + function stylize(str) { return str; - } - name = json.stringify('' + key); - if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { - name = name.substr(1, name.length - 2); - name = stylize(name, 'name'); - } else { - name = name.replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - name = stylize(name, 'string'); - } } - return name + ': ' + str; - }); + function format(value, recurseTimes) { + // Provide a hook for user-specified inspect functions. + // Check that value is an object with an inspect function on it + if ( + value && + typeof value.inspect === 'function' && + // Filter out the util module, it's inspect function is special + value !== exports && + // Also filter out any prototype objects using the circular check. + !(value.constructor && value.constructor.prototype === value) + ) { + return value.inspect(recurseTimes); + } - seen.pop(); + // Primitive types cannot have properties + switch (typeof value) { + case 'undefined': + return stylize('undefined', 'undefined'); - var numLinesEst = 0; - var length = reduce(output, function (prev, cur) { - numLinesEst++; - if (indexOf(cur, '\n') >= 0) numLinesEst++; - return prev + cur.length + 1; - }, 0); + case 'string': + var simple = + "'" + + json + .stringify(value) + .replace(/^"|"$/g, '') + .replace(/'/g, "\\'") + .replace(/\\"/g, '"') + + "'"; + return stylize(simple, 'string'); - if (length > 50) { - output = braces[0] + - (base === '' ? '' : base + '\n ') + - ' ' + - output.join(',\n ') + - ' ' + - braces[1]; + case 'number': + return stylize('' + value, 'number'); - } else { - output = braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; - } + case 'boolean': + return stylize('' + value, 'boolean'); + } + // For some reason typeof null is "object", so special case here. + if (value === null) { + return stylize('null', 'null'); + } - return output; - } - return format(obj, (typeof depth === 'undefined' ? 2 : depth)); - } + if (isDOMElement(value)) { + return getOuterHTML(value); + } - expect.stringify = i; + // Look up the keys of the object. + var visible_keys = keys(value); + var $keys = showHidden ? Object.getOwnPropertyNames(value) : visible_keys; - function isArray (ar) { - return Object.prototype.toString.call(ar) === '[object Array]'; - } + // Functions without properties can be shortcutted. + if (typeof value === 'function' && $keys.length === 0) { + if (isRegExp(value)) { + return stylize('' + value, 'regexp'); + } else { + var name = value.name ? ': ' + value.name : ''; + return stylize('[Function' + name + ']', 'special'); + } + } - function isRegExp(re) { - var s; - try { - s = '' + re; - } catch (e) { - return false; + // Dates without properties can be shortcutted + if (isDate(value) && $keys.length === 0) { + return stylize(value.toUTCString(), 'date'); + } + + // Error objects can be shortcutted + if (value instanceof Error) { + return stylize('[' + value.toString() + ']', 'Error'); + } + + var base, type, braces; + // Determine the object type + if (isArray(value)) { + type = 'Array'; + braces = ['[', ']']; + } else { + type = 'Object'; + braces = ['{', '}']; + } + + // Make functions say that they are functions + if (typeof value === 'function') { + var n = value.name ? ': ' + value.name : ''; + base = isRegExp(value) ? ' ' + value : ' [Function' + n + ']'; + } else { + base = ''; + } + + // Make dates with properties first say the date + if (isDate(value)) { + base = ' ' + value.toUTCString(); + } + + if ($keys.length === 0) { + return braces[0] + base + braces[1]; + } + + if (recurseTimes < 0) { + if (isRegExp(value)) { + return stylize('' + value, 'regexp'); + } else { + return stylize('[Object]', 'special'); + } + } + + seen.push(value); + + var output = map($keys, function(key) { + var name, str; + if (value.__lookupGetter__) { + if (value.__lookupGetter__(key)) { + if (value.__lookupSetter__(key)) { + str = stylize('[Getter/Setter]', 'special'); + } else { + str = stylize('[Getter]', 'special'); + } + } else { + if (value.__lookupSetter__(key)) { + str = stylize('[Setter]', 'special'); + } + } + } + if (indexOf(visible_keys, key) < 0) { + name = '[' + key + ']'; + } + if (!str) { + if (indexOf(seen, value[key]) < 0) { + if (recurseTimes === null) { + str = format(value[key]); + } else { + str = format(value[key], recurseTimes - 1); + } + if (str.indexOf('\n') > -1) { + if (isArray(value)) { + str = map(str.split('\n'), function(line) { + return ' ' + line; + }) + .join('\n') + .substr(2); + } else { + str = + '\n' + + map(str.split('\n'), function(line) { + return ' ' + line; + }).join('\n'); + } + } + } else { + str = stylize('[Circular]', 'special'); + } + } + if (typeof name === 'undefined') { + if (type === 'Array' && key.match(/^\d+$/)) { + return str; + } + name = json.stringify('' + key); + if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { + name = name.substr(1, name.length - 2); + name = stylize(name, 'name'); + } else { + name = name + .replace(/'/g, "\\'") + .replace(/\\"/g, '"') + .replace(/(^"|"$)/g, "'"); + name = stylize(name, 'string'); + } + } + + return name + ': ' + str; + }); + + seen.pop(); + + var numLinesEst = 0; + var length = reduce( + output, + function(prev, cur) { + numLinesEst++; + if (indexOf(cur, '\n') >= 0) numLinesEst++; + return prev + cur.length + 1; + }, + 0 + ); + + if (length > 50) { + output = + braces[0] + + (base === '' ? '' : base + '\n ') + + ' ' + + output.join(',\n ') + + ' ' + + braces[1]; + } else { + output = braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; + } + + return output; + } + return format(obj, typeof depth === 'undefined' ? 2 : depth); } - return re instanceof RegExp || // easy case - // duck-type for context-switching evalcx case - typeof(re) === 'function' && - re.constructor.name === 'RegExp' && - re.compile && - re.test && - re.exec && - s.match(/^\/.*\/[gim]{0,3}$/); - } + expect.stringify = i; - function isDate(d) { - return d instanceof Date; - } - - function keys (obj) { - if (Object.keys) { - return Object.keys(obj); + function isArray(ar) { + return Object.prototype.toString.call(ar) === '[object Array]'; } - var keys = []; - - for (var i in obj) { - if (Object.prototype.hasOwnProperty.call(obj, i)) { - keys.push(i); - } - } - - return keys; - } - - function map (arr, mapper, that) { - if (Array.prototype.map) { - return Array.prototype.map.call(arr, mapper, that); - } - - var other= new Array(arr.length); - - for (var i= 0, n = arr.length; i= 2) { - var rv = arguments[1]; - } else { - do { - if (i in this) { - rv = this[i++]; - break; + function isRegExp(re) { + var s; + try { + s = '' + re; + } catch (e) { + return false; } - // if array contains no values, no initial value to return - if (++i >= len) - throw new TypeError(); - } while (true); + return ( + re instanceof RegExp || // easy case + // duck-type for context-switching evalcx case + (typeof re === 'function' && + re.constructor.name === 'RegExp' && + re.compile && + re.test && + re.exec && + s.match(/^\/.*\/[gim]{0,3}$/)) + ); } - for (; i < len; i++) { - if (i in this) - rv = fun.call(null, rv, this[i], i, this); + function isDate(d) { + return d instanceof Date; } - return rv; - } + function keys(obj) { + if (Object.keys) { + return Object.keys(obj); + } - /** + var keys = []; + + for (var i in obj) { + if (Object.prototype.hasOwnProperty.call(obj, i)) { + keys.push(i); + } + } + + return keys; + } + + function map(arr, mapper, that) { + if (Array.prototype.map) { + return Array.prototype.map.call(arr, mapper, that); + } + + var other = new Array(arr.length); + + for (var i = 0, n = arr.length; i < n; i++) + if (i in arr) other[i] = mapper.call(that, arr[i], i, arr); + + return other; + } + + function reduce(arr, fun) { + if (Array.prototype.reduce) { + return Array.prototype.reduce.apply(arr, Array.prototype.slice.call(arguments, 1)); + } + + var len = +this.length; + + if (typeof fun !== 'function') throw new TypeError(); + + // no value to return if no initial value and an empty array + if (len === 0 && arguments.length === 1) throw new TypeError(); + + var i = 0; + if (arguments.length >= 2) { + var rv = arguments[1]; + } else { + do { + if (i in this) { + rv = this[i++]; + break; + } + + // if array contains no values, no initial value to return + if (++i >= len) throw new TypeError(); + } while (true); + } + + for (; i < len; i++) { + if (i in this) rv = fun.call(null, rv, this[i], i, this); + } + + return rv; + } + + /** * Asserts deep equality * * @see taken from node.js `assert` module (copyright Joyent, MIT license) * @api private */ - expect.eql = function eql(actual, expected) { - // 7.1. All identical values are equivalent, as determined by ===. - if (actual === expected) { - return true; - } else if ('undefined' != typeof Buffer - && Buffer.isBuffer(actual) && Buffer.isBuffer(expected)) { - if (actual.length != expected.length) return false; + expect.eql = function eql(actual, expected) { + // 7.1. All identical values are equivalent, as determined by ===. + if (actual === expected) { + return true; + } else if ( + 'undefined' != typeof Buffer && + Buffer.isBuffer(actual) && + Buffer.isBuffer(expected) + ) { + if (actual.length != expected.length) return false; - for (var i = 0; i < actual.length; i++) { - if (actual[i] !== expected[i]) return false; - } - - return true; - - // 7.2. If the expected value is a Date object, the actual value is - // equivalent if it is also a Date object that refers to the same time. - } else if (actual instanceof Date && expected instanceof Date) { - return actual.getTime() === expected.getTime(); - - // 7.3. Other pairs that do not both pass typeof value == "object", - // equivalence is determined by ==. - } else if (typeof actual != 'object' && typeof expected != 'object') { - return actual == expected; - // If both are regular expression use the special `regExpEquiv` method - // to determine equivalence. - } else if (isRegExp(actual) && isRegExp(expected)) { - return regExpEquiv(actual, expected); - // 7.4. For all other Object pairs, including Array objects, equivalence is - // determined by having the same number of owned properties (as verified - // with Object.prototype.hasOwnProperty.call), the same set of keys - // (although not necessarily the same order), equivalent values for every - // corresponding key, and an identical "prototype" property. Note: this - // accounts for both named and indexed properties on Arrays. - } else { - return objEquiv(actual, expected); - } - }; - - function isUndefinedOrNull (value) { - return value === null || value === undefined; - } - - function isArguments (object) { - return Object.prototype.toString.call(object) == '[object Arguments]'; - } - - function regExpEquiv (a, b) { - return a.source === b.source && a.global === b.global && - a.ignoreCase === b.ignoreCase && a.multiline === b.multiline; - } - - function objEquiv (a, b) { - if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) - return false; - // an identical "prototype" property. - if (a.prototype !== b.prototype) return false; - //~~~I've managed to break Object.keys through screwy arguments passing. - // Converting to array solves the problem. - if (isArguments(a)) { - if (!isArguments(b)) { - return false; - } - a = pSlice.call(a); - b = pSlice.call(b); - return expect.eql(a, b); - } - try{ - var ka = keys(a), - kb = keys(b), - key, i; - } catch (e) {//happens when one is a string literal and the other isn't - return false; - } - // having the same number of owned properties (keys incorporates hasOwnProperty) - if (ka.length != kb.length) - return false; - //the same set of keys (although not necessarily the same order), - ka.sort(); - kb.sort(); - //~~~cheap key test - for (i = ka.length - 1; i >= 0; i--) { - if (ka[i] != kb[i]) - return false; - } - //equivalent values for every corresponding key, and - //~~~possibly expensive deep test - for (i = ka.length - 1; i >= 0; i--) { - key = ka[i]; - if (!expect.eql(a[key], b[key])) - return false; - } - return true; - } - - var json = (function () { - "use strict"; - - if ('object' == typeof JSON && JSON.parse && JSON.stringify) { - return { - parse: nativeJSON.parse - , stringify: nativeJSON.stringify - } - } - - var JSON = {}; - - function f(n) { - // Format integers to have at least two digits. - return n < 10 ? '0' + n : n; - } - - function date(d, key) { - return isFinite(d.valueOf()) ? - d.getUTCFullYear() + '-' + - f(d.getUTCMonth() + 1) + '-' + - f(d.getUTCDate()) + 'T' + - f(d.getUTCHours()) + ':' + - f(d.getUTCMinutes()) + ':' + - f(d.getUTCSeconds()) + 'Z' : null; - } - - var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - gap, - indent, - meta = { // table of character substitutions - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '"' : '\\"', - '\\': '\\\\' - }, - rep; - - - function quote(string) { - - // If the string contains no control characters, no quote characters, and no - // backslash characters, then we can safely slap some quotes around it. - // Otherwise we must also replace the offending characters with safe escape - // sequences. - - escapable.lastIndex = 0; - return escapable.test(string) ? '"' + string.replace(escapable, function (a) { - var c = meta[a]; - return typeof c === 'string' ? c : - '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }) + '"' : '"' + string + '"'; - } - - - function str(key, holder) { - - // Produce a string from holder[key]. - - var i, // The loop counter. - k, // The member key. - v, // The member value. - length, - mind = gap, - partial, - value = holder[key]; - - // If the value has a toJSON method, call it to obtain a replacement value. - - if (value instanceof Date) { - value = date(key); - } - - // If we were called with a replacer function, then call the replacer to - // obtain a replacement value. - - if (typeof rep === 'function') { - value = rep.call(holder, key, value); - } - - // What happens next depends on the value's type. - - switch (typeof value) { - case 'string': - return quote(value); - - case 'number': - - // JSON numbers must be finite. Encode non-finite numbers as null. - - return isFinite(value) ? String(value) : 'null'; - - case 'boolean': - case 'null': - - // If the value is a boolean or null, convert it to a string. Note: - // typeof null does not produce 'null'. The case is included here in - // the remote chance that this gets fixed someday. - - return String(value); - - // If the type is 'object', we might be dealing with an object or an array or - // null. - - case 'object': - - // Due to a specification blunder in ECMAScript, typeof null is 'object', - // so watch out for that case. - - if (!value) { - return 'null'; + for (var i = 0; i < actual.length; i++) { + if (actual[i] !== expected[i]) return false; } - // Make an array to hold the partial results of stringifying this object value. + return true; - gap += indent; - partial = []; + // 7.2. If the expected value is a Date object, the actual value is + // equivalent if it is also a Date object that refers to the same time. + } else if (actual instanceof Date && expected instanceof Date) { + return actual.getTime() === expected.getTime(); - // Is the value an array? - - if (Object.prototype.toString.apply(value) === '[object Array]') { - - // The value is an array. Stringify every element. Use null as a placeholder - // for non-JSON values. - - length = value.length; - for (i = 0; i < length; i += 1) { - partial[i] = str(i, value) || 'null'; - } - - // Join all of the elements together, separated with commas, and wrap them in - // brackets. - - v = partial.length === 0 ? '[]' : gap ? - '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' : - '[' + partial.join(',') + ']'; - gap = mind; - return v; - } - - // If the replacer is an array, use it to select the members to be stringified. - - if (rep && typeof rep === 'object') { - length = rep.length; - for (i = 0; i < length; i += 1) { - if (typeof rep[i] === 'string') { - k = rep[i]; - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } else { - - // Otherwise, iterate through all of the keys in the object. - - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } - - // Join all of the member texts together, separated with commas, - // and wrap them in braces. - - v = partial.length === 0 ? '{}' : gap ? - '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : - '{' + partial.join(',') + '}'; - gap = mind; - return v; + // 7.3. Other pairs that do not both pass typeof value == "object", + // equivalence is determined by ==. + } else if (typeof actual != 'object' && typeof expected != 'object') { + return actual == expected; + // If both are regular expression use the special `regExpEquiv` method + // to determine equivalence. + } else if (isRegExp(actual) && isRegExp(expected)) { + return regExpEquiv(actual, expected); + // 7.4. For all other Object pairs, including Array objects, equivalence is + // determined by having the same number of owned properties (as verified + // with Object.prototype.hasOwnProperty.call), the same set of keys + // (although not necessarily the same order), equivalent values for every + // corresponding key, and an identical "prototype" property. Note: this + // accounts for both named and indexed properties on Arrays. + } else { + return objEquiv(actual, expected); } - } - - // If the JSON object does not yet have a stringify method, give it one. - - JSON.stringify = function (value, replacer, space) { - - // The stringify method takes a value and an optional replacer, and an optional - // space parameter, and returns a JSON text. The replacer can be a function - // that can replace values, or an array of strings that will select the keys. - // A default replacer method can be provided. Use of the space parameter can - // produce text that is more easily readable. - - var i; - gap = ''; - indent = ''; - - // If the space parameter is a number, make an indent string containing that - // many spaces. - - if (typeof space === 'number') { - for (i = 0; i < space; i += 1) { - indent += ' '; - } - - // If the space parameter is a string, it will be used as the indent string. - - } else if (typeof space === 'string') { - indent = space; - } - - // If there is a replacer, it must be a function or an array. - // Otherwise, throw an error. - - rep = replacer; - if (replacer && typeof replacer !== 'function' && - (typeof replacer !== 'object' || - typeof replacer.length !== 'number')) { - throw new Error('JSON.stringify'); - } - - // Make a fake root object containing our value under the key of ''. - // Return the result of stringifying the value. - - return str('', {'': value}); }; - // If the JSON object does not yet have a parse method, give it one. + function isUndefinedOrNull(value) { + return value === null || value === undefined; + } - JSON.parse = function (text, reviver) { - // The parse method takes a text and an optional reviver function, and returns - // a JavaScript value if the text is a valid JSON text. + function isArguments(object) { + return Object.prototype.toString.call(object) == '[object Arguments]'; + } - var j; + function regExpEquiv(a, b) { + return ( + a.source === b.source && + a.global === b.global && + a.ignoreCase === b.ignoreCase && + a.multiline === b.multiline + ); + } - function walk(holder, key) { + function objEquiv(a, b) { + if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) return false; + // an identical "prototype" property. + if (a.prototype !== b.prototype) return false; + //~~~I've managed to break Object.keys through screwy arguments passing. + // Converting to array solves the problem. + if (isArguments(a)) { + if (!isArguments(b)) { + return false; + } + a = pSlice.call(a); + b = pSlice.call(b); + return expect.eql(a, b); + } + try { + var ka = keys(a), + kb = keys(b), + key, + i; + } catch (e) { + //happens when one is a string literal and the other isn't + return false; + } + // having the same number of owned properties (keys incorporates hasOwnProperty) + if (ka.length != kb.length) return false; + //the same set of keys (although not necessarily the same order), + ka.sort(); + kb.sort(); + //~~~cheap key test + for (i = ka.length - 1; i >= 0; i--) { + if (ka[i] != kb[i]) return false; + } + //equivalent values for every corresponding key, and + //~~~possibly expensive deep test + for (i = ka.length - 1; i >= 0; i--) { + key = ka[i]; + if (!expect.eql(a[key], b[key])) return false; + } + return true; + } - // The walk method is used to recursively walk the resulting structure so - // that modifications can be made. + var json = (function() { + 'use strict'; - var k, v, value = holder[key]; - if (value && typeof value === 'object') { - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = walk(value, k); - if (v !== undefined) { - value[k] = v; - } else { - delete value[k]; + if ('object' == typeof JSON && JSON.parse && JSON.stringify) { + return { + parse: nativeJSON.parse, + stringify: nativeJSON.stringify + }; + } + + var JSON = {}; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + function date(d, key) { + return isFinite(d.valueOf()) + ? d.getUTCFullYear() + + '-' + + f(d.getUTCMonth() + 1) + + '-' + + f(d.getUTCDate()) + + 'T' + + f(d.getUTCHours()) + + ':' + + f(d.getUTCMinutes()) + + ':' + + f(d.getUTCSeconds()) + + 'Z' + : null; + } + + var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + gap, + indent, + meta = { + // table of character substitutions + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '"': '\\"', + '\\': '\\\\' + }, + rep; + + function quote(string) { + // If the string contains no control characters, no quote characters, and no + // backslash characters, then we can safely slap some quotes around it. + // Otherwise we must also replace the offending characters with safe escape + // sequences. + + escapable.lastIndex = 0; + return escapable.test(string) + ? '"' + + string.replace(escapable, function(a) { + var c = meta[a]; + return typeof c === 'string' + ? c + : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) + + '"' + : '"' + string + '"'; + } + + function str(key, holder) { + // Produce a string from holder[key]. + + var i, // The loop counter. + k, // The member key. + v, // The member value. + length, + mind = gap, + partial, + value = holder[key]; + + // If the value has a toJSON method, call it to obtain a replacement value. + + if (value instanceof Date) { + value = date(key); + } + + // If we were called with a replacer function, then call the replacer to + // obtain a replacement value. + + if (typeof rep === 'function') { + value = rep.call(holder, key, value); + } + + // What happens next depends on the value's type. + + switch (typeof value) { + case 'string': + return quote(value); + + case 'number': + // JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) ? String(value) : 'null'; + + case 'boolean': + case 'null': + // If the value is a boolean or null, convert it to a string. Note: + // typeof null does not produce 'null'. The case is included here in + // the remote chance that this gets fixed someday. + + return String(value); + + // If the type is 'object', we might be dealing with an object or an array or + // null. + + case 'object': + // Due to a specification blunder in ECMAScript, typeof null is 'object', + // so watch out for that case. + + if (!value) { + return 'null'; + } + + // Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + + // Is the value an array? + + if (Object.prototype.toString.apply(value) === '[object Array]') { + // The value is an array. Stringify every element. Use null as a placeholder + // for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || 'null'; + } + + // Join all of the elements together, separated with commas, and wrap them in + // brackets. + + v = + partial.length === 0 + ? '[]' + : gap + ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' + : '[' + partial.join(',') + ']'; + gap = mind; + return v; + } + + // If the replacer is an array, use it to select the members to be stringified. + + if (rep && typeof rep === 'object') { + length = rep.length; + for (i = 0; i < length; i += 1) { + if (typeof rep[i] === 'string') { + k = rep[i]; + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } else { + // Otherwise, iterate through all of the keys in the object. + + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } + + // Join all of the member texts together, separated with commas, + // and wrap them in braces. + + v = + partial.length === 0 + ? '{}' + : gap + ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' + : '{' + partial.join(',') + '}'; + gap = mind; + return v; + } + } + + // If the JSON object does not yet have a stringify method, give it one. + + JSON.stringify = function(value, replacer, space) { + // The stringify method takes a value and an optional replacer, and an optional + // space parameter, and returns a JSON text. The replacer can be a function + // that can replace values, or an array of strings that will select the keys. + // A default replacer method can be provided. Use of the space parameter can + // produce text that is more easily readable. + + var i; + gap = ''; + indent = ''; + + // If the space parameter is a number, make an indent string containing that + // many spaces. + + if (typeof space === 'number') { + for (i = 0; i < space; i += 1) { + indent += ' '; + } + + // If the space parameter is a string, it will be used as the indent string. + } else if (typeof space === 'string') { + indent = space; + } + + // If there is a replacer, it must be a function or an array. + // Otherwise, throw an error. + + rep = replacer; + if ( + replacer && + typeof replacer !== 'function' && + (typeof replacer !== 'object' || typeof replacer.length !== 'number') + ) { + throw new Error('JSON.stringify'); + } + + // Make a fake root object containing our value under the key of ''. + // Return the result of stringifying the value. + + return str('', {'': value}); + }; + + // If the JSON object does not yet have a parse method, give it one. + + JSON.parse = function(text, reviver) { + // The parse method takes a text and an optional reviver function, and returns + // a JavaScript value if the text is a valid JSON text. + + var j; + + function walk(holder, key) { + // The walk method is used to recursively walk the resulting structure so + // that modifications can be made. + + var k, + v, + value = holder[key]; + if (value && typeof value === 'object') { + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } } } } + return reviver.call(holder, key, value); } - return reviver.call(holder, key, value); - } + // Parsing happens in four stages. In the first stage, we replace certain + // Unicode characters with escape sequences. JavaScript handles many characters + // incorrectly, either silently deleting them, or treating them as line endings. - // Parsing happens in four stages. In the first stage, we replace certain - // Unicode characters with escape sequences. JavaScript handles many characters - // incorrectly, either silently deleting them, or treating them as line endings. + text = String(text); + cx.lastIndex = 0; + if (cx.test(text)) { + text = text.replace(cx, function(a) { + return '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }); + } - text = String(text); - cx.lastIndex = 0; - if (cx.test(text)) { - text = text.replace(cx, function (a) { - return '\\u' + - ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }); - } + // In the second stage, we run the text against regular expressions that look + // for non-JSON patterns. We are especially concerned with '()' and 'new' + // because they can cause invocation, and '=' because it can cause mutation. + // But just to be safe, we want to reject all unexpected forms. - // In the second stage, we run the text against regular expressions that look - // for non-JSON patterns. We are especially concerned with '()' and 'new' - // because they can cause invocation, and '=' because it can cause mutation. - // But just to be safe, we want to reject all unexpected forms. + // We split the second stage into 4 regexp operations in order to work around + // crippling inefficiencies in IE's and Safari's regexp engines. First we + // replace the JSON backslash pairs with '@' (a non-JSON character). Second, we + // replace all simple value tokens with ']' characters. Third, we delete all + // open brackets that follow a colon or comma or that begin the text. Finally, + // we look to see that the remaining characters are only whitespace or ']' or + // ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. - // We split the second stage into 4 regexp operations in order to work around - // crippling inefficiencies in IE's and Safari's regexp engines. First we - // replace the JSON backslash pairs with '@' (a non-JSON character). Second, we - // replace all simple value tokens with ']' characters. Third, we delete all - // open brackets that follow a colon or comma or that begin the text. Finally, - // we look to see that the remaining characters are only whitespace or ']' or - // ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. + if ( + /^[\],:{}\s]*$/.test( + text + .replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') + .replace( + /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, + ']' + ) + .replace(/(?:^|:|,)(?:\s*\[)+/g, '') + ) + ) { + // In the third stage we use the eval function to compile the text into a + // JavaScript structure. The '{' operator is subject to a syntactic ambiguity + // in JavaScript: it can begin a block or an object literal. We wrap the text + // in parens to eliminate the ambiguity. - if (/^[\],:{}\s]*$/ - .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') - .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') - .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { + j = eval('(' + text + ')'); - // In the third stage we use the eval function to compile the text into a - // JavaScript structure. The '{' operator is subject to a syntactic ambiguity - // in JavaScript: it can begin a block or an object literal. We wrap the text - // in parens to eliminate the ambiguity. + // In the optional fourth stage, we recursively walk the new structure, passing + // each name/value pair to a reviver function for possible transformation. - j = eval('(' + text + ')'); + return typeof reviver === 'function' ? walk({'': j}, '') : j; + } - // In the optional fourth stage, we recursively walk the new structure, passing - // each name/value pair to a reviver function for possible transformation. + // If the text is not JSON parseable, then a SyntaxError is thrown. - return typeof reviver === 'function' ? - walk({'': j}, '') : j; - } + throw new SyntaxError('JSON.parse'); + }; - // If the text is not JSON parseable, then a SyntaxError is thrown. + return JSON; + })(); - throw new SyntaxError('JSON.parse'); - }; - - return JSON; - })(); - - if ('undefined' != typeof window) { - window.expect = module.exports; - } - -})( - this - , 'undefined' != typeof module ? module : {exports: {}} -); + if ('undefined' != typeof window) { + window.expect = module.exports; + } +})(this, 'undefined' != typeof module ? module : {exports: {}}); diff --git a/tests/mocha/lib/mocha.js b/tests/mocha/lib/mocha.js index 2b60176..1eb4c32 100644 --- a/tests/mocha/lib/mocha.js +++ b/tests/mocha/lib/mocha.js @@ -1,65 +1,58 @@ -;(function(){ +(function() { + // CommonJS require() -// CommonJS require() - -function require(p){ - var path = require.resolve(p) - , mod = require.modules[path]; - if (!mod) throw new Error('failed to require "' + p + '"'); - if (!mod.exports) { - mod.exports = {}; - mod.call(mod.exports, mod, mod.exports, require.relative(path)); + function require(p) { + var path = require.resolve(p), + mod = require.modules[path]; + if (!mod) throw new Error('failed to require "' + p + '"'); + if (!mod.exports) { + mod.exports = {}; + mod.call(mod.exports, mod, mod.exports, require.relative(path)); + } + return mod.exports; } - return mod.exports; - } -require.modules = {}; + require.modules = {}; -require.resolve = function (path){ - var orig = path - , reg = path + '.js' - , index = path + '/index.js'; - return require.modules[reg] && reg - || require.modules[index] && index - || orig; - }; - -require.register = function (path, fn){ - require.modules[path] = fn; - }; - -require.relative = function (parent) { - return function(p){ - if ('.' != p.charAt(0)) return require(p); - - var path = parent.split('/') - , segs = p.split('/'); - path.pop(); - - for (var i = 0; i < segs.length; i++) { - var seg = segs[i]; - if ('..' == seg) path.pop(); - else if ('.' != seg) path.push(seg); - } - - return require(path.join('/')); + require.resolve = function(path) { + var orig = path, + reg = path + '.js', + index = path + '/index.js'; + return (require.modules[reg] && reg) || (require.modules[index] && index) || orig; }; - }; + require.register = function(path, fn) { + require.modules[path] = fn; + }; -require.register("browser/debug.js", function(module, exports, require){ + require.relative = function(parent) { + return function(p) { + if ('.' != p.charAt(0)) return require(p); -module.exports = function(type){ - return function(){ - } -}; + var path = parent.split('/'), + segs = p.split('/'); + path.pop(); -}); // module: browser/debug.js + for (var i = 0; i < segs.length; i++) { + var seg = segs[i]; + if ('..' == seg) path.pop(); + else if ('.' != seg) path.push(seg); + } -require.register("browser/diff.js", function(module, exports, require){ -/* See LICENSE file for terms of use */ + return require(path.join('/')); + }; + }; -/* + require.register('browser/debug.js', function(module, exports, require) { + module.exports = function(type) { + return function() {}; + }; + }); // module: browser/debug.js + + require.register('browser/diff.js', function(module, exports, require) { + /* See LICENSE file for terms of use */ + + /* * Text diff implementation. * * This library supports the following APIS: @@ -73,589 +66,659 @@ require.register("browser/diff.js", function(module, exports, require){ * "An O(ND) Difference Algorithm and its Variations" (Myers, 1986). * http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927 */ -var JsDiff = (function() { - /*jshint maxparams: 5*/ - function clonePath(path) { - return { newPos: path.newPos, components: path.components.slice(0) }; - } - function removeEmpty(array) { - var ret = []; - for (var i = 0; i < array.length; i++) { - if (array[i]) { - ret.push(array[i]); - } - } - return ret; - } - function escapeHTML(s) { - var n = s; - n = n.replace(/&/g, '&'); - n = n.replace(//g, '>'); - n = n.replace(/"/g, '"'); + var JsDiff = (function() { + /*jshint maxparams: 5*/ + function clonePath(path) { + return {newPos: path.newPos, components: path.components.slice(0)}; + } + function removeEmpty(array) { + var ret = []; + for (var i = 0; i < array.length; i++) { + if (array[i]) { + ret.push(array[i]); + } + } + return ret; + } + function escapeHTML(s) { + var n = s; + n = n.replace(/&/g, '&'); + n = n.replace(//g, '>'); + n = n.replace(/"/g, '"'); - return n; - } - - var Diff = function(ignoreWhitespace) { - this.ignoreWhitespace = ignoreWhitespace; - }; - Diff.prototype = { - diff: function(oldString, newString) { - // Handle the identity case (this is due to unrolling editLength == 0 - if (newString === oldString) { - return [{ value: newString }]; - } - if (!newString) { - return [{ value: oldString, removed: true }]; - } - if (!oldString) { - return [{ value: newString, added: true }]; - } - - newString = this.tokenize(newString); - oldString = this.tokenize(oldString); - - var newLen = newString.length, oldLen = oldString.length; - var maxEditLength = newLen + oldLen; - var bestPath = [{ newPos: -1, components: [] }]; - - // Seed editLength = 0 - var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); - if (bestPath[0].newPos+1 >= newLen && oldPos+1 >= oldLen) { - return bestPath[0].components; - } - - for (var editLength = 1; editLength <= maxEditLength; editLength++) { - for (var diagonalPath = -1*editLength; diagonalPath <= editLength; diagonalPath+=2) { - var basePath; - var addPath = bestPath[diagonalPath-1], - removePath = bestPath[diagonalPath+1]; - oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; - if (addPath) { - // No one else is going to attempt to use this value, clear it - bestPath[diagonalPath-1] = undefined; + return n; } - var canAdd = addPath && addPath.newPos+1 < newLen; - var canRemove = removePath && 0 <= oldPos && oldPos < oldLen; - if (!canAdd && !canRemove) { - bestPath[diagonalPath] = undefined; - continue; + var Diff = function(ignoreWhitespace) { + this.ignoreWhitespace = ignoreWhitespace; + }; + Diff.prototype = { + diff: function(oldString, newString) { + // Handle the identity case (this is due to unrolling editLength == 0 + if (newString === oldString) { + return [{value: newString}]; + } + if (!newString) { + return [{value: oldString, removed: true}]; + } + if (!oldString) { + return [{value: newString, added: true}]; + } + + newString = this.tokenize(newString); + oldString = this.tokenize(oldString); + + var newLen = newString.length, + oldLen = oldString.length; + var maxEditLength = newLen + oldLen; + var bestPath = [{newPos: -1, components: []}]; + + // Seed editLength = 0 + var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); + if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) { + return bestPath[0].components; + } + + for (var editLength = 1; editLength <= maxEditLength; editLength++) { + for ( + var diagonalPath = -1 * editLength; + diagonalPath <= editLength; + diagonalPath += 2 + ) { + var basePath; + var addPath = bestPath[diagonalPath - 1], + removePath = bestPath[diagonalPath + 1]; + oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; + if (addPath) { + // No one else is going to attempt to use this value, clear it + bestPath[diagonalPath - 1] = undefined; + } + + var canAdd = addPath && addPath.newPos + 1 < newLen; + var canRemove = removePath && 0 <= oldPos && oldPos < oldLen; + if (!canAdd && !canRemove) { + bestPath[diagonalPath] = undefined; + continue; + } + + // Select the diagonal that we want to branch from. We select the prior + // path whose position in the new string is the farthest from the origin + // and does not pass the bounds of the diff graph + if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) { + basePath = clonePath(removePath); + this.pushComponent( + basePath.components, + oldString[oldPos], + undefined, + true + ); + } else { + basePath = clonePath(addPath); + basePath.newPos++; + this.pushComponent( + basePath.components, + newString[basePath.newPos], + true, + undefined + ); + } + + var oldPos = this.extractCommon( + basePath, + newString, + oldString, + diagonalPath + ); + + if (basePath.newPos + 1 >= newLen && oldPos + 1 >= oldLen) { + return basePath.components; + } else { + bestPath[diagonalPath] = basePath; + } + } + } + }, + + pushComponent: function(components, value, added, removed) { + var last = components[components.length - 1]; + if (last && last.added === added && last.removed === removed) { + // We need to clone here as the component clone operation is just + // as shallow array clone + components[components.length - 1] = { + value: this.join(last.value, value), + added: added, + removed: removed + }; + } else { + components.push({value: value, added: added, removed: removed}); + } + }, + extractCommon: function(basePath, newString, oldString, diagonalPath) { + var newLen = newString.length, + oldLen = oldString.length, + newPos = basePath.newPos, + oldPos = newPos - diagonalPath; + while ( + newPos + 1 < newLen && + oldPos + 1 < oldLen && + this.equals(newString[newPos + 1], oldString[oldPos + 1]) + ) { + newPos++; + oldPos++; + + this.pushComponent( + basePath.components, + newString[newPos], + undefined, + undefined + ); + } + basePath.newPos = newPos; + return oldPos; + }, + + equals: function(left, right) { + var reWhitespace = /\S/; + if ( + this.ignoreWhitespace && + !reWhitespace.test(left) && + !reWhitespace.test(right) + ) { + return true; + } else { + return left === right; + } + }, + join: function(left, right) { + return left + right; + }, + tokenize: function(value) { + return value; + } + }; + + var CharDiff = new Diff(); + + var WordDiff = new Diff(true); + var WordWithSpaceDiff = new Diff(); + WordDiff.tokenize = WordWithSpaceDiff.tokenize = function(value) { + return removeEmpty(value.split(/(\s+|\b)/)); + }; + + var CssDiff = new Diff(true); + CssDiff.tokenize = function(value) { + return removeEmpty(value.split(/([{}:;,]|\s+)/)); + }; + + var LineDiff = new Diff(); + LineDiff.tokenize = function(value) { + var retLines = [], + lines = value.split(/^/m); + + for (var i = 0; i < lines.length; i++) { + var line = lines[i], + lastLine = lines[i - 1]; + + // Merge lines that may contain windows new lines + if (line == '\n' && lastLine && lastLine[lastLine.length - 1] === '\r') { + retLines[retLines.length - 1] += '\n'; + } else if (line) { + retLines.push(line); + } + } + + return retLines; + }; + + return { + Diff: Diff, + + diffChars: function(oldStr, newStr) { + return CharDiff.diff(oldStr, newStr); + }, + diffWords: function(oldStr, newStr) { + return WordDiff.diff(oldStr, newStr); + }, + diffWordsWithSpace: function(oldStr, newStr) { + return WordWithSpaceDiff.diff(oldStr, newStr); + }, + diffLines: function(oldStr, newStr) { + return LineDiff.diff(oldStr, newStr); + }, + + diffCss: function(oldStr, newStr) { + return CssDiff.diff(oldStr, newStr); + }, + + createPatch: function(fileName, oldStr, newStr, oldHeader, newHeader) { + var ret = []; + + ret.push('Index: ' + fileName); + ret.push('==================================================================='); + ret.push( + '--- ' + + fileName + + (typeof oldHeader === 'undefined' ? '' : '\t' + oldHeader) + ); + ret.push( + '+++ ' + + fileName + + (typeof newHeader === 'undefined' ? '' : '\t' + newHeader) + ); + + var diff = LineDiff.diff(oldStr, newStr); + if (!diff[diff.length - 1].value) { + diff.pop(); // Remove trailing newline add + } + diff.push({value: '', lines: []}); // Append an empty value to make cleanup easier + + function contextLines(lines) { + return lines.map(function(entry) { + return ' ' + entry; + }); + } + function eofNL(curRange, i, current) { + var last = diff[diff.length - 2], + isLast = i === diff.length - 2, + isLastOfType = + i === diff.length - 3 && + (current.added !== last.added || current.removed !== last.removed); + + // Figure out if this is the last line for the given file and missing NL + if (!/\n$/.test(current.value) && (isLast || isLastOfType)) { + curRange.push('\\ No newline at end of file'); + } + } + + var oldRangeStart = 0, + newRangeStart = 0, + curRange = [], + oldLine = 1, + newLine = 1; + for (var i = 0; i < diff.length; i++) { + var current = diff[i], + lines = current.lines || current.value.replace(/\n$/, '').split('\n'); + current.lines = lines; + + if (current.added || current.removed) { + if (!oldRangeStart) { + var prev = diff[i - 1]; + oldRangeStart = oldLine; + newRangeStart = newLine; + + if (prev) { + curRange = contextLines(prev.lines.slice(-4)); + oldRangeStart -= curRange.length; + newRangeStart -= curRange.length; + } + } + curRange.push.apply( + curRange, + lines.map(function(entry) { + return (current.added ? '+' : '-') + entry; + }) + ); + eofNL(curRange, i, current); + + if (current.added) { + newLine += lines.length; + } else { + oldLine += lines.length; + } + } else { + if (oldRangeStart) { + // Close out any changes that have been output (or join overlapping) + if (lines.length <= 8 && i < diff.length - 2) { + // Overlapping + curRange.push.apply(curRange, contextLines(lines)); + } else { + // end the range and output + var contextSize = Math.min(lines.length, 4); + ret.push( + '@@ -' + + oldRangeStart + + ',' + + (oldLine - oldRangeStart + contextSize) + + ' +' + + newRangeStart + + ',' + + (newLine - newRangeStart + contextSize) + + ' @@' + ); + ret.push.apply(ret, curRange); + ret.push.apply(ret, contextLines(lines.slice(0, contextSize))); + if (lines.length <= 4) { + eofNL(ret, i, current); + } + + oldRangeStart = 0; + newRangeStart = 0; + curRange = []; + } + } + oldLine += lines.length; + newLine += lines.length; + } + } + + return ret.join('\n') + '\n'; + }, + + applyPatch: function(oldStr, uniDiff) { + var diffstr = uniDiff.split('\n'); + var diff = []; + var remEOFNL = false, + addEOFNL = false; + + for (var i = diffstr[0][0] === 'I' ? 4 : 0; i < diffstr.length; i++) { + if (diffstr[i][0] === '@') { + var meh = diffstr[i].split(/@@ -(\d+),(\d+) \+(\d+),(\d+) @@/); + diff.unshift({ + start: meh[3], + oldlength: meh[2], + oldlines: [], + newlength: meh[4], + newlines: [] + }); + } else if (diffstr[i][0] === '+') { + diff[0].newlines.push(diffstr[i].substr(1)); + } else if (diffstr[i][0] === '-') { + diff[0].oldlines.push(diffstr[i].substr(1)); + } else if (diffstr[i][0] === ' ') { + diff[0].newlines.push(diffstr[i].substr(1)); + diff[0].oldlines.push(diffstr[i].substr(1)); + } else if (diffstr[i][0] === '\\') { + if (diffstr[i - 1][0] === '+') { + remEOFNL = true; + } else if (diffstr[i - 1][0] === '-') { + addEOFNL = true; + } + } + } + + var str = oldStr.split('\n'); + for (var i = diff.length - 1; i >= 0; i--) { + var d = diff[i]; + for (var j = 0; j < d.oldlength; j++) { + if (str[d.start - 1 + j] !== d.oldlines[j]) { + return false; + } + } + Array.prototype.splice.apply( + str, + [d.start - 1, +d.oldlength].concat(d.newlines) + ); + } + + if (remEOFNL) { + while (!str[str.length - 1]) { + str.pop(); + } + } else if (addEOFNL) { + str.push(''); + } + return str.join('\n'); + }, + + convertChangesToXML: function(changes) { + var ret = []; + for (var i = 0; i < changes.length; i++) { + var change = changes[i]; + if (change.added) { + ret.push(''); + } else if (change.removed) { + ret.push(''); + } + + ret.push(escapeHTML(change.value)); + + if (change.added) { + ret.push(''); + } else if (change.removed) { + ret.push(''); + } + } + return ret.join(''); + }, + + // See: http://code.google.com/p/google-diff-match-patch/wiki/API + convertChangesToDMP: function(changes) { + var ret = [], + change; + for (var i = 0; i < changes.length; i++) { + change = changes[i]; + ret.push([change.added ? 1 : change.removed ? -1 : 0, change.value]); + } + return ret; + } + }; + })(); + + if (typeof module !== 'undefined') { + module.exports = JsDiff; + } + }); // module: browser/diff.js + + require.register('browser/escape-string-regexp.js', function(module, exports, require) { + 'use strict'; + + var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; + + module.exports = function(str) { + if (typeof str !== 'string') { + throw new TypeError('Expected a string'); } - // Select the diagonal that we want to branch from. We select the prior - // path whose position in the new string is the farthest from the origin - // and does not pass the bounds of the diff graph - if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) { - basePath = clonePath(removePath); - this.pushComponent(basePath.components, oldString[oldPos], undefined, true); - } else { - basePath = clonePath(addPath); - basePath.newPos++; - this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined); - } + return str.replace(matchOperatorsRe, '\\$&'); + }; + }); // module: browser/escape-string-regexp.js - var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath); - - if (basePath.newPos+1 >= newLen && oldPos+1 >= oldLen) { - return basePath.components; - } else { - bestPath[diagonalPath] = basePath; - } - } - } - }, - - pushComponent: function(components, value, added, removed) { - var last = components[components.length-1]; - if (last && last.added === added && last.removed === removed) { - // We need to clone here as the component clone operation is just - // as shallow array clone - components[components.length-1] = - {value: this.join(last.value, value), added: added, removed: removed }; - } else { - components.push({value: value, added: added, removed: removed }); - } - }, - extractCommon: function(basePath, newString, oldString, diagonalPath) { - var newLen = newString.length, - oldLen = oldString.length, - newPos = basePath.newPos, - oldPos = newPos - diagonalPath; - while (newPos+1 < newLen && oldPos+1 < oldLen && this.equals(newString[newPos+1], oldString[oldPos+1])) { - newPos++; - oldPos++; - - this.pushComponent(basePath.components, newString[newPos], undefined, undefined); - } - basePath.newPos = newPos; - return oldPos; - }, - - equals: function(left, right) { - var reWhitespace = /\S/; - if (this.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right)) { - return true; - } else { - return left === right; - } - }, - join: function(left, right) { - return left + right; - }, - tokenize: function(value) { - return value; - } - }; - - var CharDiff = new Diff(); - - var WordDiff = new Diff(true); - var WordWithSpaceDiff = new Diff(); - WordDiff.tokenize = WordWithSpaceDiff.tokenize = function(value) { - return removeEmpty(value.split(/(\s+|\b)/)); - }; - - var CssDiff = new Diff(true); - CssDiff.tokenize = function(value) { - return removeEmpty(value.split(/([{}:;,]|\s+)/)); - }; - - var LineDiff = new Diff(); - LineDiff.tokenize = function(value) { - var retLines = [], - lines = value.split(/^/m); - - for(var i = 0; i < lines.length; i++) { - var line = lines[i], - lastLine = lines[i - 1]; - - // Merge lines that may contain windows new lines - if (line == '\n' && lastLine && lastLine[lastLine.length - 1] === '\r') { - retLines[retLines.length - 1] += '\n'; - } else if (line) { - retLines.push(line); - } - } - - return retLines; - }; - - return { - Diff: Diff, - - diffChars: function(oldStr, newStr) { return CharDiff.diff(oldStr, newStr); }, - diffWords: function(oldStr, newStr) { return WordDiff.diff(oldStr, newStr); }, - diffWordsWithSpace: function(oldStr, newStr) { return WordWithSpaceDiff.diff(oldStr, newStr); }, - diffLines: function(oldStr, newStr) { return LineDiff.diff(oldStr, newStr); }, - - diffCss: function(oldStr, newStr) { return CssDiff.diff(oldStr, newStr); }, - - createPatch: function(fileName, oldStr, newStr, oldHeader, newHeader) { - var ret = []; - - ret.push('Index: ' + fileName); - ret.push('==================================================================='); - ret.push('--- ' + fileName + (typeof oldHeader === 'undefined' ? '' : '\t' + oldHeader)); - ret.push('+++ ' + fileName + (typeof newHeader === 'undefined' ? '' : '\t' + newHeader)); - - var diff = LineDiff.diff(oldStr, newStr); - if (!diff[diff.length-1].value) { - diff.pop(); // Remove trailing newline add - } - diff.push({value: '', lines: []}); // Append an empty value to make cleanup easier - - function contextLines(lines) { - return lines.map(function(entry) { return ' ' + entry; }); - } - function eofNL(curRange, i, current) { - var last = diff[diff.length-2], - isLast = i === diff.length-2, - isLastOfType = i === diff.length-3 && (current.added !== last.added || current.removed !== last.removed); - - // Figure out if this is the last line for the given file and missing NL - if (!/\n$/.test(current.value) && (isLast || isLastOfType)) { - curRange.push('\\ No newline at end of file'); - } - } - - var oldRangeStart = 0, newRangeStart = 0, curRange = [], - oldLine = 1, newLine = 1; - for (var i = 0; i < diff.length; i++) { - var current = diff[i], - lines = current.lines || current.value.replace(/\n$/, '').split('\n'); - current.lines = lines; - - if (current.added || current.removed) { - if (!oldRangeStart) { - var prev = diff[i-1]; - oldRangeStart = oldLine; - newRangeStart = newLine; - - if (prev) { - curRange = contextLines(prev.lines.slice(-4)); - oldRangeStart -= curRange.length; - newRangeStart -= curRange.length; - } - } - curRange.push.apply(curRange, lines.map(function(entry) { return (current.added?'+':'-') + entry; })); - eofNL(curRange, i, current); - - if (current.added) { - newLine += lines.length; - } else { - oldLine += lines.length; - } - } else { - if (oldRangeStart) { - // Close out any changes that have been output (or join overlapping) - if (lines.length <= 8 && i < diff.length-2) { - // Overlapping - curRange.push.apply(curRange, contextLines(lines)); - } else { - // end the range and output - var contextSize = Math.min(lines.length, 4); - ret.push( - '@@ -' + oldRangeStart + ',' + (oldLine-oldRangeStart+contextSize) - + ' +' + newRangeStart + ',' + (newLine-newRangeStart+contextSize) - + ' @@'); - ret.push.apply(ret, curRange); - ret.push.apply(ret, contextLines(lines.slice(0, contextSize))); - if (lines.length <= 4) { - eofNL(ret, i, current); - } - - oldRangeStart = 0; newRangeStart = 0; curRange = []; - } - } - oldLine += lines.length; - newLine += lines.length; - } - } - - return ret.join('\n') + '\n'; - }, - - applyPatch: function(oldStr, uniDiff) { - var diffstr = uniDiff.split('\n'); - var diff = []; - var remEOFNL = false, - addEOFNL = false; - - for (var i = (diffstr[0][0]==='I'?4:0); i < diffstr.length; i++) { - if(diffstr[i][0] === '@') { - var meh = diffstr[i].split(/@@ -(\d+),(\d+) \+(\d+),(\d+) @@/); - diff.unshift({ - start:meh[3], - oldlength:meh[2], - oldlines:[], - newlength:meh[4], - newlines:[] - }); - } else if(diffstr[i][0] === '+') { - diff[0].newlines.push(diffstr[i].substr(1)); - } else if(diffstr[i][0] === '-') { - diff[0].oldlines.push(diffstr[i].substr(1)); - } else if(diffstr[i][0] === ' ') { - diff[0].newlines.push(diffstr[i].substr(1)); - diff[0].oldlines.push(diffstr[i].substr(1)); - } else if(diffstr[i][0] === '\\') { - if (diffstr[i-1][0] === '+') { - remEOFNL = true; - } else if(diffstr[i-1][0] === '-') { - addEOFNL = true; - } - } - } - - var str = oldStr.split('\n'); - for (var i = diff.length - 1; i >= 0; i--) { - var d = diff[i]; - for (var j = 0; j < d.oldlength; j++) { - if(str[d.start-1+j] !== d.oldlines[j]) { - return false; - } - } - Array.prototype.splice.apply(str,[d.start-1,+d.oldlength].concat(d.newlines)); - } - - if (remEOFNL) { - while (!str[str.length-1]) { - str.pop(); - } - } else if (addEOFNL) { - str.push(''); - } - return str.join('\n'); - }, - - convertChangesToXML: function(changes){ - var ret = []; - for ( var i = 0; i < changes.length; i++) { - var change = changes[i]; - if (change.added) { - ret.push(''); - } else if (change.removed) { - ret.push(''); - } - - ret.push(escapeHTML(change.value)); - - if (change.added) { - ret.push(''); - } else if (change.removed) { - ret.push(''); - } - } - return ret.join(''); - }, - - // See: http://code.google.com/p/google-diff-match-patch/wiki/API - convertChangesToDMP: function(changes){ - var ret = [], change; - for ( var i = 0; i < changes.length; i++) { - change = changes[i]; - ret.push([(change.added ? 1 : change.removed ? -1 : 0), change.value]); - } - return ret; - } - }; -})(); - -if (typeof module !== 'undefined') { - module.exports = JsDiff; -} - -}); // module: browser/diff.js - -require.register("browser/escape-string-regexp.js", function(module, exports, require){ -'use strict'; - -var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; - -module.exports = function (str) { - if (typeof str !== 'string') { - throw new TypeError('Expected a string'); - } - - return str.replace(matchOperatorsRe, '\\$&'); -}; - -}); // module: browser/escape-string-regexp.js - -require.register("browser/events.js", function(module, exports, require){ - -/** + require.register('browser/events.js', function(module, exports, require) { + /** * Module exports. */ -exports.EventEmitter = EventEmitter; + exports.EventEmitter = EventEmitter; -/** + /** * Check if `obj` is an array. */ -function isArray(obj) { - return '[object Array]' == {}.toString.call(obj); -} + function isArray(obj) { + return '[object Array]' == {}.toString.call(obj); + } -/** + /** * Event emitter constructor. * * @api public */ -function EventEmitter(){}; + function EventEmitter() {} -/** + /** * Adds a listener. * * @api public */ -EventEmitter.prototype.on = function (name, fn) { - if (!this.$events) { - this.$events = {}; - } + EventEmitter.prototype.on = function(name, fn) { + if (!this.$events) { + this.$events = {}; + } - if (!this.$events[name]) { - this.$events[name] = fn; - } else if (isArray(this.$events[name])) { - this.$events[name].push(fn); - } else { - this.$events[name] = [this.$events[name], fn]; - } + if (!this.$events[name]) { + this.$events[name] = fn; + } else if (isArray(this.$events[name])) { + this.$events[name].push(fn); + } else { + this.$events[name] = [this.$events[name], fn]; + } - return this; -}; + return this; + }; -EventEmitter.prototype.addListener = EventEmitter.prototype.on; + EventEmitter.prototype.addListener = EventEmitter.prototype.on; -/** + /** * Adds a volatile listener. * * @api public */ -EventEmitter.prototype.once = function (name, fn) { - var self = this; + EventEmitter.prototype.once = function(name, fn) { + var self = this; - function on () { - self.removeListener(name, on); - fn.apply(this, arguments); - }; + function on() { + self.removeListener(name, on); + fn.apply(this, arguments); + } - on.listener = fn; - this.on(name, on); + on.listener = fn; + this.on(name, on); - return this; -}; + return this; + }; -/** + /** * Removes a listener. * * @api public */ -EventEmitter.prototype.removeListener = function (name, fn) { - if (this.$events && this.$events[name]) { - var list = this.$events[name]; + EventEmitter.prototype.removeListener = function(name, fn) { + if (this.$events && this.$events[name]) { + var list = this.$events[name]; - if (isArray(list)) { - var pos = -1; + if (isArray(list)) { + var pos = -1; - for (var i = 0, l = list.length; i < l; i++) { - if (list[i] === fn || (list[i].listener && list[i].listener === fn)) { - pos = i; - break; - } - } + for (var i = 0, l = list.length; i < l; i++) { + if (list[i] === fn || (list[i].listener && list[i].listener === fn)) { + pos = i; + break; + } + } - if (pos < 0) { - return this; - } + if (pos < 0) { + return this; + } - list.splice(pos, 1); + list.splice(pos, 1); - if (!list.length) { - delete this.$events[name]; - } - } else if (list === fn || (list.listener && list.listener === fn)) { - delete this.$events[name]; - } - } + if (!list.length) { + delete this.$events[name]; + } + } else if (list === fn || (list.listener && list.listener === fn)) { + delete this.$events[name]; + } + } - return this; -}; + return this; + }; -/** + /** * Removes all listeners for an event. * * @api public */ -EventEmitter.prototype.removeAllListeners = function (name) { - if (name === undefined) { - this.$events = {}; - return this; - } + EventEmitter.prototype.removeAllListeners = function(name) { + if (name === undefined) { + this.$events = {}; + return this; + } - if (this.$events && this.$events[name]) { - this.$events[name] = null; - } + if (this.$events && this.$events[name]) { + this.$events[name] = null; + } - return this; -}; + return this; + }; -/** + /** * Gets all listeners for a certain event. * * @api public */ -EventEmitter.prototype.listeners = function (name) { - if (!this.$events) { - this.$events = {}; - } + EventEmitter.prototype.listeners = function(name) { + if (!this.$events) { + this.$events = {}; + } - if (!this.$events[name]) { - this.$events[name] = []; - } + if (!this.$events[name]) { + this.$events[name] = []; + } - if (!isArray(this.$events[name])) { - this.$events[name] = [this.$events[name]]; - } + if (!isArray(this.$events[name])) { + this.$events[name] = [this.$events[name]]; + } - return this.$events[name]; -}; + return this.$events[name]; + }; -/** + /** * Emits an event. * * @api public */ -EventEmitter.prototype.emit = function (name) { - if (!this.$events) { - return false; - } + EventEmitter.prototype.emit = function(name) { + if (!this.$events) { + return false; + } - var handler = this.$events[name]; + var handler = this.$events[name]; - if (!handler) { - return false; - } + if (!handler) { + return false; + } - var args = [].slice.call(arguments, 1); + var args = [].slice.call(arguments, 1); - if ('function' == typeof handler) { - handler.apply(this, args); - } else if (isArray(handler)) { - var listeners = handler.slice(); + if ('function' == typeof handler) { + handler.apply(this, args); + } else if (isArray(handler)) { + var listeners = handler.slice(); - for (var i = 0, l = listeners.length; i < l; i++) { - listeners[i].apply(this, args); - } - } else { - return false; - } + for (var i = 0, l = listeners.length; i < l; i++) { + listeners[i].apply(this, args); + } + } else { + return false; + } - return true; -}; -}); // module: browser/events.js + return true; + }; + }); // module: browser/events.js -require.register("browser/fs.js", function(module, exports, require){ + require.register('browser/fs.js', function(module, exports, require) {}); // module: browser/fs.js -}); // module: browser/fs.js + require.register('browser/glob.js', function(module, exports, require) {}); // module: browser/glob.js -require.register("browser/glob.js", function(module, exports, require){ + require.register('browser/path.js', function(module, exports, require) {}); // module: browser/path.js -}); // module: browser/glob.js - -require.register("browser/path.js", function(module, exports, require){ - -}); // module: browser/path.js - -require.register("browser/progress.js", function(module, exports, require){ -/** + require.register('browser/progress.js', function(module, exports, require) { + /** * Expose `Progress`. */ -module.exports = Progress; + module.exports = Progress; -/** + /** * Initialize a new `Progress` indicator. */ -function Progress() { - this.percent = 0; - this.size(0); - this.fontSize(11); - this.font('helvetica, arial, sans-serif'); -} + function Progress() { + this.percent = 0; + this.size(0); + this.fontSize(11); + this.font('helvetica, arial, sans-serif'); + } -/** + /** * Set progress size to `n`. * * @param {Number} n @@ -663,12 +726,12 @@ function Progress() { * @api public */ -Progress.prototype.size = function(n){ - this._size = n; - return this; -}; + Progress.prototype.size = function(n) { + this._size = n; + return this; + }; -/** + /** * Set text to `str`. * * @param {String} str @@ -676,12 +739,12 @@ Progress.prototype.size = function(n){ * @api public */ -Progress.prototype.text = function(str){ - this._text = str; - return this; -}; + Progress.prototype.text = function(str) { + this._text = str; + return this; + }; -/** + /** * Set font size to `n`. * * @param {Number} n @@ -689,117 +752,110 @@ Progress.prototype.text = function(str){ * @api public */ -Progress.prototype.fontSize = function(n){ - this._fontSize = n; - return this; -}; + Progress.prototype.fontSize = function(n) { + this._fontSize = n; + return this; + }; -/** + /** * Set font `family`. * * @param {String} family * @return {Progress} for chaining */ -Progress.prototype.font = function(family){ - this._font = family; - return this; -}; + Progress.prototype.font = function(family) { + this._font = family; + return this; + }; -/** + /** * Update percentage to `n`. * * @param {Number} n * @return {Progress} for chaining */ -Progress.prototype.update = function(n){ - this.percent = n; - return this; -}; + Progress.prototype.update = function(n) { + this.percent = n; + return this; + }; -/** + /** * Draw on `ctx`. * * @param {CanvasRenderingContext2d} ctx * @return {Progress} for chaining */ -Progress.prototype.draw = function(ctx){ - try { - var percent = Math.min(this.percent, 100) - , size = this._size - , half = size / 2 - , x = half - , y = half - , rad = half - 1 - , fontSize = this._fontSize; + Progress.prototype.draw = function(ctx) { + try { + var percent = Math.min(this.percent, 100), + size = this._size, + half = size / 2, + x = half, + y = half, + rad = half - 1, + fontSize = this._fontSize; - ctx.font = fontSize + 'px ' + this._font; + ctx.font = fontSize + 'px ' + this._font; - var angle = Math.PI * 2 * (percent / 100); - ctx.clearRect(0, 0, size, size); + var angle = Math.PI * 2 * (percent / 100); + ctx.clearRect(0, 0, size, size); - // outer circle - ctx.strokeStyle = '#9f9f9f'; - ctx.beginPath(); - ctx.arc(x, y, rad, 0, angle, false); - ctx.stroke(); + // outer circle + ctx.strokeStyle = '#9f9f9f'; + ctx.beginPath(); + ctx.arc(x, y, rad, 0, angle, false); + ctx.stroke(); - // inner circle - ctx.strokeStyle = '#eee'; - ctx.beginPath(); - ctx.arc(x, y, rad - 1, 0, angle, true); - ctx.stroke(); + // inner circle + ctx.strokeStyle = '#eee'; + ctx.beginPath(); + ctx.arc(x, y, rad - 1, 0, angle, true); + ctx.stroke(); - // text - var text = this._text || (percent | 0) + '%' - , w = ctx.measureText(text).width; + // text + var text = this._text || (percent | 0) + '%', + w = ctx.measureText(text).width; - ctx.fillText( - text - , x - w / 2 + 1 - , y + fontSize / 2 - 1); - } catch (ex) {} //don't fail if we can't render progress - return this; -}; + ctx.fillText(text, x - w / 2 + 1, y + fontSize / 2 - 1); + } catch (ex) {} //don't fail if we can't render progress + return this; + }; + }); // module: browser/progress.js -}); // module: browser/progress.js + require.register('browser/tty.js', function(module, exports, require) { + exports.isatty = function() { + return true; + }; -require.register("browser/tty.js", function(module, exports, require){ + exports.getWindowSize = function() { + if ('innerHeight' in global) { + return [global.innerHeight, global.innerWidth]; + } else { + // In a Web Worker, the DOM Window is not available. + return [640, 480]; + } + }; + }); // module: browser/tty.js -exports.isatty = function(){ - return true; -}; - -exports.getWindowSize = function(){ - if ('innerHeight' in global) { - return [global.innerHeight, global.innerWidth]; - } else { - // In a Web Worker, the DOM Window is not available. - return [640, 480]; - } -}; - -}); // module: browser/tty.js - -require.register("context.js", function(module, exports, require){ - -/** + require.register('context.js', function(module, exports, require) { + /** * Expose `Context`. */ -module.exports = Context; + module.exports = Context; -/** + /** * Initialize a new `Context`. * * @api private */ -function Context(){} + function Context() {} -/** + /** * Set or get the context `Runnable` to `runnable`. * * @param {Runnable} runnable @@ -807,13 +863,13 @@ function Context(){} * @api private */ -Context.prototype.runnable = function(runnable){ - if (0 == arguments.length) return this._runnable; - this.test = this._runnable = runnable; - return this; -}; + Context.prototype.runnable = function(runnable) { + if (0 == arguments.length) return this._runnable; + this.test = this._runnable = runnable; + return this; + }; -/** + /** * Set test timeout `ms`. * * @param {Number} ms @@ -821,13 +877,13 @@ Context.prototype.runnable = function(runnable){ * @api private */ -Context.prototype.timeout = function(ms){ - if (arguments.length === 0) return this.runnable().timeout(); - this.runnable().timeout(ms); - return this; -}; + Context.prototype.timeout = function(ms) { + if (arguments.length === 0) return this.runnable().timeout(); + this.runnable().timeout(ms); + return this; + }; -/** + /** * Set test timeout `enabled`. * * @param {Boolean} enabled @@ -835,13 +891,12 @@ Context.prototype.timeout = function(ms){ * @api private */ -Context.prototype.enableTimeouts = function (enabled) { - this.runnable().enableTimeouts(enabled); - return this; -}; + Context.prototype.enableTimeouts = function(enabled) { + this.runnable().enableTimeouts(enabled); + return this; + }; - -/** + /** * Set test slowness threshold `ms`. * * @param {Number} ms @@ -849,43 +904,45 @@ Context.prototype.enableTimeouts = function (enabled) { * @api private */ -Context.prototype.slow = function(ms){ - this.runnable().slow(ms); - return this; -}; + Context.prototype.slow = function(ms) { + this.runnable().slow(ms); + return this; + }; -/** + /** * Inspect the context void of `._runnable`. * * @return {String} * @api private */ -Context.prototype.inspect = function(){ - return JSON.stringify(this, function(key, val){ - if ('_runnable' == key) return; - if ('test' == key) return; - return val; - }, 2); -}; + Context.prototype.inspect = function() { + return JSON.stringify( + this, + function(key, val) { + if ('_runnable' == key) return; + if ('test' == key) return; + return val; + }, + 2 + ); + }; + }); // module: context.js -}); // module: context.js - -require.register("hook.js", function(module, exports, require){ - -/** + require.register('hook.js', function(module, exports, require) { + /** * Module dependencies. */ -var Runnable = require('./runnable'); + var Runnable = require('./runnable'); -/** + /** * Expose `Hook`. */ -module.exports = Hook; + module.exports = Hook; -/** + /** * Initialize a new `Hook` with the given `title` and callback `fn`. * * @param {String} title @@ -893,22 +950,21 @@ module.exports = Hook; * @api private */ -function Hook(title, fn) { - Runnable.call(this, title, fn); - this.type = 'hook'; -} + function Hook(title, fn) { + Runnable.call(this, title, fn); + this.type = 'hook'; + } -/** + /** * Inherit from `Runnable.prototype`. */ -function F(){}; -F.prototype = Runnable.prototype; -Hook.prototype = new F; -Hook.prototype.constructor = Hook; + function F() {} + F.prototype = Runnable.prototype; + Hook.prototype = new F(); + Hook.prototype.constructor = Hook; - -/** + /** * Get or set the test `err`. * * @param {Error} err @@ -916,30 +972,28 @@ Hook.prototype.constructor = Hook; * @api public */ -Hook.prototype.error = function(err){ - if (0 == arguments.length) { - var err = this._error; - this._error = null; - return err; - } + Hook.prototype.error = function(err) { + if (0 == arguments.length) { + var err = this._error; + this._error = null; + return err; + } - this._error = err; -}; + this._error = err; + }; + }); // module: hook.js -}); // module: hook.js - -require.register("interfaces/bdd.js", function(module, exports, require){ - -/** + require.register('interfaces/bdd.js', function(module, exports, require) { + /** * Module dependencies. */ -var Suite = require('../suite') - , Test = require('../test') - , utils = require('../utils') - , escapeRe = require('browser/escape-string-regexp'); + var Suite = require('../suite'), + Test = require('../test'), + utils = require('../utils'), + escapeRe = require('browser/escape-string-regexp'); -/** + /** * BDD-style interface: * * describe('Array', function(){ @@ -956,132 +1010,125 @@ var Suite = require('../suite') * */ -module.exports = function(suite){ - var suites = [suite]; + module.exports = function(suite) { + var suites = [suite]; - suite.on('pre-require', function(context, file, mocha){ - - /** + suite.on('pre-require', function(context, file, mocha) { + /** * Execute before running tests. */ - context.before = function(name, fn){ - suites[0].beforeAll(name, fn); - }; + context.before = function(name, fn) { + suites[0].beforeAll(name, fn); + }; - /** + /** * Execute after running tests. */ - context.after = function(name, fn){ - suites[0].afterAll(name, fn); - }; + context.after = function(name, fn) { + suites[0].afterAll(name, fn); + }; - /** + /** * Execute before each test case. */ - context.beforeEach = function(name, fn){ - suites[0].beforeEach(name, fn); - }; + context.beforeEach = function(name, fn) { + suites[0].beforeEach(name, fn); + }; - /** + /** * Execute after each test case. */ - context.afterEach = function(name, fn){ - suites[0].afterEach(name, fn); - }; + context.afterEach = function(name, fn) { + suites[0].afterEach(name, fn); + }; - /** + /** * Describe a "suite" with the given `title` * and callback `fn` containing nested suites * and/or tests. */ - context.describe = context.context = function(title, fn){ - var suite = Suite.create(suites[0], title); - suite.file = file; - suites.unshift(suite); - fn.call(suite); - suites.shift(); - return suite; - }; + context.describe = context.context = function(title, fn) { + var suite = Suite.create(suites[0], title); + suite.file = file; + suites.unshift(suite); + fn.call(suite); + suites.shift(); + return suite; + }; - /** + /** * Pending describe. */ - context.xdescribe = - context.xcontext = - context.describe.skip = function(title, fn){ - var suite = Suite.create(suites[0], title); - suite.pending = true; - suites.unshift(suite); - fn.call(suite); - suites.shift(); - }; + context.xdescribe = context.xcontext = context.describe.skip = function(title, fn) { + var suite = Suite.create(suites[0], title); + suite.pending = true; + suites.unshift(suite); + fn.call(suite); + suites.shift(); + }; - /** + /** * Exclusive suite. */ - context.describe.only = function(title, fn){ - var suite = context.describe(title, fn); - mocha.grep(suite.fullTitle()); - return suite; - }; + context.describe.only = function(title, fn) { + var suite = context.describe(title, fn); + mocha.grep(suite.fullTitle()); + return suite; + }; - /** + /** * Describe a specification or test-case * with the given `title` and callback `fn` * acting as a thunk. */ - context.it = context.specify = function(title, fn){ - var suite = suites[0]; - if (suite.pending) fn = null; - var test = new Test(title, fn); - test.file = file; - suite.addTest(test); - return test; - }; + context.it = context.specify = function(title, fn) { + var suite = suites[0]; + if (suite.pending) fn = null; + var test = new Test(title, fn); + test.file = file; + suite.addTest(test); + return test; + }; - /** + /** * Exclusive test-case. */ - context.it.only = function(title, fn){ - var test = context.it(title, fn); - var reString = '^' + escapeRe(test.fullTitle()) + '$'; - mocha.grep(new RegExp(reString)); - return test; - }; + context.it.only = function(title, fn) { + var test = context.it(title, fn); + var reString = '^' + escapeRe(test.fullTitle()) + '$'; + mocha.grep(new RegExp(reString)); + return test; + }; - /** + /** * Pending test case. */ - context.xit = - context.xspecify = - context.it.skip = function(title){ - context.it(title); - }; - }); -}; + context.xit = context.xspecify = context.it.skip = function(title) { + context.it(title); + }; + }); + }; + }); // module: interfaces/bdd.js -}); // module: interfaces/bdd.js - -require.register("interfaces/exports.js", function(module, exports, require){ - -/** + require.register('interfaces/exports.js', function(module, exports, require) { + /** * Module dependencies. */ -var Suite = require('../suite') - , Test = require('../test'); + var Suite = require('../suite'), + Test = require('../test'); -/** + /** * TDD-style interface: * * exports.Array = { @@ -1098,67 +1145,63 @@ var Suite = require('../suite') * */ -module.exports = function(suite){ - var suites = [suite]; + module.exports = function(suite) { + var suites = [suite]; - suite.on('require', visit); + suite.on('require', visit); - function visit(obj, file) { - var suite; - for (var key in obj) { - if ('function' == typeof obj[key]) { - var fn = obj[key]; - switch (key) { - case 'before': - suites[0].beforeAll(fn); - break; - case 'after': - suites[0].afterAll(fn); - break; - case 'beforeEach': - suites[0].beforeEach(fn); - break; - case 'afterEach': - suites[0].afterEach(fn); - break; - default: - var test = new Test(key, fn); - test.file = file; - suites[0].addTest(test); - } - } else { - suite = Suite.create(suites[0], key); - suites.unshift(suite); - visit(obj[key]); - suites.shift(); - } - } - } -}; + function visit(obj, file) { + var suite; + for (var key in obj) { + if ('function' == typeof obj[key]) { + var fn = obj[key]; + switch (key) { + case 'before': + suites[0].beforeAll(fn); + break; + case 'after': + suites[0].afterAll(fn); + break; + case 'beforeEach': + suites[0].beforeEach(fn); + break; + case 'afterEach': + suites[0].afterEach(fn); + break; + default: + var test = new Test(key, fn); + test.file = file; + suites[0].addTest(test); + } + } else { + suite = Suite.create(suites[0], key); + suites.unshift(suite); + visit(obj[key]); + suites.shift(); + } + } + } + }; + }); // module: interfaces/exports.js -}); // module: interfaces/exports.js + require.register('interfaces/index.js', function(module, exports, require) { + exports.bdd = require('./bdd'); + exports.tdd = require('./tdd'); + exports.qunit = require('./qunit'); + exports.exports = require('./exports'); + }); // module: interfaces/index.js -require.register("interfaces/index.js", function(module, exports, require){ - -exports.bdd = require('./bdd'); -exports.tdd = require('./tdd'); -exports.qunit = require('./qunit'); -exports.exports = require('./exports'); - -}); // module: interfaces/index.js - -require.register("interfaces/qunit.js", function(module, exports, require){ - -/** + require.register('interfaces/qunit.js', function(module, exports, require) { + /** * Module dependencies. */ -var Suite = require('../suite') - , Test = require('../test') - , escapeRe = require('browser/escape-string-regexp') - , utils = require('../utils'); + var Suite = require('../suite'), + Test = require('../test'), + escapeRe = require('browser/escape-string-regexp'), + utils = require('../utils'); -/** + /** * QUnit-style interface: * * suite('Array'); @@ -1183,111 +1226,108 @@ var Suite = require('../suite') * */ -module.exports = function(suite){ - var suites = [suite]; + module.exports = function(suite) { + var suites = [suite]; - suite.on('pre-require', function(context, file, mocha){ - - /** + suite.on('pre-require', function(context, file, mocha) { + /** * Execute before running tests. */ - context.before = function(name, fn){ - suites[0].beforeAll(name, fn); - }; + context.before = function(name, fn) { + suites[0].beforeAll(name, fn); + }; - /** + /** * Execute after running tests. */ - context.after = function(name, fn){ - suites[0].afterAll(name, fn); - }; + context.after = function(name, fn) { + suites[0].afterAll(name, fn); + }; - /** + /** * Execute before each test case. */ - context.beforeEach = function(name, fn){ - suites[0].beforeEach(name, fn); - }; + context.beforeEach = function(name, fn) { + suites[0].beforeEach(name, fn); + }; - /** + /** * Execute after each test case. */ - context.afterEach = function(name, fn){ - suites[0].afterEach(name, fn); - }; + context.afterEach = function(name, fn) { + suites[0].afterEach(name, fn); + }; - /** + /** * Describe a "suite" with the given `title`. */ - context.suite = function(title){ - if (suites.length > 1) suites.shift(); - var suite = Suite.create(suites[0], title); - suite.file = file; - suites.unshift(suite); - return suite; - }; + context.suite = function(title) { + if (suites.length > 1) suites.shift(); + var suite = Suite.create(suites[0], title); + suite.file = file; + suites.unshift(suite); + return suite; + }; - /** + /** * Exclusive test-case. */ - context.suite.only = function(title, fn){ - var suite = context.suite(title, fn); - mocha.grep(suite.fullTitle()); - }; + context.suite.only = function(title, fn) { + var suite = context.suite(title, fn); + mocha.grep(suite.fullTitle()); + }; - /** + /** * Describe a specification or test-case * with the given `title` and callback `fn` * acting as a thunk. */ - context.test = function(title, fn){ - var test = new Test(title, fn); - test.file = file; - suites[0].addTest(test); - return test; - }; + context.test = function(title, fn) { + var test = new Test(title, fn); + test.file = file; + suites[0].addTest(test); + return test; + }; - /** + /** * Exclusive test-case. */ - context.test.only = function(title, fn){ - var test = context.test(title, fn); - var reString = '^' + escapeRe(test.fullTitle()) + '$'; - mocha.grep(new RegExp(reString)); - }; + context.test.only = function(title, fn) { + var test = context.test(title, fn); + var reString = '^' + escapeRe(test.fullTitle()) + '$'; + mocha.grep(new RegExp(reString)); + }; - /** + /** * Pending test case. */ - context.test.skip = function(title){ - context.test(title); - }; - }); -}; + context.test.skip = function(title) { + context.test(title); + }; + }); + }; + }); // module: interfaces/qunit.js -}); // module: interfaces/qunit.js - -require.register("interfaces/tdd.js", function(module, exports, require){ - -/** + require.register('interfaces/tdd.js', function(module, exports, require) { + /** * Module dependencies. */ -var Suite = require('../suite') - , Test = require('../test') - , escapeRe = require('browser/escape-string-regexp') - , utils = require('../utils'); + var Suite = require('../suite'), + Test = require('../test'), + escapeRe = require('browser/escape-string-regexp'), + utils = require('../utils'); -/** + /** * TDD-style interface: * * suite('Array', function(){ @@ -1312,161 +1352,159 @@ var Suite = require('../suite') * */ -module.exports = function(suite){ - var suites = [suite]; + module.exports = function(suite) { + var suites = [suite]; - suite.on('pre-require', function(context, file, mocha){ - - /** + suite.on('pre-require', function(context, file, mocha) { + /** * Execute before each test case. */ - context.setup = function(name, fn){ - suites[0].beforeEach(name, fn); - }; + context.setup = function(name, fn) { + suites[0].beforeEach(name, fn); + }; - /** + /** * Execute after each test case. */ - context.teardown = function(name, fn){ - suites[0].afterEach(name, fn); - }; + context.teardown = function(name, fn) { + suites[0].afterEach(name, fn); + }; - /** + /** * Execute before the suite. */ - context.suiteSetup = function(name, fn){ - suites[0].beforeAll(name, fn); - }; + context.suiteSetup = function(name, fn) { + suites[0].beforeAll(name, fn); + }; - /** + /** * Execute after the suite. */ - context.suiteTeardown = function(name, fn){ - suites[0].afterAll(name, fn); - }; + context.suiteTeardown = function(name, fn) { + suites[0].afterAll(name, fn); + }; - /** + /** * Describe a "suite" with the given `title` * and callback `fn` containing nested suites * and/or tests. */ - context.suite = function(title, fn){ - var suite = Suite.create(suites[0], title); - suite.file = file; - suites.unshift(suite); - fn.call(suite); - suites.shift(); - return suite; - }; + context.suite = function(title, fn) { + var suite = Suite.create(suites[0], title); + suite.file = file; + suites.unshift(suite); + fn.call(suite); + suites.shift(); + return suite; + }; - /** + /** * Pending suite. */ - context.suite.skip = function(title, fn) { - var suite = Suite.create(suites[0], title); - suite.pending = true; - suites.unshift(suite); - fn.call(suite); - suites.shift(); - }; + context.suite.skip = function(title, fn) { + var suite = Suite.create(suites[0], title); + suite.pending = true; + suites.unshift(suite); + fn.call(suite); + suites.shift(); + }; - /** + /** * Exclusive test-case. */ - context.suite.only = function(title, fn){ - var suite = context.suite(title, fn); - mocha.grep(suite.fullTitle()); - }; + context.suite.only = function(title, fn) { + var suite = context.suite(title, fn); + mocha.grep(suite.fullTitle()); + }; - /** + /** * Describe a specification or test-case * with the given `title` and callback `fn` * acting as a thunk. */ - context.test = function(title, fn){ - var suite = suites[0]; - if (suite.pending) fn = null; - var test = new Test(title, fn); - test.file = file; - suite.addTest(test); - return test; - }; + context.test = function(title, fn) { + var suite = suites[0]; + if (suite.pending) fn = null; + var test = new Test(title, fn); + test.file = file; + suite.addTest(test); + return test; + }; - /** + /** * Exclusive test-case. */ - context.test.only = function(title, fn){ - var test = context.test(title, fn); - var reString = '^' + escapeRe(test.fullTitle()) + '$'; - mocha.grep(new RegExp(reString)); - }; + context.test.only = function(title, fn) { + var test = context.test(title, fn); + var reString = '^' + escapeRe(test.fullTitle()) + '$'; + mocha.grep(new RegExp(reString)); + }; - /** + /** * Pending test case. */ - context.test.skip = function(title){ - context.test(title); - }; - }); -}; + context.test.skip = function(title) { + context.test(title); + }; + }); + }; + }); // module: interfaces/tdd.js -}); // module: interfaces/tdd.js - -require.register("mocha.js", function(module, exports, require){ -/*! + require.register('mocha.js', function(module, exports, require) { + /*! * mocha * Copyright(c) 2011 TJ Holowaychuk * MIT Licensed */ -/** + /** * Module dependencies. */ -var path = require('browser/path') - , escapeRe = require('browser/escape-string-regexp') - , utils = require('./utils'); + var path = require('browser/path'), + escapeRe = require('browser/escape-string-regexp'), + utils = require('./utils'); -/** + /** * Expose `Mocha`. */ -exports = module.exports = Mocha; + exports = module.exports = Mocha; -/** + /** * To require local UIs and reporters when running in node. */ -if (typeof process !== 'undefined' && typeof process.cwd === 'function') { - var join = path.join - , cwd = process.cwd(); - module.paths.push(cwd, join(cwd, 'node_modules')); -} + if (typeof process !== 'undefined' && typeof process.cwd === 'function') { + var join = path.join, + cwd = process.cwd(); + module.paths.push(cwd, join(cwd, 'node_modules')); + } -/** + /** * Expose internals. */ -exports.utils = utils; -exports.interfaces = require('./interfaces'); -exports.reporters = require('./reporters'); -exports.Runnable = require('./runnable'); -exports.Context = require('./context'); -exports.Runner = require('./runner'); -exports.Suite = require('./suite'); -exports.Hook = require('./hook'); -exports.Test = require('./test'); + exports.utils = utils; + exports.interfaces = require('./interfaces'); + exports.reporters = require('./reporters'); + exports.Runnable = require('./runnable'); + exports.Context = require('./context'); + exports.Runner = require('./runner'); + exports.Suite = require('./suite'); + exports.Hook = require('./hook'); + exports.Test = require('./test'); -/** + /** * Return image `name` path. * * @param {String} name @@ -1474,11 +1512,11 @@ exports.Test = require('./test'); * @api private */ -function image(name) { - return __dirname + '/../images/' + name + '.png'; -} + function image(name) { + return __dirname + '/../images/' + name + '.png'; + } -/** + /** * Setup mocha with `options`. * * Options: @@ -1496,146 +1534,156 @@ function image(name) { * @api public */ -function Mocha(options) { - options = options || {}; - this.files = []; - this.options = options; - this.grep(options.grep); - this.suite = new exports.Suite('', new exports.Context); - this.ui(options.ui); - this.bail(options.bail); - this.reporter(options.reporter); - if (null != options.timeout) this.timeout(options.timeout); - this.useColors(options.useColors) - if (options.enableTimeouts !== null) this.enableTimeouts(options.enableTimeouts); - if (options.slow) this.slow(options.slow); + function Mocha(options) { + options = options || {}; + this.files = []; + this.options = options; + this.grep(options.grep); + this.suite = new exports.Suite('', new exports.Context()); + this.ui(options.ui); + this.bail(options.bail); + this.reporter(options.reporter); + if (null != options.timeout) this.timeout(options.timeout); + this.useColors(options.useColors); + if (options.enableTimeouts !== null) this.enableTimeouts(options.enableTimeouts); + if (options.slow) this.slow(options.slow); - this.suite.on('pre-require', function (context) { - exports.afterEach = context.afterEach || context.teardown; - exports.after = context.after || context.suiteTeardown; - exports.beforeEach = context.beforeEach || context.setup; - exports.before = context.before || context.suiteSetup; - exports.describe = context.describe || context.suite; - exports.it = context.it || context.test; - exports.setup = context.setup || context.beforeEach; - exports.suiteSetup = context.suiteSetup || context.before; - exports.suiteTeardown = context.suiteTeardown || context.after; - exports.suite = context.suite || context.describe; - exports.teardown = context.teardown || context.afterEach; - exports.test = context.test || context.it; - }); -} + this.suite.on('pre-require', function(context) { + exports.afterEach = context.afterEach || context.teardown; + exports.after = context.after || context.suiteTeardown; + exports.beforeEach = context.beforeEach || context.setup; + exports.before = context.before || context.suiteSetup; + exports.describe = context.describe || context.suite; + exports.it = context.it || context.test; + exports.setup = context.setup || context.beforeEach; + exports.suiteSetup = context.suiteSetup || context.before; + exports.suiteTeardown = context.suiteTeardown || context.after; + exports.suite = context.suite || context.describe; + exports.teardown = context.teardown || context.afterEach; + exports.test = context.test || context.it; + }); + } -/** + /** * Enable or disable bailing on the first failure. * * @param {Boolean} [bail] * @api public */ -Mocha.prototype.bail = function(bail){ - if (0 == arguments.length) bail = true; - this.suite.bail(bail); - return this; -}; + Mocha.prototype.bail = function(bail) { + if (0 == arguments.length) bail = true; + this.suite.bail(bail); + return this; + }; -/** + /** * Add test `file`. * * @param {String} file * @api public */ -Mocha.prototype.addFile = function(file){ - this.files.push(file); - return this; -}; + Mocha.prototype.addFile = function(file) { + this.files.push(file); + return this; + }; -/** + /** * Set reporter to `reporter`, defaults to "spec". * * @param {String|Function} reporter name or constructor * @api public */ -Mocha.prototype.reporter = function(reporter){ - if ('function' == typeof reporter) { - this._reporter = reporter; - } else { - reporter = reporter || 'spec'; - var _reporter; - try { _reporter = require('./reporters/' + reporter); } catch (err) {}; - if (!_reporter) try { _reporter = require(reporter); } catch (err) {}; - if (!_reporter && reporter === 'teamcity') - console.warn('The Teamcity reporter was moved to a package named ' + - 'mocha-teamcity-reporter ' + - '(https://npmjs.org/package/mocha-teamcity-reporter).'); - if (!_reporter) throw new Error('invalid reporter "' + reporter + '"'); - this._reporter = _reporter; - } - return this; -}; + Mocha.prototype.reporter = function(reporter) { + if ('function' == typeof reporter) { + this._reporter = reporter; + } else { + reporter = reporter || 'spec'; + var _reporter; + try { + _reporter = require('./reporters/' + reporter); + } catch (err) {} + if (!_reporter) + try { + _reporter = require(reporter); + } catch (err) {} + if (!_reporter && reporter === 'teamcity') + console.warn( + 'The Teamcity reporter was moved to a package named ' + + 'mocha-teamcity-reporter ' + + '(https://npmjs.org/package/mocha-teamcity-reporter).' + ); + if (!_reporter) throw new Error('invalid reporter "' + reporter + '"'); + this._reporter = _reporter; + } + return this; + }; -/** + /** * Set test UI `name`, defaults to "bdd". * * @param {String} bdd * @api public */ -Mocha.prototype.ui = function(name){ - name = name || 'bdd'; - this._ui = exports.interfaces[name]; - if (!this._ui) try { this._ui = require(name); } catch (err) {}; - if (!this._ui) throw new Error('invalid interface "' + name + '"'); - this._ui = this._ui(this.suite); - return this; -}; + Mocha.prototype.ui = function(name) { + name = name || 'bdd'; + this._ui = exports.interfaces[name]; + if (!this._ui) + try { + this._ui = require(name); + } catch (err) {} + if (!this._ui) throw new Error('invalid interface "' + name + '"'); + this._ui = this._ui(this.suite); + return this; + }; -/** + /** * Load registered files. * * @api private */ -Mocha.prototype.loadFiles = function(fn){ - var self = this; - var suite = this.suite; - var pending = this.files.length; - this.files.forEach(function(file){ - file = path.resolve(file); - suite.emit('pre-require', global, file, self); - suite.emit('require', require(file), file, self); - suite.emit('post-require', global, file, self); - --pending || (fn && fn()); - }); -}; + Mocha.prototype.loadFiles = function(fn) { + var self = this; + var suite = this.suite; + var pending = this.files.length; + this.files.forEach(function(file) { + file = path.resolve(file); + suite.emit('pre-require', global, file, self); + suite.emit('require', require(file), file, self); + suite.emit('post-require', global, file, self); + --pending || (fn && fn()); + }); + }; -/** + /** * Enable growl support. * * @api private */ -Mocha.prototype._growl = function(runner, reporter) { - var notify = require('growl'); + Mocha.prototype._growl = function(runner, reporter) { + var notify = require('growl'); - runner.on('end', function(){ - var stats = reporter.stats; - if (stats.failures) { - var msg = stats.failures + ' of ' + runner.total + ' tests failed'; - notify(msg, { name: 'mocha', title: 'Failed', image: image('error') }); - } else { - notify(stats.passes + ' tests passed in ' + stats.duration + 'ms', { - name: 'mocha' - , title: 'Passed' - , image: image('ok') - }); - } - }); -}; + runner.on('end', function() { + var stats = reporter.stats; + if (stats.failures) { + var msg = stats.failures + ' of ' + runner.total + ' tests failed'; + notify(msg, {name: 'mocha', title: 'Failed', image: image('error')}); + } else { + notify(stats.passes + ' tests passed in ' + stats.duration + 'ms', { + name: 'mocha', + title: 'Passed', + image: image('ok') + }); + } + }); + }; -/** + /** * Add regexp to grep, if `re` is a string it is escaped. * * @param {RegExp|String} re @@ -1643,26 +1691,24 @@ Mocha.prototype._growl = function(runner, reporter) { * @api public */ -Mocha.prototype.grep = function(re){ - this.options.grep = 'string' == typeof re - ? new RegExp(escapeRe(re)) - : re; - return this; -}; + Mocha.prototype.grep = function(re) { + this.options.grep = 'string' == typeof re ? new RegExp(escapeRe(re)) : re; + return this; + }; -/** + /** * Invert `.grep()` matches. * * @return {Mocha} * @api public */ -Mocha.prototype.invert = function(){ - this.options.invert = true; - return this; -}; + Mocha.prototype.invert = function() { + this.options.invert = true; + return this; + }; -/** + /** * Ignore global leaks. * * @param {Boolean} ignore @@ -1670,36 +1716,36 @@ Mocha.prototype.invert = function(){ * @api public */ -Mocha.prototype.ignoreLeaks = function(ignore){ - this.options.ignoreLeaks = !!ignore; - return this; -}; + Mocha.prototype.ignoreLeaks = function(ignore) { + this.options.ignoreLeaks = !!ignore; + return this; + }; -/** + /** * Enable global leak checking. * * @return {Mocha} * @api public */ -Mocha.prototype.checkLeaks = function(){ - this.options.ignoreLeaks = false; - return this; -}; + Mocha.prototype.checkLeaks = function() { + this.options.ignoreLeaks = false; + return this; + }; -/** + /** * Enable growl support. * * @return {Mocha} * @api public */ -Mocha.prototype.growl = function(){ - this.options.growl = true; - return this; -}; + Mocha.prototype.growl = function() { + this.options.growl = true; + return this; + }; -/** + /** * Ignore `globals` array or string. * * @param {Array|String} globals @@ -1707,12 +1753,12 @@ Mocha.prototype.growl = function(){ * @api public */ -Mocha.prototype.globals = function(globals){ - this.options.globals = (this.options.globals || []).concat(globals); - return this; -}; + Mocha.prototype.globals = function(globals) { + this.options.globals = (this.options.globals || []).concat(globals); + return this; + }; -/** + /** * Emit color output. * * @param {Boolean} colors @@ -1720,14 +1766,12 @@ Mocha.prototype.globals = function(globals){ * @api public */ -Mocha.prototype.useColors = function(colors){ - this.options.useColors = arguments.length && colors != undefined - ? colors - : true; - return this; -}; + Mocha.prototype.useColors = function(colors) { + this.options.useColors = arguments.length && colors != undefined ? colors : true; + return this; + }; -/** + /** * Use inline diffs rather than +/-. * * @param {Boolean} inlineDiffs @@ -1735,14 +1779,13 @@ Mocha.prototype.useColors = function(colors){ * @api public */ -Mocha.prototype.useInlineDiffs = function(inlineDiffs) { - this.options.useInlineDiffs = arguments.length && inlineDiffs != undefined - ? inlineDiffs - : false; - return this; -}; + Mocha.prototype.useInlineDiffs = function(inlineDiffs) { + this.options.useInlineDiffs = + arguments.length && inlineDiffs != undefined ? inlineDiffs : false; + return this; + }; -/** + /** * Set the timeout in milliseconds. * * @param {Number} timeout @@ -1750,12 +1793,12 @@ Mocha.prototype.useInlineDiffs = function(inlineDiffs) { * @api public */ -Mocha.prototype.timeout = function(timeout){ - this.suite.timeout(timeout); - return this; -}; + Mocha.prototype.timeout = function(timeout) { + this.suite.timeout(timeout); + return this; + }; -/** + /** * Set slowness threshold in milliseconds. * * @param {Number} slow @@ -1763,12 +1806,12 @@ Mocha.prototype.timeout = function(timeout){ * @api public */ -Mocha.prototype.slow = function(slow){ - this.suite.slow(slow); - return this; -}; + Mocha.prototype.slow = function(slow) { + this.suite.slow(slow); + return this; + }; -/** + /** * Enable timeouts. * * @param {Boolean} enabled @@ -1776,36 +1819,34 @@ Mocha.prototype.slow = function(slow){ * @api public */ -Mocha.prototype.enableTimeouts = function(enabled) { - this.suite.enableTimeouts(arguments.length && enabled !== undefined - ? enabled - : true); - return this -}; + Mocha.prototype.enableTimeouts = function(enabled) { + this.suite.enableTimeouts(arguments.length && enabled !== undefined ? enabled : true); + return this; + }; -/** + /** * Makes all tests async (accepting a callback) * * @return {Mocha} * @api public */ -Mocha.prototype.asyncOnly = function(){ - this.options.asyncOnly = true; - return this; -}; + Mocha.prototype.asyncOnly = function() { + this.options.asyncOnly = true; + return this; + }; -/** + /** * Disable syntax highlighting (in browser). * @returns {Mocha} * @api public */ -Mocha.prototype.noHighlighting = function() { - this.options.noHighlighting = true; - return this; -}; + Mocha.prototype.noHighlighting = function() { + this.options.noHighlighting = true; + return this; + }; -/** + /** * Run tests and invoke `fn()` when complete. * * @param {Function} fn @@ -1813,37 +1854,36 @@ Mocha.prototype.noHighlighting = function() { * @api public */ -Mocha.prototype.run = function(fn){ - if (this.files.length) this.loadFiles(); - var suite = this.suite; - var options = this.options; - options.files = this.files; - var runner = new exports.Runner(suite); - var reporter = new this._reporter(runner, options); - runner.ignoreLeaks = false !== options.ignoreLeaks; - runner.asyncOnly = options.asyncOnly; - if (options.grep) runner.grep(options.grep, options.invert); - if (options.globals) runner.globals(options.globals); - if (options.growl) this._growl(runner, reporter); - exports.reporters.Base.useColors = options.useColors; - exports.reporters.Base.inlineDiffs = options.useInlineDiffs; - return runner.run(fn); -}; + Mocha.prototype.run = function(fn) { + if (this.files.length) this.loadFiles(); + var suite = this.suite; + var options = this.options; + options.files = this.files; + var runner = new exports.Runner(suite); + var reporter = new this._reporter(runner, options); + runner.ignoreLeaks = false !== options.ignoreLeaks; + runner.asyncOnly = options.asyncOnly; + if (options.grep) runner.grep(options.grep, options.invert); + if (options.globals) runner.globals(options.globals); + if (options.growl) this._growl(runner, reporter); + exports.reporters.Base.useColors = options.useColors; + exports.reporters.Base.inlineDiffs = options.useInlineDiffs; + return runner.run(fn); + }; + }); // module: mocha.js -}); // module: mocha.js - -require.register("ms.js", function(module, exports, require){ -/** + require.register('ms.js', function(module, exports, require) { + /** * Helpers. */ -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var y = d * 365.25; + var s = 1000; + var m = s * 60; + var h = m * 60; + var d = h * 24; + var y = d * 365.25; -/** + /** * Parse or format the given `val`. * * Options: @@ -1856,13 +1896,13 @@ var y = d * 365.25; * @api public */ -module.exports = function(val, options){ - options = options || {}; - if ('string' == typeof val) return parse(val); - return options['long'] ? longFormat(val) : shortFormat(val); -}; + module.exports = function(val, options) { + options = options || {}; + if ('string' == typeof val) return parse(val); + return options['long'] ? longFormat(val) : shortFormat(val); + }; -/** + /** * Parse the given `str` and return milliseconds. * * @param {String} str @@ -1870,38 +1910,40 @@ module.exports = function(val, options){ * @api private */ -function parse(str) { - var match = /^((?:\d+)?\.?\d+) *(ms|seconds?|s|minutes?|m|hours?|h|days?|d|years?|y)?$/i.exec(str); - if (!match) return; - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'y': - return n * y; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 's': - return n * s; - case 'ms': - return n; - } -} + function parse(str) { + var match = /^((?:\d+)?\.?\d+) *(ms|seconds?|s|minutes?|m|hours?|h|days?|d|years?|y)?$/i.exec( + str + ); + if (!match) return; + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'y': + return n * y; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 's': + return n * s; + case 'ms': + return n; + } + } -/** + /** * Short format for `ms`. * * @param {Number} ms @@ -1909,15 +1951,15 @@ function parse(str) { * @api private */ -function shortFormat(ms) { - if (ms >= d) return Math.round(ms / d) + 'd'; - if (ms >= h) return Math.round(ms / h) + 'h'; - if (ms >= m) return Math.round(ms / m) + 'm'; - if (ms >= s) return Math.round(ms / s) + 's'; - return ms + 'ms'; -} + function shortFormat(ms) { + if (ms >= d) return Math.round(ms / d) + 'd'; + if (ms >= h) return Math.round(ms / h) + 'h'; + if (ms >= m) return Math.round(ms / m) + 'm'; + if (ms >= s) return Math.round(ms / s) + 's'; + return ms + 'ms'; + } -/** + /** * Long format for `ms`. * * @param {Number} ms @@ -1925,115 +1967,115 @@ function shortFormat(ms) { * @api private */ -function longFormat(ms) { - return plural(ms, d, 'day') - || plural(ms, h, 'hour') - || plural(ms, m, 'minute') - || plural(ms, s, 'second') - || ms + ' ms'; -} + function longFormat(ms) { + return ( + plural(ms, d, 'day') || + plural(ms, h, 'hour') || + plural(ms, m, 'minute') || + plural(ms, s, 'second') || + ms + ' ms' + ); + } -/** + /** * Pluralization helper. */ -function plural(ms, n, name) { - if (ms < n) return; - if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name; - return Math.ceil(ms / n) + ' ' + name + 's'; -} + function plural(ms, n, name) { + if (ms < n) return; + if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name; + return Math.ceil(ms / n) + ' ' + name + 's'; + } + }); // module: ms.js -}); // module: ms.js - -require.register("reporters/base.js", function(module, exports, require){ - -/** + require.register('reporters/base.js', function(module, exports, require) { + /** * Module dependencies. */ -var tty = require('browser/tty') - , diff = require('browser/diff') - , ms = require('../ms') - , utils = require('../utils'); + var tty = require('browser/tty'), + diff = require('browser/diff'), + ms = require('../ms'), + utils = require('../utils'); -/** + /** * Save timer references to avoid Sinon interfering (see GH-237). */ -var Date = global.Date - , setTimeout = global.setTimeout - , setInterval = global.setInterval - , clearTimeout = global.clearTimeout - , clearInterval = global.clearInterval; + var Date = global.Date, + setTimeout = global.setTimeout, + setInterval = global.setInterval, + clearTimeout = global.clearTimeout, + clearInterval = global.clearInterval; -/** + /** * Check if both stdio streams are associated with a tty. */ -var isatty = tty.isatty(1) && tty.isatty(2); + var isatty = tty.isatty(1) && tty.isatty(2); -/** + /** * Expose `Base`. */ -exports = module.exports = Base; + exports = module.exports = Base; -/** + /** * Enable coloring by default. */ -exports.useColors = isatty || (process.env.MOCHA_COLORS !== undefined); + exports.useColors = isatty || process.env.MOCHA_COLORS !== undefined; -/** + /** * Inline diffs instead of +/- */ -exports.inlineDiffs = false; + exports.inlineDiffs = false; -/** + /** * Default color map. */ -exports.colors = { - 'pass': 90 - , 'fail': 31 - , 'bright pass': 92 - , 'bright fail': 91 - , 'bright yellow': 93 - , 'pending': 36 - , 'suite': 0 - , 'error title': 0 - , 'error message': 31 - , 'error stack': 90 - , 'checkmark': 32 - , 'fast': 90 - , 'medium': 33 - , 'slow': 31 - , 'green': 32 - , 'light': 90 - , 'diff gutter': 90 - , 'diff added': 42 - , 'diff removed': 41 -}; + exports.colors = { + pass: 90, + fail: 31, + 'bright pass': 92, + 'bright fail': 91, + 'bright yellow': 93, + pending: 36, + suite: 0, + 'error title': 0, + 'error message': 31, + 'error stack': 90, + checkmark: 32, + fast: 90, + medium: 33, + slow: 31, + green: 32, + light: 90, + 'diff gutter': 90, + 'diff added': 42, + 'diff removed': 41 + }; -/** + /** * Default symbol map. */ -exports.symbols = { - ok: '✓', - err: '✖', - dot: '․' -}; + exports.symbols = { + ok: '✓', + err: '✖', + dot: '․' + }; -// With node.js on Windows: use symbols available in terminal default fonts -if ('win32' == process.platform) { - exports.symbols.ok = '\u221A'; - exports.symbols.err = '\u00D7'; - exports.symbols.dot = '.'; -} + // With node.js on Windows: use symbols available in terminal default fonts + if ('win32' == process.platform) { + exports.symbols.ok = '\u221A'; + exports.symbols.err = '\u00D7'; + exports.symbols.dot = '.'; + } -/** + /** * Color `str` with the given `type`, * allowing colors to be disabled, * as well as user-defined color @@ -2045,115 +2087,115 @@ if ('win32' == process.platform) { * @api private */ -var color = exports.color = function(type, str) { - if (!exports.useColors) return str; - return '\u001b[' + exports.colors[type] + 'm' + str + '\u001b[0m'; -}; + var color = (exports.color = function(type, str) { + if (!exports.useColors) return str; + return '\u001b[' + exports.colors[type] + 'm' + str + '\u001b[0m'; + }); -/** + /** * Expose term window size, with some * defaults for when stderr is not a tty. */ -exports.window = { - width: isatty - ? process.stdout.getWindowSize - ? process.stdout.getWindowSize(1)[0] - : tty.getWindowSize()[1] - : 75 -}; + exports.window = { + width: isatty + ? process.stdout.getWindowSize + ? process.stdout.getWindowSize(1)[0] + : tty.getWindowSize()[1] + : 75 + }; -/** + /** * Expose some basic cursor interactions * that are common among reporters. */ -exports.cursor = { - hide: function(){ - isatty && process.stdout.write('\u001b[?25l'); - }, + exports.cursor = { + hide: function() { + isatty && process.stdout.write('\u001b[?25l'); + }, - show: function(){ - isatty && process.stdout.write('\u001b[?25h'); - }, + show: function() { + isatty && process.stdout.write('\u001b[?25h'); + }, - deleteLine: function(){ - isatty && process.stdout.write('\u001b[2K'); - }, + deleteLine: function() { + isatty && process.stdout.write('\u001b[2K'); + }, - beginningOfLine: function(){ - isatty && process.stdout.write('\u001b[0G'); - }, + beginningOfLine: function() { + isatty && process.stdout.write('\u001b[0G'); + }, - CR: function(){ - if (isatty) { - exports.cursor.deleteLine(); - exports.cursor.beginningOfLine(); - } else { - process.stdout.write('\r'); - } - } -}; + CR: function() { + if (isatty) { + exports.cursor.deleteLine(); + exports.cursor.beginningOfLine(); + } else { + process.stdout.write('\r'); + } + } + }; -/** + /** * Outut the given `failures` as a list. * * @param {Array} failures * @api public */ -exports.list = function(failures){ - console.error(); - failures.forEach(function(test, i){ - // format - var fmt = color('error title', ' %s) %s:\n') - + color('error message', ' %s') - + color('error stack', '\n%s\n'); + exports.list = function(failures) { + console.error(); + failures.forEach(function(test, i) { + // format + var fmt = + color('error title', ' %s) %s:\n') + + color('error message', ' %s') + + color('error stack', '\n%s\n'); - // msg - var err = test.err - , message = err.message || '' - , stack = err.stack || message - , index = stack.indexOf(message) + message.length - , msg = stack.slice(0, index) - , actual = err.actual - , expected = err.expected - , escape = true; + // msg + var err = test.err, + message = err.message || '', + stack = err.stack || message, + index = stack.indexOf(message) + message.length, + msg = stack.slice(0, index), + actual = err.actual, + expected = err.expected, + escape = true; - // uncaught - if (err.uncaught) { - msg = 'Uncaught ' + msg; - } + // uncaught + if (err.uncaught) { + msg = 'Uncaught ' + msg; + } - // explicitly show diff - if (err.showDiff && sameType(actual, expected)) { - escape = false; - err.actual = actual = utils.stringify(actual); - err.expected = expected = utils.stringify(expected); - } + // explicitly show diff + if (err.showDiff && sameType(actual, expected)) { + escape = false; + err.actual = actual = utils.stringify(actual); + err.expected = expected = utils.stringify(expected); + } - // actual / expected diff - if (err.showDiff && 'string' == typeof actual && 'string' == typeof expected) { - fmt = color('error title', ' %s) %s:\n%s') + color('error stack', '\n%s\n'); - var match = message.match(/^([^:]+): expected/); - msg = '\n ' + color('error message', match ? match[1] : msg); + // actual / expected diff + if (err.showDiff && 'string' == typeof actual && 'string' == typeof expected) { + fmt = color('error title', ' %s) %s:\n%s') + color('error stack', '\n%s\n'); + var match = message.match(/^([^:]+): expected/); + msg = '\n ' + color('error message', match ? match[1] : msg); - if (exports.inlineDiffs) { - msg += inlineDiff(err, escape); - } else { - msg += unifiedDiff(err, escape); - } - } + if (exports.inlineDiffs) { + msg += inlineDiff(err, escape); + } else { + msg += unifiedDiff(err, escape); + } + } - // indent stack trace without msg - stack = stack.slice(index ? index + 1 : index) - .replace(/^/gm, ' '); + // indent stack trace without msg + stack = stack.slice(index ? index + 1 : index).replace(/^/gm, ' '); - console.error(fmt, (i + 1), test.fullTitle(), msg, stack); - }); -}; + console.error(fmt, i + 1, test.fullTitle(), msg, stack); + }); + }; -/** + /** * Initialize a new `Base` reporter. * * All other reporters generally @@ -2165,106 +2207,100 @@ exports.list = function(failures){ * @api public */ -function Base(runner) { - var self = this - , stats = this.stats = { suites: 0, tests: 0, passes: 0, pending: 0, failures: 0 } - , failures = this.failures = []; + function Base(runner) { + var self = this, + stats = (this.stats = {suites: 0, tests: 0, passes: 0, pending: 0, failures: 0}), + failures = (this.failures = []); - if (!runner) return; - this.runner = runner; + if (!runner) return; + this.runner = runner; - runner.stats = stats; + runner.stats = stats; - runner.on('start', function(){ - stats.start = new Date; - }); + runner.on('start', function() { + stats.start = new Date(); + }); - runner.on('suite', function(suite){ - stats.suites = stats.suites || 0; - suite.root || stats.suites++; - }); + runner.on('suite', function(suite) { + stats.suites = stats.suites || 0; + suite.root || stats.suites++; + }); - runner.on('test end', function(test){ - stats.tests = stats.tests || 0; - stats.tests++; - }); + runner.on('test end', function(test) { + stats.tests = stats.tests || 0; + stats.tests++; + }); - runner.on('pass', function(test){ - stats.passes = stats.passes || 0; + runner.on('pass', function(test) { + stats.passes = stats.passes || 0; - var medium = test.slow() / 2; - test.speed = test.duration > test.slow() - ? 'slow' - : test.duration > medium - ? 'medium' - : 'fast'; + var medium = test.slow() / 2; + test.speed = + test.duration > test.slow() + ? 'slow' + : test.duration > medium ? 'medium' : 'fast'; - stats.passes++; - }); + stats.passes++; + }); - runner.on('fail', function(test, err){ - stats.failures = stats.failures || 0; - stats.failures++; - test.err = err; - failures.push(test); - }); + runner.on('fail', function(test, err) { + stats.failures = stats.failures || 0; + stats.failures++; + test.err = err; + failures.push(test); + }); - runner.on('end', function(){ - stats.end = new Date; - stats.duration = new Date - stats.start; - }); + runner.on('end', function() { + stats.end = new Date(); + stats.duration = new Date() - stats.start; + }); - runner.on('pending', function(){ - stats.pending++; - }); -} + runner.on('pending', function() { + stats.pending++; + }); + } -/** + /** * Output common epilogue used by many of * the bundled reporters. * * @api public */ -Base.prototype.epilogue = function(){ - var stats = this.stats; - var tests; - var fmt; + Base.prototype.epilogue = function() { + var stats = this.stats; + var tests; + var fmt; - console.log(); + console.log(); - // passes - fmt = color('bright pass', ' ') - + color('green', ' %d passing') - + color('light', ' (%s)'); + // passes + fmt = + color('bright pass', ' ') + color('green', ' %d passing') + color('light', ' (%s)'); - console.log(fmt, - stats.passes || 0, - ms(stats.duration)); + console.log(fmt, stats.passes || 0, ms(stats.duration)); - // pending - if (stats.pending) { - fmt = color('pending', ' ') - + color('pending', ' %d pending'); + // pending + if (stats.pending) { + fmt = color('pending', ' ') + color('pending', ' %d pending'); - console.log(fmt, stats.pending); - } + console.log(fmt, stats.pending); + } - // failures - if (stats.failures) { - fmt = color('fail', ' %d failing'); + // failures + if (stats.failures) { + fmt = color('fail', ' %d failing'); - console.error(fmt, - stats.failures); + console.error(fmt, stats.failures); - Base.list(this.failures); - console.error(); - } + Base.list(this.failures); + console.error(); + } - console.log(); -}; + console.log(); + }; -/** + /** * Pad the given `str` to `len`. * * @param {String} str @@ -2273,13 +2309,12 @@ Base.prototype.epilogue = function(){ * @api private */ -function pad(str, len) { - str = String(str); - return Array(len - str.length + 1).join(' ') + str; -} + function pad(str, len) { + str = String(str); + return Array(len - str.length + 1).join(' ') + str; + } - -/** + /** * Returns an inline diff between 2 strings with coloured ANSI output * * @param {Error} Error with actual/expected @@ -2287,33 +2322,36 @@ function pad(str, len) { * @api private */ -function inlineDiff(err, escape) { - var msg = errorDiff(err, 'WordsWithSpace', escape); + function inlineDiff(err, escape) { + var msg = errorDiff(err, 'WordsWithSpace', escape); - // linenos - var lines = msg.split('\n'); - if (lines.length > 4) { - var width = String(lines.length).length; - msg = lines.map(function(str, i){ - return pad(++i, width) + ' |' + ' ' + str; - }).join('\n'); - } + // linenos + var lines = msg.split('\n'); + if (lines.length > 4) { + var width = String(lines.length).length; + msg = lines + .map(function(str, i) { + return pad(++i, width) + ' |' + ' ' + str; + }) + .join('\n'); + } - // legend - msg = '\n' - + color('diff removed', 'actual') - + ' ' - + color('diff added', 'expected') - + '\n\n' - + msg - + '\n'; + // legend + msg = + '\n' + + color('diff removed', 'actual') + + ' ' + + color('diff added', 'expected') + + '\n\n' + + msg + + '\n'; - // indent - msg = msg.replace(/^/gm, ' '); - return msg; -} + // indent + msg = msg.replace(/^/gm, ' '); + return msg; + } -/** + /** * Returns a unified diff between 2 strings * * @param {Error} Error with actual/expected @@ -2321,31 +2359,34 @@ function inlineDiff(err, escape) { * @api private */ -function unifiedDiff(err, escape) { - var indent = ' '; - function cleanUp(line) { - if (escape) { - line = escapeInvisibles(line); - } - if (line[0] === '+') return indent + colorLines('diff added', line); - if (line[0] === '-') return indent + colorLines('diff removed', line); - if (line.match(/\@\@/)) return null; - if (line.match(/\\ No newline/)) return null; - else return indent + line; - } - function notBlank(line) { - return line != null; - } - msg = diff.createPatch('string', err.actual, err.expected); - var lines = msg.split('\n').splice(4); - return '\n ' - + colorLines('diff added', '+ expected') + ' ' - + colorLines('diff removed', '- actual') - + '\n\n' - + lines.map(cleanUp).filter(notBlank).join('\n'); -} + function unifiedDiff(err, escape) { + var indent = ' '; + function cleanUp(line) { + if (escape) { + line = escapeInvisibles(line); + } + if (line[0] === '+') return indent + colorLines('diff added', line); + if (line[0] === '-') return indent + colorLines('diff removed', line); + if (line.match(/\@\@/)) return null; + if (line.match(/\\ No newline/)) return null; + else return indent + line; + } + function notBlank(line) { + return line != null; + } + msg = diff.createPatch('string', err.actual, err.expected); + var lines = msg.split('\n').splice(4); + return ( + '\n ' + + colorLines('diff added', '+ expected') + + ' ' + + colorLines('diff removed', '- actual') + + '\n\n' + + lines.map(cleanUp).filter(notBlank).join('\n') + ); + } -/** + /** * Return a character diff for `err`. * * @param {Error} err @@ -2353,30 +2394,31 @@ function unifiedDiff(err, escape) { * @api private */ -function errorDiff(err, type, escape) { - var actual = escape ? escapeInvisibles(err.actual) : err.actual; - var expected = escape ? escapeInvisibles(err.expected) : err.expected; - return diff['diff' + type](actual, expected).map(function(str){ - if (str.added) return colorLines('diff added', str.value); - if (str.removed) return colorLines('diff removed', str.value); - return str.value; - }).join(''); -} + function errorDiff(err, type, escape) { + var actual = escape ? escapeInvisibles(err.actual) : err.actual; + var expected = escape ? escapeInvisibles(err.expected) : err.expected; + return diff + ['diff' + type](actual, expected) + .map(function(str) { + if (str.added) return colorLines('diff added', str.value); + if (str.removed) return colorLines('diff removed', str.value); + return str.value; + }) + .join(''); + } -/** + /** * Returns a string with all invisible characters in plain text * * @param {String} line * @return {String} * @api private */ -function escapeInvisibles(line) { - return line.replace(/\t/g, '') - .replace(/\r/g, '') - .replace(/\n/g, '\n'); -} + function escapeInvisibles(line) { + return line.replace(/\t/g, '').replace(/\r/g, '').replace(/\n/g, '\n'); + } -/** + /** * Color lines for `str`, using the color `name`. * * @param {String} name @@ -2385,13 +2427,16 @@ function escapeInvisibles(line) { * @api private */ -function colorLines(name, str) { - return str.split('\n').map(function(str){ - return color(name, str); - }).join('\n'); -} + function colorLines(name, str) { + return str + .split('\n') + .map(function(str) { + return color(name, str); + }) + .join('\n'); + } -/** + /** * Check that a / b have the same type. * * @param {Object} a @@ -2400,520 +2445,532 @@ function colorLines(name, str) { * @api private */ -function sameType(a, b) { - a = Object.prototype.toString.call(a); - b = Object.prototype.toString.call(b); - return a == b; -} + function sameType(a, b) { + a = Object.prototype.toString.call(a); + b = Object.prototype.toString.call(b); + return a == b; + } + }); // module: reporters/base.js -}); // module: reporters/base.js - -require.register("reporters/doc.js", function(module, exports, require){ - -/** + require.register('reporters/doc.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , utils = require('../utils'); + var Base = require('./base'), + utils = require('../utils'); -/** + /** * Expose `Doc`. */ -exports = module.exports = Doc; + exports = module.exports = Doc; -/** + /** * Initialize a new `Doc` reporter. * * @param {Runner} runner * @api public */ -function Doc(runner) { - Base.call(this, runner); + function Doc(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , total = runner.total - , indents = 2; + var self = this, + stats = this.stats, + total = runner.total, + indents = 2; - function indent() { - return Array(indents).join(' '); - } + function indent() { + return Array(indents).join(' '); + } - runner.on('suite', function(suite){ - if (suite.root) return; - ++indents; - console.log('%s
', indent()); - ++indents; - console.log('%s

%s

', indent(), utils.escape(suite.title)); - console.log('%s
', indent()); - }); + runner.on('suite', function(suite) { + if (suite.root) return; + ++indents; + console.log('%s
', indent()); + ++indents; + console.log('%s

%s

', indent(), utils.escape(suite.title)); + console.log('%s
', indent()); + }); - runner.on('suite end', function(suite){ - if (suite.root) return; - console.log('%s
', indent()); - --indents; - console.log('%s
', indent()); - --indents; - }); + runner.on('suite end', function(suite) { + if (suite.root) return; + console.log('%s
', indent()); + --indents; + console.log('%s
', indent()); + --indents; + }); - runner.on('pass', function(test){ - console.log('%s
%s
', indent(), utils.escape(test.title)); - var code = utils.escape(utils.clean(test.fn.toString())); - console.log('%s
%s
', indent(), code); - }); + runner.on('pass', function(test) { + console.log('%s
%s
', indent(), utils.escape(test.title)); + var code = utils.escape(utils.clean(test.fn.toString())); + console.log('%s
%s
', indent(), code); + }); - runner.on('fail', function(test, err){ - console.log('%s
%s
', indent(), utils.escape(test.title)); - var code = utils.escape(utils.clean(test.fn.toString())); - console.log('%s
%s
', indent(), code); - console.log('%s
%s
', indent(), utils.escape(err)); - }); -} + runner.on('fail', function(test, err) { + console.log('%s
%s
', indent(), utils.escape(test.title)); + var code = utils.escape(utils.clean(test.fn.toString())); + console.log( + '%s
%s
', + indent(), + code + ); + console.log('%s
%s
', indent(), utils.escape(err)); + }); + } + }); // module: reporters/doc.js -}); // module: reporters/doc.js - -require.register("reporters/dot.js", function(module, exports, require){ - -/** + require.register('reporters/dot.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , color = Base.color; + var Base = require('./base'), + color = Base.color; -/** + /** * Expose `Dot`. */ -exports = module.exports = Dot; + exports = module.exports = Dot; -/** + /** * Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public */ -function Dot(runner) { - Base.call(this, runner); + function Dot(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , width = Base.window.width * .75 | 0 - , n = -1; + var self = this, + stats = this.stats, + width = (Base.window.width * 0.75) | 0, + n = -1; - runner.on('start', function(){ - process.stdout.write('\n '); - }); + runner.on('start', function() { + process.stdout.write('\n '); + }); - runner.on('pending', function(test){ - if (++n % width == 0) process.stdout.write('\n '); - process.stdout.write(color('pending', Base.symbols.dot)); - }); + runner.on('pending', function(test) { + if (++n % width == 0) process.stdout.write('\n '); + process.stdout.write(color('pending', Base.symbols.dot)); + }); - runner.on('pass', function(test){ - if (++n % width == 0) process.stdout.write('\n '); - if ('slow' == test.speed) { - process.stdout.write(color('bright yellow', Base.symbols.dot)); - } else { - process.stdout.write(color(test.speed, Base.symbols.dot)); - } - }); + runner.on('pass', function(test) { + if (++n % width == 0) process.stdout.write('\n '); + if ('slow' == test.speed) { + process.stdout.write(color('bright yellow', Base.symbols.dot)); + } else { + process.stdout.write(color(test.speed, Base.symbols.dot)); + } + }); - runner.on('fail', function(test, err){ - if (++n % width == 0) process.stdout.write('\n '); - process.stdout.write(color('fail', Base.symbols.dot)); - }); + runner.on('fail', function(test, err) { + if (++n % width == 0) process.stdout.write('\n '); + process.stdout.write(color('fail', Base.symbols.dot)); + }); - runner.on('end', function(){ - console.log(); - self.epilogue(); - }); -} + runner.on('end', function() { + console.log(); + self.epilogue(); + }); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -Dot.prototype = new F; -Dot.prototype.constructor = Dot; + function F() {} + F.prototype = Base.prototype; + Dot.prototype = new F(); + Dot.prototype.constructor = Dot; + }); // module: reporters/dot.js - -}); // module: reporters/dot.js - -require.register("reporters/html-cov.js", function(module, exports, require){ - -/** + require.register('reporters/html-cov.js', function(module, exports, require) { + /** * Module dependencies. */ -var JSONCov = require('./json-cov') - , fs = require('browser/fs'); + var JSONCov = require('./json-cov'), + fs = require('browser/fs'); -/** + /** * Expose `HTMLCov`. */ -exports = module.exports = HTMLCov; + exports = module.exports = HTMLCov; -/** + /** * Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @api public */ -function HTMLCov(runner) { - var jade = require('jade') - , file = __dirname + '/templates/coverage.jade' - , str = fs.readFileSync(file, 'utf8') - , fn = jade.compile(str, { filename: file }) - , self = this; + function HTMLCov(runner) { + var jade = require('jade'), + file = __dirname + '/templates/coverage.jade', + str = fs.readFileSync(file, 'utf8'), + fn = jade.compile(str, {filename: file}), + self = this; - JSONCov.call(this, runner, false); + JSONCov.call(this, runner, false); - runner.on('end', function(){ - process.stdout.write(fn({ - cov: self.cov - , coverageClass: coverageClass - })); - }); -} + runner.on('end', function() { + process.stdout.write( + fn({ + cov: self.cov, + coverageClass: coverageClass + }) + ); + }); + } -/** + /** * Return coverage class for `n`. * * @return {String} * @api private */ -function coverageClass(n) { - if (n >= 75) return 'high'; - if (n >= 50) return 'medium'; - if (n >= 25) return 'low'; - return 'terrible'; -} -}); // module: reporters/html-cov.js + function coverageClass(n) { + if (n >= 75) return 'high'; + if (n >= 50) return 'medium'; + if (n >= 25) return 'low'; + return 'terrible'; + } + }); // module: reporters/html-cov.js -require.register("reporters/html.js", function(module, exports, require){ - -/** + require.register('reporters/html.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , utils = require('../utils') - , Progress = require('../browser/progress') - , escape = utils.escape; + var Base = require('./base'), + utils = require('../utils'), + Progress = require('../browser/progress'), + escape = utils.escape; -/** + /** * Save timer references to avoid Sinon interfering (see GH-237). */ -var Date = global.Date - , setTimeout = global.setTimeout - , setInterval = global.setInterval - , clearTimeout = global.clearTimeout - , clearInterval = global.clearInterval; + var Date = global.Date, + setTimeout = global.setTimeout, + setInterval = global.setInterval, + clearTimeout = global.clearTimeout, + clearInterval = global.clearInterval; -/** + /** * Expose `HTML`. */ -exports = module.exports = HTML; + exports = module.exports = HTML; -/** + /** * Stats template. */ -var statsTemplate = ''; + var statsTemplate = + ''; -/** + /** * Initialize a new `HTML` reporter. * * @param {Runner} runner * @api public */ -function HTML(runner) { - Base.call(this, runner); + function HTML(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , total = runner.total - , stat = fragment(statsTemplate) - , items = stat.getElementsByTagName('li') - , passes = items[1].getElementsByTagName('em')[0] - , passesLink = items[1].getElementsByTagName('a')[0] - , failures = items[2].getElementsByTagName('em')[0] - , failuresLink = items[2].getElementsByTagName('a')[0] - , duration = items[3].getElementsByTagName('em')[0] - , canvas = stat.getElementsByTagName('canvas')[0] - , report = fragment('
    ') - , stack = [report] - , progress - , ctx - , root = document.getElementById('mocha'); + var self = this, + stats = this.stats, + total = runner.total, + stat = fragment(statsTemplate), + items = stat.getElementsByTagName('li'), + passes = items[1].getElementsByTagName('em')[0], + passesLink = items[1].getElementsByTagName('a')[0], + failures = items[2].getElementsByTagName('em')[0], + failuresLink = items[2].getElementsByTagName('a')[0], + duration = items[3].getElementsByTagName('em')[0], + canvas = stat.getElementsByTagName('canvas')[0], + report = fragment('
      '), + stack = [report], + progress, + ctx, + root = document.getElementById('mocha'); - if (canvas.getContext) { - var ratio = window.devicePixelRatio || 1; - canvas.style.width = canvas.width; - canvas.style.height = canvas.height; - canvas.width *= ratio; - canvas.height *= ratio; - ctx = canvas.getContext('2d'); - ctx.scale(ratio, ratio); - progress = new Progress; - } + if (canvas.getContext) { + var ratio = window.devicePixelRatio || 1; + canvas.style.width = canvas.width; + canvas.style.height = canvas.height; + canvas.width *= ratio; + canvas.height *= ratio; + ctx = canvas.getContext('2d'); + ctx.scale(ratio, ratio); + progress = new Progress(); + } - if (!root) return error('#mocha div missing, add it to your document'); + if (!root) return error('#mocha div missing, add it to your document'); - // pass toggle - on(passesLink, 'click', function(){ - unhide(); - var name = /pass/.test(report.className) ? '' : ' pass'; - report.className = report.className.replace(/fail|pass/g, '') + name; - if (report.className.trim()) hideSuitesWithout('test pass'); - }); + // pass toggle + on(passesLink, 'click', function() { + unhide(); + var name = /pass/.test(report.className) ? '' : ' pass'; + report.className = report.className.replace(/fail|pass/g, '') + name; + if (report.className.trim()) hideSuitesWithout('test pass'); + }); - // failure toggle - on(failuresLink, 'click', function(){ - unhide(); - var name = /fail/.test(report.className) ? '' : ' fail'; - report.className = report.className.replace(/fail|pass/g, '') + name; - if (report.className.trim()) hideSuitesWithout('test fail'); - }); + // failure toggle + on(failuresLink, 'click', function() { + unhide(); + var name = /fail/.test(report.className) ? '' : ' fail'; + report.className = report.className.replace(/fail|pass/g, '') + name; + if (report.className.trim()) hideSuitesWithout('test fail'); + }); - root.appendChild(stat); - root.appendChild(report); + root.appendChild(stat); + root.appendChild(report); - if (progress) progress.size(40); + if (progress) progress.size(40); - runner.on('suite', function(suite){ - if (suite.root) return; + runner.on('suite', function(suite) { + if (suite.root) return; - // suite - var url = self.suiteURL(suite); - var el = fragment('
    • %s

    • ', url, escape(suite.title)); + // suite + var url = self.suiteURL(suite); + var el = fragment( + '
    • %s

    • ', + url, + escape(suite.title) + ); - // container - stack[0].appendChild(el); - stack.unshift(document.createElement('ul')); - el.appendChild(stack[0]); - }); + // container + stack[0].appendChild(el); + stack.unshift(document.createElement('ul')); + el.appendChild(stack[0]); + }); - runner.on('suite end', function(suite){ - if (suite.root) return; - stack.shift(); - }); + runner.on('suite end', function(suite) { + if (suite.root) return; + stack.shift(); + }); - runner.on('fail', function(test, err){ - if ('hook' == test.type) runner.emit('test end', test); - }); + runner.on('fail', function(test, err) { + if ('hook' == test.type) runner.emit('test end', test); + }); - runner.on('test end', function(test){ - // TODO: add to stats - var percent = stats.tests / this.total * 100 | 0; - if (progress) progress.update(percent).draw(ctx); + runner.on('test end', function(test) { + // TODO: add to stats + var percent = (stats.tests / this.total * 100) | 0; + if (progress) progress.update(percent).draw(ctx); - // update stats - var ms = new Date - stats.start; - text(passes, stats.passes); - text(failures, stats.failures); - text(duration, (ms / 1000).toFixed(2)); + // update stats + var ms = new Date() - stats.start; + text(passes, stats.passes); + text(failures, stats.failures); + text(duration, (ms / 1000).toFixed(2)); - // test - if ('passed' == test.state) { - var url = self.testURL(test); - var el = fragment('
    • %e%ems

    • ', test.speed, test.title, test.duration, url); - } else if (test.pending) { - var el = fragment('
    • %e

    • ', test.title); - } else { - var el = fragment('
    • %e

    • ', test.title, encodeURIComponent(test.fullTitle())); - var str = test.err.stack || test.err.toString(); + // test + if ('passed' == test.state) { + var url = self.testURL(test); + var el = fragment( + '
    • %e%ems

    • ', + test.speed, + test.title, + test.duration, + url + ); + } else if (test.pending) { + var el = fragment('
    • %e

    • ', test.title); + } else { + var el = fragment( + '
    • %e

    • ', + test.title, + encodeURIComponent(test.fullTitle()) + ); + var str = test.err.stack || test.err.toString(); - // FF / Opera do not add the message - if (!~str.indexOf(test.err.message)) { - str = test.err.message + '\n' + str; - } + // FF / Opera do not add the message + if (!~str.indexOf(test.err.message)) { + str = test.err.message + '\n' + str; + } - // <=IE7 stringifies to [Object Error]. Since it can be overloaded, we - // check for the result of the stringifying. - if ('[object Error]' == str) str = test.err.message; + // <=IE7 stringifies to [Object Error]. Since it can be overloaded, we + // check for the result of the stringifying. + if ('[object Error]' == str) str = test.err.message; - // Safari doesn't give you a stack. Let's at least provide a source line. - if (!test.err.stack && test.err.sourceURL && test.err.line !== undefined) { - str += "\n(" + test.err.sourceURL + ":" + test.err.line + ")"; - } + // Safari doesn't give you a stack. Let's at least provide a source line. + if (!test.err.stack && test.err.sourceURL && test.err.line !== undefined) { + str += '\n(' + test.err.sourceURL + ':' + test.err.line + ')'; + } - el.appendChild(fragment('
      %e
      ', str)); - } + el.appendChild(fragment('
      %e
      ', str)); + } - // toggle code - // TODO: defer - if (!test.pending) { - var h2 = el.getElementsByTagName('h2')[0]; + // toggle code + // TODO: defer + if (!test.pending) { + var h2 = el.getElementsByTagName('h2')[0]; - on(h2, 'click', function(){ - pre.style.display = 'none' == pre.style.display - ? 'block' - : 'none'; - }); + on(h2, 'click', function() { + pre.style.display = 'none' == pre.style.display ? 'block' : 'none'; + }); - var pre = fragment('
      %e
      ', utils.clean(test.fn.toString())); - el.appendChild(pre); - pre.style.display = 'none'; - } + var pre = fragment( + '
      %e
      ', + utils.clean(test.fn.toString()) + ); + el.appendChild(pre); + pre.style.display = 'none'; + } - // Don't call .appendChild if #mocha-report was already .shift()'ed off the stack. - if (stack[0]) stack[0].appendChild(el); - }); -} + // Don't call .appendChild if #mocha-report was already .shift()'ed off the stack. + if (stack[0]) stack[0].appendChild(el); + }); + } -/** + /** * Provide suite URL * * @param {Object} [suite] */ -HTML.prototype.suiteURL = function(suite){ - return '?grep=' + encodeURIComponent(suite.fullTitle()); -}; + HTML.prototype.suiteURL = function(suite) { + return '?grep=' + encodeURIComponent(suite.fullTitle()); + }; -/** + /** * Provide test URL * * @param {Object} [test] */ -HTML.prototype.testURL = function(test){ - return '?grep=' + encodeURIComponent(test.fullTitle()); -}; + HTML.prototype.testURL = function(test) { + return '?grep=' + encodeURIComponent(test.fullTitle()); + }; -/** + /** * Display error `msg`. */ -function error(msg) { - document.body.appendChild(fragment('
      %s
      ', msg)); -} + function error(msg) { + document.body.appendChild(fragment('
      %s
      ', msg)); + } -/** + /** * Return a DOM fragment from `html`. */ -function fragment(html) { - var args = arguments - , div = document.createElement('div') - , i = 1; + function fragment(html) { + var args = arguments, + div = document.createElement('div'), + i = 1; - div.innerHTML = html.replace(/%([se])/g, function(_, type){ - switch (type) { - case 's': return String(args[i++]); - case 'e': return escape(args[i++]); - } - }); + div.innerHTML = html.replace(/%([se])/g, function(_, type) { + switch (type) { + case 's': + return String(args[i++]); + case 'e': + return escape(args[i++]); + } + }); - return div.firstChild; -} + return div.firstChild; + } -/** + /** * Check for suites that do not have elements * with `classname`, and hide them. */ -function hideSuitesWithout(classname) { - var suites = document.getElementsByClassName('suite'); - for (var i = 0; i < suites.length; i++) { - var els = suites[i].getElementsByClassName(classname); - if (0 == els.length) suites[i].className += ' hidden'; - } -} + function hideSuitesWithout(classname) { + var suites = document.getElementsByClassName('suite'); + for (var i = 0; i < suites.length; i++) { + var els = suites[i].getElementsByClassName(classname); + if (0 == els.length) suites[i].className += ' hidden'; + } + } -/** + /** * Unhide .hidden suites. */ -function unhide() { - var els = document.getElementsByClassName('suite hidden'); - for (var i = 0; i < els.length; ++i) { - els[i].className = els[i].className.replace('suite hidden', 'suite'); - } -} + function unhide() { + var els = document.getElementsByClassName('suite hidden'); + for (var i = 0; i < els.length; ++i) { + els[i].className = els[i].className.replace('suite hidden', 'suite'); + } + } -/** + /** * Set `el` text to `str`. */ -function text(el, str) { - if (el.textContent) { - el.textContent = str; - } else { - el.innerText = str; - } -} + function text(el, str) { + if (el.textContent) { + el.textContent = str; + } else { + el.innerText = str; + } + } -/** + /** * Listen on `event` with callback `fn`. */ -function on(el, event, fn) { - if (el.addEventListener) { - el.addEventListener(event, fn, false); - } else { - el.attachEvent('on' + event, fn); - } -} + function on(el, event, fn) { + if (el.addEventListener) { + el.addEventListener(event, fn, false); + } else { + el.attachEvent('on' + event, fn); + } + } + }); // module: reporters/html.js -}); // module: reporters/html.js + require.register('reporters/index.js', function(module, exports, require) { + exports.Base = require('./base'); + exports.Dot = require('./dot'); + exports.Doc = require('./doc'); + exports.TAP = require('./tap'); + exports.JSON = require('./json'); + exports.HTML = require('./html'); + exports.List = require('./list'); + exports.Min = require('./min'); + exports.Spec = require('./spec'); + exports.Nyan = require('./nyan'); + exports.XUnit = require('./xunit'); + exports.Markdown = require('./markdown'); + exports.Progress = require('./progress'); + exports.Landing = require('./landing'); + exports.JSONCov = require('./json-cov'); + exports.HTMLCov = require('./html-cov'); + exports.JSONStream = require('./json-stream'); + }); // module: reporters/index.js -require.register("reporters/index.js", function(module, exports, require){ - -exports.Base = require('./base'); -exports.Dot = require('./dot'); -exports.Doc = require('./doc'); -exports.TAP = require('./tap'); -exports.JSON = require('./json'); -exports.HTML = require('./html'); -exports.List = require('./list'); -exports.Min = require('./min'); -exports.Spec = require('./spec'); -exports.Nyan = require('./nyan'); -exports.XUnit = require('./xunit'); -exports.Markdown = require('./markdown'); -exports.Progress = require('./progress'); -exports.Landing = require('./landing'); -exports.JSONCov = require('./json-cov'); -exports.HTMLCov = require('./html-cov'); -exports.JSONStream = require('./json-stream'); - -}); // module: reporters/index.js - -require.register("reporters/json-cov.js", function(module, exports, require){ - -/** + require.register('reporters/json-cov.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base'); + var Base = require('./base'); -/** + /** * Expose `JSONCov`. */ -exports = module.exports = JSONCov; + exports = module.exports = JSONCov; -/** + /** * Initialize a new `JsCoverage` reporter. * * @param {Runner} runner @@ -2921,41 +2978,41 @@ exports = module.exports = JSONCov; * @api public */ -function JSONCov(runner, output) { - var self = this - , output = 1 == arguments.length ? true : output; + function JSONCov(runner, output) { + var self = this, + output = 1 == arguments.length ? true : output; - Base.call(this, runner); + Base.call(this, runner); - var tests = [] - , failures = [] - , passes = []; + var tests = [], + failures = [], + passes = []; - runner.on('test end', function(test){ - tests.push(test); - }); + runner.on('test end', function(test) { + tests.push(test); + }); - runner.on('pass', function(test){ - passes.push(test); - }); + runner.on('pass', function(test) { + passes.push(test); + }); - runner.on('fail', function(test){ - failures.push(test); - }); + runner.on('fail', function(test) { + failures.push(test); + }); - runner.on('end', function(){ - var cov = global._$jscoverage || {}; - var result = self.cov = map(cov); - result.stats = self.stats; - result.tests = tests.map(clean); - result.failures = failures.map(clean); - result.passes = passes.map(clean); - if (!output) return; - process.stdout.write(JSON.stringify(result, null, 2 )); - }); -} + runner.on('end', function() { + var cov = global._$jscoverage || {}; + var result = (self.cov = map(cov)); + result.stats = self.stats; + result.tests = tests.map(clean); + result.failures = failures.map(clean); + result.passes = passes.map(clean); + if (!output) return; + process.stdout.write(JSON.stringify(result, null, 2)); + }); + } -/** + /** * Map jscoverage data to a JSON structure * suitable for reporting. * @@ -2964,36 +3021,36 @@ function JSONCov(runner, output) { * @api private */ -function map(cov) { - var ret = { - instrumentation: 'node-jscoverage' - , sloc: 0 - , hits: 0 - , misses: 0 - , coverage: 0 - , files: [] - }; + function map(cov) { + var ret = { + instrumentation: 'node-jscoverage', + sloc: 0, + hits: 0, + misses: 0, + coverage: 0, + files: [] + }; - for (var filename in cov) { - var data = coverage(filename, cov[filename]); - ret.files.push(data); - ret.hits += data.hits; - ret.misses += data.misses; - ret.sloc += data.sloc; - } + for (var filename in cov) { + var data = coverage(filename, cov[filename]); + ret.files.push(data); + ret.hits += data.hits; + ret.misses += data.misses; + ret.sloc += data.sloc; + } - ret.files.sort(function(a, b) { - return a.filename.localeCompare(b.filename); - }); + ret.files.sort(function(a, b) { + return a.filename.localeCompare(b.filename); + }); - if (ret.sloc > 0) { - ret.coverage = (ret.hits / ret.sloc) * 100; - } + if (ret.sloc > 0) { + ret.coverage = ret.hits / ret.sloc * 100; + } - return ret; -} + return ret; + } -/** + /** * Map jscoverage data for a single source file * to a JSON structure suitable for reporting. * @@ -3003,41 +3060,39 @@ function map(cov) { * @api private */ -function coverage(filename, data) { - var ret = { - filename: filename, - coverage: 0, - hits: 0, - misses: 0, - sloc: 0, - source: {} - }; + function coverage(filename, data) { + var ret = { + filename: filename, + coverage: 0, + hits: 0, + misses: 0, + sloc: 0, + source: {} + }; - data.source.forEach(function(line, num){ - num++; + data.source.forEach(function(line, num) { + num++; - if (data[num] === 0) { - ret.misses++; - ret.sloc++; - } else if (data[num] !== undefined) { - ret.hits++; - ret.sloc++; - } + if (data[num] === 0) { + ret.misses++; + ret.sloc++; + } else if (data[num] !== undefined) { + ret.hits++; + ret.sloc++; + } - ret.source[num] = { - source: line - , coverage: data[num] === undefined - ? '' - : data[num] - }; - }); + ret.source[num] = { + source: line, + coverage: data[num] === undefined ? '' : data[num] + }; + }); - ret.coverage = ret.hits / ret.sloc * 100; + ret.coverage = ret.hits / ret.sloc * 100; - return ret; -} + return ret; + } -/** + /** * Return a plain-object representation of `test` * free of cyclic properties etc. * @@ -3046,63 +3101,61 @@ function coverage(filename, data) { * @api private */ -function clean(test) { - return { - title: test.title - , fullTitle: test.fullTitle() - , duration: test.duration - } -} + function clean(test) { + return { + title: test.title, + fullTitle: test.fullTitle(), + duration: test.duration + }; + } + }); // module: reporters/json-cov.js -}); // module: reporters/json-cov.js - -require.register("reporters/json-stream.js", function(module, exports, require){ - -/** + require.register('reporters/json-stream.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , color = Base.color; + var Base = require('./base'), + color = Base.color; -/** + /** * Expose `List`. */ -exports = module.exports = List; + exports = module.exports = List; -/** + /** * Initialize a new `List` test reporter. * * @param {Runner} runner * @api public */ -function List(runner) { - Base.call(this, runner); + function List(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , total = runner.total; + var self = this, + stats = this.stats, + total = runner.total; - runner.on('start', function(){ - console.log(JSON.stringify(['start', { total: total }])); - }); + runner.on('start', function() { + console.log(JSON.stringify(['start', {total: total}])); + }); - runner.on('pass', function(test){ - console.log(JSON.stringify(['pass', clean(test)])); - }); + runner.on('pass', function(test) { + console.log(JSON.stringify(['pass', clean(test)])); + }); - runner.on('fail', function(test, err){ - console.log(JSON.stringify(['fail', clean(test)])); - }); + runner.on('fail', function(test, err) { + console.log(JSON.stringify(['fail', clean(test)])); + }); - runner.on('end', function(){ - process.stdout.write(JSON.stringify(['end', self.stats])); - }); -} + runner.on('end', function() { + process.stdout.write(JSON.stringify(['end', self.stats])); + }); + } -/** + /** * Return a plain-object representation of `test` * free of cyclic properties etc. * @@ -3111,79 +3164,78 @@ function List(runner) { * @api private */ -function clean(test) { - return { - title: test.title - , fullTitle: test.fullTitle() - , duration: test.duration - } -} -}); // module: reporters/json-stream.js + function clean(test) { + return { + title: test.title, + fullTitle: test.fullTitle(), + duration: test.duration + }; + } + }); // module: reporters/json-stream.js -require.register("reporters/json.js", function(module, exports, require){ - -/** + require.register('reporters/json.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , cursor = Base.cursor - , color = Base.color; + var Base = require('./base'), + cursor = Base.cursor, + color = Base.color; -/** + /** * Expose `JSON`. */ -exports = module.exports = JSONReporter; + exports = module.exports = JSONReporter; -/** + /** * Initialize a new `JSON` reporter. * * @param {Runner} runner * @api public */ -function JSONReporter(runner) { - var self = this; - Base.call(this, runner); + function JSONReporter(runner) { + var self = this; + Base.call(this, runner); - var tests = [] - , pending = [] - , failures = [] - , passes = []; + var tests = [], + pending = [], + failures = [], + passes = []; - runner.on('test end', function(test){ - tests.push(test); - }); + runner.on('test end', function(test) { + tests.push(test); + }); - runner.on('pass', function(test){ - passes.push(test); - }); + runner.on('pass', function(test) { + passes.push(test); + }); - runner.on('fail', function(test){ - failures.push(test); - }); + runner.on('fail', function(test) { + failures.push(test); + }); - runner.on('pending', function(test){ - pending.push(test); - }); + runner.on('pending', function(test) { + pending.push(test); + }); - runner.on('end', function(){ - var obj = { - stats: self.stats, - tests: tests.map(clean), - pending: pending.map(clean), - failures: failures.map(clean), - passes: passes.map(clean) - }; + runner.on('end', function() { + var obj = { + stats: self.stats, + tests: tests.map(clean), + pending: pending.map(clean), + failures: failures.map(clean), + passes: passes.map(clean) + }; - runner.testResults = obj; + runner.testResults = obj; - process.stdout.write(JSON.stringify(obj, null, 2)); - }); -} + process.stdout.write(JSON.stringify(obj, null, 2)); + }); + } -/** + /** * Return a plain-object representation of `test` * free of cyclic properties etc. * @@ -3192,582 +3244,573 @@ function JSONReporter(runner) { * @api private */ -function clean(test) { - return { - title: test.title, - fullTitle: test.fullTitle(), - duration: test.duration, - err: errorJSON(test.err || {}) - } -} + function clean(test) { + return { + title: test.title, + fullTitle: test.fullTitle(), + duration: test.duration, + err: errorJSON(test.err || {}) + }; + } -/** + /** * Transform `error` into a JSON object. * @param {Error} err * @return {Object} */ -function errorJSON(err) { - var res = {}; - Object.getOwnPropertyNames(err).forEach(function(key) { - res[key] = err[key]; - }, err); - return res; -} + function errorJSON(err) { + var res = {}; + Object.getOwnPropertyNames(err).forEach(function(key) { + res[key] = err[key]; + }, err); + return res; + } + }); // module: reporters/json.js -}); // module: reporters/json.js - -require.register("reporters/landing.js", function(module, exports, require){ - -/** + require.register('reporters/landing.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , cursor = Base.cursor - , color = Base.color; + var Base = require('./base'), + cursor = Base.cursor, + color = Base.color; -/** + /** * Expose `Landing`. */ -exports = module.exports = Landing; + exports = module.exports = Landing; -/** + /** * Airplane color. */ -Base.colors.plane = 0; + Base.colors.plane = 0; -/** + /** * Airplane crash color. */ -Base.colors['plane crash'] = 31; + Base.colors['plane crash'] = 31; -/** + /** * Runway color. */ -Base.colors.runway = 90; + Base.colors.runway = 90; -/** + /** * Initialize a new `Landing` reporter. * * @param {Runner} runner * @api public */ -function Landing(runner) { - Base.call(this, runner); + function Landing(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , width = Base.window.width * .75 | 0 - , total = runner.total - , stream = process.stdout - , plane = color('plane', '✈') - , crashed = -1 - , n = 0; + var self = this, + stats = this.stats, + width = (Base.window.width * 0.75) | 0, + total = runner.total, + stream = process.stdout, + plane = color('plane', '✈'), + crashed = -1, + n = 0; - function runway() { - var buf = Array(width).join('-'); - return ' ' + color('runway', buf); - } + function runway() { + var buf = Array(width).join('-'); + return ' ' + color('runway', buf); + } - runner.on('start', function(){ - stream.write('\n '); - cursor.hide(); - }); + runner.on('start', function() { + stream.write('\n '); + cursor.hide(); + }); - runner.on('test end', function(test){ - // check if the plane crashed - var col = -1 == crashed - ? width * ++n / total | 0 - : crashed; + runner.on('test end', function(test) { + // check if the plane crashed + var col = -1 == crashed ? (width * ++n / total) | 0 : crashed; - // show the crash - if ('failed' == test.state) { - plane = color('plane crash', '✈'); - crashed = col; - } + // show the crash + if ('failed' == test.state) { + plane = color('plane crash', '✈'); + crashed = col; + } - // render landing strip - stream.write('\u001b[4F\n\n'); - stream.write(runway()); - stream.write('\n '); - stream.write(color('runway', Array(col).join('⋅'))); - stream.write(plane) - stream.write(color('runway', Array(width - col).join('⋅') + '\n')); - stream.write(runway()); - stream.write('\u001b[0m'); - }); + // render landing strip + stream.write('\u001b[4F\n\n'); + stream.write(runway()); + stream.write('\n '); + stream.write(color('runway', Array(col).join('⋅'))); + stream.write(plane); + stream.write(color('runway', Array(width - col).join('⋅') + '\n')); + stream.write(runway()); + stream.write('\u001b[0m'); + }); - runner.on('end', function(){ - cursor.show(); - console.log(); - self.epilogue(); - }); -} + runner.on('end', function() { + cursor.show(); + console.log(); + self.epilogue(); + }); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -Landing.prototype = new F; -Landing.prototype.constructor = Landing; + function F() {} + F.prototype = Base.prototype; + Landing.prototype = new F(); + Landing.prototype.constructor = Landing; + }); // module: reporters/landing.js -}); // module: reporters/landing.js - -require.register("reporters/list.js", function(module, exports, require){ - -/** + require.register('reporters/list.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , cursor = Base.cursor - , color = Base.color; + var Base = require('./base'), + cursor = Base.cursor, + color = Base.color; -/** + /** * Expose `List`. */ -exports = module.exports = List; + exports = module.exports = List; -/** + /** * Initialize a new `List` test reporter. * * @param {Runner} runner * @api public */ -function List(runner) { - Base.call(this, runner); + function List(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , n = 0; + var self = this, + stats = this.stats, + n = 0; - runner.on('start', function(){ - console.log(); - }); + runner.on('start', function() { + console.log(); + }); - runner.on('test', function(test){ - process.stdout.write(color('pass', ' ' + test.fullTitle() + ': ')); - }); + runner.on('test', function(test) { + process.stdout.write(color('pass', ' ' + test.fullTitle() + ': ')); + }); - runner.on('pending', function(test){ - var fmt = color('checkmark', ' -') - + color('pending', ' %s'); - console.log(fmt, test.fullTitle()); - }); + runner.on('pending', function(test) { + var fmt = color('checkmark', ' -') + color('pending', ' %s'); + console.log(fmt, test.fullTitle()); + }); - runner.on('pass', function(test){ - var fmt = color('checkmark', ' '+Base.symbols.dot) - + color('pass', ' %s: ') - + color(test.speed, '%dms'); - cursor.CR(); - console.log(fmt, test.fullTitle(), test.duration); - }); + runner.on('pass', function(test) { + var fmt = + color('checkmark', ' ' + Base.symbols.dot) + + color('pass', ' %s: ') + + color(test.speed, '%dms'); + cursor.CR(); + console.log(fmt, test.fullTitle(), test.duration); + }); - runner.on('fail', function(test, err){ - cursor.CR(); - console.log(color('fail', ' %d) %s'), ++n, test.fullTitle()); - }); + runner.on('fail', function(test, err) { + cursor.CR(); + console.log(color('fail', ' %d) %s'), ++n, test.fullTitle()); + }); - runner.on('end', self.epilogue.bind(self)); -} + runner.on('end', self.epilogue.bind(self)); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -List.prototype = new F; -List.prototype.constructor = List; + function F() {} + F.prototype = Base.prototype; + List.prototype = new F(); + List.prototype.constructor = List; + }); // module: reporters/list.js - -}); // module: reporters/list.js - -require.register("reporters/markdown.js", function(module, exports, require){ -/** + require.register('reporters/markdown.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , utils = require('../utils'); + var Base = require('./base'), + utils = require('../utils'); -/** + /** * Expose `Markdown`. */ -exports = module.exports = Markdown; + exports = module.exports = Markdown; -/** + /** * Initialize a new `Markdown` reporter. * * @param {Runner} runner * @api public */ -function Markdown(runner) { - Base.call(this, runner); + function Markdown(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , level = 0 - , buf = ''; + var self = this, + stats = this.stats, + level = 0, + buf = ''; - function title(str) { - return Array(level).join('#') + ' ' + str; - } + function title(str) { + return Array(level).join('#') + ' ' + str; + } - function indent() { - return Array(level).join(' '); - } + function indent() { + return Array(level).join(' '); + } - function mapTOC(suite, obj) { - var ret = obj; - obj = obj[suite.title] = obj[suite.title] || { suite: suite }; - suite.suites.forEach(function(suite){ - mapTOC(suite, obj); - }); - return ret; - } + function mapTOC(suite, obj) { + var ret = obj; + obj = obj[suite.title] = obj[suite.title] || {suite: suite}; + suite.suites.forEach(function(suite) { + mapTOC(suite, obj); + }); + return ret; + } - function stringifyTOC(obj, level) { - ++level; - var buf = ''; - var link; - for (var key in obj) { - if ('suite' == key) continue; - if (key) link = ' - [' + key + '](#' + utils.slug(obj[key].suite.fullTitle()) + ')\n'; - if (key) buf += Array(level).join(' ') + link; - buf += stringifyTOC(obj[key], level); - } - --level; - return buf; - } + function stringifyTOC(obj, level) { + ++level; + var buf = ''; + var link; + for (var key in obj) { + if ('suite' == key) continue; + if (key) + link = + ' - [' + key + '](#' + utils.slug(obj[key].suite.fullTitle()) + ')\n'; + if (key) buf += Array(level).join(' ') + link; + buf += stringifyTOC(obj[key], level); + } + --level; + return buf; + } - function generateTOC(suite) { - var obj = mapTOC(suite, {}); - return stringifyTOC(obj, 0); - } + function generateTOC(suite) { + var obj = mapTOC(suite, {}); + return stringifyTOC(obj, 0); + } - generateTOC(runner.suite); + generateTOC(runner.suite); - runner.on('suite', function(suite){ - ++level; - var slug = utils.slug(suite.fullTitle()); - buf += '' + '\n'; - buf += title(suite.title) + '\n'; - }); + runner.on('suite', function(suite) { + ++level; + var slug = utils.slug(suite.fullTitle()); + buf += '' + '\n'; + buf += title(suite.title) + '\n'; + }); - runner.on('suite end', function(suite){ - --level; - }); + runner.on('suite end', function(suite) { + --level; + }); - runner.on('pass', function(test){ - var code = utils.clean(test.fn.toString()); - buf += test.title + '.\n'; - buf += '\n```js\n'; - buf += code + '\n'; - buf += '```\n\n'; - }); + runner.on('pass', function(test) { + var code = utils.clean(test.fn.toString()); + buf += test.title + '.\n'; + buf += '\n```js\n'; + buf += code + '\n'; + buf += '```\n\n'; + }); - runner.on('end', function(){ - process.stdout.write('# TOC\n'); - process.stdout.write(generateTOC(runner.suite)); - process.stdout.write(buf); - }); -} -}); // module: reporters/markdown.js + runner.on('end', function() { + process.stdout.write('# TOC\n'); + process.stdout.write(generateTOC(runner.suite)); + process.stdout.write(buf); + }); + } + }); // module: reporters/markdown.js -require.register("reporters/min.js", function(module, exports, require){ - -/** + require.register('reporters/min.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base'); + var Base = require('./base'); -/** + /** * Expose `Min`. */ -exports = module.exports = Min; + exports = module.exports = Min; -/** + /** * Initialize a new `Min` minimal test reporter (best used with --watch). * * @param {Runner} runner * @api public */ -function Min(runner) { - Base.call(this, runner); + function Min(runner) { + Base.call(this, runner); - runner.on('start', function(){ - // clear screen - process.stdout.write('\u001b[2J'); - // set cursor position - process.stdout.write('\u001b[1;3H'); - }); + runner.on('start', function() { + // clear screen + process.stdout.write('\u001b[2J'); + // set cursor position + process.stdout.write('\u001b[1;3H'); + }); - runner.on('end', this.epilogue.bind(this)); -} + runner.on('end', this.epilogue.bind(this)); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -Min.prototype = new F; -Min.prototype.constructor = Min; + function F() {} + F.prototype = Base.prototype; + Min.prototype = new F(); + Min.prototype.constructor = Min; + }); // module: reporters/min.js - -}); // module: reporters/min.js - -require.register("reporters/nyan.js", function(module, exports, require){ -/** + require.register('reporters/nyan.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , color = Base.color; + var Base = require('./base'), + color = Base.color; -/** + /** * Expose `Dot`. */ -exports = module.exports = NyanCat; + exports = module.exports = NyanCat; -/** + /** * Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public */ -function NyanCat(runner) { - Base.call(this, runner); - var self = this - , stats = this.stats - , width = Base.window.width * .75 | 0 - , rainbowColors = this.rainbowColors = self.generateColors() - , colorIndex = this.colorIndex = 0 - , numerOfLines = this.numberOfLines = 4 - , trajectories = this.trajectories = [[], [], [], []] - , nyanCatWidth = this.nyanCatWidth = 11 - , trajectoryWidthMax = this.trajectoryWidthMax = (width - nyanCatWidth) - , scoreboardWidth = this.scoreboardWidth = 5 - , tick = this.tick = 0 - , n = 0; + function NyanCat(runner) { + Base.call(this, runner); + var self = this, + stats = this.stats, + width = (Base.window.width * 0.75) | 0, + rainbowColors = (this.rainbowColors = self.generateColors()), + colorIndex = (this.colorIndex = 0), + numerOfLines = (this.numberOfLines = 4), + trajectories = (this.trajectories = [[], [], [], []]), + nyanCatWidth = (this.nyanCatWidth = 11), + trajectoryWidthMax = (this.trajectoryWidthMax = width - nyanCatWidth), + scoreboardWidth = (this.scoreboardWidth = 5), + tick = (this.tick = 0), + n = 0; - runner.on('start', function(){ - Base.cursor.hide(); - self.draw(); - }); + runner.on('start', function() { + Base.cursor.hide(); + self.draw(); + }); - runner.on('pending', function(test){ - self.draw(); - }); + runner.on('pending', function(test) { + self.draw(); + }); - runner.on('pass', function(test){ - self.draw(); - }); + runner.on('pass', function(test) { + self.draw(); + }); - runner.on('fail', function(test, err){ - self.draw(); - }); + runner.on('fail', function(test, err) { + self.draw(); + }); - runner.on('end', function(){ - Base.cursor.show(); - for (var i = 0; i < self.numberOfLines; i++) write('\n'); - self.epilogue(); - }); -} + runner.on('end', function() { + Base.cursor.show(); + for (var i = 0; i < self.numberOfLines; i++) write('\n'); + self.epilogue(); + }); + } -/** + /** * Draw the nyan cat * * @api private */ -NyanCat.prototype.draw = function(){ - this.appendRainbow(); - this.drawScoreboard(); - this.drawRainbow(); - this.drawNyanCat(); - this.tick = !this.tick; -}; + NyanCat.prototype.draw = function() { + this.appendRainbow(); + this.drawScoreboard(); + this.drawRainbow(); + this.drawNyanCat(); + this.tick = !this.tick; + }; -/** + /** * Draw the "scoreboard" showing the number * of passes, failures and pending tests. * * @api private */ -NyanCat.prototype.drawScoreboard = function(){ - var stats = this.stats; - var colors = Base.colors; + NyanCat.prototype.drawScoreboard = function() { + var stats = this.stats; + var colors = Base.colors; - function draw(color, n) { - write(' '); - write('\u001b[' + color + 'm' + n + '\u001b[0m'); - write('\n'); - } + function draw(color, n) { + write(' '); + write('\u001b[' + color + 'm' + n + '\u001b[0m'); + write('\n'); + } - draw(colors.green, stats.passes); - draw(colors.fail, stats.failures); - draw(colors.pending, stats.pending); - write('\n'); + draw(colors.green, stats.passes); + draw(colors.fail, stats.failures); + draw(colors.pending, stats.pending); + write('\n'); - this.cursorUp(this.numberOfLines); -}; + this.cursorUp(this.numberOfLines); + }; -/** + /** * Append the rainbow. * * @api private */ -NyanCat.prototype.appendRainbow = function(){ - var segment = this.tick ? '_' : '-'; - var rainbowified = this.rainbowify(segment); + NyanCat.prototype.appendRainbow = function() { + var segment = this.tick ? '_' : '-'; + var rainbowified = this.rainbowify(segment); - for (var index = 0; index < this.numberOfLines; index++) { - var trajectory = this.trajectories[index]; - if (trajectory.length >= this.trajectoryWidthMax) trajectory.shift(); - trajectory.push(rainbowified); - } -}; + for (var index = 0; index < this.numberOfLines; index++) { + var trajectory = this.trajectories[index]; + if (trajectory.length >= this.trajectoryWidthMax) trajectory.shift(); + trajectory.push(rainbowified); + } + }; -/** + /** * Draw the rainbow. * * @api private */ -NyanCat.prototype.drawRainbow = function(){ - var self = this; + NyanCat.prototype.drawRainbow = function() { + var self = this; - this.trajectories.forEach(function(line, index) { - write('\u001b[' + self.scoreboardWidth + 'C'); - write(line.join('')); - write('\n'); - }); + this.trajectories.forEach(function(line, index) { + write('\u001b[' + self.scoreboardWidth + 'C'); + write(line.join('')); + write('\n'); + }); - this.cursorUp(this.numberOfLines); -}; + this.cursorUp(this.numberOfLines); + }; -/** + /** * Draw the nyan cat * * @api private */ -NyanCat.prototype.drawNyanCat = function() { - var self = this; - var startWidth = this.scoreboardWidth + this.trajectories[0].length; - var color = '\u001b[' + startWidth + 'C'; - var padding = ''; + NyanCat.prototype.drawNyanCat = function() { + var self = this; + var startWidth = this.scoreboardWidth + this.trajectories[0].length; + var color = '\u001b[' + startWidth + 'C'; + var padding = ''; - write(color); - write('_,------,'); - write('\n'); + write(color); + write('_,------,'); + write('\n'); - write(color); - padding = self.tick ? ' ' : ' '; - write('_|' + padding + '/\\_/\\ '); - write('\n'); + write(color); + padding = self.tick ? ' ' : ' '; + write('_|' + padding + '/\\_/\\ '); + write('\n'); - write(color); - padding = self.tick ? '_' : '__'; - var tail = self.tick ? '~' : '^'; - var face; - write(tail + '|' + padding + this.face() + ' '); - write('\n'); + write(color); + padding = self.tick ? '_' : '__'; + var tail = self.tick ? '~' : '^'; + var face; + write(tail + '|' + padding + this.face() + ' '); + write('\n'); - write(color); - padding = self.tick ? ' ' : ' '; - write(padding + '"" "" '); - write('\n'); + write(color); + padding = self.tick ? ' ' : ' '; + write(padding + '"" "" '); + write('\n'); - this.cursorUp(this.numberOfLines); -}; + this.cursorUp(this.numberOfLines); + }; -/** + /** * Draw nyan cat face. * * @return {String} * @api private */ -NyanCat.prototype.face = function() { - var stats = this.stats; - if (stats.failures) { - return '( x .x)'; - } else if (stats.pending) { - return '( o .o)'; - } else if(stats.passes) { - return '( ^ .^)'; - } else { - return '( - .-)'; - } -}; + NyanCat.prototype.face = function() { + var stats = this.stats; + if (stats.failures) { + return '( x .x)'; + } else if (stats.pending) { + return '( o .o)'; + } else if (stats.passes) { + return '( ^ .^)'; + } else { + return '( - .-)'; + } + }; -/** + /** * Move cursor up `n`. * * @param {Number} n * @api private */ -NyanCat.prototype.cursorUp = function(n) { - write('\u001b[' + n + 'A'); -}; + NyanCat.prototype.cursorUp = function(n) { + write('\u001b[' + n + 'A'); + }; -/** + /** * Move cursor down `n`. * * @param {Number} n * @api private */ -NyanCat.prototype.cursorDown = function(n) { - write('\u001b[' + n + 'B'); -}; + NyanCat.prototype.cursorDown = function(n) { + write('\u001b[' + n + 'B'); + }; -/** + /** * Generate rainbow colors. * * @return {Array} * @api private */ -NyanCat.prototype.generateColors = function(){ - var colors = []; + NyanCat.prototype.generateColors = function() { + var colors = []; - for (var i = 0; i < (6 * 7); i++) { - var pi3 = Math.floor(Math.PI / 3); - var n = (i * (1.0 / 6)); - var r = Math.floor(3 * Math.sin(n) + 3); - var g = Math.floor(3 * Math.sin(n + 2 * pi3) + 3); - var b = Math.floor(3 * Math.sin(n + 4 * pi3) + 3); - colors.push(36 * r + 6 * g + b + 16); - } + for (var i = 0; i < 6 * 7; i++) { + var pi3 = Math.floor(Math.PI / 3); + var n = i * (1.0 / 6); + var r = Math.floor(3 * Math.sin(n) + 3); + var g = Math.floor(3 * Math.sin(n + 2 * pi3) + 3); + var b = Math.floor(3 * Math.sin(n + 4 * pi3) + 3); + colors.push(36 * r + 6 * g + b + 16); + } - return colors; -}; + return colors; + }; -/** + /** * Apply rainbow to the given `str`. * * @param {String} str @@ -3775,54 +3818,52 @@ NyanCat.prototype.generateColors = function(){ * @api private */ -NyanCat.prototype.rainbowify = function(str){ - var color = this.rainbowColors[this.colorIndex % this.rainbowColors.length]; - this.colorIndex += 1; - return '\u001b[38;5;' + color + 'm' + str + '\u001b[0m'; -}; + NyanCat.prototype.rainbowify = function(str) { + var color = this.rainbowColors[this.colorIndex % this.rainbowColors.length]; + this.colorIndex += 1; + return '\u001b[38;5;' + color + 'm' + str + '\u001b[0m'; + }; -/** + /** * Stdout helper. */ -function write(string) { - process.stdout.write(string); -} + function write(string) { + process.stdout.write(string); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -NyanCat.prototype = new F; -NyanCat.prototype.constructor = NyanCat; + function F() {} + F.prototype = Base.prototype; + NyanCat.prototype = new F(); + NyanCat.prototype.constructor = NyanCat; + }); // module: reporters/nyan.js - -}); // module: reporters/nyan.js - -require.register("reporters/progress.js", function(module, exports, require){ -/** + require.register('reporters/progress.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , cursor = Base.cursor - , color = Base.color; + var Base = require('./base'), + cursor = Base.cursor, + color = Base.color; -/** + /** * Expose `Progress`. */ -exports = module.exports = Progress; + exports = module.exports = Progress; -/** + /** * General progress bar color. */ -Base.colors.progress = 90; + Base.colors.progress = 90; -/** + /** * Initialize a new `Progress` bar test reporter. * * @param {Runner} runner @@ -3830,232 +3871,228 @@ Base.colors.progress = 90; * @api public */ -function Progress(runner, options) { - Base.call(this, runner); + function Progress(runner, options) { + Base.call(this, runner); - var self = this - , options = options || {} - , stats = this.stats - , width = Base.window.width * .50 | 0 - , total = runner.total - , complete = 0 - , max = Math.max - , lastN = -1; + var self = this, + options = options || {}, + stats = this.stats, + width = (Base.window.width * 0.5) | 0, + total = runner.total, + complete = 0, + max = Math.max, + lastN = -1; - // default chars - options.open = options.open || '['; - options.complete = options.complete || '▬'; - options.incomplete = options.incomplete || Base.symbols.dot; - options.close = options.close || ']'; - options.verbose = false; + // default chars + options.open = options.open || '['; + options.complete = options.complete || '▬'; + options.incomplete = options.incomplete || Base.symbols.dot; + options.close = options.close || ']'; + options.verbose = false; - // tests started - runner.on('start', function(){ - console.log(); - cursor.hide(); - }); + // tests started + runner.on('start', function() { + console.log(); + cursor.hide(); + }); - // tests complete - runner.on('test end', function(){ - complete++; - var incomplete = total - complete - , percent = complete / total - , n = width * percent | 0 - , i = width - n; + // tests complete + runner.on('test end', function() { + complete++; + var incomplete = total - complete, + percent = complete / total, + n = (width * percent) | 0, + i = width - n; - if (lastN === n && !options.verbose) { - // Don't re-render the line if it hasn't changed - return; - } - lastN = n; + if (lastN === n && !options.verbose) { + // Don't re-render the line if it hasn't changed + return; + } + lastN = n; - cursor.CR(); - process.stdout.write('\u001b[J'); - process.stdout.write(color('progress', ' ' + options.open)); - process.stdout.write(Array(n).join(options.complete)); - process.stdout.write(Array(i).join(options.incomplete)); - process.stdout.write(color('progress', options.close)); - if (options.verbose) { - process.stdout.write(color('progress', ' ' + complete + ' of ' + total)); - } - }); + cursor.CR(); + process.stdout.write('\u001b[J'); + process.stdout.write(color('progress', ' ' + options.open)); + process.stdout.write(Array(n).join(options.complete)); + process.stdout.write(Array(i).join(options.incomplete)); + process.stdout.write(color('progress', options.close)); + if (options.verbose) { + process.stdout.write(color('progress', ' ' + complete + ' of ' + total)); + } + }); - // tests are complete, output some stats - // and the failures if any - runner.on('end', function(){ - cursor.show(); - console.log(); - self.epilogue(); - }); -} + // tests are complete, output some stats + // and the failures if any + runner.on('end', function() { + cursor.show(); + console.log(); + self.epilogue(); + }); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -Progress.prototype = new F; -Progress.prototype.constructor = Progress; + function F() {} + F.prototype = Base.prototype; + Progress.prototype = new F(); + Progress.prototype.constructor = Progress; + }); // module: reporters/progress.js - -}); // module: reporters/progress.js - -require.register("reporters/spec.js", function(module, exports, require){ - -/** + require.register('reporters/spec.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , cursor = Base.cursor - , color = Base.color; + var Base = require('./base'), + cursor = Base.cursor, + color = Base.color; -/** + /** * Expose `Spec`. */ -exports = module.exports = Spec; + exports = module.exports = Spec; -/** + /** * Initialize a new `Spec` test reporter. * * @param {Runner} runner * @api public */ -function Spec(runner) { - Base.call(this, runner); + function Spec(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , indents = 0 - , n = 0; + var self = this, + stats = this.stats, + indents = 0, + n = 0; - function indent() { - return Array(indents).join(' ') - } + function indent() { + return Array(indents).join(' '); + } - runner.on('start', function(){ - console.log(); - }); + runner.on('start', function() { + console.log(); + }); - runner.on('suite', function(suite){ - ++indents; - console.log(color('suite', '%s%s'), indent(), suite.title); - }); + runner.on('suite', function(suite) { + ++indents; + console.log(color('suite', '%s%s'), indent(), suite.title); + }); - runner.on('suite end', function(suite){ - --indents; - if (1 == indents) console.log(); - }); + runner.on('suite end', function(suite) { + --indents; + if (1 == indents) console.log(); + }); - runner.on('pending', function(test){ - var fmt = indent() + color('pending', ' - %s'); - console.log(fmt, test.title); - }); + runner.on('pending', function(test) { + var fmt = indent() + color('pending', ' - %s'); + console.log(fmt, test.title); + }); - runner.on('pass', function(test){ - if ('fast' == test.speed) { - var fmt = indent() - + color('checkmark', ' ' + Base.symbols.ok) - + color('pass', ' %s '); - cursor.CR(); - console.log(fmt, test.title); - } else { - var fmt = indent() - + color('checkmark', ' ' + Base.symbols.ok) - + color('pass', ' %s ') - + color(test.speed, '(%dms)'); - cursor.CR(); - console.log(fmt, test.title, test.duration); - } - }); + runner.on('pass', function(test) { + if ('fast' == test.speed) { + var fmt = + indent() + + color('checkmark', ' ' + Base.symbols.ok) + + color('pass', ' %s '); + cursor.CR(); + console.log(fmt, test.title); + } else { + var fmt = + indent() + + color('checkmark', ' ' + Base.symbols.ok) + + color('pass', ' %s ') + + color(test.speed, '(%dms)'); + cursor.CR(); + console.log(fmt, test.title, test.duration); + } + }); - runner.on('fail', function(test, err){ - cursor.CR(); - console.log(indent() + color('fail', ' %d) %s'), ++n, test.title); - }); + runner.on('fail', function(test, err) { + cursor.CR(); + console.log(indent() + color('fail', ' %d) %s'), ++n, test.title); + }); - runner.on('end', self.epilogue.bind(self)); -} + runner.on('end', self.epilogue.bind(self)); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -Spec.prototype = new F; -Spec.prototype.constructor = Spec; + function F() {} + F.prototype = Base.prototype; + Spec.prototype = new F(); + Spec.prototype.constructor = Spec; + }); // module: reporters/spec.js - -}); // module: reporters/spec.js - -require.register("reporters/tap.js", function(module, exports, require){ - -/** + require.register('reporters/tap.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , cursor = Base.cursor - , color = Base.color; + var Base = require('./base'), + cursor = Base.cursor, + color = Base.color; -/** + /** * Expose `TAP`. */ -exports = module.exports = TAP; + exports = module.exports = TAP; -/** + /** * Initialize a new `TAP` reporter. * * @param {Runner} runner * @api public */ -function TAP(runner) { - Base.call(this, runner); + function TAP(runner) { + Base.call(this, runner); - var self = this - , stats = this.stats - , n = 1 - , passes = 0 - , failures = 0; + var self = this, + stats = this.stats, + n = 1, + passes = 0, + failures = 0; - runner.on('start', function(){ - var total = runner.grepTotal(runner.suite); - console.log('%d..%d', 1, total); - }); + runner.on('start', function() { + var total = runner.grepTotal(runner.suite); + console.log('%d..%d', 1, total); + }); - runner.on('test end', function(){ - ++n; - }); + runner.on('test end', function() { + ++n; + }); - runner.on('pending', function(test){ - console.log('ok %d %s # SKIP -', n, title(test)); - }); + runner.on('pending', function(test) { + console.log('ok %d %s # SKIP -', n, title(test)); + }); - runner.on('pass', function(test){ - passes++; - console.log('ok %d %s', n, title(test)); - }); + runner.on('pass', function(test) { + passes++; + console.log('ok %d %s', n, title(test)); + }); - runner.on('fail', function(test, err){ - failures++; - console.log('not ok %d %s', n, title(test)); - if (err.stack) console.log(err.stack.replace(/^/gm, ' ')); - }); + runner.on('fail', function(test, err) { + failures++; + console.log('not ok %d %s', n, title(test)); + if (err.stack) console.log(err.stack.replace(/^/gm, ' ')); + }); - runner.on('end', function(){ - console.log('# tests ' + (passes + failures)); - console.log('# pass ' + passes); - console.log('# fail ' + failures); - }); -} + runner.on('end', function() { + console.log('# tests ' + (passes + failures)); + console.log('# pass ' + passes); + console.log('# fail ' + failures); + }); + } -/** + /** * Return a TAP-safe title of `test` * * @param {Object} test @@ -4063,171 +4100,179 @@ function TAP(runner) { * @api private */ -function title(test) { - return test.fullTitle().replace(/#/g, ''); -} + function title(test) { + return test.fullTitle().replace(/#/g, ''); + } + }); // module: reporters/tap.js -}); // module: reporters/tap.js - -require.register("reporters/xunit.js", function(module, exports, require){ - -/** + require.register('reporters/xunit.js', function(module, exports, require) { + /** * Module dependencies. */ -var Base = require('./base') - , utils = require('../utils') - , escape = utils.escape; + var Base = require('./base'), + utils = require('../utils'), + escape = utils.escape; -/** + /** * Save timer references to avoid Sinon interfering (see GH-237). */ -var Date = global.Date - , setTimeout = global.setTimeout - , setInterval = global.setInterval - , clearTimeout = global.clearTimeout - , clearInterval = global.clearInterval; + var Date = global.Date, + setTimeout = global.setTimeout, + setInterval = global.setInterval, + clearTimeout = global.clearTimeout, + clearInterval = global.clearInterval; -/** + /** * Expose `XUnit`. */ -exports = module.exports = XUnit; + exports = module.exports = XUnit; -/** + /** * Initialize a new `XUnit` reporter. * * @param {Runner} runner * @api public */ -function XUnit(runner) { - Base.call(this, runner); - var stats = this.stats - , tests = [] - , self = this; + function XUnit(runner) { + Base.call(this, runner); + var stats = this.stats, + tests = [], + self = this; - runner.on('pending', function(test){ - tests.push(test); - }); + runner.on('pending', function(test) { + tests.push(test); + }); - runner.on('pass', function(test){ - tests.push(test); - }); + runner.on('pass', function(test) { + tests.push(test); + }); - runner.on('fail', function(test){ - tests.push(test); - }); + runner.on('fail', function(test) { + tests.push(test); + }); - runner.on('end', function(){ - console.log(tag('testsuite', { - name: 'Mocha Tests' - , tests: stats.tests - , failures: stats.failures - , errors: stats.failures - , skipped: stats.tests - stats.failures - stats.passes - , timestamp: (new Date).toUTCString() - , time: (stats.duration / 1000) || 0 - }, false)); + runner.on('end', function() { + console.log( + tag( + 'testsuite', + { + name: 'Mocha Tests', + tests: stats.tests, + failures: stats.failures, + errors: stats.failures, + skipped: stats.tests - stats.failures - stats.passes, + timestamp: new Date().toUTCString(), + time: stats.duration / 1000 || 0 + }, + false + ) + ); - tests.forEach(test); - console.log(''); - }); -} + tests.forEach(test); + console.log(''); + }); + } -/** + /** * Inherit from `Base.prototype`. */ -function F(){}; -F.prototype = Base.prototype; -XUnit.prototype = new F; -XUnit.prototype.constructor = XUnit; + function F() {} + F.prototype = Base.prototype; + XUnit.prototype = new F(); + XUnit.prototype.constructor = XUnit; - -/** + /** * Output tag for the given `test.` */ -function test(test) { - var attrs = { - classname: test.parent.fullTitle() - , name: test.title - , time: (test.duration / 1000) || 0 - }; + function test(test) { + var attrs = { + classname: test.parent.fullTitle(), + name: test.title, + time: test.duration / 1000 || 0 + }; - if ('failed' == test.state) { - var err = test.err; - console.log(tag('testcase', attrs, false, tag('failure', {}, false, cdata(escape(err.message) + "\n" + err.stack)))); - } else if (test.pending) { - console.log(tag('testcase', attrs, false, tag('skipped', {}, true))); - } else { - console.log(tag('testcase', attrs, true) ); - } -} + if ('failed' == test.state) { + var err = test.err; + console.log( + tag( + 'testcase', + attrs, + false, + tag('failure', {}, false, cdata(escape(err.message) + '\n' + err.stack)) + ) + ); + } else if (test.pending) { + console.log(tag('testcase', attrs, false, tag('skipped', {}, true))); + } else { + console.log(tag('testcase', attrs, true)); + } + } -/** + /** * HTML tag helper. */ -function tag(name, attrs, close, content) { - var end = close ? '/>' : '>' - , pairs = [] - , tag; + function tag(name, attrs, close, content) { + var end = close ? '/>' : '>', + pairs = [], + tag; - for (var key in attrs) { - pairs.push(key + '="' + escape(attrs[key]) + '"'); - } + for (var key in attrs) { + pairs.push(key + '="' + escape(attrs[key]) + '"'); + } - tag = '<' + name + (pairs.length ? ' ' + pairs.join(' ') : '') + end; - if (content) tag += content + ''; -} + function cdata(str) { + return ''; + } + }); // module: reporters/xunit.js -}); // module: reporters/xunit.js - -require.register("runnable.js", function(module, exports, require){ - -/** + require.register('runnable.js', function(module, exports, require) { + /** * Module dependencies. */ -var EventEmitter = require('browser/events').EventEmitter - , debug = require('browser/debug')('mocha:runnable') - , milliseconds = require('./ms'); + var EventEmitter = require('browser/events').EventEmitter, + debug = require('browser/debug')('mocha:runnable'), + milliseconds = require('./ms'); -/** + /** * Save timer references to avoid Sinon interfering (see GH-237). */ -var Date = global.Date - , setTimeout = global.setTimeout - , setInterval = global.setInterval - , clearTimeout = global.clearTimeout - , clearInterval = global.clearInterval; + var Date = global.Date, + setTimeout = global.setTimeout, + setInterval = global.setInterval, + clearTimeout = global.clearTimeout, + clearInterval = global.clearInterval; -/** + /** * Object#toString(). */ -var toString = Object.prototype.toString; + var toString = Object.prototype.toString; -/** + /** * Expose `Runnable`. */ -module.exports = Runnable; + module.exports = Runnable; -/** + /** * Initialize a new `Runnable` with the given `title` and callback `fn`. * * @param {String} title @@ -4235,28 +4280,27 @@ module.exports = Runnable; * @api private */ -function Runnable(title, fn) { - this.title = title; - this.fn = fn; - this.async = fn && fn.length; - this.sync = ! this.async; - this._timeout = 2000; - this._slow = 75; - this._enableTimeouts = true; - this.timedOut = false; -} + function Runnable(title, fn) { + this.title = title; + this.fn = fn; + this.async = fn && fn.length; + this.sync = !this.async; + this._timeout = 2000; + this._slow = 75; + this._enableTimeouts = true; + this.timedOut = false; + } -/** + /** * Inherit from `EventEmitter.prototype`. */ -function F(){}; -F.prototype = EventEmitter.prototype; -Runnable.prototype = new F; -Runnable.prototype.constructor = Runnable; + function F() {} + F.prototype = EventEmitter.prototype; + Runnable.prototype = new F(); + Runnable.prototype.constructor = Runnable; - -/** + /** * Set & get timeout `ms`. * * @param {Number|String} ms @@ -4264,17 +4308,17 @@ Runnable.prototype.constructor = Runnable; * @api private */ -Runnable.prototype.timeout = function(ms){ - if (0 == arguments.length) return this._timeout; - if (ms === 0) this._enableTimeouts = false; - if ('string' == typeof ms) ms = milliseconds(ms); - debug('timeout %d', ms); - this._timeout = ms; - if (this.timer) this.resetTimeout(); - return this; -}; + Runnable.prototype.timeout = function(ms) { + if (0 == arguments.length) return this._timeout; + if (ms === 0) this._enableTimeouts = false; + if ('string' == typeof ms) ms = milliseconds(ms); + debug('timeout %d', ms); + this._timeout = ms; + if (this.timer) this.resetTimeout(); + return this; + }; -/** + /** * Set & get slow `ms`. * * @param {Number|String} ms @@ -4282,15 +4326,15 @@ Runnable.prototype.timeout = function(ms){ * @api private */ -Runnable.prototype.slow = function(ms){ - if (0 === arguments.length) return this._slow; - if ('string' == typeof ms) ms = milliseconds(ms); - debug('timeout %d', ms); - this._slow = ms; - return this; -}; + Runnable.prototype.slow = function(ms) { + if (0 === arguments.length) return this._slow; + if ('string' == typeof ms) ms = milliseconds(ms); + debug('timeout %d', ms); + this._slow = ms; + return this; + }; -/** + /** * Set and & get timeout `enabled`. * * @param {Boolean} enabled @@ -4298,14 +4342,14 @@ Runnable.prototype.slow = function(ms){ * @api private */ -Runnable.prototype.enableTimeouts = function(enabled){ - if (arguments.length === 0) return this._enableTimeouts; - debug('enableTimeouts %s', enabled); - this._enableTimeouts = enabled; - return this; -}; + Runnable.prototype.enableTimeouts = function(enabled) { + if (arguments.length === 0) return this._enableTimeouts; + debug('enableTimeouts %s', enabled); + this._enableTimeouts = enabled; + return this; + }; -/** + /** * Return the full title generated by recursively * concatenating the parent's full title. * @@ -4313,192 +4357,202 @@ Runnable.prototype.enableTimeouts = function(enabled){ * @api public */ -Runnable.prototype.fullTitle = function(){ - return this.parent.fullTitle() + ' ' + this.title; -}; + Runnable.prototype.fullTitle = function() { + return this.parent.fullTitle() + ' ' + this.title; + }; -/** + /** * Clear the timeout. * * @api private */ -Runnable.prototype.clearTimeout = function(){ - clearTimeout(this.timer); -}; + Runnable.prototype.clearTimeout = function() { + clearTimeout(this.timer); + }; -/** + /** * Inspect the runnable void of private properties. * * @return {String} * @api private */ -Runnable.prototype.inspect = function(){ - return JSON.stringify(this, function(key, val){ - if ('_' == key[0]) return; - if ('parent' == key) return '#'; - if ('ctx' == key) return '#'; - return val; - }, 2); -}; + Runnable.prototype.inspect = function() { + return JSON.stringify( + this, + function(key, val) { + if ('_' == key[0]) return; + if ('parent' == key) return '#'; + if ('ctx' == key) return '#'; + return val; + }, + 2 + ); + }; -/** + /** * Reset the timeout. * * @api private */ -Runnable.prototype.resetTimeout = function(){ - var self = this; - var ms = this.timeout() || 1e9; + Runnable.prototype.resetTimeout = function() { + var self = this; + var ms = this.timeout() || 1e9; - if (!this._enableTimeouts) return; - this.clearTimeout(); - this.timer = setTimeout(function(){ - if (!self._enableTimeouts) return; - self.callback(new Error('timeout of ' + ms + 'ms exceeded')); - self.timedOut = true; - }, ms); -}; + if (!this._enableTimeouts) return; + this.clearTimeout(); + this.timer = setTimeout(function() { + if (!self._enableTimeouts) return; + self.callback(new Error('timeout of ' + ms + 'ms exceeded')); + self.timedOut = true; + }, ms); + }; -/** + /** * Whitelist these globals for this test run * * @api private */ -Runnable.prototype.globals = function(arr){ - var self = this; - this._allowedGlobals = arr; -}; + Runnable.prototype.globals = function(arr) { + var self = this; + this._allowedGlobals = arr; + }; -/** + /** * Run the test and invoke `fn(err)`. * * @param {Function} fn * @api private */ -Runnable.prototype.run = function(fn){ - var self = this - , start = new Date - , ctx = this.ctx - , finished - , emitted; + Runnable.prototype.run = function(fn) { + var self = this, + start = new Date(), + ctx = this.ctx, + finished, + emitted; - // Some times the ctx exists but it is not runnable - if (ctx && ctx.runnable) ctx.runnable(this); + // Some times the ctx exists but it is not runnable + if (ctx && ctx.runnable) ctx.runnable(this); - // called multiple times - function multiple(err) { - if (emitted) return; - emitted = true; - self.emit('error', err || new Error('done() called multiple times')); - } + // called multiple times + function multiple(err) { + if (emitted) return; + emitted = true; + self.emit('error', err || new Error('done() called multiple times')); + } - // finished - function done(err) { - var ms = self.timeout(); - if (self.timedOut) return; - if (finished) return multiple(err); - self.clearTimeout(); - self.duration = new Date - start; - finished = true; - if (!err && self.duration > ms && self._enableTimeouts) err = new Error('timeout of ' + ms + 'ms exceeded'); - fn(err); - } + // finished + function done(err) { + var ms = self.timeout(); + if (self.timedOut) return; + if (finished) return multiple(err); + self.clearTimeout(); + self.duration = new Date() - start; + finished = true; + if (!err && self.duration > ms && self._enableTimeouts) + err = new Error('timeout of ' + ms + 'ms exceeded'); + fn(err); + } - // for .resetTimeout() - this.callback = done; + // for .resetTimeout() + this.callback = done; - // explicit async with `done` argument - if (this.async) { - this.resetTimeout(); + // explicit async with `done` argument + if (this.async) { + this.resetTimeout(); - try { - this.fn.call(ctx, function(err){ - if (err instanceof Error || toString.call(err) === "[object Error]") return done(err); - if (null != err) { - if (Object.prototype.toString.call(err) === '[object Object]') { - return done(new Error('done() invoked with non-Error: ' + JSON.stringify(err))); - } else { - return done(new Error('done() invoked with non-Error: ' + err)); - } - } - done(); - }); - } catch (err) { - done(err); - } - return; - } + try { + this.fn.call(ctx, function(err) { + if (err instanceof Error || toString.call(err) === '[object Error]') + return done(err); + if (null != err) { + if (Object.prototype.toString.call(err) === '[object Object]') { + return done( + new Error( + 'done() invoked with non-Error: ' + JSON.stringify(err) + ) + ); + } else { + return done(new Error('done() invoked with non-Error: ' + err)); + } + } + done(); + }); + } catch (err) { + done(err); + } + return; + } - if (this.asyncOnly) { - return done(new Error('--async-only option in use without declaring `done()`')); - } + if (this.asyncOnly) { + return done(new Error('--async-only option in use without declaring `done()`')); + } - // sync or promise-returning - try { - if (this.pending) { - done(); - } else { - callFn(this.fn); - } - } catch (err) { - done(err); - } + // sync or promise-returning + try { + if (this.pending) { + done(); + } else { + callFn(this.fn); + } + } catch (err) { + done(err); + } - function callFn(fn) { - var result = fn.call(ctx); - if (result && typeof result.then === 'function') { - self.resetTimeout(); - result - .then(function() { - done() - }, - function(reason) { - done(reason || new Error('Promise rejected with no or falsy reason')) - }); - } else { - done(); - } - } -}; + function callFn(fn) { + var result = fn.call(ctx); + if (result && typeof result.then === 'function') { + self.resetTimeout(); + result.then( + function() { + done(); + }, + function(reason) { + done(reason || new Error('Promise rejected with no or falsy reason')); + } + ); + } else { + done(); + } + } + }; + }); // module: runnable.js -}); // module: runnable.js - -require.register("runner.js", function(module, exports, require){ -/** + require.register('runner.js', function(module, exports, require) { + /** * Module dependencies. */ -var EventEmitter = require('browser/events').EventEmitter - , debug = require('browser/debug')('mocha:runner') - , Test = require('./test') - , utils = require('./utils') - , filter = utils.filter - , keys = utils.keys; + var EventEmitter = require('browser/events').EventEmitter, + debug = require('browser/debug')('mocha:runner'), + Test = require('./test'), + utils = require('./utils'), + filter = utils.filter, + keys = utils.keys; -/** + /** * Non-enumerable globals. */ -var globals = [ - 'setTimeout', - 'clearTimeout', - 'setInterval', - 'clearInterval', - 'XMLHttpRequest', - 'Date' -]; + var globals = [ + 'setTimeout', + 'clearTimeout', + 'setInterval', + 'clearInterval', + 'XMLHttpRequest', + 'Date' + ]; -/** + /** * Expose `Runner`. */ -module.exports = Runner; + module.exports = Runner; -/** + /** * Initialize a `Runner` for the given `suite`. * * Events: @@ -4518,39 +4572,42 @@ module.exports = Runner; * @api public */ -function Runner(suite) { - var self = this; - this._globals = []; - this._abort = false; - this.suite = suite; - this.total = suite.total(); - this.failures = 0; - this.on('test end', function(test){ self.checkGlobals(test); }); - this.on('hook end', function(hook){ self.checkGlobals(hook); }); - this.grep(/.*/); - this.globals(this.globalProps().concat(extraGlobals())); -} + function Runner(suite) { + var self = this; + this._globals = []; + this._abort = false; + this.suite = suite; + this.total = suite.total(); + this.failures = 0; + this.on('test end', function(test) { + self.checkGlobals(test); + }); + this.on('hook end', function(hook) { + self.checkGlobals(hook); + }); + this.grep(/.*/); + this.globals(this.globalProps().concat(extraGlobals())); + } -/** + /** * Wrapper for setImmediate, process.nextTick, or browser polyfill. * * @param {Function} fn * @api private */ -Runner.immediately = global.setImmediate || process.nextTick; + Runner.immediately = global.setImmediate || process.nextTick; -/** + /** * Inherit from `EventEmitter.prototype`. */ -function F(){}; -F.prototype = EventEmitter.prototype; -Runner.prototype = new F; -Runner.prototype.constructor = Runner; + function F() {} + F.prototype = EventEmitter.prototype; + Runner.prototype = new F(); + Runner.prototype.constructor = Runner; - -/** + /** * Run tests with full titles matching `re`. Updates runner.total * with number of tests matched. * @@ -4560,15 +4617,15 @@ Runner.prototype.constructor = Runner; * @api public */ -Runner.prototype.grep = function(re, invert){ - debug('grep %s', re); - this._grep = re; - this._invert = invert; - this.total = this.grepTotal(this.suite); - return this; -}; + Runner.prototype.grep = function(re, invert) { + debug('grep %s', re); + this._grep = re; + this._invert = invert; + this.total = this.grepTotal(this.suite); + return this; + }; -/** + /** * Returns the number of tests matching the grep search for the * given suite. * @@ -4577,39 +4634,39 @@ Runner.prototype.grep = function(re, invert){ * @api public */ -Runner.prototype.grepTotal = function(suite) { - var self = this; - var total = 0; + Runner.prototype.grepTotal = function(suite) { + var self = this; + var total = 0; - suite.eachTest(function(test){ - var match = self._grep.test(test.fullTitle()); - if (self._invert) match = !match; - if (match) total++; - }); + suite.eachTest(function(test) { + var match = self._grep.test(test.fullTitle()); + if (self._invert) match = !match; + if (match) total++; + }); - return total; -}; + return total; + }; -/** + /** * Return a list of global properties. * * @return {Array} * @api private */ -Runner.prototype.globalProps = function() { - var props = utils.keys(global); + Runner.prototype.globalProps = function() { + var props = utils.keys(global); - // non-enumerables - for (var i = 0; i < globals.length; ++i) { - if (~utils.indexOf(props, globals[i])) continue; - props.push(globals[i]); - } + // non-enumerables + for (var i = 0; i < globals.length; ++i) { + if (~utils.indexOf(props, globals[i])) continue; + props.push(globals[i]); + } - return props; -}; + return props; + }; -/** + /** * Allow the given `arr` of globals. * * @param {Array} arr @@ -4617,44 +4674,44 @@ Runner.prototype.globalProps = function() { * @api public */ -Runner.prototype.globals = function(arr){ - if (0 == arguments.length) return this._globals; - debug('globals %j', arr); - this._globals = this._globals.concat(arr); - return this; -}; + Runner.prototype.globals = function(arr) { + if (0 == arguments.length) return this._globals; + debug('globals %j', arr); + this._globals = this._globals.concat(arr); + return this; + }; -/** + /** * Check for global variable leaks. * * @api private */ -Runner.prototype.checkGlobals = function(test){ - if (this.ignoreLeaks) return; - var ok = this._globals; + Runner.prototype.checkGlobals = function(test) { + if (this.ignoreLeaks) return; + var ok = this._globals; - var globals = this.globalProps(); - var leaks; + var globals = this.globalProps(); + var leaks; - if (test) { - ok = ok.concat(test._allowedGlobals || []); - } + if (test) { + ok = ok.concat(test._allowedGlobals || []); + } - if(this.prevGlobalsLength == globals.length) return; - this.prevGlobalsLength = globals.length; + if (this.prevGlobalsLength == globals.length) return; + this.prevGlobalsLength = globals.length; - leaks = filterLeaks(ok, globals); - this._globals = this._globals.concat(leaks); + leaks = filterLeaks(ok, globals); + this._globals = this._globals.concat(leaks); - if (leaks.length > 1) { - this.fail(test, new Error('global leaks detected: ' + leaks.join(', ') + '')); - } else if (leaks.length) { - this.fail(test, new Error('global leak detected: ' + leaks[0])); - } -}; + if (leaks.length > 1) { + this.fail(test, new Error('global leaks detected: ' + leaks.join(', ') + '')); + } else if (leaks.length) { + this.fail(test, new Error('global leak detected: ' + leaks[0])); + } + }; -/** + /** * Fail the given `test`. * * @param {Test} test @@ -4662,18 +4719,18 @@ Runner.prototype.checkGlobals = function(test){ * @api private */ -Runner.prototype.fail = function(test, err){ - ++this.failures; - test.state = 'failed'; + Runner.prototype.fail = function(test, err) { + ++this.failures; + test.state = 'failed'; - if ('string' == typeof err) { - err = new Error('the string "' + err + '" was thrown, throw an Error :)'); - } + if ('string' == typeof err) { + err = new Error('the string "' + err + '" was thrown, throw an Error :)'); + } - this.emit('fail', test, err); -}; + this.emit('fail', test, err); + }; -/** + /** * Fail the given `hook` with `err`. * * Hook failures work in the following pattern: @@ -4694,14 +4751,14 @@ Runner.prototype.fail = function(test, err){ * @api private */ -Runner.prototype.failHook = function(hook, err){ - this.fail(hook, err); - if (this.suite.bail()) { - this.emit('end'); - } -}; + Runner.prototype.failHook = function(hook, err) { + this.fail(hook, err); + if (this.suite.bail()) { + this.emit('end'); + } + }; -/** + /** * Run hook `name` callbacks and then invoke `fn()`. * * @param {String} name @@ -4709,48 +4766,48 @@ Runner.prototype.failHook = function(hook, err){ * @api private */ -Runner.prototype.hook = function(name, fn){ - var suite = this.suite - , hooks = suite['_' + name] - , self = this - , timer; + Runner.prototype.hook = function(name, fn) { + var suite = this.suite, + hooks = suite['_' + name], + self = this, + timer; - function next(i) { - var hook = hooks[i]; - if (!hook) return fn(); - if (self.failures && suite.bail()) return fn(); - self.currentRunnable = hook; + function next(i) { + var hook = hooks[i]; + if (!hook) return fn(); + if (self.failures && suite.bail()) return fn(); + self.currentRunnable = hook; - hook.ctx.currentTest = self.test; + hook.ctx.currentTest = self.test; - self.emit('hook', hook); + self.emit('hook', hook); - hook.on('error', function(err){ - self.failHook(hook, err); - }); + hook.on('error', function(err) { + self.failHook(hook, err); + }); - hook.run(function(err){ - hook.removeAllListeners('error'); - var testError = hook.error(); - if (testError) self.fail(self.test, testError); - if (err) { - self.failHook(hook, err); + hook.run(function(err) { + hook.removeAllListeners('error'); + var testError = hook.error(); + if (testError) self.fail(self.test, testError); + if (err) { + self.failHook(hook, err); - // stop executing hooks, notify callee of hook err - return fn(err); - } - self.emit('hook end', hook); - delete hook.ctx.currentTest; - next(++i); - }); - } + // stop executing hooks, notify callee of hook err + return fn(err); + } + self.emit('hook end', hook); + delete hook.ctx.currentTest; + next(++i); + }); + } - Runner.immediately(function(){ - next(0); - }); -}; + Runner.immediately(function() { + next(0); + }); + }; -/** + /** * Run hook `name` for the given array of `suites` * in order, and callback `fn(err, errSuite)`. * @@ -4760,33 +4817,33 @@ Runner.prototype.hook = function(name, fn){ * @api private */ -Runner.prototype.hooks = function(name, suites, fn){ - var self = this - , orig = this.suite; + Runner.prototype.hooks = function(name, suites, fn) { + var self = this, + orig = this.suite; - function next(suite) { - self.suite = suite; + function next(suite) { + self.suite = suite; - if (!suite) { - self.suite = orig; - return fn(); - } + if (!suite) { + self.suite = orig; + return fn(); + } - self.hook(name, function(err){ - if (err) { - var errSuite = self.suite; - self.suite = orig; - return fn(err, errSuite); - } + self.hook(name, function(err) { + if (err) { + var errSuite = self.suite; + self.suite = orig; + return fn(err, errSuite); + } - next(suites.pop()); - }); - } + next(suites.pop()); + }); + } - next(suites.pop()); -}; + next(suites.pop()); + }; -/** + /** * Run hooks from the top level down. * * @param {String} name @@ -4794,12 +4851,12 @@ Runner.prototype.hooks = function(name, suites, fn){ * @api private */ -Runner.prototype.hookUp = function(name, fn){ - var suites = [this.suite].concat(this.parents()).reverse(); - this.hooks(name, suites, fn); -}; + Runner.prototype.hookUp = function(name, fn) { + var suites = [this.suite].concat(this.parents()).reverse(); + this.hooks(name, suites, fn); + }; -/** + /** * Run hooks from the bottom up. * * @param {String} name @@ -4807,12 +4864,12 @@ Runner.prototype.hookUp = function(name, fn){ * @api private */ -Runner.prototype.hookDown = function(name, fn){ - var suites = [this.suite].concat(this.parents()); - this.hooks(name, suites, fn); -}; + Runner.prototype.hookDown = function(name, fn) { + var suites = [this.suite].concat(this.parents()); + this.hooks(name, suites, fn); + }; -/** + /** * Return an array of parent Suites from * closest to furthest. * @@ -4820,37 +4877,37 @@ Runner.prototype.hookDown = function(name, fn){ * @api private */ -Runner.prototype.parents = function(){ - var suite = this.suite - , suites = []; - while (suite = suite.parent) suites.push(suite); - return suites; -}; + Runner.prototype.parents = function() { + var suite = this.suite, + suites = []; + while ((suite = suite.parent)) suites.push(suite); + return suites; + }; -/** + /** * Run the current test and callback `fn(err)`. * * @param {Function} fn * @api private */ -Runner.prototype.runTest = function(fn){ - var test = this.test - , self = this; + Runner.prototype.runTest = function(fn) { + var test = this.test, + self = this; - if (this.asyncOnly) test.asyncOnly = true; + if (this.asyncOnly) test.asyncOnly = true; - try { - test.on('error', function(err){ - self.fail(test, err); - }); - test.run(fn); - } catch (err) { - fn(err); - } -}; + try { + test.on('error', function(err) { + self.fail(test, err); + }); + test.run(fn); + } catch (err) { + fn(err); + } + }; -/** + /** * Run tests in the given `suite` and invoke * the callback `fn()` when complete. * @@ -4859,91 +4916,89 @@ Runner.prototype.runTest = function(fn){ * @api private */ -Runner.prototype.runTests = function(suite, fn){ - var self = this - , tests = suite.tests.slice() - , test; + Runner.prototype.runTests = function(suite, fn) { + var self = this, + tests = suite.tests.slice(), + test; + function hookErr(err, errSuite, after) { + // before/after Each hook for errSuite failed: + var orig = self.suite; - function hookErr(err, errSuite, after) { - // before/after Each hook for errSuite failed: - var orig = self.suite; + // for failed 'after each' hook start from errSuite parent, + // otherwise start from errSuite itself + self.suite = after ? errSuite.parent : errSuite; - // for failed 'after each' hook start from errSuite parent, - // otherwise start from errSuite itself - self.suite = after ? errSuite.parent : errSuite; + if (self.suite) { + // call hookUp afterEach + self.hookUp('afterEach', function(err2, errSuite2) { + self.suite = orig; + // some hooks may fail even now + if (err2) return hookErr(err2, errSuite2, true); + // report error suite + fn(errSuite); + }); + } else { + // there is no need calling other 'after each' hooks + self.suite = orig; + fn(errSuite); + } + } - if (self.suite) { - // call hookUp afterEach - self.hookUp('afterEach', function(err2, errSuite2) { - self.suite = orig; - // some hooks may fail even now - if (err2) return hookErr(err2, errSuite2, true); - // report error suite - fn(errSuite); - }); - } else { - // there is no need calling other 'after each' hooks - self.suite = orig; - fn(errSuite); - } - } + function next(err, errSuite) { + // if we bail after first err + if (self.failures && suite._bail) return fn(); - function next(err, errSuite) { - // if we bail after first err - if (self.failures && suite._bail) return fn(); + if (self._abort) return fn(); - if (self._abort) return fn(); + if (err) return hookErr(err, errSuite, true); - if (err) return hookErr(err, errSuite, true); + // next test + test = tests.shift(); - // next test - test = tests.shift(); + // all done + if (!test) return fn(); - // all done - if (!test) return fn(); + // grep + var match = self._grep.test(test.fullTitle()); + if (self._invert) match = !match; + if (!match) return next(); - // grep - var match = self._grep.test(test.fullTitle()); - if (self._invert) match = !match; - if (!match) return next(); + // pending + if (test.pending) { + self.emit('pending', test); + self.emit('test end', test); + return next(); + } - // pending - if (test.pending) { - self.emit('pending', test); - self.emit('test end', test); - return next(); - } + // execute test and hook(s) + self.emit('test', (self.test = test)); + self.hookDown('beforeEach', function(err, errSuite) { + if (err) return hookErr(err, errSuite, false); - // execute test and hook(s) - self.emit('test', self.test = test); - self.hookDown('beforeEach', function(err, errSuite){ + self.currentRunnable = self.test; + self.runTest(function(err) { + test = self.test; - if (err) return hookErr(err, errSuite, false); + if (err) { + self.fail(test, err); + self.emit('test end', test); + return self.hookUp('afterEach', next); + } - self.currentRunnable = self.test; - self.runTest(function(err){ - test = self.test; + test.state = 'passed'; + self.emit('pass', test); + self.emit('test end', test); + self.hookUp('afterEach', next); + }); + }); + } - if (err) { - self.fail(test, err); - self.emit('test end', test); - return self.hookUp('afterEach', next); - } + this.next = next; + next(); + }; - test.state = 'passed'; - self.emit('pass', test); - self.emit('test end', test); - self.hookUp('afterEach', next); - }); - }); - } - - this.next = next; - next(); -}; - -/** + /** * Run the given `suite` and invoke the * callback `fn()` when complete. * @@ -4952,92 +5007,98 @@ Runner.prototype.runTests = function(suite, fn){ * @api private */ -Runner.prototype.runSuite = function(suite, fn){ - var total = this.grepTotal(suite) - , self = this - , i = 0; + Runner.prototype.runSuite = function(suite, fn) { + var total = this.grepTotal(suite), + self = this, + i = 0; - debug('run suite %s', suite.fullTitle()); + debug('run suite %s', suite.fullTitle()); - if (!total) return fn(); + if (!total) return fn(); - this.emit('suite', this.suite = suite); + this.emit('suite', (this.suite = suite)); - function next(errSuite) { - if (errSuite) { - // current suite failed on a hook from errSuite - if (errSuite == suite) { - // if errSuite is current suite - // continue to the next sibling suite - return done(); - } else { - // errSuite is among the parents of current suite - // stop execution of errSuite and all sub-suites - return done(errSuite); - } - } + function next(errSuite) { + if (errSuite) { + // current suite failed on a hook from errSuite + if (errSuite == suite) { + // if errSuite is current suite + // continue to the next sibling suite + return done(); + } else { + // errSuite is among the parents of current suite + // stop execution of errSuite and all sub-suites + return done(errSuite); + } + } - if (self._abort) return done(); + if (self._abort) return done(); - var curr = suite.suites[i++]; - if (!curr) return done(); - self.runSuite(curr, next); - } + var curr = suite.suites[i++]; + if (!curr) return done(); + self.runSuite(curr, next); + } - function done(errSuite) { - self.suite = suite; - self.hook('afterAll', function(){ - self.emit('suite end', suite); - fn(errSuite); - }); - } + function done(errSuite) { + self.suite = suite; + self.hook('afterAll', function() { + self.emit('suite end', suite); + fn(errSuite); + }); + } - this.hook('beforeAll', function(err){ - if (err) return done(); - self.runTests(suite, next); - }); -}; + this.hook('beforeAll', function(err) { + if (err) return done(); + self.runTests(suite, next); + }); + }; -/** + /** * Handle uncaught exceptions. * * @param {Error} err * @api private */ -Runner.prototype.uncaught = function(err){ - if (err) { - debug('uncaught exception %s', err !== function () { - return this; - }.call(err) ? err : ( err.message || err )); - } else { - debug('uncaught undefined exception'); - err = new Error('Caught undefined error, did you throw without specifying what?'); - } - err.uncaught = true; + Runner.prototype.uncaught = function(err) { + if (err) { + debug( + 'uncaught exception %s', + err !== + function() { + return this; + }.call(err) + ? err + : err.message || err + ); + } else { + debug('uncaught undefined exception'); + err = new Error('Caught undefined error, did you throw without specifying what?'); + } + err.uncaught = true; - var runnable = this.currentRunnable; - if (!runnable) return; + var runnable = this.currentRunnable; + if (!runnable) return; - var wasAlreadyDone = runnable.state; - this.fail(runnable, err); + var wasAlreadyDone = runnable.state; + this.fail(runnable, err); - runnable.clearTimeout(); + runnable.clearTimeout(); - if (wasAlreadyDone) return; + if (wasAlreadyDone) return; - // recover from test - if ('test' == runnable.type) { - this.emit('test end', runnable); - this.hookUp('afterEach', this.next); - return; - } + // recover from test + if ('test' == runnable.type) { + this.emit('test end', runnable); + this.hookUp('afterEach', this.next); + return; + } - // bail on hooks - this.emit('end'); -}; + // bail on hooks + this.emit('end'); + }; -/** + /** * Run the root suite and invoke `fn(failures)` * on completion. * @@ -5046,48 +5107,48 @@ Runner.prototype.uncaught = function(err){ * @api public */ -Runner.prototype.run = function(fn){ - var self = this - , fn = fn || function(){}; + Runner.prototype.run = function(fn) { + var self = this, + fn = fn || function() {}; - function uncaught(err){ - self.uncaught(err); - } + function uncaught(err) { + self.uncaught(err); + } - debug('start'); + debug('start'); - // callback - this.on('end', function(){ - debug('end'); - process.removeListener('uncaughtException', uncaught); - fn(self.failures); - }); + // callback + this.on('end', function() { + debug('end'); + process.removeListener('uncaughtException', uncaught); + fn(self.failures); + }); - // run suites - this.emit('start'); - this.runSuite(this.suite, function(){ - debug('finished running'); - self.emit('end'); - }); + // run suites + this.emit('start'); + this.runSuite(this.suite, function() { + debug('finished running'); + self.emit('end'); + }); - // uncaught exception - process.on('uncaughtException', uncaught); + // uncaught exception + process.on('uncaughtException', uncaught); - return this; -}; + return this; + }; -/** + /** * Cleanly abort execution * * @return {Runner} for chaining * @api public */ -Runner.prototype.abort = function(){ - debug('aborting'); - this._abort = true; -}; + Runner.prototype.abort = function() { + debug('aborting'); + this._abort = true; + }; -/** + /** * Filter leaks with the given globals flagged as `ok`. * * @param {Array} ok @@ -5096,77 +5157,73 @@ Runner.prototype.abort = function(){ * @api private */ -function filterLeaks(ok, globals) { - return filter(globals, function(key){ - // Firefox and Chrome exposes iframes as index inside the window object - if (/^d+/.test(key)) return false; + function filterLeaks(ok, globals) { + return filter(globals, function(key) { + // Firefox and Chrome exposes iframes as index inside the window object + if (/^d+/.test(key)) return false; - // in firefox - // if runner runs in an iframe, this iframe's window.getInterface method not init at first - // it is assigned in some seconds - if (global.navigator && /^getInterface/.test(key)) return false; + // in firefox + // if runner runs in an iframe, this iframe's window.getInterface method not init at first + // it is assigned in some seconds + if (global.navigator && /^getInterface/.test(key)) return false; - // an iframe could be approached by window[iframeIndex] - // in ie6,7,8 and opera, iframeIndex is enumerable, this could cause leak - if (global.navigator && /^\d+/.test(key)) return false; + // an iframe could be approached by window[iframeIndex] + // in ie6,7,8 and opera, iframeIndex is enumerable, this could cause leak + if (global.navigator && /^\d+/.test(key)) return false; - // Opera and IE expose global variables for HTML element IDs (issue #243) - if (/^mocha-/.test(key)) return false; + // Opera and IE expose global variables for HTML element IDs (issue #243) + if (/^mocha-/.test(key)) return false; - var matched = filter(ok, function(ok){ - if (~ok.indexOf('*')) return 0 == key.indexOf(ok.split('*')[0]); - return key == ok; - }); - return matched.length == 0 && (!global.navigator || 'onerror' !== key); - }); -} + var matched = filter(ok, function(ok) { + if (~ok.indexOf('*')) return 0 == key.indexOf(ok.split('*')[0]); + return key == ok; + }); + return matched.length == 0 && (!global.navigator || 'onerror' !== key); + }); + } -/** + /** * Array of globals dependent on the environment. * * @return {Array} * @api private */ - function extraGlobals() { - if (typeof(process) === 'object' && - typeof(process.version) === 'string') { + function extraGlobals() { + if (typeof process === 'object' && typeof process.version === 'string') { + var nodeVersion = process.version.split('.').reduce(function(a, v) { + return (a << 8) | v; + }); - var nodeVersion = process.version.split('.').reduce(function(a, v) { - return a << 8 | v; - }); + // 'errno' was renamed to process._errno in v0.9.11. - // 'errno' was renamed to process._errno in v0.9.11. + if (nodeVersion < 0x00090b) { + return ['errno']; + } + } - if (nodeVersion < 0x00090B) { - return ['errno']; - } - } + return []; + } + }); // module: runner.js - return []; - } - -}); // module: runner.js - -require.register("suite.js", function(module, exports, require){ - -/** + require.register('suite.js', function(module, exports, require) { + /** * Module dependencies. */ -var EventEmitter = require('browser/events').EventEmitter - , debug = require('browser/debug')('mocha:suite') - , milliseconds = require('./ms') - , utils = require('./utils') - , Hook = require('./hook'); + var EventEmitter = require('browser/events').EventEmitter, + debug = require('browser/debug')('mocha:suite'), + milliseconds = require('./ms'), + utils = require('./utils'), + Hook = require('./hook'); -/** + /** * Expose `Suite`. */ -exports = module.exports = Suite; + exports = module.exports = Suite; -/** + /** * Create a new `Suite` with the given `title` * and parent `Suite`. When a suite with the * same title is already present, that suite @@ -5179,16 +5236,16 @@ exports = module.exports = Suite; * @api public */ -exports.create = function(parent, title){ - var suite = new Suite(title, parent.ctx); - suite.parent = parent; - if (parent.pending) suite.pending = true; - title = suite.fullTitle(); - parent.addSuite(suite); - return suite; -}; + exports.create = function(parent, title) { + var suite = new Suite(title, parent.ctx); + suite.parent = parent; + if (parent.pending) suite.pending = true; + title = suite.fullTitle(); + parent.addSuite(suite); + return suite; + }; -/** + /** * Initialize a new `Suite` with the given * `title` and `ctx`. * @@ -5197,54 +5254,53 @@ exports.create = function(parent, title){ * @api private */ -function Suite(title, parentContext) { - this.title = title; - var context = function() {}; - context.prototype = parentContext; - this.ctx = new context(); - this.suites = []; - this.tests = []; - this.pending = false; - this._beforeEach = []; - this._beforeAll = []; - this._afterEach = []; - this._afterAll = []; - this.root = !title; - this._timeout = 2000; - this._enableTimeouts = true; - this._slow = 75; - this._bail = false; -} + function Suite(title, parentContext) { + this.title = title; + var context = function() {}; + context.prototype = parentContext; + this.ctx = new context(); + this.suites = []; + this.tests = []; + this.pending = false; + this._beforeEach = []; + this._beforeAll = []; + this._afterEach = []; + this._afterAll = []; + this.root = !title; + this._timeout = 2000; + this._enableTimeouts = true; + this._slow = 75; + this._bail = false; + } -/** + /** * Inherit from `EventEmitter.prototype`. */ -function F(){}; -F.prototype = EventEmitter.prototype; -Suite.prototype = new F; -Suite.prototype.constructor = Suite; + function F() {} + F.prototype = EventEmitter.prototype; + Suite.prototype = new F(); + Suite.prototype.constructor = Suite; - -/** + /** * Return a clone of this `Suite`. * * @return {Suite} * @api private */ -Suite.prototype.clone = function(){ - var suite = new Suite(this.title); - debug('clone'); - suite.ctx = this.ctx; - suite.timeout(this.timeout()); - suite.enableTimeouts(this.enableTimeouts()); - suite.slow(this.slow()); - suite.bail(this.bail()); - return suite; -}; + Suite.prototype.clone = function() { + var suite = new Suite(this.title); + debug('clone'); + suite.ctx = this.ctx; + suite.timeout(this.timeout()); + suite.enableTimeouts(this.enableTimeouts()); + suite.slow(this.slow()); + suite.bail(this.bail()); + return suite; + }; -/** + /** * Set timeout `ms` or short-hand such as "2s". * * @param {Number|String} ms @@ -5252,16 +5308,16 @@ Suite.prototype.clone = function(){ * @api private */ -Suite.prototype.timeout = function(ms){ - if (0 == arguments.length) return this._timeout; - if (ms === 0) this._enableTimeouts = false; - if ('string' == typeof ms) ms = milliseconds(ms); - debug('timeout %d', ms); - this._timeout = parseInt(ms, 10); - return this; -}; + Suite.prototype.timeout = function(ms) { + if (0 == arguments.length) return this._timeout; + if (ms === 0) this._enableTimeouts = false; + if ('string' == typeof ms) ms = milliseconds(ms); + debug('timeout %d', ms); + this._timeout = parseInt(ms, 10); + return this; + }; -/** + /** * Set timeout `enabled`. * * @param {Boolean} enabled @@ -5269,14 +5325,14 @@ Suite.prototype.timeout = function(ms){ * @api private */ -Suite.prototype.enableTimeouts = function(enabled){ - if (arguments.length === 0) return this._enableTimeouts; - debug('enableTimeouts %s', enabled); - this._enableTimeouts = enabled; - return this; -}; + Suite.prototype.enableTimeouts = function(enabled) { + if (arguments.length === 0) return this._enableTimeouts; + debug('enableTimeouts %s', enabled); + this._enableTimeouts = enabled; + return this; + }; -/** + /** * Set slow `ms` or short-hand such as "2s". * * @param {Number|String} ms @@ -5284,15 +5340,15 @@ Suite.prototype.enableTimeouts = function(enabled){ * @api private */ -Suite.prototype.slow = function(ms){ - if (0 === arguments.length) return this._slow; - if ('string' == typeof ms) ms = milliseconds(ms); - debug('slow %d', ms); - this._slow = ms; - return this; -}; + Suite.prototype.slow = function(ms) { + if (0 === arguments.length) return this._slow; + if ('string' == typeof ms) ms = milliseconds(ms); + debug('slow %d', ms); + this._slow = ms; + return this; + }; -/** + /** * Sets whether to bail after first error. * * @parma {Boolean} bail @@ -5300,14 +5356,14 @@ Suite.prototype.slow = function(ms){ * @api private */ -Suite.prototype.bail = function(bail){ - if (0 == arguments.length) return this._bail; - debug('bail %s', bail); - this._bail = bail; - return this; -}; + Suite.prototype.bail = function(bail) { + if (0 == arguments.length) return this._bail; + debug('bail %s', bail); + this._bail = bail; + return this; + }; -/** + /** * Run `fn(test[, done])` before running tests. * * @param {Function} fn @@ -5315,26 +5371,26 @@ Suite.prototype.bail = function(bail){ * @api private */ -Suite.prototype.beforeAll = function(title, fn){ - if (this.pending) return this; - if ('function' === typeof title) { - fn = title; - title = fn.name; - } - title = '"before all" hook' + (title ? ': ' + title : ''); + Suite.prototype.beforeAll = function(title, fn) { + if (this.pending) return this; + if ('function' === typeof title) { + fn = title; + title = fn.name; + } + title = '"before all" hook' + (title ? ': ' + title : ''); - var hook = new Hook(title, fn); - hook.parent = this; - hook.timeout(this.timeout()); - hook.enableTimeouts(this.enableTimeouts()); - hook.slow(this.slow()); - hook.ctx = this.ctx; - this._beforeAll.push(hook); - this.emit('beforeAll', hook); - return this; -}; + var hook = new Hook(title, fn); + hook.parent = this; + hook.timeout(this.timeout()); + hook.enableTimeouts(this.enableTimeouts()); + hook.slow(this.slow()); + hook.ctx = this.ctx; + this._beforeAll.push(hook); + this.emit('beforeAll', hook); + return this; + }; -/** + /** * Run `fn(test[, done])` after running tests. * * @param {Function} fn @@ -5342,26 +5398,26 @@ Suite.prototype.beforeAll = function(title, fn){ * @api private */ -Suite.prototype.afterAll = function(title, fn){ - if (this.pending) return this; - if ('function' === typeof title) { - fn = title; - title = fn.name; - } - title = '"after all" hook' + (title ? ': ' + title : ''); + Suite.prototype.afterAll = function(title, fn) { + if (this.pending) return this; + if ('function' === typeof title) { + fn = title; + title = fn.name; + } + title = '"after all" hook' + (title ? ': ' + title : ''); - var hook = new Hook(title, fn); - hook.parent = this; - hook.timeout(this.timeout()); - hook.enableTimeouts(this.enableTimeouts()); - hook.slow(this.slow()); - hook.ctx = this.ctx; - this._afterAll.push(hook); - this.emit('afterAll', hook); - return this; -}; + var hook = new Hook(title, fn); + hook.parent = this; + hook.timeout(this.timeout()); + hook.enableTimeouts(this.enableTimeouts()); + hook.slow(this.slow()); + hook.ctx = this.ctx; + this._afterAll.push(hook); + this.emit('afterAll', hook); + return this; + }; -/** + /** * Run `fn(test[, done])` before each test case. * * @param {Function} fn @@ -5369,26 +5425,26 @@ Suite.prototype.afterAll = function(title, fn){ * @api private */ -Suite.prototype.beforeEach = function(title, fn){ - if (this.pending) return this; - if ('function' === typeof title) { - fn = title; - title = fn.name; - } - title = '"before each" hook' + (title ? ': ' + title : ''); + Suite.prototype.beforeEach = function(title, fn) { + if (this.pending) return this; + if ('function' === typeof title) { + fn = title; + title = fn.name; + } + title = '"before each" hook' + (title ? ': ' + title : ''); - var hook = new Hook(title, fn); - hook.parent = this; - hook.timeout(this.timeout()); - hook.enableTimeouts(this.enableTimeouts()); - hook.slow(this.slow()); - hook.ctx = this.ctx; - this._beforeEach.push(hook); - this.emit('beforeEach', hook); - return this; -}; + var hook = new Hook(title, fn); + hook.parent = this; + hook.timeout(this.timeout()); + hook.enableTimeouts(this.enableTimeouts()); + hook.slow(this.slow()); + hook.ctx = this.ctx; + this._beforeEach.push(hook); + this.emit('beforeEach', hook); + return this; + }; -/** + /** * Run `fn(test[, done])` after each test case. * * @param {Function} fn @@ -5396,26 +5452,26 @@ Suite.prototype.beforeEach = function(title, fn){ * @api private */ -Suite.prototype.afterEach = function(title, fn){ - if (this.pending) return this; - if ('function' === typeof title) { - fn = title; - title = fn.name; - } - title = '"after each" hook' + (title ? ': ' + title : ''); + Suite.prototype.afterEach = function(title, fn) { + if (this.pending) return this; + if ('function' === typeof title) { + fn = title; + title = fn.name; + } + title = '"after each" hook' + (title ? ': ' + title : ''); - var hook = new Hook(title, fn); - hook.parent = this; - hook.timeout(this.timeout()); - hook.enableTimeouts(this.enableTimeouts()); - hook.slow(this.slow()); - hook.ctx = this.ctx; - this._afterEach.push(hook); - this.emit('afterEach', hook); - return this; -}; + var hook = new Hook(title, fn); + hook.parent = this; + hook.timeout(this.timeout()); + hook.enableTimeouts(this.enableTimeouts()); + hook.slow(this.slow()); + hook.ctx = this.ctx; + this._afterEach.push(hook); + this.emit('afterEach', hook); + return this; + }; -/** + /** * Add a test `suite`. * * @param {Suite} suite @@ -5423,18 +5479,18 @@ Suite.prototype.afterEach = function(title, fn){ * @api private */ -Suite.prototype.addSuite = function(suite){ - suite.parent = this; - suite.timeout(this.timeout()); - suite.enableTimeouts(this.enableTimeouts()); - suite.slow(this.slow()); - suite.bail(this.bail()); - this.suites.push(suite); - this.emit('suite', suite); - return this; -}; + Suite.prototype.addSuite = function(suite) { + suite.parent = this; + suite.timeout(this.timeout()); + suite.enableTimeouts(this.enableTimeouts()); + suite.slow(this.slow()); + suite.bail(this.bail()); + this.suites.push(suite); + this.emit('suite', suite); + return this; + }; -/** + /** * Add a `test` to this suite. * * @param {Test} test @@ -5442,18 +5498,18 @@ Suite.prototype.addSuite = function(suite){ * @api private */ -Suite.prototype.addTest = function(test){ - test.parent = this; - test.timeout(this.timeout()); - test.enableTimeouts(this.enableTimeouts()); - test.slow(this.slow()); - test.ctx = this.ctx; - this.tests.push(test); - this.emit('test', test); - return this; -}; + Suite.prototype.addTest = function(test) { + test.parent = this; + test.timeout(this.timeout()); + test.enableTimeouts(this.enableTimeouts()); + test.slow(this.slow()); + test.ctx = this.ctx; + this.tests.push(test); + this.emit('test', test); + return this; + }; -/** + /** * Return the full title generated by recursively * concatenating the parent's full title. * @@ -5461,28 +5517,34 @@ Suite.prototype.addTest = function(test){ * @api public */ -Suite.prototype.fullTitle = function(){ - if (this.parent) { - var full = this.parent.fullTitle(); - if (full) return full + ' ' + this.title; - } - return this.title; -}; + Suite.prototype.fullTitle = function() { + if (this.parent) { + var full = this.parent.fullTitle(); + if (full) return full + ' ' + this.title; + } + return this.title; + }; -/** + /** * Return the total number of tests. * * @return {Number} * @api public */ -Suite.prototype.total = function(){ - return utils.reduce(this.suites, function(sum, suite){ - return sum + suite.total(); - }, 0) + this.tests.length; -}; + Suite.prototype.total = function() { + return ( + utils.reduce( + this.suites, + function(sum, suite) { + return sum + suite.total(); + }, + 0 + ) + this.tests.length + ); + }; -/** + /** * Iterates through each suite recursively to find * all tests. Applies a function in the format * `fn(test)`. @@ -5492,31 +5554,29 @@ Suite.prototype.total = function(){ * @api private */ -Suite.prototype.eachTest = function(fn){ - utils.forEach(this.tests, fn); - utils.forEach(this.suites, function(suite){ - suite.eachTest(fn); - }); - return this; -}; + Suite.prototype.eachTest = function(fn) { + utils.forEach(this.tests, fn); + utils.forEach(this.suites, function(suite) { + suite.eachTest(fn); + }); + return this; + }; + }); // module: suite.js -}); // module: suite.js - -require.register("test.js", function(module, exports, require){ - -/** + require.register('test.js', function(module, exports, require) { + /** * Module dependencies. */ -var Runnable = require('./runnable'); + var Runnable = require('./runnable'); -/** + /** * Expose `Test`. */ -module.exports = Test; + module.exports = Test; -/** + /** * Initialize a new `Test` with the given `title` and callback `fn`. * * @param {String} title @@ -5524,44 +5584,42 @@ module.exports = Test; * @api private */ -function Test(title, fn) { - Runnable.call(this, title, fn); - this.pending = !fn; - this.type = 'test'; -} + function Test(title, fn) { + Runnable.call(this, title, fn); + this.pending = !fn; + this.type = 'test'; + } -/** + /** * Inherit from `Runnable.prototype`. */ -function F(){}; -F.prototype = Runnable.prototype; -Test.prototype = new F; -Test.prototype.constructor = Test; + function F() {} + F.prototype = Runnable.prototype; + Test.prototype = new F(); + Test.prototype.constructor = Test; + }); // module: test.js - -}); // module: test.js - -require.register("utils.js", function(module, exports, require){ -/** + require.register('utils.js', function(module, exports, require) { + /** * Module dependencies. */ -var fs = require('browser/fs') - , path = require('browser/path') - , basename = path.basename - , exists = fs.existsSync || path.existsSync - , glob = require('browser/glob') - , join = path.join - , debug = require('browser/debug')('mocha:watch'); + var fs = require('browser/fs'), + path = require('browser/path'), + basename = path.basename, + exists = fs.existsSync || path.existsSync, + glob = require('browser/glob'), + join = path.join, + debug = require('browser/debug')('mocha:watch'); -/** + /** * Ignored directories. */ -var ignore = ['node_modules', '.git']; + var ignore = ['node_modules', '.git']; -/** + /** * Escape special characters in the given string of html. * * @param {String} html @@ -5569,15 +5627,15 @@ var ignore = ['node_modules', '.git']; * @api private */ -exports.escape = function(html){ - return String(html) - .replace(/&/g, '&') - .replace(/"/g, '"') - .replace(//g, '>'); -}; + exports.escape = function(html) { + return String(html) + .replace(/&/g, '&') + .replace(/"/g, '"') + .replace(//g, '>'); + }; -/** + /** * Array#forEach (<=IE8) * * @param {Array} array @@ -5586,12 +5644,11 @@ exports.escape = function(html){ * @api private */ -exports.forEach = function(arr, fn, scope){ - for (var i = 0, l = arr.length; i < l; i++) - fn.call(scope, arr[i], i); -}; + exports.forEach = function(arr, fn, scope) { + for (var i = 0, l = arr.length; i < l; i++) fn.call(scope, arr[i], i); + }; -/** + /** * Array#map (<=IE8) * * @param {Array} array @@ -5600,14 +5657,13 @@ exports.forEach = function(arr, fn, scope){ * @api private */ -exports.map = function(arr, fn, scope){ - var result = []; - for (var i = 0, l = arr.length; i < l; i++) - result.push(fn.call(scope, arr[i], i)); - return result; -}; + exports.map = function(arr, fn, scope) { + var result = []; + for (var i = 0, l = arr.length; i < l; i++) result.push(fn.call(scope, arr[i], i)); + return result; + }; -/** + /** * Array#indexOf (<=IE8) * * @parma {Array} arr @@ -5616,15 +5672,14 @@ exports.map = function(arr, fn, scope){ * @api private */ -exports.indexOf = function(arr, obj, start){ - for (var i = start || 0, l = arr.length; i < l; i++) { - if (arr[i] === obj) - return i; - } - return -1; -}; + exports.indexOf = function(arr, obj, start) { + for (var i = start || 0, l = arr.length; i < l; i++) { + if (arr[i] === obj) return i; + } + return -1; + }; -/** + /** * Array#reduce (<=IE8) * * @param {Array} array @@ -5633,17 +5688,17 @@ exports.indexOf = function(arr, obj, start){ * @api private */ -exports.reduce = function(arr, fn, val){ - var rval = val; + exports.reduce = function(arr, fn, val) { + var rval = val; - for (var i = 0, l = arr.length; i < l; i++) { - rval = fn(rval, arr[i], i, arr); - } + for (var i = 0, l = arr.length; i < l; i++) { + rval = fn(rval, arr[i], i, arr); + } - return rval; -}; + return rval; + }; -/** + /** * Array#filter (<=IE8) * * @param {Array} array @@ -5651,18 +5706,18 @@ exports.reduce = function(arr, fn, val){ * @api private */ -exports.filter = function(arr, fn){ - var ret = []; + exports.filter = function(arr, fn) { + var ret = []; - for (var i = 0, l = arr.length; i < l; i++) { - var val = arr[i]; - if (fn(val, i, arr)) ret.push(val); - } + for (var i = 0, l = arr.length; i < l; i++) { + var val = arr[i]; + if (fn(val, i, arr)) ret.push(val); + } - return ret; -}; + return ret; + }; -/** + /** * Object.keys (<=IE8) * * @param {Object} obj @@ -5670,20 +5725,22 @@ exports.filter = function(arr, fn){ * @api private */ -exports.keys = Object.keys || function(obj) { - var keys = [] - , has = Object.prototype.hasOwnProperty // for `window` on <=IE8 + exports.keys = + Object.keys || + function(obj) { + var keys = [], + has = Object.prototype.hasOwnProperty; // for `window` on <=IE8 - for (var key in obj) { - if (has.call(obj, key)) { - keys.push(key); - } - } + for (var key in obj) { + if (has.call(obj, key)) { + keys.push(key); + } + } - return keys; -}; + return keys; + }; -/** + /** * Watch the given `files` for changes * and invoke `fn(file)` on modification. * @@ -5692,52 +5749,50 @@ exports.keys = Object.keys || function(obj) { * @api private */ -exports.watch = function(files, fn){ - var options = { interval: 100 }; - files.forEach(function(file){ - debug('file %s', file); - fs.watchFile(file, options, function(curr, prev){ - if (prev.mtime < curr.mtime) fn(file); - }); - }); -}; + exports.watch = function(files, fn) { + var options = {interval: 100}; + files.forEach(function(file) { + debug('file %s', file); + fs.watchFile(file, options, function(curr, prev) { + if (prev.mtime < curr.mtime) fn(file); + }); + }); + }; -/** + /** * Ignored files. */ -function ignored(path){ - return !~ignore.indexOf(path); -} + function ignored(path) { + return !~ignore.indexOf(path); + } -/** + /** * Lookup files in the given `dir`. * * @return {Array} * @api private */ -exports.files = function(dir, ext, ret){ - ret = ret || []; - ext = ext || ['js']; + exports.files = function(dir, ext, ret) { + ret = ret || []; + ext = ext || ['js']; - var re = new RegExp('\\.(' + ext.join('|') + ')$'); + var re = new RegExp('\\.(' + ext.join('|') + ')$'); - fs.readdirSync(dir) - .filter(ignored) - .forEach(function(path){ - path = join(dir, path); - if (fs.statSync(path).isDirectory()) { - exports.files(path, ext, ret); - } else if (path.match(re)) { - ret.push(path); - } - }); + fs.readdirSync(dir).filter(ignored).forEach(function(path) { + path = join(dir, path); + if (fs.statSync(path).isDirectory()) { + exports.files(path, ext, ret); + } else if (path.match(re)) { + ret.push(path); + } + }); - return ret; -}; + return ret; + }; -/** + /** * Compute a slug from the given `str`. * * @param {String} str @@ -5745,34 +5800,35 @@ exports.files = function(dir, ext, ret){ * @api private */ -exports.slug = function(str){ - return str - .toLowerCase() - .replace(/ +/g, '-') - .replace(/[^-\w]/g, ''); -}; + exports.slug = function(str) { + return str.toLowerCase().replace(/ +/g, '-').replace(/[^-\w]/g, ''); + }; -/** + /** * Strip the function definition from `str`, * and re-indent for pre whitespace. */ -exports.clean = function(str) { - str = str - .replace(/\r\n?|[\n\u2028\u2029]/g, "\n").replace(/^\uFEFF/, '') - .replace(/^function *\(.*\) *{|\(.*\) *=> *{?/, '') - .replace(/\s+\}$/, ''); + exports.clean = function(str) { + str = str + .replace(/\r\n?|[\n\u2028\u2029]/g, '\n') + .replace(/^\uFEFF/, '') + .replace(/^function *\(.*\) *{|\(.*\) *=> *{?/, '') + .replace(/\s+\}$/, ''); - var spaces = str.match(/^\n?( *)/)[1].length - , tabs = str.match(/^\n?(\t*)/)[1].length - , re = new RegExp('^\n?' + (tabs ? '\t' : ' ') + '{' + (tabs ? tabs : spaces) + '}', 'gm'); + var spaces = str.match(/^\n?( *)/)[1].length, + tabs = str.match(/^\n?(\t*)/)[1].length, + re = new RegExp( + '^\n?' + (tabs ? '\t' : ' ') + '{' + (tabs ? tabs : spaces) + '}', + 'gm' + ); - str = str.replace(re, ''); + str = str.replace(re, ''); - return exports.trim(str); -}; + return exports.trim(str); + }; -/** + /** * Trim the given `str`. * * @param {String} str @@ -5780,11 +5836,11 @@ exports.clean = function(str) { * @api private */ -exports.trim = function(str){ - return str.replace(/^\s+|\s+$/g, ''); -}; + exports.trim = function(str) { + return str.replace(/^\s+|\s+$/g, ''); + }; -/** + /** * Parse the given `qs`. * * @param {String} qs @@ -5792,18 +5848,22 @@ exports.trim = function(str){ * @api private */ -exports.parseQuery = function(qs){ - return exports.reduce(qs.replace('?', '').split('&'), function(obj, pair){ - var i = pair.indexOf('=') - , key = pair.slice(0, i) - , val = pair.slice(++i); + exports.parseQuery = function(qs) { + return exports.reduce( + qs.replace('?', '').split('&'), + function(obj, pair) { + var i = pair.indexOf('='), + key = pair.slice(0, i), + val = pair.slice(++i); - obj[key] = decodeURIComponent(val); - return obj; - }, {}); -}; + obj[key] = decodeURIComponent(val); + return obj; + }, + {} + ); + }; -/** + /** * Highlight the given string of `js`. * * @param {String} js @@ -5811,34 +5871,39 @@ exports.parseQuery = function(qs){ * @api private */ -function highlight(js) { - return js - .replace(//g, '>') - .replace(/\/\/(.*)/gm, '//$1') - .replace(/('.*?')/gm, '$1') - .replace(/(\d+\.\d+)/gm, '$1') - .replace(/(\d+)/gm, '$1') - .replace(/\bnew[ \t]+(\w+)/gm, 'new $1') - .replace(/\b(function|new|throw|return|var|if|else)\b/gm, '$1') -} + function highlight(js) { + return js + .replace(//g, '>') + .replace(/\/\/(.*)/gm, '//$1') + .replace(/('.*?')/gm, '$1') + .replace(/(\d+\.\d+)/gm, '$1') + .replace(/(\d+)/gm, '$1') + .replace( + /\bnew[ \t]+(\w+)/gm, + 'new $1' + ) + .replace( + /\b(function|new|throw|return|var|if|else)\b/gm, + '$1' + ); + } -/** + /** * Highlight the contents of tag `name`. * * @param {String} name * @api private */ -exports.highlightTags = function(name) { - var code = document.getElementById('mocha').getElementsByTagName(name); - for (var i = 0, len = code.length; i < len; ++i) { - code[i].innerHTML = highlight(code[i].innerHTML); - } -}; + exports.highlightTags = function(name) { + var code = document.getElementById('mocha').getElementsByTagName(name); + for (var i = 0, len = code.length; i < len; ++i) { + code[i].innerHTML = highlight(code[i].innerHTML); + } + }; - -/** + /** * Stringify `obj`. * * @param {Object} obj @@ -5846,12 +5911,12 @@ exports.highlightTags = function(name) { * @api private */ -exports.stringify = function(obj) { - if (obj instanceof RegExp) return obj.toString(); - return JSON.stringify(exports.canonicalize(obj), null, 2).replace(/,(\n|$)/g, '$1'); -}; + exports.stringify = function(obj) { + if (obj instanceof RegExp) return obj.toString(); + return JSON.stringify(exports.canonicalize(obj), null, 2).replace(/,(\n|$)/g, '$1'); + }; -/** + /** * Return a new object that has the keys in sorted order. * @param {Object} obj * @param {Array} [stack] @@ -5859,94 +5924,94 @@ exports.stringify = function(obj) { * @api private */ -exports.canonicalize = function(obj, stack) { - stack = stack || []; + exports.canonicalize = function(obj, stack) { + stack = stack || []; - if (exports.indexOf(stack, obj) !== -1) return '[Circular]'; + if (exports.indexOf(stack, obj) !== -1) return '[Circular]'; - var canonicalizedObj; + var canonicalizedObj; - if ({}.toString.call(obj) === '[object Array]') { - stack.push(obj); - canonicalizedObj = exports.map(obj, function (item) { - return exports.canonicalize(item, stack); - }); - stack.pop(); - } else if (typeof obj === 'object' && obj !== null) { - stack.push(obj); - canonicalizedObj = {}; - exports.forEach(exports.keys(obj).sort(), function (key) { - canonicalizedObj[key] = exports.canonicalize(obj[key], stack); - }); - stack.pop(); - } else { - canonicalizedObj = obj; - } + if ({}.toString.call(obj) === '[object Array]') { + stack.push(obj); + canonicalizedObj = exports.map(obj, function(item) { + return exports.canonicalize(item, stack); + }); + stack.pop(); + } else if (typeof obj === 'object' && obj !== null) { + stack.push(obj); + canonicalizedObj = {}; + exports.forEach(exports.keys(obj).sort(), function(key) { + canonicalizedObj[key] = exports.canonicalize(obj[key], stack); + }); + stack.pop(); + } else { + canonicalizedObj = obj; + } - return canonicalizedObj; - }; + return canonicalizedObj; + }; -/** + /** * Lookup file names at the given `path`. */ -exports.lookupFiles = function lookupFiles(path, extensions, recursive) { - var files = []; - var re = new RegExp('\\.(' + extensions.join('|') + ')$'); + exports.lookupFiles = function lookupFiles(path, extensions, recursive) { + var files = []; + var re = new RegExp('\\.(' + extensions.join('|') + ')$'); - if (!exists(path)) { - if (exists(path + '.js')) { - path += '.js'; - } else { - files = glob.sync(path); - if (!files.length) throw new Error("cannot resolve path (or pattern) '" + path + "'"); - return files; - } - } + if (!exists(path)) { + if (exists(path + '.js')) { + path += '.js'; + } else { + files = glob.sync(path); + if (!files.length) + throw new Error("cannot resolve path (or pattern) '" + path + "'"); + return files; + } + } - try { - var stat = fs.statSync(path); - if (stat.isFile()) return path; - } - catch (ignored) { - return; - } + try { + var stat = fs.statSync(path); + if (stat.isFile()) return path; + } catch (ignored) { + return; + } - fs.readdirSync(path).forEach(function(file){ - file = join(path, file); - try { - var stat = fs.statSync(file); - if (stat.isDirectory()) { - if (recursive) { - files = files.concat(lookupFiles(file, extensions, recursive)); - } - return; - } - } - catch (ignored) { - return; - } - if (!stat.isFile() || !re.test(file) || basename(file)[0] === '.') return; - files.push(file); - }); + fs.readdirSync(path).forEach(function(file) { + file = join(path, file); + try { + var stat = fs.statSync(file); + if (stat.isDirectory()) { + if (recursive) { + files = files.concat(lookupFiles(file, extensions, recursive)); + } + return; + } + } catch (ignored) { + return; + } + if (!stat.isFile() || !re.test(file) || basename(file)[0] === '.') return; + files.push(file); + }); - return files; -}; + return files; + }; + }); // module: utils.js + // The global object is "self" in Web Workers. + var global = (function() { + return this; + })(); -}); // module: utils.js -// The global object is "self" in Web Workers. -var global = (function() { return this; })(); - -/** + /** * Save timer references to avoid Sinon interfering (see GH-237). */ -var Date = global.Date; -var setTimeout = global.setTimeout; -var setInterval = global.setInterval; -var clearTimeout = global.clearTimeout; -var clearInterval = global.clearInterval; + var Date = global.Date; + var setTimeout = global.setTimeout; + var setInterval = global.setInterval; + var clearTimeout = global.clearTimeout; + var clearInterval = global.clearInterval; -/** + /** * Node shims. * * These are meant only to allow @@ -5955,141 +6020,143 @@ var clearInterval = global.clearInterval; * the browser. */ -var process = {}; -process.exit = function(status){}; -process.stdout = {}; + var process = {}; + process.exit = function(status) {}; + process.stdout = {}; -var uncaughtExceptionHandlers = []; + var uncaughtExceptionHandlers = []; -var originalOnerrorHandler = global.onerror; + var originalOnerrorHandler = global.onerror; -/** + /** * Remove uncaughtException listener. * Revert to original onerror handler if previously defined. */ -process.removeListener = function(e, fn){ - if ('uncaughtException' == e) { - if (originalOnerrorHandler) { - global.onerror = originalOnerrorHandler; - } else { - global.onerror = function() {}; - } - var i = Mocha.utils.indexOf(uncaughtExceptionHandlers, fn); - if (i != -1) { uncaughtExceptionHandlers.splice(i, 1); } - } -}; + process.removeListener = function(e, fn) { + if ('uncaughtException' == e) { + if (originalOnerrorHandler) { + global.onerror = originalOnerrorHandler; + } else { + global.onerror = function() {}; + } + var i = Mocha.utils.indexOf(uncaughtExceptionHandlers, fn); + if (i != -1) { + uncaughtExceptionHandlers.splice(i, 1); + } + } + }; -/** + /** * Implements uncaughtException listener. */ -process.on = function(e, fn){ - if ('uncaughtException' == e) { - global.onerror = function(err, url, line){ - fn(new Error(err + ' (' + url + ':' + line + ')')); - return true; + process.on = function(e, fn) { + if ('uncaughtException' == e) { + global.onerror = function(err, url, line) { + fn(new Error(err + ' (' + url + ':' + line + ')')); + return true; + }; + uncaughtExceptionHandlers.push(fn); + } }; - uncaughtExceptionHandlers.push(fn); - } -}; -/** + /** * Expose mocha. */ -var Mocha = global.Mocha = require('mocha'), - mocha = global.mocha = new Mocha({ reporter: 'html' }); + var Mocha = (global.Mocha = require('mocha')), + mocha = (global.mocha = new Mocha({reporter: 'html'})); -// The BDD UI is registered by default, but no UI will be functional in the -// browser without an explicit call to the overridden `mocha.ui` (see below). -// Ensure that this default UI does not expose its methods to the global scope. -mocha.suite.removeAllListeners('pre-require'); + // The BDD UI is registered by default, but no UI will be functional in the + // browser without an explicit call to the overridden `mocha.ui` (see below). + // Ensure that this default UI does not expose its methods to the global scope. + mocha.suite.removeAllListeners('pre-require'); -var immediateQueue = [] - , immediateTimeout; + var immediateQueue = [], + immediateTimeout; -function timeslice() { - var immediateStart = new Date().getTime(); - while (immediateQueue.length && (new Date().getTime() - immediateStart) < 100) { - immediateQueue.shift()(); - } - if (immediateQueue.length) { - immediateTimeout = setTimeout(timeslice, 0); - } else { - immediateTimeout = null; - } -} + function timeslice() { + var immediateStart = new Date().getTime(); + while (immediateQueue.length && new Date().getTime() - immediateStart < 100) { + immediateQueue.shift()(); + } + if (immediateQueue.length) { + immediateTimeout = setTimeout(timeslice, 0); + } else { + immediateTimeout = null; + } + } -/** + /** * High-performance override of Runner.immediately. */ -Mocha.Runner.immediately = function(callback) { - immediateQueue.push(callback); - if (!immediateTimeout) { - immediateTimeout = setTimeout(timeslice, 0); - } -}; + Mocha.Runner.immediately = function(callback) { + immediateQueue.push(callback); + if (!immediateTimeout) { + immediateTimeout = setTimeout(timeslice, 0); + } + }; -/** + /** * Function to allow assertion libraries to throw errors directly into mocha. * This is useful when running tests in a browser because window.onerror will * only receive the 'message' attribute of the Error. */ -mocha.throwError = function(err) { - Mocha.utils.forEach(uncaughtExceptionHandlers, function (fn) { - fn(err); - }); - throw err; -}; + mocha.throwError = function(err) { + Mocha.utils.forEach(uncaughtExceptionHandlers, function(fn) { + fn(err); + }); + throw err; + }; -/** + /** * Override ui to ensure that the ui functions are initialized. * Normally this would happen in Mocha.prototype.loadFiles. */ -mocha.ui = function(ui){ - Mocha.prototype.ui.call(this, ui); - this.suite.emit('pre-require', global, null, this); - return this; -}; + mocha.ui = function(ui) { + Mocha.prototype.ui.call(this, ui); + this.suite.emit('pre-require', global, null, this); + return this; + }; -/** + /** * Setup mocha with the given setting options. */ -mocha.setup = function(opts){ - if ('string' == typeof opts) opts = { ui: opts }; - for (var opt in opts) this[opt](opts[opt]); - return this; -}; + mocha.setup = function(opts) { + if ('string' == typeof opts) opts = {ui: opts}; + for (var opt in opts) this[opt](opts[opt]); + return this; + }; -/** + /** * Run mocha, returning the Runner. */ -mocha.run = function(fn){ - var options = mocha.options; - mocha.globals('location'); + mocha.run = function(fn) { + var options = mocha.options; + mocha.globals('location'); - var query = Mocha.utils.parseQuery(global.location.search || ''); - if (query.grep) mocha.grep(query.grep); - if (query.invert) mocha.invert(); + var query = Mocha.utils.parseQuery(global.location.search || ''); + if (query.grep) mocha.grep(query.grep); + if (query.invert) mocha.invert(); - return Mocha.prototype.run.call(mocha, function(err){ - // The DOM Document is not available in Web Workers. - var document = global.document; - if (document && document.getElementById('mocha') && options.noHighlighting !== true) { - Mocha.utils.highlightTags('code'); - } - if (fn) fn(err); - }); -}; + return Mocha.prototype.run.call(mocha, function(err) { + // The DOM Document is not available in Web Workers. + var document = global.document; + if (document && document.getElementById('mocha') && options.noHighlighting !== true) { + Mocha.utils.highlightTags('code'); + } + if (fn) fn(err); + }); + }; -/** + /** * Expose the process shim. */ -Mocha.process = process; + Mocha.process = process; })(); diff --git a/tests/mocha/selenium.js b/tests/mocha/selenium.js index 79e152f..bf73e60 100644 --- a/tests/mocha/selenium.js +++ b/tests/mocha/selenium.js @@ -1,73 +1,99 @@ var wd = require('wd'); -var http = require("http"); -var https = require("https"); -var url = require("url"); -var path = require("path"); +var http = require('http'); +var https = require('https'); +var url = require('url'); +var path = require('path'); var Promise = require('bluebird'); var _ = require('lodash'); -var humanizeDuration = require("humanize-duration"); +var humanizeDuration = require('humanize-duration'); var utils = require('../utils'); var colors = utils.colors; var port = 8080; function runTestWithRetries(browser, test, retries) { retries = retries || 0; - return runTest(browser, test) - .timeout(30000) - .catch(Promise.TimeoutError, function() { - if (retries < 3) { - console.log(colors.violet, "Retry", (retries + 1), test); - return runTestWithRetries(browser, test, retries + 1); - } else { - throw new Error("Couldn't run test after 3 retries"); - } - }); + return runTest(browser, test).timeout(30000).catch(Promise.TimeoutError, function() { + if (retries < 3) { + console.log(colors.violet, 'Retry', retries + 1, test); + return runTestWithRetries(browser, test, retries + 1); + } else { + throw new Error("Couldn't run test after 3 retries"); + } + }); } function getResults(browser) { return function() { return Promise.props({ - dataUrl: browser.waitForElementByCss("body[data-complete='true']", 90000).then(function() { - return browser.elementsByCssSelector('.test.fail'); - }).then(function(nodes) { - return Array.isArray(nodes) ? Promise.map(nodes, function(node) { - return browser.text(node).then(function(error) { - return Promise.reject(error); - }); - }) : Promise.resolve([]); - }) + dataUrl: browser + .waitForElementByCss("body[data-complete='true']", 90000) + .then(function() { + return browser.elementsByCssSelector('.test.fail'); + }) + .then(function(nodes) { + return Array.isArray(nodes) + ? Promise.map(nodes, function(node) { + return browser.text(node).then(function(error) { + return Promise.reject(error); + }); + }) + : Promise.resolve([]); + }) }); }; } function runTest(browser, test) { - return Promise.resolve(browser - .then(utils.loadTestPage(browser, test, port)) - .then(getResults(browser)) + return Promise.resolve( + browser.then(utils.loadTestPage(browser, test, port)).then(getResults(browser)) ).cancellable(); } exports.tests = function(browsers, singleTest) { - var path = "tests/mocha"; - return (singleTest ? Promise.resolve([singleTest]) : utils.getTests(path)).then(function(tests) { - return Promise.map(browsers, function(settings) { - var name = [settings.browserName, settings.version, settings.platform].join("-"); - var count = 0; - var browser = utils.initBrowser(settings); - return Promise.using(browser, function() { - return Promise.map(tests, function(test, index, total) { - console.log(colors.green, "STARTING", "(" + (++count) + "/" + total + ")", name, test, colors.clear); - var start = Date.now(); - return runTestWithRetries(browser, test).then(function() { - console.log(colors.green, "COMPLETE", humanizeDuration(Date.now() - start), "(" + count + "/" + total + ")", name, colors.clear); - }); - }, {concurrency: 1}) - .settle() - .catch(function(error) { - console.error(colors.red, "ERROR", name, error); - throw error; - }); - }); - }, {concurrency: 3}); + var path = 'tests/mocha'; + return (singleTest ? Promise.resolve([singleTest]) : utils.getTests(path)).then(function( + tests + ) { + return Promise.map( + browsers, + function(settings) { + var name = [settings.browserName, settings.version, settings.platform].join('-'); + var count = 0; + var browser = utils.initBrowser(settings); + return Promise.using(browser, function() { + return Promise.map( + tests, + function(test, index, total) { + console.log( + colors.green, + 'STARTING', + '(' + ++count + '/' + total + ')', + name, + test, + colors.clear + ); + var start = Date.now(); + return runTestWithRetries(browser, test).then(function() { + console.log( + colors.green, + 'COMPLETE', + humanizeDuration(Date.now() - start), + '(' + count + '/' + total + ')', + name, + colors.clear + ); + }); + }, + {concurrency: 1} + ) + .settle() + .catch(function(error) { + console.error(colors.red, 'ERROR', name, error); + throw error; + }); + }); + }, + {concurrency: 3} + ); }); }; diff --git a/tests/node/color.js b/tests/node/color.js index 25e1bac..609b55c 100644 --- a/tests/node/color.js +++ b/tests/node/color.js @@ -1,110 +1,110 @@ var Color = require('../../src/color'); var assert = require('assert'); -describe("Colors", function() { - describe("named colors", function() { - it("bisque", function () { - var c = new Color("bisque"); +describe('Colors', function() { + describe('named colors', function() { + it('bisque', function() { + var c = new Color('bisque'); assertColor(c, 255, 228, 196, null); assert.equal(c.isTransparent(), false); }); - it("BLUE", function () { - var c = new Color("BLUE"); + it('BLUE', function() { + var c = new Color('BLUE'); assertColor(c, 0, 0, 255, null); assert.equal(c.isTransparent(), false); }); }); - describe("rgb()", function() { - it("rgb(1,3,5)", function () { - var c = new Color("rgb(1,3,5)"); + describe('rgb()', function() { + it('rgb(1,3,5)', function() { + var c = new Color('rgb(1,3,5)'); assertColor(c, 1, 3, 5, null); assert.equal(c.isTransparent(), false); }); - it("rgb(222, 111, 50)", function () { - var c = new Color("rgb(222, 111, 50)"); + it('rgb(222, 111, 50)', function() { + var c = new Color('rgb(222, 111, 50)'); assertColor(c, 222, 111, 50, null); assert.equal(c.isTransparent(), false); }); - it("rgb( 222, 111 , 50)", function () { - var c = new Color("rgb(222 , 111 , 50)"); + it('rgb( 222, 111 , 50)', function() { + var c = new Color('rgb(222 , 111 , 50)'); assertColor(c, 222, 111, 50, null); assert.equal(c.isTransparent(), false); }); }); - describe("rgba()", function() { - it("rgba(200,3,5,1)", function () { - var c = new Color("rgba(200,3,5,1)"); + describe('rgba()', function() { + it('rgba(200,3,5,1)', function() { + var c = new Color('rgba(200,3,5,1)'); assertColor(c, 200, 3, 5, 1); assert.equal(c.isTransparent(), false); }); - it("rgba(222, 111, 50, 0.22)", function () { - var c = new Color("rgba(222, 111, 50, 0.22)"); + it('rgba(222, 111, 50, 0.22)', function() { + var c = new Color('rgba(222, 111, 50, 0.22)'); assertColor(c, 222, 111, 50, 0.22); assert.equal(c.isTransparent(), false); }); - it("rgba( 222, 111 , 50, 0.123 )", function () { - var c = new Color("rgba(222 , 111 , 50, 0.123)"); + it('rgba( 222, 111 , 50, 0.123 )', function() { + var c = new Color('rgba(222 , 111 , 50, 0.123)'); assertColor(c, 222, 111, 50, 0.123); assert.equal(c.isTransparent(), false); }); }); - describe("hex", function() { - it("#7FFFD4", function () { - var c = new Color("#7FFFD4"); + describe('hex', function() { + it('#7FFFD4', function() { + var c = new Color('#7FFFD4'); assertColor(c, 127, 255, 212, null); assert.equal(c.isTransparent(), false); }); - it("#f0ffff", function () { - var c = new Color("#f0ffff"); + it('#f0ffff', function() { + var c = new Color('#f0ffff'); assertColor(c, 240, 255, 255, null); assert.equal(c.isTransparent(), false); }); - it("#fff", function () { - var c = new Color("#fff"); + it('#fff', function() { + var c = new Color('#fff'); assertColor(c, 255, 255, 255, null); assert.equal(c.isTransparent(), false); }); }); - describe("from array", function() { - it("[1,2,3]", function () { - var c = new Color([1,2,3]); + describe('from array', function() { + it('[1,2,3]', function() { + var c = new Color([1, 2, 3]); assertColor(c, 1, 2, 3, null); assert.equal(c.isTransparent(), false); }); - it("[5,6,7,1]", function () { - var c = new Color([5,6,7, 1]); + it('[5,6,7,1]', function() { + var c = new Color([5, 6, 7, 1]); assertColor(c, 5, 6, 7, 1); assert.equal(c.isTransparent(), false); }); - it("[5,6,7,0]", function () { - var c = new Color([5,6,7, 0]); + it('[5,6,7,0]', function() { + var c = new Color([5, 6, 7, 0]); assertColor(c, 5, 6, 7, 0); assert.equal(c.isTransparent(), true); }); }); - describe("transparency", function() { - it("transparent", function () { - var c = new Color("transparent"); + describe('transparency', function() { + it('transparent', function() { + var c = new Color('transparent'); assertColor(c, 0, 0, 0, 0); assert.equal(c.isTransparent(), true); }); - it("rgba(255,255,255,0)", function () { - var c = new Color("rgba(255,255,255,0)"); + it('rgba(255,255,255,0)', function() { + var c = new Color('rgba(255,255,255,0)'); assertColor(c, 255, 255, 255, 0); assert.equal(c.isTransparent(), true); }); diff --git a/tests/node/package.js b/tests/node/package.js index 3e71442..e0e7b4e 100644 --- a/tests/node/package.js +++ b/tests/node/package.js @@ -2,22 +2,22 @@ var assert = require('assert'); var path = require('path'); var html2canvas = require('../../'); -describe("Package", function() { - it("should have html2canvas defined", function() { - assert.equal(typeof(html2canvas), "function"); +describe('Package', function() { + it('should have html2canvas defined', function() { + assert.equal(typeof html2canvas, 'function'); }); }); -describe.only("requirejs", function() { +describe.only('requirejs', function() { var requirejs = require('requirejs'); requirejs.config({ baseUrl: path.resolve(__dirname, '../../dist') }); - it("should have html2canvas defined", function(done) { + it('should have html2canvas defined', function(done) { requirejs(['html2canvas'], function(h2c) { - assert.equal(typeof(h2c), "function"); + assert.equal(typeof h2c, 'function'); done(); }); }); diff --git a/tests/cases/acid2.html b/tests/reftests/acid2.html similarity index 100% rename from tests/cases/acid2.html rename to tests/reftests/acid2.html diff --git a/tests/reftests/acid2.txt b/tests/reftests/acid2.txt new file mode 100644 index 0000000..6eea93b --- /dev/null +++ b/tests/reftests/acid2.txt @@ -0,0 +1,145 @@ +Window: [800, 1496] +Rectangle: [0, 0, 800, 1496] rgb(255,255,255) +Opacity: 1 +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 96, y: 130) > Vector(x: 216, y: 130) > Vector(x: 216, y: 142) > Vector(x: 96, y: 142)) + Fill: rgb(255,0,0) + Repeat: Image ("/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVR42mP4%2F58BAAT%2FAf9jgNErAAAAAElF") [108, 130] Size (1, 1) Path (Vector(x: 96, y: 130) > Vector(x: 216, y: 130) > Vector(x: 216, y: 142) > Vector(x: 96, y: 142)) + Shape: rgb(0,0,0) Path (Vector(x: 96, y: 130) > Vector(x: 216, y: 130) > Vector(x: 204, y: 130) > Vector(x: 108, y: 130)) + Shape: rgb(0,0,0) Path (Vector(x: 216, y: 130) > Vector(x: 216, y: 142) > Vector(x: 204, y: 142) > Vector(x: 204, y: 130)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 96, y: 238) > Vector(x: 216, y: 238) > Vector(x: 216, y: 250) > Vector(x: 96, y: 250)) + Fill: rgb(255,255,0) + Repeat: Image ("/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAFSDNYfAAAAaklEQVR42u3XQQrAIAwAQeP%2F%2F6wf8CJBJTK9") [108, 238] Size (64, 64) Path (Vector(x: 108, y: 238) > Vector(x: 172, y: 238) > Vector(x: 172, y: 302) > Vector(x: 108, y: 302)) + Shape: rgb(0,0,0) Path (Vector(x: 96, y: 238) > Vector(x: 216, y: 238) > Vector(x: 204, y: 238) > Vector(x: 108, y: 238)) + Shape: rgb(0,0,0) Path (Vector(x: 216, y: 238) > Vector(x: 216, y: 250) > Vector(x: 204, y: 250) > Vector(x: 204, y: 238)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 108, y: 250) > Vector(x: 204, y: 250) > Vector(x: 204, y: 262) > Vector(x: 108, y: 262)) + Fill: rgb(255,255,0) + Shape: rgb(0,0,0) Path (Vector(x: 108, y: 250) > Vector(x: 204, y: 250) > Vector(x: 180, y: 250) > Vector(x: 132, y: 250)) + Shape: rgb(0,0,0) Path (Vector(x: 204, y: 250) > Vector(x: 204, y: 262) > Vector(x: 180, y: 262) > Vector(x: 180, y: 250)) + Shape: rgb(0,0,0) Path (Vector(x: 204, y: 262) > Vector(x: 108, y: 262) > Vector(x: 132, y: 262) > Vector(x: 180, y: 262)) + Shape: rgb(0,0,0) Path (Vector(x: 108, y: 262) > Vector(x: 108, y: 250) > Vector(x: 132, y: 250) > Vector(x: 132, y: 262)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 132, y: 262) > Vector(x: 180, y: 262) > Vector(x: 180, y: 274) > Vector(x: 132, y: 274)) + Fill: rgb(255,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 132, y: 262) > Vector(x: 144, y: 262) > Vector(x: 144, y: 274) > Vector(x: 132, y: 274)) + Fill: rgb(0,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 144, y: 262) > Vector(x: 156, y: 262) > Vector(x: 156, y: 274) > Vector(x: 144, y: 274)) + Fill: rgb(0,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 156, y: 262) > Vector(x: 168, y: 262) > Vector(x: 168, y: 274) > Vector(x: 156, y: 274)) + Fill: rgb(0,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 168, y: 262) > Vector(x: 180, y: 262) > Vector(x: 180, y: 274) > Vector(x: 168, y: 274)) + Fill: rgb(0,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) | Path (Vector(x: 48, y: 274) > Vector(x: 788, y: 274) > Vector(x: 788, y: 284) > Vector(x: 48, y: 284)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) | Path (Vector(x: 48, y: 274) > Vector(x: 788, y: 274) > Vector(x: 788, y: 284) > Vector(x: 48, y: 284)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) | Path (Vector(x: 48, y: 274) > Vector(x: 788, y: 274) > Vector(x: 788, y: 284) > Vector(x: 48, y: 284)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) | Path (Vector(x: 48, y: 274) > Vector(x: 788, y: 274) > Vector(x: 788, y: 284) > Vector(x: 48, y: 284)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) | Path (Vector(x: 48, y: 274) > Vector(x: 788, y: 274) > Vector(x: 788, y: 284) > Vector(x: 48, y: 284)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Shape: rgb(0,0,0) Path (Vector(x: 72, y: 166) > Vector(x: 240, y: 166) > Vector(x: 228, y: 166) > Vector(x: 84, y: 166)) + Shape: rgb(0,0,0) Path (Vector(x: 240, y: 166) > Vector(x: 240, y: 214) > Vector(x: 228, y: 202) > Vector(x: 228, y: 166)) + Shape: rgb(0,0,0) Path (Vector(x: 240, y: 214) > Vector(x: 72, y: 214) > Vector(x: 84, y: 202) > Vector(x: 228, y: 202)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 84, y: 166) > Vector(x: 228, y: 166) > Vector(x: 228, y: 214) > Vector(x: 84, y: 214)) + Fill: rgb(255,255,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 144, y: 178) > Vector(x: 168, y: 178) > Vector(x: 168, y: 202) > Vector(x: 144, y: 202)) + Fill: rgb(255,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Shape: rgb(255,255,0) Path (Vector(x: 144, y: 178) > Vector(x: 168, y: 178) > Vector(x: 156, y: 178) > Vector(x: 156, y: 178)) + Shape: rgb(0,0,0) Path (Vector(x: 168, y: 178) > Vector(x: 168, y: 190) > Vector(x: 156, y: 178) > Vector(x: 156, y: 178)) + Shape: rgb(255,255,0) Path (Vector(x: 168, y: 190) > Vector(x: 144, y: 190) > Vector(x: 156, y: 178) > Vector(x: 156, y: 178)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Shape: rgb(0,0,0) Path (Vector(x: 144, y: 190) > Vector(x: 168, y: 190) > Vector(x: 156, y: 202) > Vector(x: 156, y: 202)) + Shape: rgb(255,255,0) Path (Vector(x: 168, y: 190) > Vector(x: 168, y: 202) > Vector(x: 156, y: 202) > Vector(x: 156, y: 202)) + Shape: rgb(255,255,0) Path (Vector(x: 168, y: 202) > Vector(x: 144, y: 202) > Vector(x: 156, y: 202) > Vector(x: 156, y: 202)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) | Path (Vector(x: 48, y: 274) > Vector(x: 788, y: 274) > Vector(x: 788, y: 284) > Vector(x: 48, y: 284)) + Clip: Path (Vector(x: 48, y: 429) > Vector(x: 112, y: 429) > Vector(x: 112, y: 493) > Vector(x: 48, y: 493)) + Draw image: Image ("/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAFSDNYfAAAAaklEQVR42u3XQQrAIAwAQeP%2F%2F6wf8CJBJTK9") (source: [0, 0, 64, 64]) (destination: [0, 0, 64, 64]) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 132, y: 108) > Vector(x: 180, y: 108) > Vector(x: 180, y: 126) > Vector(x: 132, y: 126)) + Fill: rgb(0,0,0) + Shape: rgb(255,255,0) Path (Vector(x: 132, y: 108) > Vector(x: 180, y: 108) > Vector(x: 180, y: 108) > Vector(x: 132, y: 108)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 132, y: 144) > Vector(x: 180, y: 144) > Vector(x: 180, y: 157) > Vector(x: 132, y: 157)) + Fill: rgb(0,0,0) + Shape: rgb(255,0,0) Path (Vector(x: 132, y: 144) > Vector(x: 180, y: 144) > Vector(x: 180, y: 144) > Vector(x: 132, y: 144)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Shape: rgb(0,0,0) Path (Vector(x: 108, y: 118) > Vector(x: 204, y: 118) > Vector(x: 180, y: 118) > Vector(x: 132, y: 118)) + Shape: rgb(0,0,0) Path (Vector(x: 204, y: 118) > Vector(x: 204, y: 130) > Vector(x: 180, y: 130) > Vector(x: 180, y: 118)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 132, y: 118) > Vector(x: 180, y: 118) > Vector(x: 180, y: 130) > Vector(x: 132, y: 130)) + Fill: rgb(255,255,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 84, y: 142) > Vector(x: 228, y: 142) > Vector(x: 228, y: 166) > Vector(x: 84, y: 166)) + Fill: rgb(255,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 84, y: 142) > Vector(x: 228, y: 142) > Vector(x: 228, y: 166) > Vector(x: 84, y: 166)) + Fill: rgb(255,0,0) + Shape: rgb(255,255,0) Path (Vector(x: 84, y: 142) > Vector(x: 228, y: 142) > Vector(x: 228, y: 142) > Vector(x: 108, y: 142)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 84, y: 142) > Vector(x: 228, y: 142) > Vector(x: 228, y: 166) > Vector(x: 84, y: 166)) + Repeat: Image ("/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAABnRSTlMAAAAAAABupgeRAAAABmJLR0QA%2FwD%2F") [96, 142] Size (2, 2) Path (Vector(x: 84, y: 142) > Vector(x: 228, y: 142) > Vector(x: 228, y: 166) > Vector(x: 84, y: 166)) + Shape: rgb(255,0,0) Path (Vector(x: 84, y: 142) > Vector(x: 228, y: 142) > Vector(x: 216, y: 142) > Vector(x: 96, y: 142)) + Shape: rgb(0,0,0) Path (Vector(x: 228, y: 142) > Vector(x: 228, y: 166) > Vector(x: 216, y: 166) > Vector(x: 216, y: 142)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 84, y: 214) > Vector(x: 228, y: 214) > Vector(x: 228, y: 238) > Vector(x: 84, y: 238)) + Fill: rgb(0,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 96, y: 214) > Vector(x: 216, y: 214) > Vector(x: 216, y: 238) > Vector(x: 96, y: 238)) + Fill: rgb(0,0,0) + Shape: rgb(255,255,0) Path (Vector(x: 96, y: 214) > Vector(x: 216, y: 214) > Vector(x: 204, y: 226) > Vector(x: 108, y: 226)) + Shape: rgb(255,255,0) Path (Vector(x: 216, y: 214) > Vector(x: 216, y: 238) > Vector(x: 204, y: 226) > Vector(x: 204, y: 226)) + Shape: rgb(255,255,0) Path (Vector(x: 216, y: 238) > Vector(x: 96, y: 238) > Vector(x: 108, y: 226) > Vector(x: 204, y: 226)) + Shape: rgb(255,255,0) Path (Vector(x: 96, y: 238) > Vector(x: 96, y: 214) > Vector(x: 108, y: 226) > Vector(x: 108, y: 226)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Clip: Path (Vector(x: 108, y: 214) > Vector(x: 204, y: 214) > Vector(x: 204, y: 226) > Vector(x: 108, y: 226)) + Fill: rgb(0,0,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) + Shape: rgb(255,255,0) Path (Vector(x: 120, y: 214) > Vector(x: 192, y: 214) > Vector(x: 192, y: 226) > Vector(x: 120, y: 226)) + Shape: rgb(0,0,0) Path (Vector(x: 192, y: 214) > Vector(x: 192, y: 238) > Vector(x: 192, y: 226) > Vector(x: 192, y: 226)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 1496) > Vector(x: 0, y: 1496)) \ No newline at end of file diff --git a/tests/cases/background/clip.html b/tests/reftests/background/clip.html similarity index 100% rename from tests/cases/background/clip.html rename to tests/reftests/background/clip.html diff --git a/tests/reftests/background/clip.txt b/tests/reftests/background/clip.txt new file mode 100644 index 0000000..140c84f --- /dev/null +++ b/tests/reftests/background/clip.txt @@ -0,0 +1,29 @@ +Window: [800, 1568] +Rectangle: [0, 0, 800, 1568] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 1048) > Vector(x: 8, y: 1048)) + Fill: rgb(0,255,0) +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 278, y: 18) > Vector(x: 278, y: 258) > Vector(x: 18, y: 258)) + Repeat: Image ("/tests/assets/image.jpg") [58, 28] Size (75, 75) Path (Vector(x: 18, y: 18) > Vector(x: 278, y: 18) > Vector(x: 278, y: 258) > Vector(x: 18, y: 258)) +Clip: Path (Vector(x: 338, y: 28) > Vector(x: 538, y: 28) > Vector(x: 538, y: 228) > Vector(x: 338, y: 228)) + Repeat: Image ("/tests/assets/image.jpg") [338, 28] Size (75, 75) Path (Vector(x: 298, y: 18) > Vector(x: 558, y: 18) > Vector(x: 558, y: 258) > Vector(x: 298, y: 258)) +Clip: Path (Vector(x: 58, y: 288) > Vector(x: 258, y: 288) > Vector(x: 258, y: 488) > Vector(x: 58, y: 488)) + Repeat: Image ("/tests/assets/image.jpg") [58, 288] Size (75, 75) Path (Vector(x: 18, y: 278) > Vector(x: 278, y: 278) > Vector(x: 278, y: 518) > Vector(x: 18, y: 518)) +Clip: Path (Vector(x: 298, y: 278) > Vector(x: 558, y: 278) > Vector(x: 558, y: 518) > Vector(x: 298, y: 518)) + Repeat: Image ("/tests/assets/image.jpg") [338, 288] Size (75, 75) Path (Vector(x: 298, y: 278) > Vector(x: 558, y: 278) > Vector(x: 558, y: 518) > Vector(x: 298, y: 518)) +Clip: Path (Vector(x: 18, y: 538) > Vector(x: 278, y: 538) > Vector(x: 278, y: 778) > Vector(x: 18, y: 778)) + Repeat: Image ("/tests/assets/image.jpg") [58, 548] Size (75, 75) Path (Vector(x: 58, y: 548) > Vector(x: 133, y: 548) > Vector(x: 133, y: 623) > Vector(x: 58, y: 623)) +Clip: Path (Vector(x: 338, y: 548) > Vector(x: 538, y: 548) > Vector(x: 538, y: 748) > Vector(x: 338, y: 748)) + Repeat: Image ("/tests/assets/image.jpg") [338, 548] Size (75, 75) Path (Vector(x: 338, y: 538) > Vector(x: 413, y: 538) > Vector(x: 413, y: 778) > Vector(x: 338, y: 778)) +Clip: Path (Vector(x: 58, y: 808) > Vector(x: 258, y: 808) > Vector(x: 258, y: 1008) > Vector(x: 58, y: 1008)) + Repeat: Image ("/tests/assets/image.jpg") [58, 808] Size (75, 75) Path (Vector(x: 18, y: 808) > Vector(x: 278, y: 808) > Vector(x: 278, y: 883) > Vector(x: 18, y: 883)) +Clip: Path (Vector(x: 298, y: 798) > Vector(x: 558, y: 798) > Vector(x: 558, y: 1038) > Vector(x: 298, y: 1038)) + Repeat: Image ("/tests/assets/image.jpg") [338, 808] Size (75, 75) Path (Vector(x: 338, y: 808) > Vector(x: 413, y: 808) > Vector(x: 413, y: 883) > Vector(x: 338, y: 883)) +Clip: Path (Vector(x: 18, y: 1058) > Vector(x: 278, y: 1058) > Vector(x: 278, y: 1298) > Vector(x: 18, y: 1298)) + Fill: rgb(0,128,0) +Clip: Path (Vector(x: 338, y: 1068) > Vector(x: 538, y: 1068) > Vector(x: 538, y: 1268) > Vector(x: 338, y: 1268)) + Fill: rgb(0,128,0) +Clip: Path (Vector(x: 58, y: 1328) > Vector(x: 258, y: 1328) > Vector(x: 258, y: 1528) > Vector(x: 58, y: 1528)) + Fill: rgb(0,128,0) +Clip: Path (Vector(x: 298, y: 1318) > Vector(x: 558, y: 1318) > Vector(x: 558, y: 1558) > Vector(x: 298, y: 1558)) + Fill: rgb(0,128,0) \ No newline at end of file diff --git a/tests/cases/background/encoded.html b/tests/reftests/background/encoded.html similarity index 100% rename from tests/cases/background/encoded.html rename to tests/reftests/background/encoded.html diff --git a/tests/reftests/background/encoded.txt b/tests/reftests/background/encoded.txt new file mode 100644 index 0000000..800ca49 --- /dev/null +++ b/tests/reftests/background/encoded.txt @@ -0,0 +1,11 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 8) > Vector(x: 8, y: 8)) + Fill: rgb(0,255,0) +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) + Repeat: Image ("/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4") [19, 19] Size (75, 75) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 219, y: 19) > Vector(x: 19, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 219, y: 219) > Vector(x: 219, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 220) > Vector(x: 18, y: 220) > Vector(x: 19, y: 219) > Vector(x: 219, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 220) > Vector(x: 18, y: 18) > Vector(x: 19, y: 19) > Vector(x: 19, y: 219)) \ No newline at end of file diff --git a/tests/cases/background/linear-gradient.html b/tests/reftests/background/linear-gradient.html similarity index 100% rename from tests/cases/background/linear-gradient.html rename to tests/reftests/background/linear-gradient.html diff --git a/tests/reftests/background/linear-gradient.txt b/tests/reftests/background/linear-gradient.txt new file mode 100644 index 0000000..846ccf7 --- /dev/null +++ b/tests/reftests/background/linear-gradient.txt @@ -0,0 +1,132 @@ +Window: [820, 1828] +Rectangle: [0, 0, 820, 1828] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 230, y: 18) > Vector(x: 230, y: 220) > Vector(x: 18, y: 220)) + Gradient: [18, 18, 212, 202] linear-gradient(x0: 207, x1: 5, y0: 207, y1: -5 rgb(255,0,0) 0, rgb(0,0,255) 0.33, rgb(186,218,85) 0.67, rgba(0,0,255,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 18) > Vector(x: 230, y: 18) > Vector(x: 229, y: 19) > Vector(x: 19, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 18) > Vector(x: 230, y: 220) > Vector(x: 229, y: 219) > Vector(x: 229, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 220) > Vector(x: 18, y: 220) > Vector(x: 19, y: 219) > Vector(x: 229, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 220) > Vector(x: 18, y: 18) > Vector(x: 19, y: 19) > Vector(x: 19, y: 219)) +Clip: Path (Vector(x: 250, y: 18) > Vector(x: 462, y: 18) > Vector(x: 462, y: 220) > Vector(x: 250, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 18) > Vector(x: 462, y: 18) > Vector(x: 461, y: 19) > Vector(x: 251, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 18) > Vector(x: 462, y: 220) > Vector(x: 461, y: 219) > Vector(x: 461, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 220) > Vector(x: 250, y: 220) > Vector(x: 251, y: 219) > Vector(x: 461, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 220) > Vector(x: 250, y: 18) > Vector(x: 251, y: 19) > Vector(x: 251, y: 219)) +Clip: Path (Vector(x: 482, y: 18) > Vector(x: 694, y: 18) > Vector(x: 694, y: 220) > Vector(x: 482, y: 220)) + Gradient: [482, 18, 212, 202] linear-gradient(x0: 212, x1: 0, y0: 101, y1: 101 rgb(255,0,0) 0, rgb(255,255,0) 0.5, rgb(0,255,0) 1) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 18) > Vector(x: 694, y: 18) > Vector(x: 693, y: 19) > Vector(x: 483, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 18) > Vector(x: 694, y: 220) > Vector(x: 693, y: 219) > Vector(x: 693, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 220) > Vector(x: 482, y: 220) > Vector(x: 483, y: 219) > Vector(x: 693, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 220) > Vector(x: 482, y: 18) > Vector(x: 483, y: 19) > Vector(x: 483, y: 219)) +Clip: Path (Vector(x: 18, y: 240) > Vector(x: 230, y: 240) > Vector(x: 230, y: 442) > Vector(x: 18, y: 442)) + Gradient: [18, 240, 212, 202] linear-gradient(x0: 212, x1: 0, y0: 101, y1: 101 rgb(206,219,233) 0, rgb(170,197,222) 0.17, rgb(97,153,199) 0.5, rgb(58,132,195) 0.51, rgb(65,154,214) 0.59, rgb(75,184,240) 0.71, rgb(58,139,194) 0.84, rgb(38,85,139) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 240) > Vector(x: 230, y: 240) > Vector(x: 229, y: 241) > Vector(x: 19, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 240) > Vector(x: 230, y: 442) > Vector(x: 229, y: 441) > Vector(x: 229, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 442) > Vector(x: 18, y: 442) > Vector(x: 19, y: 441) > Vector(x: 229, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 442) > Vector(x: 18, y: 240) > Vector(x: 19, y: 241) > Vector(x: 19, y: 441)) +Clip: Path (Vector(x: 250, y: 240) > Vector(x: 462, y: 240) > Vector(x: 462, y: 442) > Vector(x: 250, y: 442)) + Gradient: [250, 240, 212, 202] linear-gradient(x0: 106, x1: 106, y0: 202, y1: 0 rgb(240,183,161) 0, rgb(140,51,16) 0.5, rgb(117,34,1) 0.51, rgb(191,110,78) 1) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 240) > Vector(x: 462, y: 240) > Vector(x: 461, y: 241) > Vector(x: 251, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 240) > Vector(x: 462, y: 442) > Vector(x: 461, y: 441) > Vector(x: 461, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 442) > Vector(x: 250, y: 442) > Vector(x: 251, y: 441) > Vector(x: 461, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 442) > Vector(x: 250, y: 240) > Vector(x: 251, y: 241) > Vector(x: 251, y: 441)) +Clip: Path (Vector(x: 482, y: 240) > Vector(x: 694, y: 240) > Vector(x: 694, y: 442) > Vector(x: 482, y: 442)) + Gradient: [482, 240, 212, 202] linear-gradient(x0: 212, x1: 0, y0: 101, y1: 101 rgb(206,219,233) 0, rgb(170,197,222) 0.17, rgb(97,153,199) 0.5, rgb(58,132,195) 0.51, rgb(65,154,214) 0.76, rgb(38,85,139) 1) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 240) > Vector(x: 694, y: 240) > Vector(x: 693, y: 241) > Vector(x: 483, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 240) > Vector(x: 694, y: 442) > Vector(x: 693, y: 441) > Vector(x: 693, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 442) > Vector(x: 482, y: 442) > Vector(x: 483, y: 441) > Vector(x: 693, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 442) > Vector(x: 482, y: 240) > Vector(x: 483, y: 241) > Vector(x: 483, y: 441)) +Clip: Path (Vector(x: 18, y: 462) > Vector(x: 230, y: 462) > Vector(x: 230, y: 664) > Vector(x: 18, y: 664)) + Gradient: [18, 462, 212, 202] linear-gradient(x0: 106, x1: 106, y0: 202, y1: 0 rgb(204,229,244) 0, rgb(0,38,60) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 462) > Vector(x: 230, y: 462) > Vector(x: 229, y: 463) > Vector(x: 19, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 462) > Vector(x: 230, y: 664) > Vector(x: 229, y: 663) > Vector(x: 229, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 664) > Vector(x: 18, y: 664) > Vector(x: 19, y: 663) > Vector(x: 229, y: 663)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 664) > Vector(x: 18, y: 462) > Vector(x: 19, y: 463) > Vector(x: 19, y: 663)) +Clip: Path (Vector(x: 250, y: 462) > Vector(x: 462, y: 462) > Vector(x: 462, y: 664) > Vector(x: 250, y: 664)) + Gradient: [250, 462, 212, 202] linear-gradient(x0: 5, x1: 207, y0: 207, y1: -5 rgb(255,255,255) 0, rgb(0,38,60) 1) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 462) > Vector(x: 462, y: 462) > Vector(x: 461, y: 463) > Vector(x: 251, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 462) > Vector(x: 462, y: 664) > Vector(x: 461, y: 663) > Vector(x: 461, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 664) > Vector(x: 250, y: 664) > Vector(x: 251, y: 663) > Vector(x: 461, y: 663)) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 664) > Vector(x: 250, y: 462) > Vector(x: 251, y: 463) > Vector(x: 251, y: 663)) +Clip: Path (Vector(x: 482, y: 462) > Vector(x: 694, y: 462) > Vector(x: 694, y: 664) > Vector(x: 482, y: 664)) + Gradient: [482, 462, 212, 202] linear-gradient(x0: 5, x1: 207, y0: 207, y1: -5 rgb(0,0,255) 0, rgb(255,0,0) 0.17, rgb(0,128,0) 0.66, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 462) > Vector(x: 694, y: 462) > Vector(x: 693, y: 463) > Vector(x: 483, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 462) > Vector(x: 694, y: 664) > Vector(x: 693, y: 663) > Vector(x: 693, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 664) > Vector(x: 482, y: 664) > Vector(x: 483, y: 663) > Vector(x: 693, y: 663)) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 664) > Vector(x: 482, y: 462) > Vector(x: 483, y: 463) > Vector(x: 483, y: 663)) +Clip: Path (Vector(x: 18, y: 684) > Vector(x: 230, y: 684) > Vector(x: 230, y: 886) > Vector(x: 18, y: 886)) + Gradient: [18, 684, 212, 202] linear-gradient(x0: 5, x1: 207, y0: -5, y1: 207 rgb(0,0,255) 0, rgb(255,0,0) 0.17, rgb(0,128,0) 0.66, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 684) > Vector(x: 230, y: 684) > Vector(x: 229, y: 685) > Vector(x: 19, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 684) > Vector(x: 230, y: 886) > Vector(x: 229, y: 885) > Vector(x: 229, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 886) > Vector(x: 18, y: 886) > Vector(x: 19, y: 885) > Vector(x: 229, y: 885)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 886) > Vector(x: 18, y: 684) > Vector(x: 19, y: 685) > Vector(x: 19, y: 885)) +Clip: Path (Vector(x: 250, y: 684) > Vector(x: 462, y: 684) > Vector(x: 462, y: 886) > Vector(x: 250, y: 886)) + Gradient: [250, 684, 212, 202] linear-gradient(x0: 207, x1: 5, y0: 207, y1: -5 rgb(0,0,255) 0, rgb(255,0,0) 0.17, rgb(0,128,0) 0.66, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 684) > Vector(x: 462, y: 684) > Vector(x: 461, y: 685) > Vector(x: 251, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 684) > Vector(x: 462, y: 886) > Vector(x: 461, y: 885) > Vector(x: 461, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 886) > Vector(x: 250, y: 886) > Vector(x: 251, y: 885) > Vector(x: 461, y: 885)) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 886) > Vector(x: 250, y: 684) > Vector(x: 251, y: 685) > Vector(x: 251, y: 885)) +Clip: Path (Vector(x: 482, y: 684) > Vector(x: 694, y: 684) > Vector(x: 694, y: 886) > Vector(x: 482, y: 886)) + Gradient: [482, 684, 212, 202] linear-gradient(x0: 207, x1: 5, y0: -5, y1: 207 rgb(0,0,255) 0, rgb(255,0,0) 0.17, rgb(0,128,0) 0.66, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 684) > Vector(x: 694, y: 684) > Vector(x: 693, y: 685) > Vector(x: 483, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 684) > Vector(x: 694, y: 886) > Vector(x: 693, y: 885) > Vector(x: 693, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 886) > Vector(x: 482, y: 886) > Vector(x: 483, y: 885) > Vector(x: 693, y: 885)) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 886) > Vector(x: 482, y: 684) > Vector(x: 483, y: 685) > Vector(x: 483, y: 885)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 906) > Vector(x: 782, y: 906) > Vector(x: 781, y: 907) > Vector(x: 19, y: 907)) +Shape: rgb(0,0,0) Path (Vector(x: 782, y: 906) > Vector(x: 782, y: 1152) > Vector(x: 781, y: 1151) > Vector(x: 781, y: 907)) +Shape: rgb(0,0,0) Path (Vector(x: 782, y: 1152) > Vector(x: 18, y: 1152) > Vector(x: 19, y: 1151) > Vector(x: 781, y: 1151)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1152) > Vector(x: 18, y: 906) > Vector(x: 19, y: 907) > Vector(x: 19, y: 1151)) +Clip: Path (Vector(x: 29, y: 917) > Vector(x: 231, y: 917) > Vector(x: 231, y: 1019) > Vector(x: 29, y: 1019)) + Gradient: [29, 917, 202, 102] linear-gradient(x0: 60, x1: 142, y0: 132, y1: -30 rgb(0,0,255) 0, rgb(255,0,0) 0.25, rgb(0,128,0) 0.98, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 29, y: 917) > Vector(x: 231, y: 917) > Vector(x: 230, y: 918) > Vector(x: 30, y: 918)) +Shape: rgb(0,0,0) Path (Vector(x: 231, y: 917) > Vector(x: 231, y: 1019) > Vector(x: 230, y: 1018) > Vector(x: 230, y: 918)) +Shape: rgb(0,0,0) Path (Vector(x: 231, y: 1019) > Vector(x: 29, y: 1019) > Vector(x: 30, y: 1018) > Vector(x: 230, y: 1018)) +Shape: rgb(0,0,0) Path (Vector(x: 29, y: 1019) > Vector(x: 29, y: 917) > Vector(x: 30, y: 918) > Vector(x: 30, y: 1018)) +Clip: Path (Vector(x: 251, y: 917) > Vector(x: 453, y: 917) > Vector(x: 453, y: 1019) > Vector(x: 251, y: 1019)) + Gradient: [251, 917, 202, 102] linear-gradient(x0: 60, x1: 142, y0: -30, y1: 132 rgb(0,0,255) 0, rgb(255,0,0) 0.25, rgb(0,128,0) 0.98, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 251, y: 917) > Vector(x: 453, y: 917) > Vector(x: 452, y: 918) > Vector(x: 252, y: 918)) +Shape: rgb(0,0,0) Path (Vector(x: 453, y: 917) > Vector(x: 453, y: 1019) > Vector(x: 452, y: 1018) > Vector(x: 452, y: 918)) +Shape: rgb(0,0,0) Path (Vector(x: 453, y: 1019) > Vector(x: 251, y: 1019) > Vector(x: 252, y: 1018) > Vector(x: 452, y: 1018)) +Shape: rgb(0,0,0) Path (Vector(x: 251, y: 1019) > Vector(x: 251, y: 917) > Vector(x: 252, y: 918) > Vector(x: 252, y: 1018)) +Clip: Path (Vector(x: 473, y: 917) > Vector(x: 675, y: 917) > Vector(x: 675, y: 1019) > Vector(x: 473, y: 1019)) + Gradient: [473, 917, 202, 102] linear-gradient(x0: 142, x1: 60, y0: 132, y1: -30 rgb(0,0,255) 0, rgb(255,0,0) 0.25, rgb(0,128,0) 0.98, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 473, y: 917) > Vector(x: 675, y: 917) > Vector(x: 674, y: 918) > Vector(x: 474, y: 918)) +Shape: rgb(0,0,0) Path (Vector(x: 675, y: 917) > Vector(x: 675, y: 1019) > Vector(x: 674, y: 1018) > Vector(x: 674, y: 918)) +Shape: rgb(0,0,0) Path (Vector(x: 675, y: 1019) > Vector(x: 473, y: 1019) > Vector(x: 474, y: 1018) > Vector(x: 674, y: 1018)) +Shape: rgb(0,0,0) Path (Vector(x: 473, y: 1019) > Vector(x: 473, y: 917) > Vector(x: 474, y: 918) > Vector(x: 474, y: 1018)) +Clip: Path (Vector(x: 29, y: 1039) > Vector(x: 231, y: 1039) > Vector(x: 231, y: 1141) > Vector(x: 29, y: 1141)) + Gradient: [29, 1039, 202, 102] linear-gradient(x0: 142, x1: 60, y0: -30, y1: 132 rgb(0,0,255) 0, rgb(255,0,0) 0.25, rgb(0,128,0) 0.98, rgba(0,0,0,0.5) 1) +Shape: rgb(0,0,0) Path (Vector(x: 29, y: 1039) > Vector(x: 231, y: 1039) > Vector(x: 230, y: 1040) > Vector(x: 30, y: 1040)) +Shape: rgb(0,0,0) Path (Vector(x: 231, y: 1039) > Vector(x: 231, y: 1141) > Vector(x: 230, y: 1140) > Vector(x: 230, y: 1040)) +Shape: rgb(0,0,0) Path (Vector(x: 231, y: 1141) > Vector(x: 29, y: 1141) > Vector(x: 30, y: 1140) > Vector(x: 230, y: 1140)) +Shape: rgb(0,0,0) Path (Vector(x: 29, y: 1141) > Vector(x: 29, y: 1039) > Vector(x: 30, y: 1040) > Vector(x: 30, y: 1140)) +Clip: Path (Vector(x: 18, y: 1172) > Vector(x: 230, y: 1172) > Vector(x: 230, y: 1374) > Vector(x: 18, y: 1374)) + Gradient: [18, 1172, 212, 202] linear-gradient(x0: 5, x1: 207, y0: -5, y1: 207 rgb(255,255,255) 0, rgb(0,0,0) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1172) > Vector(x: 230, y: 1172) > Vector(x: 229, y: 1173) > Vector(x: 19, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 1172) > Vector(x: 230, y: 1374) > Vector(x: 229, y: 1373) > Vector(x: 229, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 1374) > Vector(x: 18, y: 1374) > Vector(x: 19, y: 1373) > Vector(x: 229, y: 1373)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1374) > Vector(x: 18, y: 1172) > Vector(x: 19, y: 1173) > Vector(x: 19, y: 1373)) +Clip: Path (Vector(x: 250, y: 1172) > Vector(x: 462, y: 1172) > Vector(x: 462, y: 1374) > Vector(x: 250, y: 1374)) + Gradient: [250, 1172, 212, 202] linear-gradient(x0: 156, x1: 56, y0: -23, y1: 225 rgb(255,255,0) 0, rgb(0,0,255) 0.3, rgb(255,0,0) 0.6, rgb(0,0,255) 1) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 1172) > Vector(x: 462, y: 1172) > Vector(x: 461, y: 1173) > Vector(x: 251, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 1172) > Vector(x: 462, y: 1374) > Vector(x: 461, y: 1373) > Vector(x: 461, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 1374) > Vector(x: 250, y: 1374) > Vector(x: 251, y: 1373) > Vector(x: 461, y: 1373)) +Shape: rgb(0,0,0) Path (Vector(x: 250, y: 1374) > Vector(x: 250, y: 1172) > Vector(x: 251, y: 1173) > Vector(x: 251, y: 1373)) +Clip: Path (Vector(x: 482, y: 1172) > Vector(x: 694, y: 1172) > Vector(x: 694, y: 1374) > Vector(x: 482, y: 1374)) + Gradient: [482, 1172, 212, 202] linear-gradient(x0: 106, x1: 106, y0: 202, y1: 0 rgb(255,255,0) 0, rgb(255,0,0) 0.6, rgb(0,0,255) 1) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 1172) > Vector(x: 694, y: 1172) > Vector(x: 693, y: 1173) > Vector(x: 483, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 1172) > Vector(x: 694, y: 1374) > Vector(x: 693, y: 1373) > Vector(x: 693, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 1374) > Vector(x: 482, y: 1374) > Vector(x: 483, y: 1373) > Vector(x: 693, y: 1373)) +Shape: rgb(0,0,0) Path (Vector(x: 482, y: 1374) > Vector(x: 482, y: 1172) > Vector(x: 483, y: 1173) > Vector(x: 483, y: 1373)) +Clip: Path (Vector(x: 18, y: 1394) > Vector(x: 230, y: 1394) > Vector(x: 230, y: 1596) > Vector(x: 18, y: 1596)) + Gradient: [18, 1394, 212, 202] linear-gradient(x0: 219, x1: -7, y0: 92, y1: 110 rgb(255,255,0) 0, rgb(255,165,0) 0.3, rgb(255,0,0) 0.6, rgb(0,0,255) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1394) > Vector(x: 230, y: 1394) > Vector(x: 229, y: 1395) > Vector(x: 19, y: 1395)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 1394) > Vector(x: 230, y: 1596) > Vector(x: 229, y: 1595) > Vector(x: 229, y: 1395)) +Shape: rgb(0,0,0) Path (Vector(x: 230, y: 1596) > Vector(x: 18, y: 1596) > Vector(x: 19, y: 1595) > Vector(x: 229, y: 1595)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1596) > Vector(x: 18, y: 1394) > Vector(x: 19, y: 1395) > Vector(x: 19, y: 1595)) +Clip: Path (Vector(x: 18, y: 1616) > Vector(x: 820, y: 1616) > Vector(x: 820, y: 1818) > Vector(x: 18, y: 1818)) + Gradient: [18, 1616, 802, 202] linear-gradient(x0: 346, x1: 456, y0: -96, y1: 298 rgb(255,255,0) 0, rgb(255,0,0) 0.6, rgb(0,0,255) 1) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1616) > Vector(x: 820, y: 1616) > Vector(x: 819, y: 1617) > Vector(x: 19, y: 1617)) +Shape: rgb(0,0,0) Path (Vector(x: 820, y: 1616) > Vector(x: 820, y: 1818) > Vector(x: 819, y: 1817) > Vector(x: 819, y: 1617)) +Shape: rgb(0,0,0) Path (Vector(x: 820, y: 1818) > Vector(x: 18, y: 1818) > Vector(x: 19, y: 1817) > Vector(x: 819, y: 1817)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1818) > Vector(x: 18, y: 1616) > Vector(x: 19, y: 1617) > Vector(x: 19, y: 1817)) \ No newline at end of file diff --git a/tests/cases/background/multi.html b/tests/reftests/background/multi.html similarity index 100% rename from tests/cases/background/multi.html rename to tests/reftests/background/multi.html diff --git a/tests/reftests/background/multi.txt b/tests/reftests/background/multi.txt new file mode 100644 index 0000000..4a33145 --- /dev/null +++ b/tests/reftests/background/multi.txt @@ -0,0 +1,26 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 8) > Vector(x: 8, y: 8)) + Fill: rgb(0,255,0) +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) + Repeat: Image ("/tests/assets/image2.jpg") [119, 149] Size (75, 75) Path (Vector(x: 18, y: 148) > Vector(x: 220, y: 148) > Vector(x: 220, y: 223) > Vector(x: 18, y: 223)) + Repeat: Image ("/tests/assets/image.jpg") [69, 69] Size (75, 75) Path (Vector(x: 18, y: 68) > Vector(x: 220, y: 68) > Vector(x: 220, y: 143) > Vector(x: 18, y: 143)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 219, y: 19) > Vector(x: 19, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 219, y: 219) > Vector(x: 219, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 220) > Vector(x: 18, y: 220) > Vector(x: 19, y: 219) > Vector(x: 219, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 220) > Vector(x: 18, y: 18) > Vector(x: 19, y: 19) > Vector(x: 19, y: 219)) +Clip: Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 240, y: 220)) + Repeat: Image ("/tests/assets/image2.jpg") [261, -1] Size (75, 75) Path (Vector(x: 240, y: -2) > Vector(x: 442, y: -2) > Vector(x: 442, y: 73) > Vector(x: 240, y: 73)) + Repeat: Image ("/tests/assets/image.jpg") [291, 69] Size (75, 75) Path (Vector(x: 240, y: 68) > Vector(x: 442, y: 68) > Vector(x: 442, y: 143) > Vector(x: 240, y: 143)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 441, y: 19) > Vector(x: 241, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 441, y: 219) > Vector(x: 441, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 220) > Vector(x: 240, y: 220) > Vector(x: 241, y: 219) > Vector(x: 441, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 220) > Vector(x: 240, y: 18) > Vector(x: 241, y: 19) > Vector(x: 241, y: 219)) +Clip: Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 462, y: 220)) + Repeat: Image ("/tests/assets/image2.jpg") [913, 119] Size (75, 75) Path (Vector(x: 462, y: 118) > Vector(x: 664, y: 118) > Vector(x: 664, y: 193) > Vector(x: 462, y: 193)) + Repeat: Image ("/tests/assets/image.jpg") [513, 69] Size (75, 75) Path (Vector(x: 462, y: 68) > Vector(x: 664, y: 68) > Vector(x: 664, y: 143) > Vector(x: 462, y: 143)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 663, y: 19) > Vector(x: 463, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 663, y: 219) > Vector(x: 663, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 220) > Vector(x: 462, y: 220) > Vector(x: 463, y: 219) > Vector(x: 663, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 220) > Vector(x: 462, y: 18) > Vector(x: 463, y: 19) > Vector(x: 463, y: 219)) \ No newline at end of file diff --git a/tests/cases/background/position.html b/tests/reftests/background/position.html similarity index 100% rename from tests/cases/background/position.html rename to tests/reftests/background/position.html diff --git a/tests/reftests/background/position.txt b/tests/reftests/background/position.txt new file mode 100644 index 0000000..2e9a664 --- /dev/null +++ b/tests/reftests/background/position.txt @@ -0,0 +1,77 @@ +Window: [800, 1018] +Rectangle: [0, 0, 800, 1018] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 574) > Vector(x: 8, y: 574)) + Fill: rgb(0,255,0) +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) + Repeat: Image ("/tests/assets/image.jpg") [82, 82] Size (75, 75) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 219, y: 19) > Vector(x: 19, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 219, y: 219) > Vector(x: 219, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 220) > Vector(x: 18, y: 220) > Vector(x: 19, y: 219) > Vector(x: 219, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 220) > Vector(x: 18, y: 18) > Vector(x: 19, y: 19) > Vector(x: 19, y: 219)) +Clip: Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 240, y: 220)) + Repeat: Image ("/tests/assets/image.jpg") [304, 82] Size (75, 75) Path (Vector(x: 240, y: 82) > Vector(x: 442, y: 82) > Vector(x: 442, y: 157) > Vector(x: 240, y: 157)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 441, y: 19) > Vector(x: 241, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 441, y: 219) > Vector(x: 441, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 220) > Vector(x: 240, y: 220) > Vector(x: 241, y: 219) > Vector(x: 441, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 220) > Vector(x: 240, y: 18) > Vector(x: 241, y: 19) > Vector(x: 241, y: 219)) +Clip: Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 462, y: 220)) + Repeat: Image ("/tests/assets/image.jpg") [526, 82] Size (75, 75) Path (Vector(x: 526, y: 18) > Vector(x: 601, y: 18) > Vector(x: 601, y: 220) > Vector(x: 526, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 663, y: 19) > Vector(x: 463, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 663, y: 219) > Vector(x: 663, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 220) > Vector(x: 462, y: 220) > Vector(x: 463, y: 219) > Vector(x: 663, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 220) > Vector(x: 462, y: 18) > Vector(x: 463, y: 19) > Vector(x: 463, y: 219)) +Clip: Path (Vector(x: 18, y: 240) > Vector(x: 220, y: 240) > Vector(x: 220, y: 442) > Vector(x: 18, y: 442)) + Repeat: Image ("/tests/assets/image.jpg") [82, 304] Size (75, 75) Path (Vector(x: 82, y: 304) > Vector(x: 157, y: 304) > Vector(x: 157, y: 379) > Vector(x: 82, y: 379)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 240) > Vector(x: 220, y: 240) > Vector(x: 219, y: 241) > Vector(x: 19, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 240) > Vector(x: 220, y: 442) > Vector(x: 219, y: 441) > Vector(x: 219, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 442) > Vector(x: 18, y: 442) > Vector(x: 19, y: 441) > Vector(x: 219, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 442) > Vector(x: 18, y: 240) > Vector(x: 19, y: 241) > Vector(x: 19, y: 441)) +Clip: Path (Vector(x: 18, y: 462) > Vector(x: 120, y: 462) > Vector(x: 120, y: 564) > Vector(x: 18, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [32, 476] Size (75, 75) Path (Vector(x: 18, y: 462) > Vector(x: 120, y: 462) > Vector(x: 120, y: 564) > Vector(x: 18, y: 564)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 462) > Vector(x: 120, y: 462) > Vector(x: 119, y: 463) > Vector(x: 19, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 120, y: 462) > Vector(x: 120, y: 564) > Vector(x: 119, y: 563) > Vector(x: 119, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 120, y: 564) > Vector(x: 18, y: 564) > Vector(x: 19, y: 563) > Vector(x: 119, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 564) > Vector(x: 18, y: 462) > Vector(x: 19, y: 463) > Vector(x: 19, y: 563)) +Clip: Path (Vector(x: 140, y: 462) > Vector(x: 242, y: 462) > Vector(x: 242, y: 564) > Vector(x: 140, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [154, 476] Size (75, 75) Path (Vector(x: 140, y: 476) > Vector(x: 242, y: 476) > Vector(x: 242, y: 551) > Vector(x: 140, y: 551)) +Shape: rgb(0,0,0) Path (Vector(x: 140, y: 462) > Vector(x: 242, y: 462) > Vector(x: 241, y: 463) > Vector(x: 141, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 242, y: 462) > Vector(x: 242, y: 564) > Vector(x: 241, y: 563) > Vector(x: 241, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 242, y: 564) > Vector(x: 140, y: 564) > Vector(x: 141, y: 563) > Vector(x: 241, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 140, y: 564) > Vector(x: 140, y: 462) > Vector(x: 141, y: 463) > Vector(x: 141, y: 563)) +Clip: Path (Vector(x: 262, y: 462) > Vector(x: 364, y: 462) > Vector(x: 364, y: 564) > Vector(x: 262, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [276, 476] Size (75, 75) Path (Vector(x: 276, y: 462) > Vector(x: 351, y: 462) > Vector(x: 351, y: 564) > Vector(x: 276, y: 564)) +Shape: rgb(0,0,0) Path (Vector(x: 262, y: 462) > Vector(x: 364, y: 462) > Vector(x: 363, y: 463) > Vector(x: 263, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 364, y: 462) > Vector(x: 364, y: 564) > Vector(x: 363, y: 563) > Vector(x: 363, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 364, y: 564) > Vector(x: 262, y: 564) > Vector(x: 263, y: 563) > Vector(x: 363, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 262, y: 564) > Vector(x: 262, y: 462) > Vector(x: 263, y: 463) > Vector(x: 263, y: 563)) +Clip: Path (Vector(x: 384, y: 462) > Vector(x: 486, y: 462) > Vector(x: 486, y: 564) > Vector(x: 384, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [398, 476] Size (75, 75) Path (Vector(x: 398, y: 476) > Vector(x: 473, y: 476) > Vector(x: 473, y: 551) > Vector(x: 398, y: 551)) +Shape: rgb(0,0,0) Path (Vector(x: 384, y: 462) > Vector(x: 486, y: 462) > Vector(x: 485, y: 463) > Vector(x: 385, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 486, y: 462) > Vector(x: 486, y: 564) > Vector(x: 485, y: 563) > Vector(x: 485, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 486, y: 564) > Vector(x: 384, y: 564) > Vector(x: 385, y: 563) > Vector(x: 485, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 384, y: 564) > Vector(x: 384, y: 462) > Vector(x: 385, y: 463) > Vector(x: 385, y: 563)) +Clip: Path (Vector(x: 18, y: 584) > Vector(x: 220, y: 584) > Vector(x: 220, y: 786) > Vector(x: 18, y: 786)) + Repeat: Image ("/tests/assets/image.jpg") [0, 610] Size (75, 75) Path (Vector(x: 18, y: 584) > Vector(x: 220, y: 584) > Vector(x: 220, y: 786) > Vector(x: 18, y: 786)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 584) > Vector(x: 220, y: 584) > Vector(x: 219, y: 585) > Vector(x: 19, y: 585)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 584) > Vector(x: 220, y: 786) > Vector(x: 219, y: 785) > Vector(x: 219, y: 585)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 786) > Vector(x: 18, y: 786) > Vector(x: 19, y: 785) > Vector(x: 219, y: 785)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 786) > Vector(x: 18, y: 584) > Vector(x: 19, y: 585) > Vector(x: 19, y: 785)) +Clip: Path (Vector(x: 240, y: 584) > Vector(x: 442, y: 584) > Vector(x: 442, y: 786) > Vector(x: 240, y: 786)) + Repeat: Image ("/tests/assets/image.jpg") [291, 635] Size (75, 75) Path (Vector(x: 240, y: 635) > Vector(x: 442, y: 635) > Vector(x: 442, y: 710) > Vector(x: 240, y: 710)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 584) > Vector(x: 442, y: 584) > Vector(x: 441, y: 585) > Vector(x: 241, y: 585)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 584) > Vector(x: 442, y: 786) > Vector(x: 441, y: 785) > Vector(x: 441, y: 585)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 786) > Vector(x: 240, y: 786) > Vector(x: 241, y: 785) > Vector(x: 441, y: 785)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 786) > Vector(x: 240, y: 584) > Vector(x: 241, y: 585) > Vector(x: 241, y: 785)) +Clip: Path (Vector(x: 462, y: 584) > Vector(x: 664, y: 584) > Vector(x: 664, y: 786) > Vector(x: 462, y: 786)) + Repeat: Image ("/tests/assets/image.jpg") [513, 635] Size (75, 75) Path (Vector(x: 513, y: 584) > Vector(x: 588, y: 584) > Vector(x: 588, y: 786) > Vector(x: 513, y: 786)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 584) > Vector(x: 664, y: 584) > Vector(x: 663, y: 585) > Vector(x: 463, y: 585)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 584) > Vector(x: 664, y: 786) > Vector(x: 663, y: 785) > Vector(x: 663, y: 585)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 786) > Vector(x: 462, y: 786) > Vector(x: 463, y: 785) > Vector(x: 663, y: 785)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 786) > Vector(x: 462, y: 584) > Vector(x: 463, y: 585) > Vector(x: 463, y: 785)) +Clip: Path (Vector(x: 18, y: 806) > Vector(x: 220, y: 806) > Vector(x: 220, y: 1008) > Vector(x: 18, y: 1008)) + Repeat: Image ("/tests/assets/image.jpg") [69, 857] Size (75, 75) Path (Vector(x: 69, y: 857) > Vector(x: 144, y: 857) > Vector(x: 144, y: 932) > Vector(x: 69, y: 932)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 806) > Vector(x: 220, y: 806) > Vector(x: 219, y: 807) > Vector(x: 19, y: 807)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 806) > Vector(x: 220, y: 1008) > Vector(x: 219, y: 1007) > Vector(x: 219, y: 807)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 1008) > Vector(x: 18, y: 1008) > Vector(x: 19, y: 1007) > Vector(x: 219, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 1008) > Vector(x: 18, y: 806) > Vector(x: 19, y: 807) > Vector(x: 19, y: 1007)) \ No newline at end of file diff --git a/tests/cases/background/radial-gradient.html b/tests/reftests/background/radial-gradient.html similarity index 100% rename from tests/cases/background/radial-gradient.html rename to tests/reftests/background/radial-gradient.html diff --git a/tests/reftests/background/radial-gradient.txt b/tests/reftests/background/radial-gradient.txt new file mode 100644 index 0000000..3fb211f --- /dev/null +++ b/tests/reftests/background/radial-gradient.txt @@ -0,0 +1,61 @@ +Window: [800, 896] +Rectangle: [0, 0, 800, 896] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 8) > Vector(x: 8, y: 8)) + Fill: rgb(0,255,0) +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 219, y: 19) > Vector(x: 19, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 219, y: 219) > Vector(x: 219, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 220) > Vector(x: 18, y: 220) > Vector(x: 19, y: 219) > Vector(x: 219, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 220) > Vector(x: 18, y: 18) > Vector(x: 19, y: 19) > Vector(x: 19, y: 219)) +Clip: Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 240, y: 220)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 441, y: 19) > Vector(x: 241, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 441, y: 219) > Vector(x: 441, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 220) > Vector(x: 240, y: 220) > Vector(x: 241, y: 219) > Vector(x: 441, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 220) > Vector(x: 240, y: 18) > Vector(x: 241, y: 19) > Vector(x: 241, y: 219)) +Clip: Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 462, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 663, y: 19) > Vector(x: 463, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 663, y: 219) > Vector(x: 663, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 220) > Vector(x: 462, y: 220) > Vector(x: 463, y: 219) > Vector(x: 663, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 220) > Vector(x: 462, y: 18) > Vector(x: 463, y: 19) > Vector(x: 463, y: 219)) +Clip: Path (Vector(x: 18, y: 240) > Vector(x: 220, y: 240) > Vector(x: 220, y: 442) > Vector(x: 18, y: 442)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 240) > Vector(x: 220, y: 240) > Vector(x: 219, y: 241) > Vector(x: 19, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 240) > Vector(x: 220, y: 442) > Vector(x: 219, y: 441) > Vector(x: 219, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 442) > Vector(x: 18, y: 442) > Vector(x: 19, y: 441) > Vector(x: 219, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 442) > Vector(x: 18, y: 240) > Vector(x: 19, y: 241) > Vector(x: 19, y: 441)) +Clip: Path (Vector(x: 240, y: 240) > Vector(x: 442, y: 240) > Vector(x: 442, y: 442) > Vector(x: 240, y: 442)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 240) > Vector(x: 442, y: 240) > Vector(x: 441, y: 241) > Vector(x: 241, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 240) > Vector(x: 442, y: 442) > Vector(x: 441, y: 441) > Vector(x: 441, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 442) > Vector(x: 240, y: 442) > Vector(x: 241, y: 441) > Vector(x: 441, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 442) > Vector(x: 240, y: 240) > Vector(x: 241, y: 241) > Vector(x: 241, y: 441)) +Clip: Path (Vector(x: 462, y: 240) > Vector(x: 664, y: 240) > Vector(x: 664, y: 442) > Vector(x: 462, y: 442)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 240) > Vector(x: 664, y: 240) > Vector(x: 663, y: 241) > Vector(x: 463, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 240) > Vector(x: 664, y: 442) > Vector(x: 663, y: 441) > Vector(x: 663, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 442) > Vector(x: 462, y: 442) > Vector(x: 463, y: 441) > Vector(x: 663, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 442) > Vector(x: 462, y: 240) > Vector(x: 463, y: 241) > Vector(x: 463, y: 441)) +Clip: Path (Vector(x: 18, y: 462) > Vector(x: 220, y: 462) > Vector(x: 220, y: 664) > Vector(x: 18, y: 664)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 462) > Vector(x: 220, y: 462) > Vector(x: 219, y: 463) > Vector(x: 19, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 462) > Vector(x: 220, y: 664) > Vector(x: 219, y: 663) > Vector(x: 219, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 664) > Vector(x: 18, y: 664) > Vector(x: 19, y: 663) > Vector(x: 219, y: 663)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 664) > Vector(x: 18, y: 462) > Vector(x: 19, y: 463) > Vector(x: 19, y: 663)) +Clip: Path (Vector(x: 240, y: 462) > Vector(x: 442, y: 462) > Vector(x: 442, y: 664) > Vector(x: 240, y: 664)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 462) > Vector(x: 442, y: 462) > Vector(x: 441, y: 463) > Vector(x: 241, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 462) > Vector(x: 442, y: 664) > Vector(x: 441, y: 663) > Vector(x: 441, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 664) > Vector(x: 240, y: 664) > Vector(x: 241, y: 663) > Vector(x: 441, y: 663)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 664) > Vector(x: 240, y: 462) > Vector(x: 241, y: 463) > Vector(x: 241, y: 663)) +Clip: Path (Vector(x: 462, y: 462) > Vector(x: 664, y: 462) > Vector(x: 664, y: 664) > Vector(x: 462, y: 664)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 462) > Vector(x: 664, y: 462) > Vector(x: 663, y: 463) > Vector(x: 463, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 462) > Vector(x: 664, y: 664) > Vector(x: 663, y: 663) > Vector(x: 663, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 664) > Vector(x: 462, y: 664) > Vector(x: 463, y: 663) > Vector(x: 663, y: 663)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 664) > Vector(x: 462, y: 462) > Vector(x: 463, y: 463) > Vector(x: 463, y: 663)) +Clip: Path (Vector(x: 18, y: 684) > Vector(x: 220, y: 684) > Vector(x: 220, y: 886) > Vector(x: 18, y: 886)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 684) > Vector(x: 220, y: 684) > Vector(x: 219, y: 685) > Vector(x: 19, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 684) > Vector(x: 220, y: 886) > Vector(x: 219, y: 885) > Vector(x: 219, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 886) > Vector(x: 18, y: 886) > Vector(x: 19, y: 885) > Vector(x: 219, y: 885)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 886) > Vector(x: 18, y: 684) > Vector(x: 19, y: 685) > Vector(x: 19, y: 885)) +Clip: Path (Vector(x: 240, y: 684) > Vector(x: 442, y: 684) > Vector(x: 442, y: 886) > Vector(x: 240, y: 886)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 684) > Vector(x: 442, y: 684) > Vector(x: 441, y: 685) > Vector(x: 241, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 684) > Vector(x: 442, y: 886) > Vector(x: 441, y: 885) > Vector(x: 441, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 886) > Vector(x: 240, y: 886) > Vector(x: 241, y: 885) > Vector(x: 441, y: 885)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 886) > Vector(x: 240, y: 684) > Vector(x: 241, y: 685) > Vector(x: 241, y: 885)) \ No newline at end of file diff --git a/tests/cases/background/repeat.html b/tests/reftests/background/repeat.html similarity index 100% rename from tests/cases/background/repeat.html rename to tests/reftests/background/repeat.html diff --git a/tests/reftests/background/repeat.txt b/tests/reftests/background/repeat.txt new file mode 100644 index 0000000..830d390 --- /dev/null +++ b/tests/reftests/background/repeat.txt @@ -0,0 +1,53 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(255,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 452) > Vector(x: 8, y: 452)) + Fill: rgb(0,255,0) +Clip: Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) + Repeat: Image ("/tests/assets/image.jpg") [19, 19] Size (75, 75) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 18, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 18) > Vector(x: 220, y: 18) > Vector(x: 219, y: 19) > Vector(x: 19, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 18) > Vector(x: 220, y: 220) > Vector(x: 219, y: 219) > Vector(x: 219, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 220) > Vector(x: 18, y: 220) > Vector(x: 19, y: 219) > Vector(x: 219, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 220) > Vector(x: 18, y: 18) > Vector(x: 19, y: 19) > Vector(x: 19, y: 219)) +Clip: Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 240, y: 220)) + Repeat: Image ("/tests/assets/image.jpg") [241, 19] Size (75, 75) Path (Vector(x: 240, y: 19) > Vector(x: 442, y: 19) > Vector(x: 442, y: 94) > Vector(x: 240, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 18) > Vector(x: 442, y: 18) > Vector(x: 441, y: 19) > Vector(x: 241, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 18) > Vector(x: 442, y: 220) > Vector(x: 441, y: 219) > Vector(x: 441, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 442, y: 220) > Vector(x: 240, y: 220) > Vector(x: 241, y: 219) > Vector(x: 441, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 240, y: 220) > Vector(x: 240, y: 18) > Vector(x: 241, y: 19) > Vector(x: 241, y: 219)) +Clip: Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 462, y: 220)) + Repeat: Image ("/tests/assets/image.jpg") [463, 19] Size (75, 75) Path (Vector(x: 463, y: 18) > Vector(x: 538, y: 18) > Vector(x: 538, y: 220) > Vector(x: 463, y: 220)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 18) > Vector(x: 664, y: 18) > Vector(x: 663, y: 19) > Vector(x: 463, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 18) > Vector(x: 664, y: 220) > Vector(x: 663, y: 219) > Vector(x: 663, y: 19)) +Shape: rgb(0,0,0) Path (Vector(x: 664, y: 220) > Vector(x: 462, y: 220) > Vector(x: 463, y: 219) > Vector(x: 663, y: 219)) +Shape: rgb(0,0,0) Path (Vector(x: 462, y: 220) > Vector(x: 462, y: 18) > Vector(x: 463, y: 19) > Vector(x: 463, y: 219)) +Clip: Path (Vector(x: 18, y: 240) > Vector(x: 220, y: 240) > Vector(x: 220, y: 442) > Vector(x: 18, y: 442)) + Repeat: Image ("/tests/assets/image.jpg") [19, 241] Size (75, 75) Path (Vector(x: 19, y: 241) > Vector(x: 94, y: 241) > Vector(x: 94, y: 316) > Vector(x: 19, y: 316)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 240) > Vector(x: 220, y: 240) > Vector(x: 219, y: 241) > Vector(x: 19, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 240) > Vector(x: 220, y: 442) > Vector(x: 219, y: 441) > Vector(x: 219, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 220, y: 442) > Vector(x: 18, y: 442) > Vector(x: 19, y: 441) > Vector(x: 219, y: 441)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 442) > Vector(x: 18, y: 240) > Vector(x: 19, y: 241) > Vector(x: 19, y: 441)) +Clip: Path (Vector(x: 18, y: 462) > Vector(x: 120, y: 462) > Vector(x: 120, y: 564) > Vector(x: 18, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [19, 463] Size (75, 75) Path (Vector(x: 18, y: 462) > Vector(x: 120, y: 462) > Vector(x: 120, y: 564) > Vector(x: 18, y: 564)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 462) > Vector(x: 120, y: 462) > Vector(x: 119, y: 463) > Vector(x: 19, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 120, y: 462) > Vector(x: 120, y: 564) > Vector(x: 119, y: 563) > Vector(x: 119, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 120, y: 564) > Vector(x: 18, y: 564) > Vector(x: 19, y: 563) > Vector(x: 119, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 18, y: 564) > Vector(x: 18, y: 462) > Vector(x: 19, y: 463) > Vector(x: 19, y: 563)) +Clip: Path (Vector(x: 140, y: 462) > Vector(x: 242, y: 462) > Vector(x: 242, y: 564) > Vector(x: 140, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [141, 463] Size (75, 75) Path (Vector(x: 140, y: 463) > Vector(x: 242, y: 463) > Vector(x: 242, y: 538) > Vector(x: 140, y: 538)) +Shape: rgb(0,0,0) Path (Vector(x: 140, y: 462) > Vector(x: 242, y: 462) > Vector(x: 241, y: 463) > Vector(x: 141, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 242, y: 462) > Vector(x: 242, y: 564) > Vector(x: 241, y: 563) > Vector(x: 241, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 242, y: 564) > Vector(x: 140, y: 564) > Vector(x: 141, y: 563) > Vector(x: 241, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 140, y: 564) > Vector(x: 140, y: 462) > Vector(x: 141, y: 463) > Vector(x: 141, y: 563)) +Clip: Path (Vector(x: 262, y: 462) > Vector(x: 364, y: 462) > Vector(x: 364, y: 564) > Vector(x: 262, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [263, 463] Size (75, 75) Path (Vector(x: 263, y: 462) > Vector(x: 338, y: 462) > Vector(x: 338, y: 564) > Vector(x: 263, y: 564)) +Shape: rgb(0,0,0) Path (Vector(x: 262, y: 462) > Vector(x: 364, y: 462) > Vector(x: 363, y: 463) > Vector(x: 263, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 364, y: 462) > Vector(x: 364, y: 564) > Vector(x: 363, y: 563) > Vector(x: 363, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 364, y: 564) > Vector(x: 262, y: 564) > Vector(x: 263, y: 563) > Vector(x: 363, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 262, y: 564) > Vector(x: 262, y: 462) > Vector(x: 263, y: 463) > Vector(x: 263, y: 563)) +Clip: Path (Vector(x: 384, y: 462) > Vector(x: 486, y: 462) > Vector(x: 486, y: 564) > Vector(x: 384, y: 564)) + Repeat: Image ("/tests/assets/image.jpg") [385, 463] Size (75, 75) Path (Vector(x: 385, y: 463) > Vector(x: 460, y: 463) > Vector(x: 460, y: 538) > Vector(x: 385, y: 538)) +Shape: rgb(0,0,0) Path (Vector(x: 384, y: 462) > Vector(x: 486, y: 462) > Vector(x: 485, y: 463) > Vector(x: 385, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 486, y: 462) > Vector(x: 486, y: 564) > Vector(x: 485, y: 563) > Vector(x: 485, y: 463)) +Shape: rgb(0,0,0) Path (Vector(x: 486, y: 564) > Vector(x: 384, y: 564) > Vector(x: 385, y: 563) > Vector(x: 485, y: 563)) +Shape: rgb(0,0,0) Path (Vector(x: 384, y: 564) > Vector(x: 384, y: 462) > Vector(x: 385, y: 463) > Vector(x: 385, y: 563)) \ No newline at end of file diff --git a/tests/cases/background/size.html b/tests/reftests/background/size.html similarity index 100% rename from tests/cases/background/size.html rename to tests/reftests/background/size.html diff --git a/tests/reftests/background/size.txt b/tests/reftests/background/size.txt new file mode 100644 index 0000000..dbde323 --- /dev/null +++ b/tests/reftests/background/size.txt @@ -0,0 +1,43 @@ +Window: [800, 1010] +Rectangle: [0, 0, 800, 1010] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 160, y: 8) > Vector(x: 160, y: 210) > Vector(x: 8, y: 210)) + Repeat: Image ("/tests/assets/image.jpg") [67, 92] Size (34, 34) Path (Vector(x: 67, y: 92) > Vector(x: 101, y: 92) > Vector(x: 101, y: 126) > Vector(x: 67, y: 126)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 160, y: 8) > Vector(x: 159, y: 9) > Vector(x: 9, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 160, y: 8) > Vector(x: 160, y: 210) > Vector(x: 159, y: 209) > Vector(x: 159, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 160, y: 210) > Vector(x: 8, y: 210) > Vector(x: 9, y: 209) > Vector(x: 159, y: 209)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 210) > Vector(x: 8, y: 8) > Vector(x: 9, y: 9) > Vector(x: 9, y: 209)) +Clip: Path (Vector(x: 160, y: 8) > Vector(x: 312, y: 8) > Vector(x: 312, y: 210) > Vector(x: 160, y: 210)) + Repeat: Image ("/tests/assets/image.jpg") [219, 92] Size (34, 34) Path (Vector(x: 219, y: 8) > Vector(x: 253, y: 8) > Vector(x: 253, y: 210) > Vector(x: 219, y: 210)) +Shape: rgb(0,0,0) Path (Vector(x: 160, y: 8) > Vector(x: 312, y: 8) > Vector(x: 311, y: 9) > Vector(x: 161, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 312, y: 8) > Vector(x: 312, y: 210) > Vector(x: 311, y: 209) > Vector(x: 311, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 312, y: 210) > Vector(x: 160, y: 210) > Vector(x: 161, y: 209) > Vector(x: 311, y: 209)) +Shape: rgb(0,0,0) Path (Vector(x: 160, y: 210) > Vector(x: 160, y: 8) > Vector(x: 161, y: 9) > Vector(x: 161, y: 209)) +Clip: Path (Vector(x: 312, y: 8) > Vector(x: 464, y: 8) > Vector(x: 464, y: 210) > Vector(x: 312, y: 210)) + Repeat: Image ("/tests/assets/image.jpg") [371, 92] Size (34, 34) Path (Vector(x: 312, y: 92) > Vector(x: 464, y: 92) > Vector(x: 464, y: 126) > Vector(x: 312, y: 126)) +Shape: rgb(0,0,0) Path (Vector(x: 312, y: 8) > Vector(x: 464, y: 8) > Vector(x: 463, y: 9) > Vector(x: 313, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 464, y: 8) > Vector(x: 464, y: 210) > Vector(x: 463, y: 209) > Vector(x: 463, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 464, y: 210) > Vector(x: 312, y: 210) > Vector(x: 313, y: 209) > Vector(x: 463, y: 209)) +Shape: rgb(0,0,0) Path (Vector(x: 312, y: 210) > Vector(x: 312, y: 8) > Vector(x: 313, y: 9) > Vector(x: 313, y: 209)) +Clip: Path (Vector(x: 464, y: 8) > Vector(x: 616, y: 8) > Vector(x: 616, y: 210) > Vector(x: 464, y: 210)) + Repeat: Image ("/tests/assets/image.jpg") [426, -5] Size (228, 228) Path (Vector(x: 426, y: -5) > Vector(x: 654, y: -5) > Vector(x: 654, y: 223) > Vector(x: 426, y: 223)) +Shape: rgb(0,0,0) Path (Vector(x: 464, y: 8) > Vector(x: 616, y: 8) > Vector(x: 615, y: 9) > Vector(x: 465, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 616, y: 8) > Vector(x: 616, y: 210) > Vector(x: 615, y: 209) > Vector(x: 615, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 616, y: 210) > Vector(x: 464, y: 210) > Vector(x: 465, y: 209) > Vector(x: 615, y: 209)) +Shape: rgb(0,0,0) Path (Vector(x: 464, y: 210) > Vector(x: 464, y: 8) > Vector(x: 465, y: 9) > Vector(x: 465, y: 209)) +Clip: Path (Vector(x: 8, y: 210) > Vector(x: 408, y: 210) > Vector(x: 408, y: 310) > Vector(x: 8, y: 310)) + Repeat: Image ("/tests/assets/image.jpg") [8, 60] Size (400, 400) Path (Vector(x: 8, y: 210) > Vector(x: 408, y: 210) > Vector(x: 408, y: 310) > Vector(x: 8, y: 310)) +Clip: Path (Vector(x: 8, y: 310) > Vector(x: 408, y: 310) > Vector(x: 408, y: 410) > Vector(x: 8, y: 410)) + Repeat: Image ("/tests/assets/image.jpg") [158, 310] Size (100, 100) Path (Vector(x: 8, y: 310) > Vector(x: 408, y: 310) > Vector(x: 408, y: 410) > Vector(x: 8, y: 410)) +Clip: Path (Vector(x: 8, y: 410) > Vector(x: 408, y: 410) > Vector(x: 408, y: 510) > Vector(x: 8, y: 510)) + Repeat: Image ("/tests/assets/image.jpg") [158, 410] Size (100, 100) Path (Vector(x: 8, y: 410) > Vector(x: 408, y: 410) > Vector(x: 408, y: 510) > Vector(x: 8, y: 510)) +Clip: Path (Vector(x: 8, y: 510) > Vector(x: 408, y: 510) > Vector(x: 408, y: 610) > Vector(x: 8, y: 610)) + Repeat: Image ("/tests/assets/image.jpg") [171, 523] Size (75, 75) Path (Vector(x: 8, y: 510) > Vector(x: 408, y: 510) > Vector(x: 408, y: 610) > Vector(x: 8, y: 610)) +Clip: Path (Vector(x: 592, y: 210) > Vector(x: 792, y: 210) > Vector(x: 792, y: 410) > Vector(x: 592, y: 410)) + Repeat: Image ("/tests/assets/image.jpg") [592, 210] Size (200, 200) Path (Vector(x: 592, y: 210) > Vector(x: 792, y: 210) > Vector(x: 792, y: 410) > Vector(x: 592, y: 410)) +Clip: Path (Vector(x: 592, y: 410) > Vector(x: 792, y: 410) > Vector(x: 792, y: 610) > Vector(x: 592, y: 610)) + Repeat: Image ("/tests/assets/image.jpg") [592, 410] Size (200, 200) Path (Vector(x: 592, y: 410) > Vector(x: 792, y: 410) > Vector(x: 792, y: 610) > Vector(x: 592, y: 610)) +Clip: Path (Vector(x: 592, y: 610) > Vector(x: 792, y: 610) > Vector(x: 792, y: 810) > Vector(x: 592, y: 810)) + Repeat: Image ("/tests/assets/image.jpg") [592, 610] Size (200, 200) Path (Vector(x: 592, y: 610) > Vector(x: 792, y: 610) > Vector(x: 792, y: 810) > Vector(x: 592, y: 810)) +Clip: Path (Vector(x: 592, y: 810) > Vector(x: 792, y: 810) > Vector(x: 792, y: 1010) > Vector(x: 592, y: 1010)) + Repeat: Image ("/tests/assets/image.jpg") [655, 873] Size (75, 75) Path (Vector(x: 592, y: 810) > Vector(x: 792, y: 810) > Vector(x: 792, y: 1010) > Vector(x: 592, y: 1010)) \ No newline at end of file diff --git a/tests/cases/border/dashed.html b/tests/reftests/border/dashed.html similarity index 100% rename from tests/cases/border/dashed.html rename to tests/reftests/border/dashed.html diff --git a/tests/reftests/border/dashed.txt b/tests/reftests/border/dashed.txt new file mode 100644 index 0000000..bd676d8 --- /dev/null +++ b/tests/reftests/border/dashed.txt @@ -0,0 +1,27 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(58,132,195) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 18, y: 229)) + Fill: rgb(111,66,140) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 219, y: 28) > Vector(x: 19, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 219, y: 228) > Vector(x: 219, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 229) > Vector(x: 18, y: 229) > Vector(x: 19, y: 228) > Vector(x: 219, y: 228)) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 229) > Vector(x: 18, y: 27) > Vector(x: 19, y: 28) > Vector(x: 19, y: 228)) +Clip: Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 244, y: 231)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 447, y: 28) > Vector(x: 247, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 447, y: 228) > Vector(x: 447, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 231) > Vector(x: 244, y: 231) > Vector(x: 247, y: 228) > Vector(x: 447, y: 228)) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 231) > Vector(x: 244, y: 25) > Vector(x: 247, y: 28) > Vector(x: 247, y: 228)) +Clip: Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 474, y: 238)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 684, y: 28) > Vector(x: 484, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 684, y: 228) > Vector(x: 684, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 238) > Vector(x: 474, y: 238) > Vector(x: 484, y: 228) > Vector(x: 684, y: 228)) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 238) > Vector(x: 474, y: 18) > Vector(x: 484, y: 28) > Vector(x: 484, y: 228)) +Clip: Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 18, y: 558)) + Fill: rgb(111,66,140) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 268, y: 308) > Vector(x: 68, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 268, y: 508) > Vector(x: 268, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 558) > Vector(x: 18, y: 558) > Vector(x: 68, y: 508) > Vector(x: 268, y: 508)) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 558) > Vector(x: 18, y: 258) > Vector(x: 68, y: 308) > Vector(x: 68, y: 508)) \ No newline at end of file diff --git a/tests/cases/border/dotted.html b/tests/reftests/border/dotted.html similarity index 100% rename from tests/cases/border/dotted.html rename to tests/reftests/border/dotted.html diff --git a/tests/reftests/border/dotted.txt b/tests/reftests/border/dotted.txt new file mode 100644 index 0000000..bd676d8 --- /dev/null +++ b/tests/reftests/border/dotted.txt @@ -0,0 +1,27 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(58,132,195) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 18, y: 229)) + Fill: rgb(111,66,140) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 219, y: 28) > Vector(x: 19, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 219, y: 228) > Vector(x: 219, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 229) > Vector(x: 18, y: 229) > Vector(x: 19, y: 228) > Vector(x: 219, y: 228)) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 229) > Vector(x: 18, y: 27) > Vector(x: 19, y: 28) > Vector(x: 19, y: 228)) +Clip: Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 244, y: 231)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 447, y: 28) > Vector(x: 247, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 447, y: 228) > Vector(x: 447, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 231) > Vector(x: 244, y: 231) > Vector(x: 247, y: 228) > Vector(x: 447, y: 228)) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 231) > Vector(x: 244, y: 25) > Vector(x: 247, y: 28) > Vector(x: 247, y: 228)) +Clip: Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 474, y: 238)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 684, y: 28) > Vector(x: 484, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 684, y: 228) > Vector(x: 684, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 238) > Vector(x: 474, y: 238) > Vector(x: 484, y: 228) > Vector(x: 684, y: 228)) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 238) > Vector(x: 474, y: 18) > Vector(x: 484, y: 28) > Vector(x: 484, y: 228)) +Clip: Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 18, y: 558)) + Fill: rgb(111,66,140) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 268, y: 308) > Vector(x: 68, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 268, y: 508) > Vector(x: 268, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 558) > Vector(x: 18, y: 558) > Vector(x: 68, y: 508) > Vector(x: 268, y: 508)) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 558) > Vector(x: 18, y: 258) > Vector(x: 68, y: 308) > Vector(x: 68, y: 508)) \ No newline at end of file diff --git a/tests/cases/border/double.html b/tests/reftests/border/double.html similarity index 100% rename from tests/cases/border/double.html rename to tests/reftests/border/double.html diff --git a/tests/reftests/border/double.txt b/tests/reftests/border/double.txt new file mode 100644 index 0000000..bd676d8 --- /dev/null +++ b/tests/reftests/border/double.txt @@ -0,0 +1,27 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(58,132,195) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 18, y: 229)) + Fill: rgb(111,66,140) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 219, y: 28) > Vector(x: 19, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 219, y: 228) > Vector(x: 219, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 229) > Vector(x: 18, y: 229) > Vector(x: 19, y: 228) > Vector(x: 219, y: 228)) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 229) > Vector(x: 18, y: 27) > Vector(x: 19, y: 28) > Vector(x: 19, y: 228)) +Clip: Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 244, y: 231)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 447, y: 28) > Vector(x: 247, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 447, y: 228) > Vector(x: 447, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 231) > Vector(x: 244, y: 231) > Vector(x: 247, y: 228) > Vector(x: 447, y: 228)) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 231) > Vector(x: 244, y: 25) > Vector(x: 247, y: 28) > Vector(x: 247, y: 228)) +Clip: Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 474, y: 238)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 684, y: 28) > Vector(x: 484, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 684, y: 228) > Vector(x: 684, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 238) > Vector(x: 474, y: 238) > Vector(x: 484, y: 228) > Vector(x: 684, y: 228)) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 238) > Vector(x: 474, y: 18) > Vector(x: 484, y: 28) > Vector(x: 484, y: 228)) +Clip: Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 18, y: 558)) + Fill: rgb(111,66,140) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 268, y: 308) > Vector(x: 68, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 268, y: 508) > Vector(x: 268, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 558) > Vector(x: 18, y: 558) > Vector(x: 68, y: 508) > Vector(x: 268, y: 508)) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 558) > Vector(x: 18, y: 258) > Vector(x: 68, y: 308) > Vector(x: 68, y: 508)) \ No newline at end of file diff --git a/tests/cases/border/inset.html b/tests/reftests/border/inset.html similarity index 100% rename from tests/cases/border/inset.html rename to tests/reftests/border/inset.html diff --git a/tests/reftests/border/inset.txt b/tests/reftests/border/inset.txt new file mode 100644 index 0000000..14f3351 --- /dev/null +++ b/tests/reftests/border/inset.txt @@ -0,0 +1,39 @@ +Window: [800, 693] +Rectangle: [0, 0, 800, 693] rgb(58,132,195) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 18, y: 229)) + Fill: rgb(111,66,140) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 219, y: 28) > Vector(x: 19, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 219, y: 228) > Vector(x: 219, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 229) > Vector(x: 18, y: 229) > Vector(x: 19, y: 228) > Vector(x: 219, y: 228)) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 229) > Vector(x: 18, y: 27) > Vector(x: 19, y: 28) > Vector(x: 19, y: 228)) +Clip: Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 244, y: 231)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 447, y: 28) > Vector(x: 247, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 447, y: 228) > Vector(x: 447, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 231) > Vector(x: 244, y: 231) > Vector(x: 247, y: 228) > Vector(x: 447, y: 228)) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 231) > Vector(x: 244, y: 25) > Vector(x: 247, y: 28) > Vector(x: 247, y: 228)) +Clip: Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 474, y: 238)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 684, y: 28) > Vector(x: 484, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 684, y: 228) > Vector(x: 684, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 238) > Vector(x: 474, y: 238) > Vector(x: 484, y: 228) > Vector(x: 684, y: 228)) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 238) > Vector(x: 474, y: 18) > Vector(x: 484, y: 28) > Vector(x: 484, y: 228)) +Clip: Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 18, y: 558)) + Fill: rgb(111,66,140) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 268, y: 308) > Vector(x: 68, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 268, y: 508) > Vector(x: 268, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 558) > Vector(x: 18, y: 558) > Vector(x: 68, y: 508) > Vector(x: 268, y: 508)) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 558) > Vector(x: 18, y: 258) > Vector(x: 68, y: 308) > Vector(x: 68, y: 508)) +Clip: Path (Vector(x: 342, y: 258) > Vector(x: 642, y: 258) > Vector(x: 642, y: 558) > Vector(x: 342, y: 558)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (Vector(x: 342, y: 258) > Vector(x: 642, y: 258) > Vector(x: 592, y: 308) > Vector(x: 392, y: 308)) +Shape: rgb(0,0,0) Path (Vector(x: 642, y: 258) > Vector(x: 642, y: 558) > Vector(x: 592, y: 508) > Vector(x: 592, y: 308)) +Shape: rgb(0,0,0) Path (Vector(x: 642, y: 558) > Vector(x: 342, y: 558) > Vector(x: 392, y: 508) > Vector(x: 592, y: 508)) +Shape: rgb(0,0,0) Path (Vector(x: 342, y: 558) > Vector(x: 342, y: 258) > Vector(x: 392, y: 308) > Vector(x: 392, y: 508)) +Clip: Path (Vector(x: 8, y: 568) > Vector(x: 273, y: 568) > Vector(x: 273, y: 685) > Vector(x: 8, y: 685)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 568) > Vector(x: 273, y: 568) > Vector(x: 223, y: 618) > Vector(x: 58, y: 618)) +Shape: rgb(0,0,0) Path (Vector(x: 273, y: 568) > Vector(x: 273, y: 685) > Vector(x: 223, y: 635) > Vector(x: 223, y: 618)) +Shape: rgb(0,0,0) Path (Vector(x: 273, y: 685) > Vector(x: 8, y: 685) > Vector(x: 58, y: 635) > Vector(x: 223, y: 635)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 685) > Vector(x: 8, y: 568) > Vector(x: 58, y: 618) > Vector(x: 58, y: 635)) \ No newline at end of file diff --git a/tests/cases/border/radius.html b/tests/reftests/border/radius.html similarity index 100% rename from tests/cases/border/radius.html rename to tests/reftests/border/radius.html diff --git a/tests/reftests/border/radius.txt b/tests/reftests/border/radius.txt new file mode 100644 index 0000000..1c06e17 --- /dev/null +++ b/tests/reftests/border/radius.txt @@ -0,0 +1,36 @@ +Window: [800, 996] +Rectangle: [0, 0, 800, 996] rgb(58,132,195) +Opacity: 1 +Clip: Path (BezierCurve(x0: 18, y0: 77, x1: 68, y1: 27, cx0: 18, cy0: 49, cx1: 40, cy1: 27) > BezierCurve(x0: 170, y0: 27, x1: 220, y1: 77, cx0: 198, cy0: 27, cx1: 220, cy1: 49) > BezierCurve(x0: 220, y0: 179, x1: 170, y1: 229, cx0: 220, cy0: 206, cx1: 198, cy1: 229) > BezierCurve(x0: 68, y0: 229, x1: 18, y1: 179, cx0: 40, cy0: 229, cx1: 18, cy1: 206)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (BezierCurve(x0: 33, y0: 41, x1: 68, y1: 27, cx0: 42, cy0: 32, cx1: 54, cy1: 27) > BezierCurve(x0: 170, y0: 27, x1: 205, y1: 41, cx0: 184, cy0: 27, cx1: 196, cy1: 32) > BezierCurve(x0: 205, y0: 42, x1: 170, y1: 28, cx0: 196, cy0: 33, cx1: 184, cy1: 28) > BezierCurve(x0: 68, y0: 28, x1: 33, y1: 42, cx0: 54, cy0: 28, cx1: 42, cy1: 33)) +Shape: rgb(0,128,0) Path (BezierCurve(x0: 205, y0: 41, x1: 220, y1: 77, cx0: 214, cy0: 50, cx1: 220, cy1: 63) > BezierCurve(x0: 220, y0: 179, x1: 205, y1: 214, cx0: 220, cy0: 193, cx1: 214, cy1: 205) > BezierCurve(x0: 205, y0: 213, x1: 219, y1: 179, cx0: 214, cy0: 205, cx1: 219, cy1: 192) > BezierCurve(x0: 219, y0: 77, x1: 205, y1: 42, cx0: 219, cy0: 63, cx1: 214, cy1: 51)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 205, y0: 214, x1: 170, y1: 229, cx0: 196, cy0: 223, cx1: 184, cy1: 229) > BezierCurve(x0: 68, y0: 229, x1: 33, y1: 214, cx0: 54, cy0: 229, cx1: 42, cy1: 223) > BezierCurve(x0: 33, y0: 213, x1: 68, y1: 228, cx0: 42, cy0: 222, cx1: 54, cy1: 228) > BezierCurve(x0: 170, y0: 228, x1: 205, y1: 213, cx0: 184, cy0: 228, cx1: 196, cy1: 222)) +Shape: rgb(0,181,226) Path (BezierCurve(x0: 33, y0: 214, x1: 18, y1: 179, cx0: 24, cy0: 205, cx1: 18, cy1: 193) > BezierCurve(x0: 18, y0: 77, x1: 33, y1: 41, cx0: 18, cy0: 63, cx1: 24, cy1: 50) > BezierCurve(x0: 33, y0: 42, x1: 19, y1: 77, cx0: 24, cy0: 51, cx1: 19, cy1: 63) > BezierCurve(x0: 19, y0: 179, x1: 33, y1: 213, cx0: 19, cy0: 192, cx1: 24, cy1: 205)) +Clip: Path (BezierCurve(x0: 244, y0: 75, x1: 294, y1: 25, cx0: 244, cy0: 47, cx1: 266, cy1: 25) > BezierCurve(x0: 400, y0: 25, x1: 450, y1: 75, cx0: 428, cy0: 25, cx1: 450, cy1: 47) > BezierCurve(x0: 450, y0: 181, x1: 400, y1: 231, cx0: 450, cy0: 208, cx1: 428, cy1: 231) > BezierCurve(x0: 294, y0: 231, x1: 244, y1: 181, cx0: 266, cy0: 231, cx1: 244, cy1: 208)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (BezierCurve(x0: 259, y0: 39, x1: 294, y1: 25, cx0: 268, cy0: 30, cx1: 280, cy1: 25) > BezierCurve(x0: 400, y0: 25, x1: 435, y1: 39, cx0: 414, cy0: 25, cx1: 426, cy1: 30) > BezierCurve(x0: 433, y0: 42, x1: 400, y1: 28, cx0: 425, cy0: 33, cx1: 413, cy1: 28) > BezierCurve(x0: 294, y0: 28, x1: 261, y1: 42, cx0: 281, cy0: 28, cx1: 269, cy1: 33)) +Shape: rgb(0,128,0) Path (BezierCurve(x0: 435, y0: 39, x1: 450, y1: 75, cx0: 444, cy0: 48, cx1: 450, cy1: 61) > BezierCurve(x0: 450, y0: 181, x1: 435, y1: 216, cx0: 450, cy0: 195, cx1: 444, cy1: 207) > BezierCurve(x0: 433, y0: 214, x1: 447, y1: 181, cx0: 442, cy0: 206, cx1: 447, cy1: 194) > BezierCurve(x0: 447, y0: 75, x1: 433, y1: 42, cx0: 447, cy0: 62, cx1: 442, cy1: 50)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 435, y0: 216, x1: 400, y1: 231, cx0: 426, cy0: 225, cx1: 414, cy1: 231) > BezierCurve(x0: 294, y0: 231, x1: 259, y1: 216, cx0: 280, cy0: 231, cx1: 268, cy1: 225) > BezierCurve(x0: 261, y0: 214, x1: 294, y1: 228, cx0: 269, cy0: 223, cx1: 281, cy1: 228) > BezierCurve(x0: 400, y0: 228, x1: 433, y1: 214, cx0: 413, cy0: 228, cx1: 425, cy1: 223)) +Shape: rgb(0,181,226) Path (BezierCurve(x0: 259, y0: 216, x1: 244, y1: 181, cx0: 250, cy0: 207, cx1: 244, cy1: 195) > BezierCurve(x0: 244, y0: 75, x1: 259, y1: 39, cx0: 244, cy0: 61, cx1: 250, cy1: 48) > BezierCurve(x0: 261, y0: 42, x1: 247, y1: 75, cx0: 252, cy0: 50, cx1: 247, cy1: 62) > BezierCurve(x0: 247, y0: 181, x1: 261, y1: 214, cx0: 247, cy0: 194, cx1: 252, cy1: 206)) +Clip: Path (BezierCurve(x0: 474, y0: 68, x1: 524, y1: 18, cx0: 474, cy0: 40, cx1: 496, cy1: 18) > BezierCurve(x0: 644, y0: 18, x1: 694, y1: 68, cx0: 672, cy0: 18, cx1: 694, cy1: 40) > BezierCurve(x0: 694, y0: 188, x1: 644, y1: 238, cx0: 694, cy0: 216, cx1: 672, cy1: 238) > BezierCurve(x0: 524, y0: 238, x1: 474, y1: 188, cx0: 496, cy0: 238, cx1: 474, cy1: 216)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (BezierCurve(x0: 489, y0: 33, x1: 524, y1: 18, cx0: 498, cy0: 24, cx1: 510, cy1: 18) > BezierCurve(x0: 644, y0: 18, x1: 679, y1: 33, cx0: 658, cy0: 18, cx1: 670, cy1: 24) > BezierCurve(x0: 672, y0: 40, x1: 644, y1: 28, cx0: 665, cy0: 32, cx1: 655, cy1: 28) > BezierCurve(x0: 524, y0: 28, x1: 496, y1: 40, cx0: 513, cy0: 28, cx1: 503, cy1: 32)) +Shape: rgb(0,128,0) Path (BezierCurve(x0: 679, y0: 33, x1: 694, y1: 68, cx0: 688, cy0: 42, cx1: 694, cy1: 54) > BezierCurve(x0: 694, y0: 188, x1: 679, y1: 223, cx0: 694, cy0: 202, cx1: 688, cy1: 214) > BezierCurve(x0: 672, y0: 216, x1: 684, y1: 188, cx0: 680, cy0: 209, cx1: 684, cy1: 199) > BezierCurve(x0: 684, y0: 68, x1: 672, y1: 40, cx0: 684, cy0: 57, cx1: 680, cy1: 47)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 679, y0: 223, x1: 644, y1: 238, cx0: 670, cy0: 232, cx1: 658, cy1: 238) > BezierCurve(x0: 524, y0: 238, x1: 489, y1: 223, cx0: 510, cy0: 238, cx1: 498, cy1: 232) > BezierCurve(x0: 496, y0: 216, x1: 524, y1: 228, cx0: 503, cy0: 224, cx1: 513, cy1: 228) > BezierCurve(x0: 644, y0: 228, x1: 672, y1: 216, cx0: 655, cy0: 228, cx1: 665, cy1: 224)) +Clip: Path (BezierCurve(x0: 68, y0: 308, x1: 68, y1: 268, cx0: 68, cy0: 286, cx1: 68, cy1: 268) > BezierCurve(x0: 268, y0: 268, x1: 268, y1: 308, cx0: 268, cy0: 268, cx1: 268, cy1: 286) > BezierCurve(x0: 268, y0: 388, x1: 168, y1: 468, cx0: 268, cy0: 432, cx1: 223, cy1: 468) > BezierCurve(x0: 68, y0: 468, x1: 68, y1: 468, cx0: 68, cy0: 468, cx1: 68, cy1: 468)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (BezierCurve(x0: 33, y0: 273, x1: 68, y1: 258, cx0: 42, cy0: 264, cx1: 54, cy1: 258) > BezierCurve(x0: 268, y0: 258, x1: 303, y1: 273, cx0: 282, cy0: 258, cx1: 294, cy1: 264) > BezierCurve(x0: 268, y0: 280, x1: 268, y1: 268, cx0: 268, cy0: 272, cx1: 268, cy1: 268) > BezierCurve(x0: 68, y0: 268, x1: 68, y1: 280, cx0: 68, cy0: 268, cx1: 68, cy1: 272)) +Shape: rgb(0,128,0) Path (BezierCurve(x0: 303, y0: 273, x1: 318, y1: 308, cx0: 312, cy0: 282, cx1: 318, cy1: 294) > BezierCurve(x0: 318, y0: 388, x1: 274, y1: 480, cx0: 318, cy0: 424, cx1: 301, cy1: 456) > BezierCurve(x0: 239, y0: 445, x1: 268, y1: 388, cx0: 257, cy0: 430, cx1: 268, cy1: 410) > BezierCurve(x0: 268, y0: 308, x1: 268, y1: 280, cx0: 268, cy0: 297, cx1: 268, cy1: 287)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 274, y0: 480, x1: 168, y1: 518, cx0: 247, cy0: 503, cx1: 209, cy1: 518) > BezierCurve(x0: 68, y0: 518, x1: 33, y1: 503, cx0: 54, cy0: 518, cx1: 42, cy1: 512) > BezierCurve(x0: 68, y0: 468, x1: 68, y1: 468, cx0: 68, cy0: 468, cx1: 68, cy1: 468) > BezierCurve(x0: 168, y0: 468, x1: 239, y1: 445, cx0: 196, cy0: 468, cx1: 221, cy1: 459)) +Clip: Path (BezierCurve(x0: 158, y0: 653, x1: 158, y1: 638, cx0: 158, cy0: 645, cx1: 158, cy1: 638) > BezierCurve(x0: 383, y0: 638, x1: 358, y1: 653, cx0: 369, cy0: 638, cx1: 358, cy1: 645) > BezierCurve(x0: 358, y0: 863, x1: 358, y1: 838, cx0: 358, cy0: 849, cx1: 358, cy1: 838) > BezierCurve(x0: 158, y0: 838, x1: 158, y1: 863, cx0: 158, cy0: 838, cx1: 158, cy1: 849)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (BezierCurve(x0: 115, y0: 635, x1: 133, y1: 628, cx0: 120, cy0: 631, cx1: 126, cy1: 628) > BezierCurve(x0: 383, y0: 628, x1: 401, y1: 635, cx0: 390, cy0: 628, cx1: 396, cy1: 631) > BezierCurve(x0: 365, y0: 642, x1: 383, y1: 638, cx0: 370, cy0: 640, cx1: 376, cy1: 638) > BezierCurve(x0: 158, y0: 638, x1: 158, y1: 642, cx0: 158, cy0: 638, cx1: 158, cy1: 640)) +Shape: rgb(0,128,0) Path (BezierCurve(x0: 401, y0: 635, x1: 408, y1: 653, cx0: 405, cy0: 640, cx1: 408, cy1: 646) > BezierCurve(x0: 408, y0: 863, x1: 401, y1: 881, cx0: 408, cy0: 870, cx1: 405, cy1: 876) > BezierCurve(x0: 358, y0: 845, x1: 358, y1: 863, cx0: 358, cy0: 850, cx1: 358, cy1: 856) > BezierCurve(x0: 358, y0: 653, x1: 365, y1: 642, cx0: 358, cy0: 649, cx1: 361, cy1: 645)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 401, y0: 881, x1: 383, y1: 888, cx0: 396, cy0: 885, cx1: 390, cy1: 888) > BezierCurve(x0: 133, y0: 888, x1: 115, y1: 881, cx0: 126, cy0: 888, cx1: 120, cy1: 885) > BezierCurve(x0: 158, y0: 845, x1: 158, y1: 838, cx0: 158, cy0: 841, cx1: 158, cy1: 838) > BezierCurve(x0: 358, y0: 838, x1: 358, y1: 845, cx0: 358, cy0: 838, cx1: 358, cy1: 841)) +Clip: Path (BezierCurve(x0: 522, y0: 738, x1: 623, y1: 637, cx0: 522, cy0: 682, cx1: 567, cy1: 637) > BezierCurve(x0: 623, y0: 637, x1: 724, y1: 738, cx0: 679, cy0: 637, cx1: 724, cy1: 682) > BezierCurve(x0: 724, y0: 738, x1: 623, y1: 839, cx0: 724, cy0: 794, cx1: 679, cy1: 839) > BezierCurve(x0: 623, y0: 839, x1: 522, y1: 738, cx0: 567, cy0: 839, cx1: 522, cy1: 794)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 552, y0: 666, x1: 623, y1: 637, cx0: 570, cy0: 648, cx1: 595, cy1: 637) > BezierCurve(x0: 623, y0: 637, x1: 695, y1: 666, cx0: 651, cy0: 637, cx1: 676, cy1: 648) > BezierCurve(x0: 694, y0: 667, x1: 623, y1: 638, cx0: 676, cy0: 649, cx1: 651, cy1: 638) > BezierCurve(x0: 623, y0: 638, x1: 552, y1: 667, cx0: 596, cy0: 638, cx1: 570, cy1: 649)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 695, y0: 666, x1: 724, y1: 738, cx0: 713, cy0: 685, cx1: 724, cy1: 710) > BezierCurve(x0: 724, y0: 738, x1: 695, y1: 810, cx0: 724, cy0: 766, cx1: 713, cy1: 791) > BezierCurve(x0: 694, y0: 809, x1: 723, y1: 738, cx0: 712, cy0: 791, cx1: 723, cy1: 766) > BezierCurve(x0: 723, y0: 738, x1: 694, y1: 667, cx0: 723, cy0: 710, cx1: 712, cy1: 685)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 695, y0: 810, x1: 623, y1: 839, cx0: 676, cy0: 828, cx1: 651, cy1: 839) > BezierCurve(x0: 623, y0: 839, x1: 552, y1: 810, cx0: 595, cy0: 839, cx1: 570, cy1: 828) > BezierCurve(x0: 552, y0: 809, x1: 623, y1: 838, cx0: 570, cy0: 827, cx1: 596, cy1: 838) > BezierCurve(x0: 623, y0: 838, x1: 694, y1: 809, cx0: 651, cy0: 838, cx1: 676, cy1: 827)) +Shape: rgb(0,0,0) Path (BezierCurve(x0: 552, y0: 810, x1: 522, y1: 738, cx0: 533, cy0: 791, cx1: 522, cy1: 766) > BezierCurve(x0: 522, y0: 738, x1: 552, y1: 666, cx0: 522, cy0: 710, cx1: 533, cy1: 685) > BezierCurve(x0: 552, y0: 667, x1: 523, y1: 738, cx0: 534, cy0: 685, cx1: 523, cy1: 710) > BezierCurve(x0: 523, y0: 738, x1: 552, y1: 809, cx0: 523, cy0: 766, cx1: 534, cy1: 791)) \ No newline at end of file diff --git a/tests/cases/border/solid.html b/tests/reftests/border/solid.html similarity index 100% rename from tests/cases/border/solid.html rename to tests/reftests/border/solid.html diff --git a/tests/reftests/border/solid.txt b/tests/reftests/border/solid.txt new file mode 100644 index 0000000..bd676d8 --- /dev/null +++ b/tests/reftests/border/solid.txt @@ -0,0 +1,27 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(58,132,195) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 18, y: 229)) + Fill: rgb(111,66,140) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 27) > Vector(x: 220, y: 27) > Vector(x: 219, y: 28) > Vector(x: 19, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 27) > Vector(x: 220, y: 229) > Vector(x: 219, y: 228) > Vector(x: 219, y: 28)) +Shape: rgb(0,181,226) Path (Vector(x: 220, y: 229) > Vector(x: 18, y: 229) > Vector(x: 19, y: 228) > Vector(x: 219, y: 228)) +Shape: rgb(0,181,226) Path (Vector(x: 18, y: 229) > Vector(x: 18, y: 27) > Vector(x: 19, y: 28) > Vector(x: 19, y: 228)) +Clip: Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 244, y: 231)) + Fill: rgb(111,66,140) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 25) > Vector(x: 450, y: 25) > Vector(x: 447, y: 28) > Vector(x: 247, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 25) > Vector(x: 450, y: 231) > Vector(x: 447, y: 228) > Vector(x: 447, y: 28)) +Shape: rgb(255,0,0) Path (Vector(x: 450, y: 231) > Vector(x: 244, y: 231) > Vector(x: 247, y: 228) > Vector(x: 447, y: 228)) +Shape: rgb(255,0,0) Path (Vector(x: 244, y: 231) > Vector(x: 244, y: 25) > Vector(x: 247, y: 28) > Vector(x: 247, y: 228)) +Clip: Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 474, y: 238)) + Fill: rgb(111,66,140) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 18) > Vector(x: 694, y: 18) > Vector(x: 684, y: 28) > Vector(x: 484, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 18) > Vector(x: 694, y: 238) > Vector(x: 684, y: 228) > Vector(x: 684, y: 28)) +Shape: rgb(0,0,0) Path (Vector(x: 694, y: 238) > Vector(x: 474, y: 238) > Vector(x: 484, y: 228) > Vector(x: 684, y: 228)) +Shape: rgb(0,0,0) Path (Vector(x: 474, y: 238) > Vector(x: 474, y: 18) > Vector(x: 484, y: 28) > Vector(x: 484, y: 228)) +Clip: Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 18, y: 558)) + Fill: rgb(111,66,140) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 258) > Vector(x: 318, y: 258) > Vector(x: 268, y: 308) > Vector(x: 68, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 258) > Vector(x: 318, y: 558) > Vector(x: 268, y: 508) > Vector(x: 268, y: 308)) +Shape: rgb(0,128,0) Path (Vector(x: 318, y: 558) > Vector(x: 18, y: 558) > Vector(x: 68, y: 508) > Vector(x: 268, y: 508)) +Shape: rgb(0,128,0) Path (Vector(x: 18, y: 558) > Vector(x: 18, y: 258) > Vector(x: 68, y: 308) > Vector(x: 68, y: 508)) \ No newline at end of file diff --git a/tests/cases/clip.html b/tests/reftests/clip.html similarity index 96% rename from tests/cases/clip.html rename to tests/reftests/clip.html index 4d8cc95..0ddeed0 100644 --- a/tests/cases/clip.html +++ b/tests/reftests/clip.html @@ -15,6 +15,9 @@ background: red; border: 5px solid blue; } + body { + font-family: Arial; + } diff --git a/tests/reftests/clip.txt b/tests/reftests/clip.txt new file mode 100644 index 0000000..37368e2 --- /dev/null +++ b/tests/reftests/clip.txt @@ -0,0 +1,178 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 104) > Vector(x: 8, y: 104)) + Fill: rgb(255,0,0) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 787, y: 13) > Vector(x: 13, y: 13)) +Shape: rgb(0,0,255) Path (Vector(x: 792, y: 8) > Vector(x: 792, y: 104) > Vector(x: 787, y: 99) > Vector(x: 787, y: 13)) +Shape: rgb(0,0,255) Path (Vector(x: 792, y: 104) > Vector(x: 8, y: 104) > Vector(x: 13, y: 99) > Vector(x: 787, y: 99)) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 104) > Vector(x: 8, y: 8) > Vector(x: 13, y: 13) > Vector(x: 13, y: 99)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 13]: Some + [59, 13]: inline + [101, 13]: text +Text: rgb(0,0,0) normal normal 400 16px Arial + [302, 13]: followed + [365, 13]: by + [387, 13]: more + [427, 13]: inline + [469, 13]: text. +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 81]: Then + [54, 81]: more + [95, 81]: inline + [137, 81]: text. +Clip: Path (Vector(x: 13, y: 47) > Vector(x: 787, y: 47) > Vector(x: 787, y: 65) > Vector(x: 13, y: 65)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 47]: Then + [54, 47]: a + [67, 47]: block + [109, 47]: level + [147, 47]: element. +Text: rgb(0,0,255) normal normal 400 16px Arial + [131, 13]: followed + [195, 13]: by + [216, 13]: text + [246, 13]: in + [263, 13]: span +Clip: Path (Vector(x: 8, y: 104) > Vector(x: 792, y: 104) > Vector(x: 792, y: 200) > Vector(x: 8, y: 200)) + Fill: rgb(255,0,0) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 104) > Vector(x: 792, y: 104) > Vector(x: 787, y: 109) > Vector(x: 13, y: 109)) +Shape: rgb(0,0,255) Path (Vector(x: 792, y: 104) > Vector(x: 792, y: 200) > Vector(x: 787, y: 195) > Vector(x: 787, y: 109)) +Shape: rgb(0,0,255) Path (Vector(x: 792, y: 200) > Vector(x: 8, y: 200) > Vector(x: 13, y: 195) > Vector(x: 787, y: 195)) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 200) > Vector(x: 8, y: 104) > Vector(x: 13, y: 109) > Vector(x: 13, y: 195)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 109]: Some + [59, 109]: inline + [101, 109]: text +Text: rgb(0,0,0) normal normal 400 16px Arial + [302, 109]: followed + [365, 109]: by + [387, 109]: more + [427, 109]: inline + [469, 109]: text. +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 177]: Then + [54, 177]: more + [95, 177]: inline + [137, 177]: text. +Clip: Path (Vector(x: 13, y: 143) > Vector(x: 787, y: 143) > Vector(x: 787, y: 161) > Vector(x: 13, y: 161)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 143]: Then + [54, 143]: a + [67, 143]: block + [109, 143]: level + [147, 143]: element. +Text: rgb(0,0,255) normal normal 400 16px Arial + [131, 109]: followed + [195, 109]: by + [216, 109]: text + [246, 109]: in + [263, 109]: span +Clip: Path (Vector(x: 8, y: 200) > Vector(x: 504, y: 200) > Vector(x: 504, y: 296) > Vector(x: 8, y: 296)) + Fill: rgb(255,0,0) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 200) > Vector(x: 504, y: 200) > Vector(x: 499, y: 205) > Vector(x: 13, y: 205)) +Shape: rgb(0,0,255) Path (Vector(x: 504, y: 200) > Vector(x: 504, y: 296) > Vector(x: 499, y: 291) > Vector(x: 499, y: 205)) +Shape: rgb(0,0,255) Path (Vector(x: 504, y: 296) > Vector(x: 8, y: 296) > Vector(x: 13, y: 291) > Vector(x: 499, y: 291)) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 296) > Vector(x: 8, y: 200) > Vector(x: 13, y: 205) > Vector(x: 13, y: 291)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 205]: Some + [59, 205]: inline + [101, 205]: text +Text: rgb(0,0,0) normal normal 400 16px Arial + [302, 205]: followed + [365, 205]: by + [387, 205]: more + [427, 205]: inline + [469, 205]: text. +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 273]: Then + [54, 273]: more + [95, 273]: inline + [137, 273]: text. +Clip: Path (Vector(x: 13, y: 239) > Vector(x: 499, y: 239) > Vector(x: 499, y: 257) > Vector(x: 13, y: 257)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 239]: Then + [54, 239]: a + [67, 239]: block + [109, 239]: level + [147, 239]: element. +Text: rgb(0,0,255) normal normal 400 16px Arial + [131, 205]: followed + [195, 205]: by + [216, 205]: text + [246, 205]: in + [263, 205]: span +Clip: Path (Vector(x: 500, y: 250) > Vector(x: 800, y: 250) > Vector(x: 800, y: 364) > Vector(x: 500, y: 364)) + Fill: rgb(255,0,0) +Shape: rgb(0,0,255) Path (Vector(x: 500, y: 250) > Vector(x: 800, y: 250) > Vector(x: 795, y: 255) > Vector(x: 505, y: 255)) +Shape: rgb(0,0,255) Path (Vector(x: 800, y: 250) > Vector(x: 800, y: 364) > Vector(x: 795, y: 359) > Vector(x: 795, y: 255)) +Shape: rgb(0,0,255) Path (Vector(x: 800, y: 364) > Vector(x: 500, y: 364) > Vector(x: 505, y: 359) > Vector(x: 795, y: 359)) +Shape: rgb(0,0,255) Path (Vector(x: 500, y: 364) > Vector(x: 500, y: 250) > Vector(x: 505, y: 255) > Vector(x: 505, y: 359)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [505, 255]: Some + [551, 255]: inline + [593, 255]: text +Text: rgb(0,0,0) normal normal 400 16px Arial + [505, 273]: followed + [568, 273]: by + [589, 273]: more + [630, 273]: inline + [672, 273]: text. +Text: rgb(0,0,0) normal normal 400 16px Arial + [505, 341]: Then + [546, 341]: more + [587, 341]: inline + [629, 341]: text. +Clip: Path (Vector(x: 505, y: 307) > Vector(x: 795, y: 307) > Vector(x: 795, y: 325) > Vector(x: 505, y: 325)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Arial + [505, 307]: Then + [546, 307]: a + [559, 307]: block + [601, 307]: level + [639, 307]: element. +Text: rgb(0,0,255) normal normal 400 16px Arial + [623, 255]: followed + [687, 255]: by + [708, 255]: text + [738, 255]: in + [755, 255]: span +Clip: Path (Vector(x: 8, y: 500) > Vector(x: 504, y: 500) > Vector(x: 504, y: 596) > Vector(x: 8, y: 596)) + Fill: rgb(255,0,0) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 500) > Vector(x: 504, y: 500) > Vector(x: 499, y: 505) > Vector(x: 13, y: 505)) +Shape: rgb(0,0,255) Path (Vector(x: 504, y: 500) > Vector(x: 504, y: 596) > Vector(x: 499, y: 591) > Vector(x: 499, y: 505)) +Shape: rgb(0,0,255) Path (Vector(x: 504, y: 596) > Vector(x: 8, y: 596) > Vector(x: 13, y: 591) > Vector(x: 499, y: 591)) +Shape: rgb(0,0,255) Path (Vector(x: 8, y: 596) > Vector(x: 8, y: 500) > Vector(x: 13, y: 505) > Vector(x: 13, y: 591)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 505]: Some + [59, 505]: inline + [101, 505]: text +Text: rgb(0,0,0) normal normal 400 16px Arial + [302, 505]: followed + [365, 505]: by + [387, 505]: more + [427, 505]: inline + [469, 505]: text. +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 573]: Then + [54, 573]: more + [95, 573]: inline + [137, 573]: text. +Clip: Path (Vector(x: 13, y: 539) > Vector(x: 499, y: 539) > Vector(x: 499, y: 557) > Vector(x: 13, y: 557)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 539]: Then + [54, 539]: a + [67, 539]: block + [109, 539]: level + [147, 539]: element. +Text: rgb(0,0,255) normal normal 400 16px Arial + [131, 505]: followed + [195, 505]: by + [216, 505]: text + [246, 505]: in + [263, 505]: span \ No newline at end of file diff --git a/tests/cases/crossorigin-iframe.html b/tests/reftests/crossorigin-iframe.html similarity index 100% rename from tests/cases/crossorigin-iframe.html rename to tests/reftests/crossorigin-iframe.html diff --git a/tests/reftests/crossorigin-iframe.txt b/tests/reftests/crossorigin-iframe.txt new file mode 100644 index 0000000..8eccfe1 --- /dev/null +++ b/tests/reftests/crossorigin-iframe.txt @@ -0,0 +1,7 @@ +Window: [812, 824] +Rectangle: [0, 0, 812, 824] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 812, y: 8) > Vector(x: 810, y: 10) > Vector(x: 10, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 812, y: 8) > Vector(x: 812, y: 812) > Vector(x: 810, y: 810) > Vector(x: 810, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 812, y: 812) > Vector(x: 8, y: 812) > Vector(x: 10, y: 810) > Vector(x: 810, y: 810)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 812) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 810)) \ No newline at end of file diff --git a/tests/cases/forms.html b/tests/reftests/forms.html similarity index 100% rename from tests/cases/forms.html rename to tests/reftests/forms.html diff --git a/tests/reftests/forms.txt b/tests/reftests/forms.txt new file mode 100644 index 0000000..cf3dab4 --- /dev/null +++ b/tests/reftests/forms.txt @@ -0,0 +1,310 @@ +Window: [800, 1003] +Rectangle: [0, 0, 800, 1003] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 138) > Vector(x: 792, y: 138) > Vector(x: 791, y: 139) > Vector(x: 9, y: 139)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 138) > Vector(x: 792, y: 140) > Vector(x: 791, y: 139) > Vector(x: 791, y: 139)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 140) > Vector(x: 8, y: 140) > Vector(x: 9, y: 139) > Vector(x: 791, y: 139)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 140) > Vector(x: 8, y: 138) > Vector(x: 9, y: 139) > Vector(x: 9, y: 139)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 176) > Vector(x: 792, y: 176) > Vector(x: 791, y: 177) > Vector(x: 9, y: 177)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 176) > Vector(x: 792, y: 178) > Vector(x: 791, y: 177) > Vector(x: 791, y: 177)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 178) > Vector(x: 8, y: 178) > Vector(x: 9, y: 177) > Vector(x: 791, y: 177)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 178) > Vector(x: 8, y: 176) > Vector(x: 9, y: 177) > Vector(x: 9, y: 177)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 244) > Vector(x: 792, y: 244) > Vector(x: 791, y: 245) > Vector(x: 9, y: 245)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 244) > Vector(x: 792, y: 246) > Vector(x: 791, y: 245) > Vector(x: 791, y: 245)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 246) > Vector(x: 8, y: 246) > Vector(x: 9, y: 245) > Vector(x: 791, y: 245)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 246) > Vector(x: 8, y: 244) > Vector(x: 9, y: 245) > Vector(x: 9, y: 245)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 321) > Vector(x: 792, y: 321) > Vector(x: 791, y: 322) > Vector(x: 9, y: 322)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 321) > Vector(x: 792, y: 323) > Vector(x: 791, y: 322) > Vector(x: 791, y: 322)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 323) > Vector(x: 8, y: 323) > Vector(x: 9, y: 322) > Vector(x: 791, y: 322)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 323) > Vector(x: 8, y: 321) > Vector(x: 9, y: 322) > Vector(x: 9, y: 322)) +Clip: Path (Vector(x: 8, y: 24) > Vector(x: 177, y: 24) > Vector(x: 177, y: 45) > Vector(x: 8, y: 45)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 24) > Vector(x: 177, y: 24) > Vector(x: 175, y: 26) > Vector(x: 10, y: 26)) +Shape: rgb(0,0,0) Path (Vector(x: 177, y: 24) > Vector(x: 177, y: 45) > Vector(x: 175, y: 43) > Vector(x: 175, y: 26)) +Shape: rgb(0,0,0) Path (Vector(x: 177, y: 45) > Vector(x: 8, y: 45) > Vector(x: 10, y: 43) > Vector(x: 175, y: 43)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 45) > Vector(x: 8, y: 24) > Vector(x: 10, y: 26) > Vector(x: 10, y: 43)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [10, 27]: textbox +Clip: Path (Vector(x: 181, y: 24) > Vector(x: 350, y: 24) > Vector(x: 350, y: 45) > Vector(x: 181, y: 45)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,0) Path (Vector(x: 181, y: 24) > Vector(x: 350, y: 24) > Vector(x: 348, y: 26) > Vector(x: 183, y: 26)) +Shape: rgb(0,0,0) Path (Vector(x: 350, y: 24) > Vector(x: 350, y: 45) > Vector(x: 348, y: 43) > Vector(x: 348, y: 26)) +Shape: rgb(0,0,0) Path (Vector(x: 350, y: 45) > Vector(x: 181, y: 45) > Vector(x: 183, y: 43) > Vector(x: 348, y: 43)) +Shape: rgb(0,0,0) Path (Vector(x: 181, y: 45) > Vector(x: 181, y: 24) > Vector(x: 183, y: 26) > Vector(x: 183, y: 43)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [183, 27]: • + [188, 27]: • + [192, 27]: • + [197, 27]: • + [202, 27]: • + [206, 27]: • + [211, 27]: • +Clip: Path (Vector(x: 354, y: 20) > Vector(x: 528, y: 20) > Vector(x: 528, y: 48) > Vector(x: 354, y: 48)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,128) Path (Vector(x: 354, y: 20) > Vector(x: 528, y: 20) > Vector(x: 523, y: 25) > Vector(x: 359, y: 25)) +Shape: rgb(0,0,128) Path (Vector(x: 528, y: 20) > Vector(x: 528, y: 48) > Vector(x: 523, y: 43) > Vector(x: 523, y: 25)) +Shape: rgb(0,0,128) Path (Vector(x: 528, y: 48) > Vector(x: 354, y: 48) > Vector(x: 359, y: 43) > Vector(x: 523, y: 43)) +Shape: rgb(0,0,128) Path (Vector(x: 354, y: 48) > Vector(x: 354, y: 20) > Vector(x: 359, y: 25) > Vector(x: 359, y: 43)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [359, 26]: textbox +Clip: Path (Vector(x: 532, y: 8) > Vector(x: 707, y: 8) > Vector(x: 707, y: 60) > Vector(x: 532, y: 60)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,128) Path (Vector(x: 532, y: 8) > Vector(x: 707, y: 8) > Vector(x: 702, y: 13) > Vector(x: 537, y: 13)) +Shape: rgb(0,0,128) Path (Vector(x: 707, y: 8) > Vector(x: 707, y: 60) > Vector(x: 702, y: 55) > Vector(x: 702, y: 13)) +Shape: rgb(0,0,128) Path (Vector(x: 707, y: 60) > Vector(x: 532, y: 60) > Vector(x: 537, y: 55) > Vector(x: 702, y: 55)) +Shape: rgb(0,0,128) Path (Vector(x: 532, y: 60) > Vector(x: 532, y: 8) > Vector(x: 537, y: 13) > Vector(x: 537, y: 55)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [537, 14]: textbox +Clip: Path (Vector(x: 8, y: 60) > Vector(x: 203, y: 60) > Vector(x: 203, y: 130) > Vector(x: 8, y: 130)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,128) Path (Vector(x: 8, y: 60) > Vector(x: 203, y: 60) > Vector(x: 198, y: 65) > Vector(x: 13, y: 65)) +Shape: rgb(0,0,128) Path (Vector(x: 203, y: 60) > Vector(x: 203, y: 130) > Vector(x: 198, y: 125) > Vector(x: 198, y: 65)) +Shape: rgb(0,0,128) Path (Vector(x: 203, y: 130) > Vector(x: 8, y: 130) > Vector(x: 13, y: 125) > Vector(x: 198, y: 125)) +Shape: rgb(0,0,128) Path (Vector(x: 8, y: 130) > Vector(x: 8, y: 60) > Vector(x: 13, y: 65) > Vector(x: 13, y: 125)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [23, 75]: textbox +Clip: Path (Vector(x: 207, y: 75) > Vector(x: 396, y: 75) > Vector(x: 396, y: 114) > Vector(x: 207, y: 114)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,0) Path (Vector(x: 207, y: 75) > Vector(x: 396, y: 75) > Vector(x: 394, y: 77) > Vector(x: 209, y: 77)) +Shape: rgb(0,0,0) Path (Vector(x: 396, y: 75) > Vector(x: 396, y: 114) > Vector(x: 394, y: 112) > Vector(x: 394, y: 77)) +Shape: rgb(0,0,0) Path (Vector(x: 396, y: 114) > Vector(x: 207, y: 114) > Vector(x: 209, y: 112) > Vector(x: 394, y: 112)) +Shape: rgb(0,0,0) Path (Vector(x: 207, y: 114) > Vector(x: 207, y: 75) > Vector(x: 209, y: 77) > Vector(x: 209, y: 112)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [219, 87]: textbox +Clip: Path (Vector(x: 400, y: 75) > Vector(x: 588, y: 75) > Vector(x: 588, y: 114) > Vector(x: 400, y: 114)) + Fill: rgb(255,255,255) +Shape: rgb(0,0,0) Path (Vector(x: 400, y: 75) > Vector(x: 588, y: 75) > Vector(x: 586, y: 77) > Vector(x: 402, y: 77)) +Shape: rgb(0,0,0) Path (Vector(x: 588, y: 75) > Vector(x: 588, y: 114) > Vector(x: 586, y: 112) > Vector(x: 586, y: 77)) +Shape: rgb(0,0,0) Path (Vector(x: 588, y: 114) > Vector(x: 400, y: 114) > Vector(x: 402, y: 112) > Vector(x: 586, y: 112)) +Shape: rgb(0,0,0) Path (Vector(x: 400, y: 114) > Vector(x: 400, y: 75) > Vector(x: 402, y: 77) > Vector(x: 402, y: 112)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [533, 87]: textbox +Clip: Path (Vector(x: 8, y: 149) > Vector(x: 76, y: 149) > Vector(x: 76, y: 168) > Vector(x: 8, y: 168)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 8, y: 149) > Vector(x: 76, y: 149) > Vector(x: 75, y: 150) > Vector(x: 9, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 76, y: 149) > Vector(x: 76, y: 168) > Vector(x: 75, y: 167) > Vector(x: 75, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 76, y: 168) > Vector(x: 8, y: 168) > Vector(x: 9, y: 167) > Vector(x: 75, y: 167)) +Shape: rgb(169,169,169) Path (Vector(x: 8, y: 168) > Vector(x: 8, y: 149) > Vector(x: 9, y: 150) > Vector(x: 9, y: 167)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [9, 150]: Value + [46, 150]: 1 +Clip: Path (Vector(x: 80, y: 149) > Vector(x: 104, y: 149) > Vector(x: 104, y: 168) > Vector(x: 80, y: 168)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 80, y: 149) > Vector(x: 104, y: 149) > Vector(x: 103, y: 150) > Vector(x: 81, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 104, y: 149) > Vector(x: 104, y: 168) > Vector(x: 103, y: 167) > Vector(x: 103, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 104, y: 168) > Vector(x: 80, y: 168) > Vector(x: 81, y: 167) > Vector(x: 103, y: 167)) +Shape: rgb(169,169,169) Path (Vector(x: 80, y: 168) > Vector(x: 80, y: 149) > Vector(x: 81, y: 150) > Vector(x: 81, y: 167)) +Clip: Path (Vector(x: 108, y: 149) > Vector(x: 140, y: 149) > Vector(x: 140, y: 168) > Vector(x: 108, y: 168)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 108, y: 149) > Vector(x: 140, y: 149) > Vector(x: 139, y: 150) > Vector(x: 109, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 140, y: 149) > Vector(x: 140, y: 168) > Vector(x: 139, y: 167) > Vector(x: 139, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 140, y: 168) > Vector(x: 108, y: 168) > Vector(x: 109, y: 167) > Vector(x: 139, y: 167)) +Shape: rgb(169,169,169) Path (Vector(x: 108, y: 168) > Vector(x: 108, y: 149) > Vector(x: 109, y: 150) > Vector(x: 109, y: 167)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [109, 150]: 2 +Clip: Path (Vector(x: 144, y: 149) > Vector(x: 333, y: 149) > Vector(x: 333, y: 168) > Vector(x: 144, y: 168)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 144, y: 149) > Vector(x: 333, y: 149) > Vector(x: 332, y: 150) > Vector(x: 145, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 333, y: 149) > Vector(x: 333, y: 168) > Vector(x: 332, y: 167) > Vector(x: 332, y: 150)) +Shape: rgb(169,169,169) Path (Vector(x: 333, y: 168) > Vector(x: 144, y: 168) > Vector(x: 145, y: 167) > Vector(x: 332, y: 167)) +Shape: rgb(169,169,169) Path (Vector(x: 144, y: 168) > Vector(x: 144, y: 149) > Vector(x: 145, y: 150) > Vector(x: 145, y: 167)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [145, 150]: Value + [182, 150]: 2 + [193, 150]: with + [220, 150]: something + [286, 150]: else +Clip: Path (Vector(x: 8, y: 200) > Vector(x: 65, y: 200) > Vector(x: 65, y: 221) > Vector(x: 8, y: 221)) + Fill: rgb(221,221,221) +Shape: rgb(221,221,221) Path (Vector(x: 8, y: 200) > Vector(x: 65, y: 200) > Vector(x: 63, y: 202) > Vector(x: 10, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 65, y: 200) > Vector(x: 65, y: 221) > Vector(x: 63, y: 219) > Vector(x: 63, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 65, y: 221) > Vector(x: 8, y: 221) > Vector(x: 10, y: 219) > Vector(x: 63, y: 219)) +Shape: rgb(221,221,221) Path (Vector(x: 8, y: 221) > Vector(x: 8, y: 200) > Vector(x: 10, y: 202) > Vector(x: 10, y: 219)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [16, 203]: Submit +Clip: Path (Vector(x: 69, y: 200) > Vector(x: 124, y: 200) > Vector(x: 124, y: 221) > Vector(x: 69, y: 221)) + Fill: rgb(221,221,221) +Shape: rgb(221,221,221) Path (Vector(x: 69, y: 200) > Vector(x: 124, y: 200) > Vector(x: 122, y: 202) > Vector(x: 71, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 124, y: 200) > Vector(x: 124, y: 221) > Vector(x: 122, y: 219) > Vector(x: 122, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 124, y: 221) > Vector(x: 69, y: 221) > Vector(x: 71, y: 219) > Vector(x: 122, y: 219)) +Shape: rgb(221,221,221) Path (Vector(x: 69, y: 221) > Vector(x: 69, y: 200) > Vector(x: 71, y: 202) > Vector(x: 71, y: 219)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [77, 203]: Button +Clip: Path (Vector(x: 128, y: 200) > Vector(x: 179, y: 200) > Vector(x: 179, y: 221) > Vector(x: 128, y: 221)) + Fill: rgb(221,221,221) +Shape: rgb(221,221,221) Path (Vector(x: 128, y: 200) > Vector(x: 179, y: 200) > Vector(x: 177, y: 202) > Vector(x: 130, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 179, y: 200) > Vector(x: 179, y: 221) > Vector(x: 177, y: 219) > Vector(x: 177, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 179, y: 221) > Vector(x: 128, y: 221) > Vector(x: 130, y: 219) > Vector(x: 177, y: 219)) +Shape: rgb(221,221,221) Path (Vector(x: 128, y: 221) > Vector(x: 128, y: 200) > Vector(x: 130, y: 202) > Vector(x: 130, y: 219)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [136, 203]: Reset +Clip: Path (Vector(x: 183, y: 200) > Vector(x: 383, y: 200) > Vector(x: 383, y: 221) > Vector(x: 183, y: 221)) + Fill: rgb(221,221,221) +Shape: rgb(221,221,221) Path (Vector(x: 183, y: 200) > Vector(x: 383, y: 200) > Vector(x: 381, y: 202) > Vector(x: 185, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 383, y: 200) > Vector(x: 383, y: 221) > Vector(x: 381, y: 219) > Vector(x: 381, y: 202)) +Shape: rgb(221,221,221) Path (Vector(x: 383, y: 221) > Vector(x: 183, y: 221) > Vector(x: 185, y: 219) > Vector(x: 381, y: 219)) +Shape: rgb(221,221,221) Path (Vector(x: 183, y: 221) > Vector(x: 183, y: 200) > Vector(x: 185, y: 202) > Vector(x: 185, y: 219)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [262, 203]: Submit +Clip: Path (Vector(x: 387, y: 186) > Vector(x: 587, y: 186) > Vector(x: 587, y: 236) > Vector(x: 387, y: 236)) + Fill: rgb(221,221,221) +Shape: rgb(221,221,221) Path (Vector(x: 387, y: 186) > Vector(x: 587, y: 186) > Vector(x: 585, y: 188) > Vector(x: 389, y: 188)) +Shape: rgb(221,221,221) Path (Vector(x: 587, y: 186) > Vector(x: 587, y: 236) > Vector(x: 585, y: 234) > Vector(x: 585, y: 188)) +Shape: rgb(221,221,221) Path (Vector(x: 587, y: 236) > Vector(x: 387, y: 236) > Vector(x: 389, y: 234) > Vector(x: 585, y: 234)) +Shape: rgb(221,221,221) Path (Vector(x: 387, y: 236) > Vector(x: 387, y: 186) > Vector(x: 389, y: 188) > Vector(x: 389, y: 234)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [468, 189]: Button +Clip: Path (Vector(x: 591, y: 186) > Vector(x: 791, y: 186) > Vector(x: 791, y: 236) > Vector(x: 591, y: 236)) + Fill: rgb(221,221,221) +Shape: rgb(221,221,221) Path (Vector(x: 591, y: 186) > Vector(x: 791, y: 186) > Vector(x: 789, y: 188) > Vector(x: 593, y: 188)) +Shape: rgb(221,221,221) Path (Vector(x: 791, y: 186) > Vector(x: 791, y: 236) > Vector(x: 789, y: 234) > Vector(x: 789, y: 188)) +Shape: rgb(221,221,221) Path (Vector(x: 791, y: 236) > Vector(x: 591, y: 236) > Vector(x: 593, y: 234) > Vector(x: 789, y: 234)) +Shape: rgb(221,221,221) Path (Vector(x: 591, y: 236) > Vector(x: 591, y: 186) > Vector(x: 593, y: 188) > Vector(x: 593, y: 234)) +Text: rgb(0,0,0) normal normal 400 13.3333px Arial + [599, 189]: Reset +Clip: Path (Vector(x: 8, y: 272) > Vector(x: 165, y: 272) > Vector(x: 165, y: 309) > Vector(x: 8, y: 309)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 8, y: 272) > Vector(x: 165, y: 272) > Vector(x: 164, y: 273) > Vector(x: 9, y: 273)) +Shape: rgb(169,169,169) Path (Vector(x: 165, y: 272) > Vector(x: 165, y: 309) > Vector(x: 164, y: 308) > Vector(x: 164, y: 273)) +Shape: rgb(169,169,169) Path (Vector(x: 165, y: 309) > Vector(x: 8, y: 309) > Vector(x: 9, y: 308) > Vector(x: 164, y: 308)) +Shape: rgb(169,169,169) Path (Vector(x: 8, y: 309) > Vector(x: 8, y: 272) > Vector(x: 9, y: 273) > Vector(x: 9, y: 308)) +Text: rgb(0,0,0) normal normal 400 13.3333px monospace +Clip: Path (Vector(x: 169, y: 254) > Vector(x: 344, y: 254) > Vector(x: 344, y: 309) > Vector(x: 169, y: 309)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 169, y: 254) > Vector(x: 344, y: 254) > Vector(x: 334, y: 264) > Vector(x: 179, y: 264)) +Shape: rgb(169,169,169) Path (Vector(x: 344, y: 254) > Vector(x: 344, y: 309) > Vector(x: 334, y: 299) > Vector(x: 334, y: 264)) +Shape: rgb(169,169,169) Path (Vector(x: 344, y: 309) > Vector(x: 169, y: 309) > Vector(x: 179, y: 299) > Vector(x: 334, y: 299)) +Shape: rgb(169,169,169) Path (Vector(x: 169, y: 309) > Vector(x: 169, y: 254) > Vector(x: 179, y: 264) > Vector(x: 179, y: 299)) +Clip: Path (Vector(x: 348, y: 272) > Vector(x: 504, y: 272) > Vector(x: 504, y: 309) > Vector(x: 348, y: 309)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 348, y: 272) > Vector(x: 504, y: 272) > Vector(x: 503, y: 273) > Vector(x: 349, y: 273)) +Shape: rgb(169,169,169) Path (Vector(x: 504, y: 272) > Vector(x: 504, y: 309) > Vector(x: 503, y: 308) > Vector(x: 503, y: 273)) +Shape: rgb(169,169,169) Path (Vector(x: 504, y: 309) > Vector(x: 348, y: 309) > Vector(x: 349, y: 308) > Vector(x: 503, y: 308)) +Shape: rgb(169,169,169) Path (Vector(x: 348, y: 309) > Vector(x: 348, y: 272) > Vector(x: 349, y: 273) > Vector(x: 349, y: 308)) +Text: rgb(0,0,0) normal normal 400 13.3333px monospace + [358, 275]: text +Clip: Path (Vector(x: 508, y: 254) > Vector(x: 683, y: 254) > Vector(x: 683, y: 309) > Vector(x: 508, y: 309)) + Fill: rgb(255,255,255) +Shape: rgb(169,169,169) Path (Vector(x: 508, y: 254) > Vector(x: 683, y: 254) > Vector(x: 673, y: 264) > Vector(x: 518, y: 264)) +Shape: rgb(169,169,169) Path (Vector(x: 683, y: 254) > Vector(x: 683, y: 309) > Vector(x: 673, y: 299) > Vector(x: 673, y: 264)) +Shape: rgb(169,169,169) Path (Vector(x: 683, y: 309) > Vector(x: 508, y: 309) > Vector(x: 518, y: 299) > Vector(x: 673, y: 299)) +Shape: rgb(169,169,169) Path (Vector(x: 508, y: 309) > Vector(x: 508, y: 254) > Vector(x: 518, y: 264) > Vector(x: 518, y: 299)) +Text: rgb(0,0,0) normal normal 400 13.3333px monospace + [520, 266]: text +Clip: Path (BezierCurve(x0: 19, y0: 534, x1: 24, y1: 529, cx0: 19, cy0: 531, cx1: 21, cy1: 529) > BezierCurve(x0: 24, y0: 529, x1: 30, y1: 534, cx0: 27, cy0: 529, cx1: 30, cy1: 531) > BezierCurve(x0: 30, y0: 534, x1: 24, y1: 540, cx0: 30, cy0: 537, cx1: 27, cy1: 540) > BezierCurve(x0: 24, y0: 540, x1: 19, y1: 534, cx0: 21, cy0: 540, cx1: 19, cy1: 537)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 20, y0: 530, x1: 24, y1: 528, cx0: 21, cy0: 529, cx1: 23, cy1: 528) > BezierCurve(x0: 24, y0: 528, x1: 29, y1: 530, cx0: 26, cy0: 528, cx1: 28, cy1: 529) > BezierCurve(x0: 28, y0: 531, x1: 24, y1: 529, cx0: 27, cy0: 530, cx1: 26, cy1: 529) > BezierCurve(x0: 24, y0: 529, x1: 21, y1: 531, cx0: 23, cy0: 529, cx1: 22, cy1: 530)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 29, y0: 530, x1: 31, y1: 534, cx0: 30, cy0: 531, cx1: 31, cy1: 533) > BezierCurve(x0: 31, y0: 534, x1: 29, y1: 539, cx0: 31, cy0: 536, cx1: 30, cy1: 538) > BezierCurve(x0: 28, y0: 538, x1: 30, y1: 534, cx0: 29, cy0: 537, cx1: 30, cy1: 536) > BezierCurve(x0: 30, y0: 534, x1: 28, y1: 531, cx0: 30, cy0: 533, cx1: 29, cy1: 532)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 29, y0: 539, x1: 24, y1: 541, cx0: 28, cy0: 540, cx1: 26, cy1: 541) > BezierCurve(x0: 24, y0: 541, x1: 20, y1: 539, cx0: 23, cy0: 541, cx1: 21, cy1: 540) > BezierCurve(x0: 21, y0: 538, x1: 24, y1: 540, cx0: 22, cy0: 539, cx1: 23, cy1: 540) > BezierCurve(x0: 24, y0: 540, x1: 28, y1: 538, cx0: 26, cy0: 540, cx1: 27, cy1: 539)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 20, y0: 539, x1: 18, y1: 534, cx0: 19, cy0: 538, cx1: 18, cy1: 536) > BezierCurve(x0: 18, y0: 534, x1: 20, y1: 530, cx0: 18, cy0: 533, cx1: 19, cy1: 531) > BezierCurve(x0: 21, y0: 531, x1: 19, y1: 534, cx0: 20, cy0: 532, cx1: 19, cy1: 533) > BezierCurve(x0: 19, y0: 534, x1: 21, y1: 538, cx0: 19, cy0: 536, cx1: 20, cy1: 537)) +Clip: Path (BezierCurve(x0: 93, y0: 534, x1: 98, y1: 529, cx0: 93, cy0: 531, cx1: 95, cy1: 529) > BezierCurve(x0: 98, y0: 529, x1: 103, y1: 534, cx0: 101, cy0: 529, cx1: 103, cy1: 531) > BezierCurve(x0: 103, y0: 534, x1: 98, y1: 540, cx0: 103, cy0: 537, cx1: 101, cy1: 540) > BezierCurve(x0: 98, y0: 540, x1: 93, y1: 534, cx0: 95, cy0: 540, cx1: 93, cy1: 537)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 93, y0: 530, x1: 98, y1: 528, cx0: 95, cy0: 529, cx1: 96, cy1: 528) > BezierCurve(x0: 98, y0: 528, x1: 103, y1: 530, cx0: 100, cy0: 528, cx1: 101, cy1: 529) > BezierCurve(x0: 102, y0: 531, x1: 98, y1: 529, cx0: 101, cy0: 530, cx1: 99, cy1: 529) > BezierCurve(x0: 98, y0: 529, x1: 94, y1: 531, cx0: 97, cy0: 529, cx1: 95, cy1: 530)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 103, y0: 530, x1: 104, y1: 534, cx0: 104, cy0: 531, cx1: 104, cy1: 533) > BezierCurve(x0: 104, y0: 534, x1: 103, y1: 539, cx0: 104, cy0: 536, cx1: 104, cy1: 538) > BezierCurve(x0: 102, y0: 538, x1: 103, y1: 534, cx0: 103, cy0: 537, cx1: 103, cy1: 536) > BezierCurve(x0: 103, y0: 534, x1: 102, y1: 531, cx0: 103, cy0: 533, cx1: 103, cy1: 532)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 103, y0: 539, x1: 98, y1: 541, cx0: 101, cy0: 540, cx1: 100, cy1: 541) > BezierCurve(x0: 98, y0: 541, x1: 93, y1: 539, cx0: 96, cy0: 541, cx1: 95, cy1: 540) > BezierCurve(x0: 94, y0: 538, x1: 98, y1: 540, cx0: 95, cy0: 539, cx1: 97, cy1: 540) > BezierCurve(x0: 98, y0: 540, x1: 102, y1: 538, cx0: 99, cy0: 540, cx1: 101, cy1: 539)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 93, y0: 539, x1: 92, y1: 534, cx0: 92, cy0: 538, cx1: 92, cy1: 536) > BezierCurve(x0: 92, y0: 534, x1: 93, y1: 530, cx0: 92, cy0: 533, cx1: 92, cy1: 531) > BezierCurve(x0: 94, y0: 531, x1: 93, y1: 534, cx0: 93, cy0: 532, cx1: 93, cy1: 533) > BezierCurve(x0: 93, y0: 534, x1: 94, y1: 538, cx0: 93, cy0: 536, cx1: 93, cy1: 537)) +Shape: rgb(42,42,42) Circle(x: 95, y: 531, r: 3) +Clip: Path (BezierCurve(x0: 297, y0: 534, x1: 302, y1: 529, cx0: 297, cy0: 531, cx1: 299, cy1: 529) > BezierCurve(x0: 302, y0: 529, x1: 307, y1: 534, cx0: 305, cy0: 529, cx1: 307, cy1: 531) > BezierCurve(x0: 307, y0: 534, x1: 302, y1: 540, cx0: 307, cy0: 537, cx1: 305, cy1: 540) > BezierCurve(x0: 302, y0: 540, x1: 297, y1: 534, cx0: 299, cy0: 540, cx1: 297, cy1: 537)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 297, y0: 530, x1: 302, y1: 528, cx0: 299, cy0: 529, cx1: 300, cy1: 528) > BezierCurve(x0: 302, y0: 528, x1: 307, y1: 530, cx0: 304, cy0: 528, cx1: 305, cy1: 529) > BezierCurve(x0: 306, y0: 531, x1: 302, y1: 529, cx0: 305, cy0: 530, cx1: 303, cy1: 529) > BezierCurve(x0: 302, y0: 529, x1: 298, y1: 531, cx0: 301, cy0: 529, cx1: 299, cy1: 530)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 307, y0: 530, x1: 308, y1: 534, cx0: 308, cy0: 531, cx1: 308, cy1: 533) > BezierCurve(x0: 308, y0: 534, x1: 307, y1: 539, cx0: 308, cy0: 536, cx1: 308, cy1: 538) > BezierCurve(x0: 306, y0: 538, x1: 307, y1: 534, cx0: 307, cy0: 537, cx1: 307, cy1: 536) > BezierCurve(x0: 307, y0: 534, x1: 306, y1: 531, cx0: 307, cy0: 533, cx1: 307, cy1: 532)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 307, y0: 539, x1: 302, y1: 541, cx0: 305, cy0: 540, cx1: 304, cy1: 541) > BezierCurve(x0: 302, y0: 541, x1: 297, y1: 539, cx0: 300, cy0: 541, cx1: 299, cy1: 540) > BezierCurve(x0: 298, y0: 538, x1: 302, y1: 540, cx0: 299, cy0: 539, cx1: 301, cy1: 540) > BezierCurve(x0: 302, y0: 540, x1: 306, y1: 538, cx0: 303, cy0: 540, cx1: 305, cy1: 539)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 297, y0: 539, x1: 296, y1: 534, cx0: 296, cy0: 538, cx1: 296, cy1: 536) > BezierCurve(x0: 296, y0: 534, x1: 297, y1: 530, cx0: 296, cy0: 533, cx1: 296, cy1: 531) > BezierCurve(x0: 298, y0: 531, x1: 297, y1: 534, cx0: 297, cy0: 532, cx1: 297, cy1: 533) > BezierCurve(x0: 297, y0: 534, x1: 298, y1: 538, cx0: 297, cy0: 536, cx1: 297, cy1: 537)) +Clip: Path (BezierCurve(x0: 427, y0: 441, x1: 526, y1: 342, cx0: 427, cy0: 386, cx1: 471, cy1: 342) > BezierCurve(x0: 526, y0: 342, x1: 625, y1: 441, cx0: 581, cy0: 342, cx1: 625, cy1: 386) > BezierCurve(x0: 625, y0: 441, x1: 526, y1: 540, cx0: 625, cy0: 495, cx1: 581, cy1: 540) > BezierCurve(x0: 526, y0: 540, x1: 427, y1: 441, cx0: 471, cy0: 540, cx1: 427, cy1: 495)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 455, y0: 370, x1: 526, y1: 341, cx0: 473, cy0: 352, cx1: 498, cy1: 341) > BezierCurve(x0: 526, y0: 341, x1: 597, y1: 370, cx0: 554, cy0: 341, cx1: 579, cy1: 352) > BezierCurve(x0: 596, y0: 371, x1: 526, y1: 342, cx0: 578, cy0: 353, cx1: 553, cy1: 342) > BezierCurve(x0: 526, y0: 342, x1: 456, y1: 371, cx0: 499, cy0: 342, cx1: 474, cy1: 353)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 597, y0: 370, x1: 626, y1: 441, cx0: 615, cy0: 388, cx1: 626, cy1: 413) > BezierCurve(x0: 626, y0: 441, x1: 597, y1: 512, cx0: 626, cy0: 468, cx1: 615, cy1: 493) > BezierCurve(x0: 596, y0: 511, x1: 625, y1: 441, cx0: 614, cy0: 493, cx1: 625, cy1: 468) > BezierCurve(x0: 625, y0: 441, x1: 596, y1: 371, cx0: 625, cy0: 413, cx1: 614, cy1: 389)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 597, y0: 512, x1: 526, y1: 541, cx0: 579, cy0: 530, cx1: 554, cy1: 541) > BezierCurve(x0: 526, y0: 541, x1: 455, y1: 512, cx0: 498, cy0: 541, cx1: 473, cy1: 530) > BezierCurve(x0: 456, y0: 511, x1: 526, y1: 540, cx0: 474, cy0: 529, cx1: 499, cy1: 540) > BezierCurve(x0: 526, y0: 540, x1: 596, y1: 511, cx0: 553, cy0: 540, cx1: 578, cy1: 529)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 455, y0: 512, x1: 426, y1: 441, cx0: 437, cy0: 493, cx1: 426, cy1: 468) > BezierCurve(x0: 426, y0: 441, x1: 455, y1: 370, cx0: 426, cy0: 413, cx1: 437, cy1: 388) > BezierCurve(x0: 456, y0: 371, x1: 427, y1: 441, cx0: 438, cy0: 389, cx1: 427, cy1: 413) > BezierCurve(x0: 427, y0: 441, x1: 456, y1: 511, cx0: 427, cy0: 468, cx1: 438, cy1: 493)) +Clip: Path (BezierCurve(x0: 19, y0: 661, x1: 118, y1: 562, cx0: 19, cy0: 606, cx1: 63, cy1: 562) > BezierCurve(x0: 118, y0: 562, x1: 217, y1: 661, cx0: 173, cy0: 562, cx1: 217, cy1: 606) > BezierCurve(x0: 217, y0: 661, x1: 118, y1: 760, cx0: 217, cy0: 715, cx1: 173, cy1: 760) > BezierCurve(x0: 118, y0: 760, x1: 19, y1: 661, cx0: 63, cy0: 760, cx1: 19, cy1: 715)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 47, y0: 590, x1: 118, y1: 561, cx0: 65, cy0: 572, cx1: 90, cy1: 561) > BezierCurve(x0: 118, y0: 561, x1: 189, y1: 590, cx0: 146, cy0: 561, cx1: 171, cy1: 572) > BezierCurve(x0: 188, y0: 591, x1: 118, y1: 562, cx0: 170, cy0: 573, cx1: 145, cy1: 562) > BezierCurve(x0: 118, y0: 562, x1: 48, y1: 591, cx0: 91, cy0: 562, cx1: 66, cy1: 573)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 189, y0: 590, x1: 218, y1: 661, cx0: 207, cy0: 608, cx1: 218, cy1: 633) > BezierCurve(x0: 218, y0: 661, x1: 189, y1: 732, cx0: 218, cy0: 688, cx1: 207, cy1: 713) > BezierCurve(x0: 188, y0: 731, x1: 217, y1: 661, cx0: 206, cy0: 713, cx1: 217, cy1: 688) > BezierCurve(x0: 217, y0: 661, x1: 188, y1: 591, cx0: 217, cy0: 633, cx1: 206, cy1: 609)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 189, y0: 732, x1: 118, y1: 761, cx0: 171, cy0: 750, cx1: 146, cy1: 761) > BezierCurve(x0: 118, y0: 761, x1: 47, y1: 732, cx0: 90, cy0: 761, cx1: 65, cy1: 750) > BezierCurve(x0: 48, y0: 731, x1: 118, y1: 760, cx0: 66, cy0: 749, cx1: 91, cy1: 760) > BezierCurve(x0: 118, y0: 760, x1: 188, y1: 731, cx0: 145, cy0: 760, cx1: 170, cy1: 749)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 47, y0: 732, x1: 18, y1: 661, cx0: 29, cy0: 713, cx1: 18, cy1: 688) > BezierCurve(x0: 18, y0: 661, x1: 47, y1: 590, cx0: 18, cy0: 633, cx1: 29, cy1: 608) > BezierCurve(x0: 48, y0: 591, x1: 19, y1: 661, cx0: 30, cy0: 609, cx1: 19, cy1: 633) > BezierCurve(x0: 19, y0: 661, x1: 48, y1: 731, cx0: 19, cy0: 688, cx1: 30, cy1: 713)) +Shape: rgb(42,42,42) Circle(x: 68, y: 611, r: 50) +Clip: Path (BezierCurve(x0: 243, y0: 751, x1: 245, y1: 749, cx0: 243, cy0: 750, cx1: 244, cy1: 749) > BezierCurve(x0: 252, y0: 749, x1: 254, y1: 751, cx0: 253, cy0: 749, cx1: 254, cy1: 750) > BezierCurve(x0: 254, y0: 758, x1: 252, y1: 760, cx0: 254, cy0: 759, cx1: 253, cy1: 760) > BezierCurve(x0: 245, y0: 760, x1: 243, y1: 758, cx0: 244, cy0: 760, cx1: 243, cy1: 759)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 243, y0: 749, x1: 245, y1: 748, cx0: 243, cy0: 748, cx1: 244, cy1: 748) > BezierCurve(x0: 252, y0: 748, x1: 254, y1: 749, cx0: 253, cy0: 748, cx1: 253, cy1: 748) > BezierCurve(x0: 253, y0: 750, x1: 252, y1: 749, cx0: 253, cy0: 749, cx1: 252, cy1: 749) > BezierCurve(x0: 245, y0: 749, x1: 244, y1: 750, cx0: 244, cy0: 749, cx1: 244, cy1: 749)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 254, y0: 749, x1: 255, y1: 751, cx0: 254, cy0: 749, cx1: 255, cy1: 750) > BezierCurve(x0: 255, y0: 758, x1: 254, y1: 760, cx0: 255, cy0: 759, cx1: 254, cy1: 759) > BezierCurve(x0: 253, y0: 759, x1: 254, y1: 758, cx0: 254, cy0: 759, cx1: 254, cy1: 758) > BezierCurve(x0: 254, y0: 751, x1: 253, y1: 750, cx0: 254, cy0: 750, cx1: 254, cy1: 750)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 254, y0: 760, x1: 252, y1: 761, cx0: 253, cy0: 760, cx1: 253, cy1: 761) > BezierCurve(x0: 245, y0: 761, x1: 243, y1: 760, cx0: 244, cy0: 761, cx1: 243, cy1: 760) > BezierCurve(x0: 244, y0: 759, x1: 245, y1: 760, cx0: 244, cy0: 760, cx1: 244, cy1: 760) > BezierCurve(x0: 252, y0: 760, x1: 253, y1: 759, cx0: 252, cy0: 760, cx1: 253, cy1: 760)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 243, y0: 760, x1: 242, y1: 758, cx0: 242, cy0: 759, cx1: 242, cy1: 759) > BezierCurve(x0: 242, y0: 751, x1: 243, y1: 749, cx0: 242, cy0: 750, cx1: 242, cy1: 749) > BezierCurve(x0: 244, y0: 750, x1: 243, y1: 751, cx0: 243, cy0: 750, cx1: 243, cy1: 750) > BezierCurve(x0: 243, y0: 758, x1: 244, y1: 759, cx0: 243, cy0: 758, cx1: 243, cy1: 759)) +Clip: Path (BezierCurve(x0: 317, y0: 751, x1: 319, y1: 749, cx0: 317, cy0: 750, cx1: 317, cy1: 749) > BezierCurve(x0: 325, y0: 749, x1: 327, y1: 751, cx0: 327, cy0: 749, cx1: 327, cy1: 750) > BezierCurve(x0: 327, y0: 758, x1: 325, y1: 760, cx0: 327, cy0: 759, cx1: 327, cy1: 760) > BezierCurve(x0: 319, y0: 760, x1: 317, y1: 758, cx0: 317, cy0: 760, cx1: 317, cy1: 759)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 316, y0: 749, x1: 319, y1: 748, cx0: 317, cy0: 748, cx1: 318, cy1: 748) > BezierCurve(x0: 325, y0: 748, x1: 328, y1: 749, cx0: 326, cy0: 748, cx1: 327, cy1: 748) > BezierCurve(x0: 327, y0: 750, x1: 325, y1: 749, cx0: 326, cy0: 749, cx1: 326, cy1: 749) > BezierCurve(x0: 319, y0: 749, x1: 317, y1: 750, cx0: 318, cy0: 749, cx1: 318, cy1: 749)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 328, y0: 749, x1: 328, y1: 751, cx0: 328, cy0: 749, cx1: 328, cy1: 750) > BezierCurve(x0: 328, y0: 758, x1: 328, y1: 760, cx0: 328, cy0: 759, cx1: 328, cy1: 759) > BezierCurve(x0: 327, y0: 759, x1: 327, y1: 758, cx0: 327, cy0: 759, cx1: 327, cy1: 758) > BezierCurve(x0: 327, y0: 751, x1: 327, y1: 750, cx0: 327, cy0: 750, cx1: 327, cy1: 750)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 328, y0: 760, x1: 325, y1: 761, cx0: 327, cy0: 760, cx1: 326, cy1: 761) > BezierCurve(x0: 319, y0: 761, x1: 316, y1: 760, cx0: 318, cy0: 761, cx1: 317, cy1: 760) > BezierCurve(x0: 317, y0: 759, x1: 319, y1: 760, cx0: 318, cy0: 760, cx1: 318, cy1: 760) > BezierCurve(x0: 325, y0: 760, x1: 327, y1: 759, cx0: 326, cy0: 760, cx1: 326, cy1: 760)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 316, y0: 760, x1: 316, y1: 758, cx0: 316, cy0: 759, cx1: 316, cy1: 759) > BezierCurve(x0: 316, y0: 751, x1: 316, y1: 749, cx0: 316, cy0: 750, cx1: 316, cy1: 749) > BezierCurve(x0: 317, y0: 750, x1: 317, y1: 751, cx0: 317, cy0: 750, cx1: 317, cy1: 750) > BezierCurve(x0: 317, y0: 758, x1: 317, y1: 759, cx0: 317, cy0: 758, cx1: 317, cy1: 759)) +Text: rgb(42,42,42) normal normal 400 9.800000190734863px Arial + [318, 760]: ✔ +Clip: Path (BezierCurve(x0: 521, y0: 751, x1: 523, y1: 749, cx0: 521, cy0: 750, cx1: 521, cy1: 749) > BezierCurve(x0: 529, y0: 749, x1: 531, y1: 751, cx0: 531, cy0: 749, cx1: 531, cy1: 750) > BezierCurve(x0: 531, y0: 758, x1: 529, y1: 760, cx0: 531, cy0: 759, cx1: 531, cy1: 760) > BezierCurve(x0: 523, y0: 760, x1: 521, y1: 758, cx0: 521, cy0: 760, cx1: 521, cy1: 759)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 520, y0: 749, x1: 523, y1: 748, cx0: 521, cy0: 748, cx1: 522, cy1: 748) > BezierCurve(x0: 529, y0: 748, x1: 532, y1: 749, cx0: 530, cy0: 748, cx1: 531, cy1: 748) > BezierCurve(x0: 531, y0: 750, x1: 529, y1: 749, cx0: 530, cy0: 749, cx1: 530, cy1: 749) > BezierCurve(x0: 523, y0: 749, x1: 521, y1: 750, cx0: 522, cy0: 749, cx1: 522, cy1: 749)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 532, y0: 749, x1: 532, y1: 751, cx0: 532, cy0: 749, cx1: 532, cy1: 750) > BezierCurve(x0: 532, y0: 758, x1: 532, y1: 760, cx0: 532, cy0: 759, cx1: 532, cy1: 759) > BezierCurve(x0: 531, y0: 759, x1: 531, y1: 758, cx0: 531, cy0: 759, cx1: 531, cy1: 758) > BezierCurve(x0: 531, y0: 751, x1: 531, y1: 750, cx0: 531, cy0: 750, cx1: 531, cy1: 750)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 532, y0: 760, x1: 529, y1: 761, cx0: 531, cy0: 760, cx1: 530, cy1: 761) > BezierCurve(x0: 523, y0: 761, x1: 520, y1: 760, cx0: 522, cy0: 761, cx1: 521, cy1: 760) > BezierCurve(x0: 521, y0: 759, x1: 523, y1: 760, cx0: 522, cy0: 760, cx1: 522, cy1: 760) > BezierCurve(x0: 529, y0: 760, x1: 531, y1: 759, cx0: 530, cy0: 760, cx1: 530, cy1: 760)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 520, y0: 760, x1: 520, y1: 758, cx0: 520, cy0: 759, cx1: 520, cy1: 759) > BezierCurve(x0: 520, y0: 751, x1: 520, y1: 749, cx0: 520, cy0: 750, cx1: 520, cy1: 749) > BezierCurve(x0: 521, y0: 750, x1: 521, y1: 751, cx0: 521, cy0: 750, cx1: 521, cy1: 750) > BezierCurve(x0: 521, y0: 758, x1: 521, y1: 759, cx0: 521, cy0: 758, cx1: 521, cy1: 759)) +Clip: Path (BezierCurve(x0: 19, y0: 784, x1: 21, y1: 782, cx0: 19, cy0: 783, cx1: 20, cy1: 782) > BezierCurve(x0: 215, y0: 782, x1: 217, y1: 784, cx0: 216, cy0: 782, cx1: 217, cy1: 783) > BezierCurve(x0: 217, y0: 978, x1: 215, y1: 980, cx0: 217, cy0: 979, cx1: 216, cy1: 980) > BezierCurve(x0: 21, y0: 980, x1: 19, y1: 978, cx0: 20, cy0: 980, cx1: 19, cy1: 979)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 19, y0: 782, x1: 21, y1: 781, cx0: 19, cy0: 781, cx1: 20, cy1: 781) > BezierCurve(x0: 215, y0: 781, x1: 217, y1: 782, cx0: 216, cy0: 781, cx1: 217, cy1: 781) > BezierCurve(x0: 216, y0: 782, x1: 215, y1: 782, cx0: 216, cy0: 782, cx1: 216, cy1: 782) > BezierCurve(x0: 21, y0: 782, x1: 20, y1: 782, cx0: 20, cy0: 782, cx1: 20, cy1: 782)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 217, y0: 782, x1: 218, y1: 784, cx0: 218, cy0: 782, cx1: 218, cy1: 783) > BezierCurve(x0: 218, y0: 978, x1: 217, y1: 980, cx0: 218, cy0: 979, cx1: 218, cy1: 979) > BezierCurve(x0: 216, y0: 979, x1: 217, y1: 978, cx0: 217, cy0: 979, cx1: 217, cy1: 978) > BezierCurve(x0: 217, y0: 784, x1: 216, y1: 782, cx0: 217, cy0: 783, cx1: 217, cy1: 783)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 217, y0: 980, x1: 215, y1: 981, cx0: 217, cy0: 980, cx1: 216, cy1: 981) > BezierCurve(x0: 21, y0: 981, x1: 19, y1: 980, cx0: 20, cy0: 981, cx1: 19, cy1: 980) > BezierCurve(x0: 20, y0: 979, x1: 21, y1: 980, cx0: 20, cy0: 980, cx1: 20, cy1: 980) > BezierCurve(x0: 215, y0: 980, x1: 216, y1: 979, cx0: 216, cy0: 980, cx1: 216, cy1: 980)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 19, y0: 980, x1: 18, y1: 978, cx0: 18, cy0: 979, cx1: 18, cy1: 979) > BezierCurve(x0: 18, y0: 784, x1: 19, y1: 782, cx0: 18, cy0: 783, cx1: 18, cy1: 782) > BezierCurve(x0: 20, y0: 782, x1: 19, y1: 784, cx0: 19, cy0: 783, cx1: 19, cy1: 783) > BezierCurve(x0: 19, y0: 978, x1: 20, y1: 979, cx0: 19, cy0: 978, cx1: 19, cy1: 979)) +Clip: Path (BezierCurve(x0: 243, y0: 784, x1: 245, y1: 782, cx0: 243, cy0: 783, cx1: 244, cy1: 782) > BezierCurve(x0: 439, y0: 782, x1: 441, y1: 784, cx0: 440, cy0: 782, cx1: 441, cy1: 783) > BezierCurve(x0: 441, y0: 978, x1: 439, y1: 980, cx0: 441, cy0: 979, cx1: 440, cy1: 980) > BezierCurve(x0: 245, y0: 980, x1: 243, y1: 978, cx0: 244, cy0: 980, cx1: 243, cy1: 979)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 243, y0: 782, x1: 245, y1: 781, cx0: 243, cy0: 781, cx1: 244, cy1: 781) > BezierCurve(x0: 439, y0: 781, x1: 441, y1: 782, cx0: 440, cy0: 781, cx1: 441, cy1: 781) > BezierCurve(x0: 440, y0: 782, x1: 439, y1: 782, cx0: 440, cy0: 782, cx1: 440, cy1: 782) > BezierCurve(x0: 245, y0: 782, x1: 244, y1: 782, cx0: 244, cy0: 782, cx1: 244, cy1: 782)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 441, y0: 782, x1: 442, y1: 784, cx0: 442, cy0: 782, cx1: 442, cy1: 783) > BezierCurve(x0: 442, y0: 978, x1: 441, y1: 980, cx0: 442, cy0: 979, cx1: 442, cy1: 979) > BezierCurve(x0: 440, y0: 979, x1: 441, y1: 978, cx0: 441, cy0: 979, cx1: 441, cy1: 978) > BezierCurve(x0: 441, y0: 784, x1: 440, y1: 782, cx0: 441, cy0: 783, cx1: 441, cy1: 783)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 441, y0: 980, x1: 439, y1: 981, cx0: 441, cy0: 980, cx1: 440, cy1: 981) > BezierCurve(x0: 245, y0: 981, x1: 243, y1: 980, cx0: 244, cy0: 981, cx1: 243, cy1: 980) > BezierCurve(x0: 244, y0: 979, x1: 245, y1: 980, cx0: 244, cy0: 980, cx1: 244, cy1: 980) > BezierCurve(x0: 439, y0: 980, x1: 440, y1: 979, cx0: 440, cy0: 980, cx1: 440, cy1: 980)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 243, y0: 980, x1: 242, y1: 978, cx0: 242, cy0: 979, cx1: 242, cy1: 979) > BezierCurve(x0: 242, y0: 784, x1: 243, y1: 782, cx0: 242, cy0: 783, cx1: 242, cy1: 782) > BezierCurve(x0: 244, y0: 782, x1: 243, y1: 784, cx0: 243, cy0: 783, cx1: 243, cy1: 783) > BezierCurve(x0: 243, y0: 978, x1: 244, y1: 979, cx0: 243, cy0: 978, cx1: 243, cy1: 979)) +Text: rgb(42,42,42) normal normal 400 197px Arial + [275, 980]: ✔ +Transform: (61, 534) [3, 0, 0, 3, 0, 0] + Clip: Path (BezierCurve(x0: 56, y0: 534, x1: 61, y1: 529, cx0: 56, cy0: 531, cx1: 58, cy1: 529) > BezierCurve(x0: 61, y0: 529, x1: 67, y1: 534, cx0: 64, cy0: 529, cx1: 67, cy1: 531) > BezierCurve(x0: 67, y0: 534, x1: 61, y1: 540, cx0: 67, cy0: 537, cx1: 64, cy1: 540) > BezierCurve(x0: 61, y0: 540, x1: 56, y1: 534, cx0: 58, cy0: 540, cx1: 56, cy1: 537)) + Fill: rgb(222,222,222) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 57, y0: 530, x1: 61, y1: 528, cx0: 58, cy0: 529, cx1: 59, cy1: 528) > BezierCurve(x0: 61, y0: 528, x1: 66, y1: 530, cx0: 63, cy0: 528, cx1: 65, cy1: 529) > BezierCurve(x0: 65, y0: 531, x1: 61, y1: 529, cx0: 64, cy0: 530, cx1: 63, cy1: 529) > BezierCurve(x0: 61, y0: 529, x1: 57, y1: 531, cx0: 60, cy0: 529, cx1: 58, cy1: 530)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 66, y0: 530, x1: 68, y1: 534, cx0: 67, cy0: 531, cx1: 68, cy1: 533) > BezierCurve(x0: 68, y0: 534, x1: 66, y1: 539, cx0: 68, cy0: 536, cx1: 67, cy1: 538) > BezierCurve(x0: 65, y0: 538, x1: 67, y1: 534, cx0: 66, cy0: 537, cx1: 67, cy1: 536) > BezierCurve(x0: 67, y0: 534, x1: 65, y1: 531, cx0: 67, cy0: 533, cx1: 66, cy1: 532)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 66, y0: 539, x1: 61, y1: 541, cx0: 65, cy0: 540, cx1: 63, cy1: 541) > BezierCurve(x0: 61, y0: 541, x1: 57, y1: 539, cx0: 59, cy0: 541, cx1: 58, cy1: 540) > BezierCurve(x0: 57, y0: 538, x1: 61, y1: 540, cx0: 58, cy0: 539, cx1: 60, cy1: 540) > BezierCurve(x0: 61, y0: 540, x1: 65, y1: 538, cx0: 63, cy0: 540, cx1: 64, cy1: 539)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 57, y0: 539, x1: 55, y1: 534, cx0: 56, cy0: 538, cx1: 55, cy1: 536) > BezierCurve(x0: 55, y0: 534, x1: 57, y1: 530, cx0: 55, cy0: 533, cx1: 56, cy1: 531) > BezierCurve(x0: 57, y0: 531, x1: 56, y1: 534, cx0: 56, cy0: 532, cx1: 56, cy1: 533) > BezierCurve(x0: 56, y0: 534, x1: 57, y1: 538, cx0: 56, cy0: 536, cx1: 56, cy1: 537)) +Transform: (135, 534) [3, 0, 0, 3, 0, 0] + Clip: Path (BezierCurve(x0: 129, y0: 534, x1: 135, y1: 529, cx0: 129, cy0: 531, cx1: 132, cy1: 529) > BezierCurve(x0: 135, y0: 529, x1: 140, y1: 534, cx0: 138, cy0: 529, cx1: 140, cy1: 531) > BezierCurve(x0: 140, y0: 534, x1: 135, y1: 540, cx0: 140, cy0: 537, cx1: 138, cy1: 540) > BezierCurve(x0: 135, y0: 540, x1: 129, y1: 534, cx0: 132, cy0: 540, cx1: 129, cy1: 537)) + Fill: rgb(222,222,222) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 130, y0: 530, x1: 135, y1: 528, cx0: 131, cy0: 529, cx1: 133, cy1: 528) > BezierCurve(x0: 135, y0: 528, x1: 139, y1: 530, cx0: 137, cy0: 528, cx1: 138, cy1: 529) > BezierCurve(x0: 139, y0: 531, x1: 135, y1: 529, cx0: 138, cy0: 530, cx1: 136, cy1: 529) > BezierCurve(x0: 135, y0: 529, x1: 131, y1: 531, cx0: 133, cy0: 529, cx1: 132, cy1: 530)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 139, y0: 530, x1: 141, y1: 534, cx0: 140, cy0: 531, cx1: 141, cy1: 533) > BezierCurve(x0: 141, y0: 534, x1: 139, y1: 539, cx0: 141, cy0: 536, cx1: 140, cy1: 538) > BezierCurve(x0: 139, y0: 538, x1: 140, y1: 534, cx0: 140, cy0: 537, cx1: 140, cy1: 536) > BezierCurve(x0: 140, y0: 534, x1: 139, y1: 531, cx0: 140, cy0: 533, cx1: 140, cy1: 532)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 139, y0: 539, x1: 135, y1: 541, cx0: 138, cy0: 540, cx1: 137, cy1: 541) > BezierCurve(x0: 135, y0: 541, x1: 130, y1: 539, cx0: 133, cy0: 541, cx1: 131, cy1: 540) > BezierCurve(x0: 131, y0: 538, x1: 135, y1: 540, cx0: 132, cy0: 539, cx1: 133, cy1: 540) > BezierCurve(x0: 135, y0: 540, x1: 139, y1: 538, cx0: 136, cy0: 540, cx1: 138, cy1: 539)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 130, y0: 539, x1: 128, y1: 534, cx0: 129, cy0: 538, cx1: 128, cy1: 536) > BezierCurve(x0: 128, y0: 534, x1: 130, y1: 530, cx0: 128, cy0: 533, cx1: 129, cy1: 531) > BezierCurve(x0: 131, y0: 531, x1: 129, y1: 534, cx0: 130, cy0: 532, cx1: 129, cy1: 533) > BezierCurve(x0: 129, y0: 534, x1: 131, y1: 538, cx0: 129, cy0: 536, cx1: 130, cy1: 537)) + Shape: rgb(42,42,42) Circle(x: 132, y: 531, r: 3) +Transform: (172, 534) [3, 0, 0, 3, 0, 0] + Clip: Path (BezierCurve(x0: 166, y0: 534, x1: 172, y1: 529, cx0: 166, cy0: 531, cx1: 169, cy1: 529) > BezierCurve(x0: 172, y0: 529, x1: 177, y1: 534, cx0: 175, cy0: 529, cx1: 177, cy1: 531) > BezierCurve(x0: 177, y0: 534, x1: 172, y1: 540, cx0: 177, cy0: 537, cx1: 175, cy1: 540) > BezierCurve(x0: 172, y0: 540, x1: 166, y1: 534, cx0: 169, cy0: 540, cx1: 166, cy1: 537)) + Fill: rgb(222,222,222) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 167, y0: 530, x1: 172, y1: 528, cx0: 168, cy0: 529, cx1: 170, cy1: 528) > BezierCurve(x0: 172, y0: 528, x1: 176, y1: 530, cx0: 173, cy0: 528, cx1: 175, cy1: 529) > BezierCurve(x0: 175, y0: 531, x1: 172, y1: 529, cx0: 174, cy0: 530, cx1: 173, cy1: 529) > BezierCurve(x0: 172, y0: 529, x1: 168, y1: 531, cx0: 170, cy0: 529, cx1: 169, cy1: 530)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 176, y0: 530, x1: 178, y1: 534, cx0: 177, cy0: 531, cx1: 178, cy1: 533) > BezierCurve(x0: 178, y0: 534, x1: 176, y1: 539, cx0: 178, cy0: 536, cx1: 177, cy1: 538) > BezierCurve(x0: 175, y0: 538, x1: 177, y1: 534, cx0: 176, cy0: 537, cx1: 177, cy1: 536) > BezierCurve(x0: 177, y0: 534, x1: 175, y1: 531, cx0: 177, cy0: 533, cx1: 176, cy1: 532)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 176, y0: 539, x1: 172, y1: 541, cx0: 175, cy0: 540, cx1: 173, cy1: 541) > BezierCurve(x0: 172, y0: 541, x1: 167, y1: 539, cx0: 170, cy0: 541, cx1: 168, cy1: 540) > BezierCurve(x0: 168, y0: 538, x1: 172, y1: 540, cx0: 169, cy0: 539, cx1: 170, cy1: 540) > BezierCurve(x0: 172, y0: 540, x1: 175, y1: 538, cx0: 173, cy0: 540, cx1: 174, cy1: 539)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 167, y0: 539, x1: 165, y1: 534, cx0: 166, cy0: 538, cx1: 165, cy1: 536) > BezierCurve(x0: 165, y0: 534, x1: 167, y1: 530, cx0: 165, cy0: 533, cx1: 166, cy1: 531) > BezierCurve(x0: 168, y0: 531, x1: 166, y1: 534, cx0: 167, cy0: 532, cx1: 166, cy1: 533) > BezierCurve(x0: 166, y0: 534, x1: 168, y1: 538, cx0: 166, cy0: 536, cx1: 167, cy1: 537)) +Transform: (285, 754) [3, 0, 0, 3, 0, 0] + Clip: Path (BezierCurve(x0: 280, y0: 751, x1: 282, y1: 749, cx0: 280, cy0: 750, cx1: 281, cy1: 749) > BezierCurve(x0: 289, y0: 749, x1: 291, y1: 751, cx0: 290, cy0: 749, cx1: 291, cy1: 750) > BezierCurve(x0: 291, y0: 758, x1: 289, y1: 760, cx0: 291, cy0: 759, cx1: 290, cy1: 760) > BezierCurve(x0: 282, y0: 760, x1: 280, y1: 758, cx0: 281, cy0: 760, cx1: 280, cy1: 759)) + Fill: rgb(222,222,222) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 280, y0: 749, x1: 282, y1: 748, cx0: 280, cy0: 748, cx1: 281, cy1: 748) > BezierCurve(x0: 289, y0: 748, x1: 291, y1: 749, cx0: 289, cy0: 748, cx1: 290, cy1: 748) > BezierCurve(x0: 290, y0: 750, x1: 289, y1: 749, cx0: 290, cy0: 749, cx1: 289, cy1: 749) > BezierCurve(x0: 282, y0: 749, x1: 280, y1: 750, cx0: 281, cy0: 749, cx1: 281, cy1: 749)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 291, y0: 749, x1: 292, y1: 751, cx0: 291, cy0: 749, cx1: 292, cy1: 750) > BezierCurve(x0: 292, y0: 758, x1: 291, y1: 760, cx0: 292, cy0: 759, cx1: 291, cy1: 759) > BezierCurve(x0: 290, y0: 759, x1: 291, y1: 758, cx0: 290, cy0: 759, cx1: 291, cy1: 758) > BezierCurve(x0: 291, y0: 751, x1: 290, y1: 750, cx0: 291, cy0: 750, cx1: 290, cy1: 750)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 291, y0: 760, x1: 289, y1: 761, cx0: 290, cy0: 760, cx1: 289, cy1: 761) > BezierCurve(x0: 282, y0: 761, x1: 280, y1: 760, cx0: 281, cy0: 761, cx1: 280, cy1: 760) > BezierCurve(x0: 280, y0: 759, x1: 282, y1: 760, cx0: 281, cy0: 760, cx1: 281, cy1: 760) > BezierCurve(x0: 289, y0: 760, x1: 290, y1: 759, cx0: 289, cy0: 760, cx1: 290, cy1: 760)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 280, y0: 760, x1: 279, y1: 758, cx0: 279, cy0: 759, cx1: 279, cy1: 759) > BezierCurve(x0: 279, y0: 751, x1: 280, y1: 749, cx0: 279, cy0: 750, cx1: 279, cy1: 749) > BezierCurve(x0: 280, y0: 750, x1: 280, y1: 751, cx0: 280, cy0: 750, cx1: 280, cy1: 750) > BezierCurve(x0: 280, y0: 758, x1: 280, y1: 759, cx0: 280, cy0: 758, cx1: 280, cy1: 759)) +Transform: (359, 754) [3, 0, 0, 3, 0, 0] + Clip: Path (BezierCurve(x0: 353, y0: 751, x1: 355, y1: 749, cx0: 353, cy0: 750, cx1: 354, cy1: 749) > BezierCurve(x0: 362, y0: 749, x1: 364, y1: 751, cx0: 363, cy0: 749, cx1: 364, cy1: 750) > BezierCurve(x0: 364, y0: 758, x1: 362, y1: 760, cx0: 364, cy0: 759, cx1: 363, cy1: 760) > BezierCurve(x0: 355, y0: 760, x1: 353, y1: 758, cx0: 354, cy0: 760, cx1: 353, cy1: 759)) + Fill: rgb(222,222,222) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 353, y0: 749, x1: 355, y1: 748, cx0: 354, cy0: 748, cx1: 355, cy1: 748) > BezierCurve(x0: 362, y0: 748, x1: 364, y1: 749, cx0: 363, cy0: 748, cx1: 364, cy1: 748) > BezierCurve(x0: 364, y0: 750, x1: 362, y1: 749, cx0: 363, cy0: 749, cx1: 363, cy1: 749) > BezierCurve(x0: 355, y0: 749, x1: 354, y1: 750, cx0: 355, cy0: 749, cx1: 354, cy1: 749)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 364, y0: 749, x1: 365, y1: 751, cx0: 365, cy0: 749, cx1: 365, cy1: 750) > BezierCurve(x0: 365, y0: 758, x1: 364, y1: 760, cx0: 365, cy0: 759, cx1: 365, cy1: 759) > BezierCurve(x0: 364, y0: 759, x1: 364, y1: 758, cx0: 364, cy0: 759, cx1: 364, cy1: 758) > BezierCurve(x0: 364, y0: 751, x1: 364, y1: 750, cx0: 364, cy0: 750, cx1: 364, cy1: 750)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 364, y0: 760, x1: 362, y1: 761, cx0: 364, cy0: 760, cx1: 363, cy1: 761) > BezierCurve(x0: 355, y0: 761, x1: 353, y1: 760, cx0: 355, cy0: 761, cx1: 354, cy1: 760) > BezierCurve(x0: 354, y0: 759, x1: 355, y1: 760, cx0: 354, cy0: 760, cx1: 355, cy1: 760) > BezierCurve(x0: 362, y0: 760, x1: 364, y1: 759, cx0: 363, cy0: 760, cx1: 363, cy1: 760)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 353, y0: 760, x1: 352, y1: 758, cx0: 353, cy0: 759, cx1: 352, cy1: 759) > BezierCurve(x0: 352, y0: 751, x1: 353, y1: 749, cx0: 352, cy0: 750, cx1: 353, cy1: 749) > BezierCurve(x0: 354, y0: 750, x1: 353, y1: 751, cx0: 354, cy0: 750, cx1: 353, cy1: 750) > BezierCurve(x0: 353, y0: 758, x1: 354, y1: 759, cx0: 353, cy0: 758, cx1: 354, cy1: 759)) + Text: rgb(42,42,42) normal normal 400 9.800000190734863px Arial + [355, 760]: ✔ +Transform: (396, 754) [3, 0, 0, 3, 0, 0] + Clip: Path (BezierCurve(x0: 390, y0: 751, x1: 392, y1: 749, cx0: 390, cy0: 750, cx1: 391, cy1: 749) > BezierCurve(x0: 399, y0: 749, x1: 401, y1: 751, cx0: 400, cy0: 749, cx1: 401, cy1: 750) > BezierCurve(x0: 401, y0: 758, x1: 399, y1: 760, cx0: 401, cy0: 759, cx1: 400, cy1: 760) > BezierCurve(x0: 392, y0: 760, x1: 390, y1: 758, cx0: 391, cy0: 760, cx1: 390, cy1: 759)) + Fill: rgb(222,222,222) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 390, y0: 749, x1: 392, y1: 748, cx0: 391, cy0: 748, cx1: 391, cy1: 748) > BezierCurve(x0: 399, y0: 748, x1: 401, y1: 749, cx0: 400, cy0: 748, cx1: 401, cy1: 748) > BezierCurve(x0: 400, y0: 750, x1: 399, y1: 749, cx0: 400, cy0: 749, cx1: 400, cy1: 749) > BezierCurve(x0: 392, y0: 749, x1: 391, y1: 750, cx0: 392, cy0: 749, cx1: 391, cy1: 749)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 401, y0: 749, x1: 402, y1: 751, cx0: 402, cy0: 749, cx1: 402, cy1: 750) > BezierCurve(x0: 402, y0: 758, x1: 401, y1: 760, cx0: 402, cy0: 759, cx1: 402, cy1: 759) > BezierCurve(x0: 400, y0: 759, x1: 401, y1: 758, cx0: 401, cy0: 759, cx1: 401, cy1: 758) > BezierCurve(x0: 401, y0: 751, x1: 400, y1: 750, cx0: 401, cy0: 750, cx1: 401, cy1: 750)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 401, y0: 760, x1: 399, y1: 761, cx0: 401, cy0: 760, cx1: 400, cy1: 761) > BezierCurve(x0: 392, y0: 761, x1: 390, y1: 760, cx0: 391, cy0: 761, cx1: 391, cy1: 760) > BezierCurve(x0: 391, y0: 759, x1: 392, y1: 760, cx0: 391, cy0: 760, cx1: 392, cy1: 760) > BezierCurve(x0: 399, y0: 760, x1: 400, y1: 759, cx0: 400, cy0: 760, cx1: 400, cy1: 760)) + Shape: rgb(165,165,165) Path (BezierCurve(x0: 390, y0: 760, x1: 389, y1: 758, cx0: 390, cy0: 759, cx1: 389, cy1: 759) > BezierCurve(x0: 389, y0: 751, x1: 390, y1: 749, cx0: 389, cy0: 750, cx1: 390, cy1: 749) > BezierCurve(x0: 391, y0: 750, x1: 390, y1: 751, cx0: 390, cy0: 750, cx1: 390, cy1: 750) > BezierCurve(x0: 390, y0: 758, x1: 391, y1: 759, cx0: 390, cy0: 758, cx1: 390, cy1: 759)) +Clip: Path (BezierCurve(x0: 8, y0: 994, x1: 11, y1: 991, cx0: 8, cy0: 992, cx1: 9, cy1: 991) > BezierCurve(x0: 17, y0: 991, x1: 20, y1: 994, cx0: 19, cy0: 991, cx1: 20, cy1: 992) > BezierCurve(x0: 20, y0: 1000, x1: 17, y1: 1003, cx0: 20, cy0: 1001, cx1: 19, cy1: 1003) > BezierCurve(x0: 11, y0: 1003, x1: 8, y1: 1000, cx0: 9, cy0: 1003, cx1: 8, cy1: 1001)) + Fill: rgb(222,222,222) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 9, y0: 992, x1: 11, y1: 991, cx0: 9, cy0: 991, cx1: 10, cy1: 991) > BezierCurve(x0: 17, y0: 991, x1: 19, y1: 992, cx0: 18, cy0: 991, cx1: 19, cy1: 991) > BezierCurve(x0: 18, y0: 992, x1: 17, y1: 992, cx0: 18, cy0: 992, cx1: 18, cy1: 992) > BezierCurve(x0: 11, y0: 992, x1: 10, y1: 992, cx0: 10, cy0: 992, cx1: 10, cy1: 992)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 19, y0: 992, x1: 20, y1: 994, cx0: 20, cy0: 992, cx1: 20, cy1: 993) > BezierCurve(x0: 20, y0: 1000, x1: 19, y1: 1002, cx0: 20, cy0: 1001, cx1: 20, cy1: 1001) > BezierCurve(x0: 18, y0: 1001, x1: 19, y1: 1000, cx0: 19, cy0: 1001, cx1: 19, cy1: 1000) > BezierCurve(x0: 19, y0: 994, x1: 18, y1: 992, cx0: 19, cy0: 993, cx1: 19, cy1: 993)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 19, y0: 1002, x1: 17, y1: 1003, cx0: 19, cy0: 1002, cx1: 18, cy1: 1003) > BezierCurve(x0: 11, y0: 1003, x1: 9, y1: 1002, cx0: 10, cy0: 1003, cx1: 9, cy1: 1002) > BezierCurve(x0: 10, y0: 1001, x1: 11, y1: 1002, cx0: 10, cy0: 1002, cx1: 10, cy1: 1002) > BezierCurve(x0: 17, y0: 1002, x1: 18, y1: 1001, cx0: 18, cy0: 1002, cx1: 18, cy1: 1002)) +Shape: rgb(165,165,165) Path (BezierCurve(x0: 9, y0: 1002, x1: 8, y1: 1000, cx0: 8, cy0: 1001, cx1: 8, cy1: 1001) > BezierCurve(x0: 8, y0: 994, x1: 9, y1: 992, cx0: 8, cy0: 993, cx1: 8, cy1: 992) > BezierCurve(x0: 10, y0: 992, x1: 9, y1: 994, cx0: 9, cy0: 993, cx1: 9, cy1: 993) > BezierCurve(x0: 9, y0: 1000, x1: 10, y1: 1001, cx0: 9, cy0: 1000, cx1: 9, cy1: 1001)) \ No newline at end of file diff --git a/tests/cases/iframe.html b/tests/reftests/iframe.html similarity index 100% rename from tests/cases/iframe.html rename to tests/reftests/iframe.html diff --git a/tests/reftests/iframe.txt b/tests/reftests/iframe.txt new file mode 100644 index 0000000..0b6b13c --- /dev/null +++ b/tests/reftests/iframe.txt @@ -0,0 +1,7 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 512, y: 8) > Vector(x: 510, y: 10) > Vector(x: 10, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 512, y: 8) > Vector(x: 512, y: 512) > Vector(x: 510, y: 510) > Vector(x: 510, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 512, y: 512) > Vector(x: 8, y: 512) > Vector(x: 10, y: 510) > Vector(x: 510, y: 510)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 512) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 510)) \ No newline at end of file diff --git a/tests/cases/images/base.html b/tests/reftests/images/base.html similarity index 86% rename from tests/cases/images/base.html rename to tests/reftests/images/base.html index b3c4f5e..98dd0a1 100644 --- a/tests/cases/images/base.html +++ b/tests/reftests/images/base.html @@ -4,7 +4,11 @@ External content tests - + diff --git a/tests/reftests/images/base.txt b/tests/reftests/images/base.txt new file mode 100644 index 0000000..294dbe2 --- /dev/null +++ b/tests/reftests/images/base.txt @@ -0,0 +1,16 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 700 32px Arial + [8, 22]: External + [143, 22]: image +Text: rgb(0,0,0) normal normal 700 32px Arial + [8, 278]: External + [143, 278]: image + [244, 278]: (using + [350, 278]: + [469, 278]: href) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 80) > Vector(x: 439, y: 80) > Vector(x: 434, y: 85) > Vector(x: 13, y: 85)) +Shape: rgb(0,0,0) Path (Vector(x: 439, y: 80) > Vector(x: 439, y: 253) > Vector(x: 434, y: 248) > Vector(x: 434, y: 85)) +Shape: rgb(0,0,0) Path (Vector(x: 439, y: 253) > Vector(x: 8, y: 253) > Vector(x: 13, y: 248) > Vector(x: 434, y: 248)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 253) > Vector(x: 8, y: 80) > Vector(x: 13, y: 85) > Vector(x: 13, y: 248)) \ No newline at end of file diff --git a/tests/cases/images/canvas.html b/tests/reftests/images/canvas.html similarity index 100% rename from tests/cases/images/canvas.html rename to tests/reftests/images/canvas.html diff --git a/tests/reftests/images/canvas.txt b/tests/reftests/images/canvas.txt new file mode 100644 index 0000000..2cb02a1 --- /dev/null +++ b/tests/reftests/images/canvas.txt @@ -0,0 +1,5 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 708, y: 8) > Vector(x: 708, y: 308) > Vector(x: 8, y: 308)) + Draw image: Canvas (source: [0, 0, 300, 150]) (destination: [0, 0, 300, 150]) \ No newline at end of file diff --git a/tests/cases/images/cross-origin.html b/tests/reftests/images/cross-origin.html similarity index 82% rename from tests/cases/images/cross-origin.html rename to tests/reftests/images/cross-origin.html index f29cc68..23f3ca0 100644 --- a/tests/cases/images/cross-origin.html +++ b/tests/reftests/images/cross-origin.html @@ -7,6 +7,11 @@ h2cOptions = {useCORS: true, proxy: null}; +

      External image (CORS)

      diff --git a/tests/reftests/images/cross-origin.txt b/tests/reftests/images/cross-origin.txt new file mode 100644 index 0000000..497cfc5 --- /dev/null +++ b/tests/reftests/images/cross-origin.txt @@ -0,0 +1,7 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 700 32px Arial + [8, 22]: External + [143, 22]: image + [244, 22]: (CORS) \ No newline at end of file diff --git a/tests/cases/images/empty.html b/tests/reftests/images/empty.html similarity index 86% rename from tests/cases/images/empty.html rename to tests/reftests/images/empty.html index b22cf79..cdfe356 100644 --- a/tests/cases/images/empty.html +++ b/tests/reftests/images/empty.html @@ -4,6 +4,11 @@ Image tests + Image without src attribute, should not crash: diff --git a/tests/reftests/images/empty.txt b/tests/reftests/images/empty.txt new file mode 100644 index 0000000..48fcd60 --- /dev/null +++ b/tests/reftests/images/empty.txt @@ -0,0 +1,32 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: Image + [57, 8]: without + [112, 8]: src + [138, 8]: attribute, + [204, 8]: should + [256, 8]: not + [283, 8]: crash: +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 78]: Image + [57, 78]: with + [90, 78]: broken + [143, 78]: src + [169, 78]: attribute, + [236, 78]: should + [287, 78]: not + [314, 78]: crash: +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 26) > Vector(x: 60, y: 26) > Vector(x: 59, y: 27) > Vector(x: 9, y: 27)) +Shape: rgb(255,0,0) Path (Vector(x: 60, y: 26) > Vector(x: 60, y: 78) > Vector(x: 59, y: 77) > Vector(x: 59, y: 27)) +Shape: rgb(255,0,0) Path (Vector(x: 60, y: 78) > Vector(x: 8, y: 78) > Vector(x: 9, y: 77) > Vector(x: 59, y: 77)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 78) > Vector(x: 8, y: 26) > Vector(x: 9, y: 27) > Vector(x: 9, y: 77)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 96) > Vector(x: 60, y: 96) > Vector(x: 59, y: 97) > Vector(x: 9, y: 97)) +Shape: rgb(255,0,0) Path (Vector(x: 60, y: 96) > Vector(x: 60, y: 148) > Vector(x: 59, y: 147) > Vector(x: 59, y: 97)) +Shape: rgb(255,0,0) Path (Vector(x: 60, y: 148) > Vector(x: 8, y: 148) > Vector(x: 9, y: 147) > Vector(x: 59, y: 147)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 148) > Vector(x: 8, y: 96) > Vector(x: 9, y: 97) > Vector(x: 9, y: 147)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 148) > Vector(x: 60, y: 148) > Vector(x: 59, y: 149) > Vector(x: 9, y: 149)) +Shape: rgb(255,0,0) Path (Vector(x: 60, y: 148) > Vector(x: 60, y: 200) > Vector(x: 59, y: 199) > Vector(x: 59, y: 149)) +Shape: rgb(255,0,0) Path (Vector(x: 60, y: 200) > Vector(x: 8, y: 200) > Vector(x: 9, y: 199) > Vector(x: 59, y: 199)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 200) > Vector(x: 8, y: 148) > Vector(x: 9, y: 149) > Vector(x: 9, y: 199)) \ No newline at end of file diff --git a/tests/cases/images/images.html b/tests/reftests/images/images.html similarity index 100% rename from tests/cases/images/images.html rename to tests/reftests/images/images.html diff --git a/tests/reftests/images/images.txt b/tests/reftests/images/images.txt new file mode 100644 index 0000000..4fce3b5 --- /dev/null +++ b/tests/reftests/images/images.txt @@ -0,0 +1,36 @@ +Window: [800, 703] +Rectangle: [0, 0, 800, 703] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 433) > Vector(x: 83, y: 433) > Vector(x: 83, y: 508) > Vector(x: 8, y: 508)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (Vector(x: 87, y: 108) > Vector(x: 137, y: 108) > Vector(x: 137, y: 508) > Vector(x: 87, y: 508)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (Vector(x: 141, y: 8) > Vector(x: 641, y: 8) > Vector(x: 641, y: 508) > Vector(x: 141, y: 508)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (BezierCurve(x0: 645, y0: 458, x1: 695, y1: 408, cx0: 645, cy0: 430, cx1: 667, cy1: 408) > BezierCurve(x0: 695, y0: 408, x1: 745, y1: 458, cx0: 723, cy0: 408, cx1: 745, cy1: 430) > BezierCurve(x0: 745, y0: 458, x1: 695, y1: 508, cx0: 745, cy0: 486, cx1: 723, cy1: 508) > BezierCurve(x0: 695, y0: 508, x1: 645, y1: 458, cx0: 667, cy0: 508, cx1: 645, cy1: 486)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (Vector(x: 8, y: 597) > Vector(x: 508, y: 597) > Vector(x: 508, y: 637) > Vector(x: 8, y: 637)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Shape: rgb(0,0,0) Path (Vector(x: 512, y: 512) > Vector(x: 637, y: 512) > Vector(x: 632, y: 517) > Vector(x: 517, y: 517)) +Shape: rgb(0,0,0) Path (Vector(x: 637, y: 512) > Vector(x: 637, y: 637) > Vector(x: 632, y: 632) > Vector(x: 632, y: 517)) +Shape: rgb(0,0,0) Path (Vector(x: 637, y: 637) > Vector(x: 512, y: 637) > Vector(x: 517, y: 632) > Vector(x: 632, y: 632)) +Shape: rgb(0,0,0) Path (Vector(x: 512, y: 637) > Vector(x: 512, y: 512) > Vector(x: 517, y: 517) > Vector(x: 517, y: 632)) +Clip: Path (Vector(x: 517, y: 517) > Vector(x: 632, y: 517) > Vector(x: 632, y: 632) > Vector(x: 517, y: 632)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Shape: rgb(0,0,0) Path (Vector(x: 641, y: 537) > Vector(x: 716, y: 537) > Vector(x: 716, y: 542) > Vector(x: 641, y: 542)) +Clip: Path (Vector(x: 641, y: 542) > Vector(x: 716, y: 542) > Vector(x: 716, y: 637) > Vector(x: 641, y: 637)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Shape: rgb(0,0,0) Path (Vector(x: 720, y: 562) > Vector(x: 770, y: 562) > Vector(x: 770, y: 567) > Vector(x: 720, y: 567)) +Clip: Path (Vector(x: 720, y: 567) > Vector(x: 770, y: 567) > Vector(x: 770, y: 637) > Vector(x: 720, y: 637)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 641) > Vector(x: 58, y: 641) > Vector(x: 58, y: 646) > Vector(x: 8, y: 646)) +Clip: Path (Vector(x: 8, y: 646) > Vector(x: 58, y: 646) > Vector(x: 58, y: 691) > Vector(x: 8, y: 691)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Shape: rgb(0,0,0) Path (Vector(x: 62, y: 689) > Vector(x: 64, y: 689) > Vector(x: 63, y: 690) > Vector(x: 63, y: 690)) +Shape: rgb(0,0,0) Path (Vector(x: 64, y: 689) > Vector(x: 64, y: 691) > Vector(x: 63, y: 690) > Vector(x: 63, y: 690)) +Shape: rgb(0,0,0) Path (Vector(x: 64, y: 691) > Vector(x: 62, y: 691) > Vector(x: 63, y: 690) > Vector(x: 63, y: 690)) +Shape: rgb(0,0,0) Path (Vector(x: 62, y: 691) > Vector(x: 62, y: 689) > Vector(x: 63, y: 690) > Vector(x: 63, y: 690)) +Clip: Path (Vector(x: 63, y: 690) > Vector(x: 63, y: 690) > Vector(x: 63, y: 690) > Vector(x: 63, y: 690)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (Vector(x: 68, y: 691) > Vector(x: 68, y: 691) > Vector(x: 68, y: 691) > Vector(x: 68, y: 691)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) \ No newline at end of file diff --git a/tests/cases/images/svg/base64.html b/tests/reftests/images/svg/base64.html similarity index 94% rename from tests/cases/images/svg/base64.html rename to tests/reftests/images/svg/base64.html index e52b478..c8f9af6 100644 --- a/tests/cases/images/svg/base64.html +++ b/tests/reftests/images/svg/base64.html @@ -4,6 +4,11 @@ Base64 svg +
      diff --git a/tests/reftests/images/svg/base64.txt b/tests/reftests/images/svg/base64.txt new file mode 100644 index 0000000..07f87a5 --- /dev/null +++ b/tests/reftests/images/svg/base64.txt @@ -0,0 +1,9 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: Inline + [51, 8]: svg + [80, 8]: image: +Clip: Path (Vector(x: 8, y: 26) > Vector(x: 208, y: 26) > Vector(x: 208, y: 226) > Vector(x: 8, y: 226)) + Draw image: Image ("/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53") (source: [0, 0, 306, 296]) (destination: [0, 0, 306, 296]) \ No newline at end of file diff --git a/tests/cases/images/svg/external.html b/tests/reftests/images/svg/external.html similarity index 79% rename from tests/cases/images/svg/external.html rename to tests/reftests/images/svg/external.html index 0ad3c68..536c1aa 100644 --- a/tests/cases/images/svg/external.html +++ b/tests/reftests/images/svg/external.html @@ -4,6 +4,11 @@ Image tests + SVG taints image:
      diff --git a/tests/reftests/images/svg/external.txt b/tests/reftests/images/svg/external.txt new file mode 100644 index 0000000..2497229 --- /dev/null +++ b/tests/reftests/images/svg/external.txt @@ -0,0 +1,9 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: SVG + [46, 8]: taints + [89, 8]: image: +Clip: Path (Vector(x: 8, y: 26) > Vector(x: 666, y: 26) > Vector(x: 666, y: 363) > Vector(x: 8, y: 363)) + Draw image: Image ("/tests/assets/image.svg") (source: [0, 0, 658, 337]) (destination: [0, 0, 658, 337]) \ No newline at end of file diff --git a/tests/cases/images/svg/inline.html b/tests/reftests/images/svg/inline.html similarity index 93% rename from tests/cases/images/svg/inline.html rename to tests/reftests/images/svg/inline.html index 8fb0f8d..9adcb06 100644 --- a/tests/cases/images/svg/inline.html +++ b/tests/reftests/images/svg/inline.html @@ -4,6 +4,11 @@ Inline svg +
      diff --git a/tests/reftests/images/svg/inline.txt b/tests/reftests/images/svg/inline.txt new file mode 100644 index 0000000..35ab8bb --- /dev/null +++ b/tests/reftests/images/svg/inline.txt @@ -0,0 +1,7 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: Inline + [51, 8]: svg + [80, 8]: image: \ No newline at end of file diff --git a/tests/cases/images/svg/native_only.html b/tests/reftests/images/svg/native_only.html similarity index 97% rename from tests/cases/images/svg/native_only.html rename to tests/reftests/images/svg/native_only.html index 14a45fe..8ab8f5d 100644 --- a/tests/cases/images/svg/native_only.html +++ b/tests/reftests/images/svg/native_only.html @@ -7,6 +7,11 @@ var noFabric = true; +
      diff --git a/tests/reftests/images/svg/native_only.txt b/tests/reftests/images/svg/native_only.txt new file mode 100644 index 0000000..93dfa3f --- /dev/null +++ b/tests/reftests/images/svg/native_only.txt @@ -0,0 +1,7 @@ +Window: [800, 656] +Rectangle: [0, 0, 800, 656] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 666, y: 8) > Vector(x: 666, y: 345) > Vector(x: 8, y: 345)) + Draw image: Image ("/tests/assets/image.svg") (source: [0, 0, 658, 337]) (destination: [0, 0, 658, 337]) +Clip: Path (Vector(x: 523, y: 445) > Vector(x: 723, y: 445) > Vector(x: 723, y: 645) > Vector(x: 523, y: 645)) + Draw image: Image ("/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53") (source: [0, 0, 306, 296]) (destination: [0, 0, 306, 296]) \ No newline at end of file diff --git a/tests/cases/images/svg/node.html b/tests/reftests/images/svg/node.html similarity index 93% rename from tests/cases/images/svg/node.html rename to tests/reftests/images/svg/node.html index 5faa7a5..f5e5469 100644 --- a/tests/cases/images/svg/node.html +++ b/tests/reftests/images/svg/node.html @@ -4,6 +4,11 @@ SVG node +
      SVG node image:
      diff --git a/tests/reftests/images/svg/node.txt b/tests/reftests/images/svg/node.txt new file mode 100644 index 0000000..3b0c45e --- /dev/null +++ b/tests/reftests/images/svg/node.txt @@ -0,0 +1,7 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: SVG + [46, 8]: node + [86, 8]: image: \ No newline at end of file diff --git a/tests/cases/list/decimal-leading-zero.html b/tests/reftests/list/decimal-leading-zero.html similarity index 100% rename from tests/cases/list/decimal-leading-zero.html rename to tests/reftests/list/decimal-leading-zero.html diff --git a/tests/reftests/list/decimal-leading-zero.txt b/tests/reftests/list/decimal-leading-zero.txt new file mode 100644 index 0000000..ee4798e --- /dev/null +++ b/tests/reftests/list/decimal-leading-zero.txt @@ -0,0 +1,603 @@ +Window: [800, 5216] +Rectangle: [0, 0, 800, 5216] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 8) > Vector(x: 150, y: 8) > Vector(x: 149, y: 9) > Vector(x: 49, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 8) > Vector(x: 150, y: 60) > Vector(x: 149, y: 59) > Vector(x: 149, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 48, y: 60) > Vector(x: 49, y: 59) > Vector(x: 149, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 48, y: 8) > Vector(x: 49, y: 9) > Vector(x: 49, y: 59)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 23]: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 150, y: 60) > Vector(x: 149, y: 61) > Vector(x: 49, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 150, y: 112) > Vector(x: 149, y: 111) > Vector(x: 149, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 48, y: 112) > Vector(x: 49, y: 111) > Vector(x: 149, y: 111)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 48, y: 60) > Vector(x: 49, y: 61) > Vector(x: 49, y: 111)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 75]: 2 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 150, y: 112) > Vector(x: 149, y: 113) > Vector(x: 49, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 150, y: 164) > Vector(x: 149, y: 163) > Vector(x: 149, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 48, y: 164) > Vector(x: 49, y: 163) > Vector(x: 149, y: 163)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 48, y: 112) > Vector(x: 49, y: 113) > Vector(x: 49, y: 163)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 127]: 3 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 150, y: 164) > Vector(x: 149, y: 165) > Vector(x: 49, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 150, y: 216) > Vector(x: 149, y: 215) > Vector(x: 149, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 48, y: 216) > Vector(x: 49, y: 215) > Vector(x: 149, y: 215)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 48, y: 164) > Vector(x: 49, y: 165) > Vector(x: 49, y: 215)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 179]: 4 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 150, y: 216) > Vector(x: 149, y: 217) > Vector(x: 49, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 150, y: 268) > Vector(x: 149, y: 267) > Vector(x: 149, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 48, y: 268) > Vector(x: 49, y: 267) > Vector(x: 149, y: 267)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 48, y: 216) > Vector(x: 49, y: 217) > Vector(x: 49, y: 267)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 231]: 5 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 150, y: 268) > Vector(x: 149, y: 269) > Vector(x: 49, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 150, y: 320) > Vector(x: 149, y: 319) > Vector(x: 149, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 48, y: 320) > Vector(x: 49, y: 319) > Vector(x: 149, y: 319)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 48, y: 268) > Vector(x: 49, y: 269) > Vector(x: 49, y: 319)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 283]: 6 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 150, y: 320) > Vector(x: 149, y: 321) > Vector(x: 49, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 150, y: 372) > Vector(x: 149, y: 371) > Vector(x: 149, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 48, y: 372) > Vector(x: 49, y: 371) > Vector(x: 149, y: 371)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 48, y: 320) > Vector(x: 49, y: 321) > Vector(x: 49, y: 371)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 335]: 7 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 150, y: 372) > Vector(x: 149, y: 373) > Vector(x: 49, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 150, y: 424) > Vector(x: 149, y: 423) > Vector(x: 149, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 48, y: 424) > Vector(x: 49, y: 423) > Vector(x: 149, y: 423)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 48, y: 372) > Vector(x: 49, y: 373) > Vector(x: 49, y: 423)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 387]: 8 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 150, y: 424) > Vector(x: 149, y: 425) > Vector(x: 49, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 150, y: 476) > Vector(x: 149, y: 475) > Vector(x: 149, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 48, y: 476) > Vector(x: 49, y: 475) > Vector(x: 149, y: 475)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 48, y: 424) > Vector(x: 49, y: 425) > Vector(x: 49, y: 475)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 439]: 9 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 150, y: 476) > Vector(x: 149, y: 477) > Vector(x: 49, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 150, y: 528) > Vector(x: 149, y: 527) > Vector(x: 149, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 48, y: 528) > Vector(x: 49, y: 527) > Vector(x: 149, y: 527)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 48, y: 476) > Vector(x: 49, y: 477) > Vector(x: 49, y: 527)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 491]: 10 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 150, y: 528) > Vector(x: 149, y: 529) > Vector(x: 49, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 150, y: 580) > Vector(x: 149, y: 579) > Vector(x: 149, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 48, y: 580) > Vector(x: 49, y: 579) > Vector(x: 149, y: 579)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 48, y: 528) > Vector(x: 49, y: 529) > Vector(x: 49, y: 579)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 543]: 11 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 150, y: 580) > Vector(x: 149, y: 581) > Vector(x: 49, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 150, y: 632) > Vector(x: 149, y: 631) > Vector(x: 149, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 48, y: 632) > Vector(x: 49, y: 631) > Vector(x: 149, y: 631)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 48, y: 580) > Vector(x: 49, y: 581) > Vector(x: 49, y: 631)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 595]: 12 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 150, y: 632) > Vector(x: 149, y: 633) > Vector(x: 49, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 150, y: 684) > Vector(x: 149, y: 683) > Vector(x: 149, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 48, y: 684) > Vector(x: 49, y: 683) > Vector(x: 149, y: 683)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 48, y: 632) > Vector(x: 49, y: 633) > Vector(x: 49, y: 683)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 647]: 13 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 150, y: 684) > Vector(x: 149, y: 685) > Vector(x: 49, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 150, y: 736) > Vector(x: 149, y: 735) > Vector(x: 149, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 48, y: 736) > Vector(x: 49, y: 735) > Vector(x: 149, y: 735)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 48, y: 684) > Vector(x: 49, y: 685) > Vector(x: 49, y: 735)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 699]: 14 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 150, y: 736) > Vector(x: 149, y: 737) > Vector(x: 49, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 150, y: 788) > Vector(x: 149, y: 787) > Vector(x: 149, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 48, y: 788) > Vector(x: 49, y: 787) > Vector(x: 149, y: 787)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 48, y: 736) > Vector(x: 49, y: 737) > Vector(x: 49, y: 787)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 751]: 15 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 150, y: 788) > Vector(x: 149, y: 789) > Vector(x: 49, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 150, y: 840) > Vector(x: 149, y: 839) > Vector(x: 149, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 48, y: 840) > Vector(x: 49, y: 839) > Vector(x: 149, y: 839)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 48, y: 788) > Vector(x: 49, y: 789) > Vector(x: 49, y: 839)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 803]: 16 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 150, y: 840) > Vector(x: 149, y: 841) > Vector(x: 49, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 150, y: 892) > Vector(x: 149, y: 891) > Vector(x: 149, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 48, y: 892) > Vector(x: 49, y: 891) > Vector(x: 149, y: 891)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 48, y: 840) > Vector(x: 49, y: 841) > Vector(x: 49, y: 891)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 855]: 17 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 150, y: 892) > Vector(x: 149, y: 893) > Vector(x: 49, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 150, y: 944) > Vector(x: 149, y: 943) > Vector(x: 149, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 48, y: 944) > Vector(x: 49, y: 943) > Vector(x: 149, y: 943)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 48, y: 892) > Vector(x: 49, y: 893) > Vector(x: 49, y: 943)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 907]: 18 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 150, y: 944) > Vector(x: 149, y: 945) > Vector(x: 49, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 150, y: 996) > Vector(x: 149, y: 995) > Vector(x: 149, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 48, y: 996) > Vector(x: 49, y: 995) > Vector(x: 149, y: 995)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 48, y: 944) > Vector(x: 49, y: 945) > Vector(x: 49, y: 995)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 959]: 19 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 150, y: 996) > Vector(x: 149, y: 997) > Vector(x: 49, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1047) > Vector(x: 149, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1047) > Vector(x: 149, y: 1047)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 48, y: 996) > Vector(x: 49, y: 997) > Vector(x: 49, y: 1047)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1011]: 20 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1049) > Vector(x: 49, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1099) > Vector(x: 149, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1099) > Vector(x: 149, y: 1099)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1049) > Vector(x: 49, y: 1099)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1063]: 21 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1101) > Vector(x: 49, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1151) > Vector(x: 149, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1151) > Vector(x: 149, y: 1151)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1101) > Vector(x: 49, y: 1151)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1115]: 22 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1153) > Vector(x: 49, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1203) > Vector(x: 149, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1203) > Vector(x: 149, y: 1203)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1153) > Vector(x: 49, y: 1203)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1167]: 23 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1205) > Vector(x: 49, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1255) > Vector(x: 149, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1255) > Vector(x: 149, y: 1255)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1205) > Vector(x: 49, y: 1255)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1219]: 24 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1257) > Vector(x: 49, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1307) > Vector(x: 149, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1307) > Vector(x: 149, y: 1307)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1257) > Vector(x: 49, y: 1307)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1271]: 25 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1309) > Vector(x: 49, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1359) > Vector(x: 149, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1359) > Vector(x: 149, y: 1359)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1309) > Vector(x: 49, y: 1359)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1323]: 26 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1361) > Vector(x: 49, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1411) > Vector(x: 149, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1411) > Vector(x: 149, y: 1411)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1361) > Vector(x: 49, y: 1411)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1375]: 27 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1413) > Vector(x: 49, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1463) > Vector(x: 149, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1463) > Vector(x: 149, y: 1463)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1413) > Vector(x: 49, y: 1463)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1427]: 28 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1465) > Vector(x: 49, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1515) > Vector(x: 149, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1515) > Vector(x: 149, y: 1515)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1465) > Vector(x: 49, y: 1515)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1479]: 29 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1517) > Vector(x: 49, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1567) > Vector(x: 149, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1567) > Vector(x: 149, y: 1567)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1517) > Vector(x: 49, y: 1567)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1531]: 30 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1569) > Vector(x: 49, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1619) > Vector(x: 149, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1619) > Vector(x: 149, y: 1619)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1569) > Vector(x: 49, y: 1619)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1583]: 31 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1621) > Vector(x: 49, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1671) > Vector(x: 149, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1671) > Vector(x: 149, y: 1671)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1621) > Vector(x: 49, y: 1671)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1635]: 32 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1673) > Vector(x: 49, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1723) > Vector(x: 149, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1723) > Vector(x: 149, y: 1723)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1673) > Vector(x: 49, y: 1723)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1687]: 33 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1725) > Vector(x: 49, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1775) > Vector(x: 149, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1775) > Vector(x: 149, y: 1775)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1725) > Vector(x: 49, y: 1775)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1739]: 34 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1777) > Vector(x: 49, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1827) > Vector(x: 149, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1827) > Vector(x: 149, y: 1827)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1777) > Vector(x: 49, y: 1827)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1791]: 35 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1829) > Vector(x: 49, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1879) > Vector(x: 149, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1879) > Vector(x: 149, y: 1879)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1829) > Vector(x: 49, y: 1879)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1843]: 36 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1881) > Vector(x: 49, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 150, y: 1932) > Vector(x: 149, y: 1931) > Vector(x: 149, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1932) > Vector(x: 48, y: 1932) > Vector(x: 49, y: 1931) > Vector(x: 149, y: 1931)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1932) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1881) > Vector(x: 49, y: 1931)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1895]: 37 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1932) > Vector(x: 150, y: 1932) > Vector(x: 149, y: 1933) > Vector(x: 49, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1932) > Vector(x: 150, y: 1984) > Vector(x: 149, y: 1983) > Vector(x: 149, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1984) > Vector(x: 48, y: 1984) > Vector(x: 49, y: 1983) > Vector(x: 149, y: 1983)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1984) > Vector(x: 48, y: 1932) > Vector(x: 49, y: 1933) > Vector(x: 49, y: 1983)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1947]: 38 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1984) > Vector(x: 150, y: 1984) > Vector(x: 149, y: 1985) > Vector(x: 49, y: 1985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1984) > Vector(x: 150, y: 2036) > Vector(x: 149, y: 2035) > Vector(x: 149, y: 1985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2036) > Vector(x: 48, y: 2036) > Vector(x: 49, y: 2035) > Vector(x: 149, y: 2035)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2036) > Vector(x: 48, y: 1984) > Vector(x: 49, y: 1985) > Vector(x: 49, y: 2035)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1999]: 39 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2036) > Vector(x: 150, y: 2036) > Vector(x: 149, y: 2037) > Vector(x: 49, y: 2037)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2036) > Vector(x: 150, y: 2088) > Vector(x: 149, y: 2087) > Vector(x: 149, y: 2037)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2088) > Vector(x: 48, y: 2088) > Vector(x: 49, y: 2087) > Vector(x: 149, y: 2087)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2088) > Vector(x: 48, y: 2036) > Vector(x: 49, y: 2037) > Vector(x: 49, y: 2087)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2051]: 40 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2088) > Vector(x: 150, y: 2088) > Vector(x: 149, y: 2089) > Vector(x: 49, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2088) > Vector(x: 150, y: 2140) > Vector(x: 149, y: 2139) > Vector(x: 149, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2140) > Vector(x: 48, y: 2140) > Vector(x: 49, y: 2139) > Vector(x: 149, y: 2139)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2140) > Vector(x: 48, y: 2088) > Vector(x: 49, y: 2089) > Vector(x: 49, y: 2139)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2103]: 41 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2140) > Vector(x: 150, y: 2140) > Vector(x: 149, y: 2141) > Vector(x: 49, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2140) > Vector(x: 150, y: 2192) > Vector(x: 149, y: 2191) > Vector(x: 149, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2192) > Vector(x: 48, y: 2192) > Vector(x: 49, y: 2191) > Vector(x: 149, y: 2191)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2192) > Vector(x: 48, y: 2140) > Vector(x: 49, y: 2141) > Vector(x: 49, y: 2191)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2155]: 42 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2192) > Vector(x: 150, y: 2192) > Vector(x: 149, y: 2193) > Vector(x: 49, y: 2193)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2192) > Vector(x: 150, y: 2244) > Vector(x: 149, y: 2243) > Vector(x: 149, y: 2193)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2244) > Vector(x: 48, y: 2244) > Vector(x: 49, y: 2243) > Vector(x: 149, y: 2243)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2244) > Vector(x: 48, y: 2192) > Vector(x: 49, y: 2193) > Vector(x: 49, y: 2243)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2207]: 43 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2244) > Vector(x: 150, y: 2244) > Vector(x: 149, y: 2245) > Vector(x: 49, y: 2245)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2244) > Vector(x: 150, y: 2296) > Vector(x: 149, y: 2295) > Vector(x: 149, y: 2245)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2296) > Vector(x: 48, y: 2296) > Vector(x: 49, y: 2295) > Vector(x: 149, y: 2295)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2296) > Vector(x: 48, y: 2244) > Vector(x: 49, y: 2245) > Vector(x: 49, y: 2295)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2259]: 44 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2296) > Vector(x: 150, y: 2296) > Vector(x: 149, y: 2297) > Vector(x: 49, y: 2297)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2296) > Vector(x: 150, y: 2348) > Vector(x: 149, y: 2347) > Vector(x: 149, y: 2297)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2348) > Vector(x: 48, y: 2348) > Vector(x: 49, y: 2347) > Vector(x: 149, y: 2347)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2348) > Vector(x: 48, y: 2296) > Vector(x: 49, y: 2297) > Vector(x: 49, y: 2347)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2311]: 45 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2348) > Vector(x: 150, y: 2348) > Vector(x: 149, y: 2349) > Vector(x: 49, y: 2349)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2348) > Vector(x: 150, y: 2400) > Vector(x: 149, y: 2399) > Vector(x: 149, y: 2349)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2400) > Vector(x: 48, y: 2400) > Vector(x: 49, y: 2399) > Vector(x: 149, y: 2399)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2400) > Vector(x: 48, y: 2348) > Vector(x: 49, y: 2349) > Vector(x: 49, y: 2399)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2363]: 46 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2400) > Vector(x: 150, y: 2400) > Vector(x: 149, y: 2401) > Vector(x: 49, y: 2401)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2400) > Vector(x: 150, y: 2452) > Vector(x: 149, y: 2451) > Vector(x: 149, y: 2401)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2452) > Vector(x: 48, y: 2452) > Vector(x: 49, y: 2451) > Vector(x: 149, y: 2451)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2452) > Vector(x: 48, y: 2400) > Vector(x: 49, y: 2401) > Vector(x: 49, y: 2451)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2415]: 47 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2452) > Vector(x: 150, y: 2452) > Vector(x: 149, y: 2453) > Vector(x: 49, y: 2453)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2452) > Vector(x: 150, y: 2504) > Vector(x: 149, y: 2503) > Vector(x: 149, y: 2453)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2504) > Vector(x: 48, y: 2504) > Vector(x: 49, y: 2503) > Vector(x: 149, y: 2503)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2504) > Vector(x: 48, y: 2452) > Vector(x: 49, y: 2453) > Vector(x: 49, y: 2503)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2467]: 48 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2504) > Vector(x: 150, y: 2504) > Vector(x: 149, y: 2505) > Vector(x: 49, y: 2505)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2504) > Vector(x: 150, y: 2556) > Vector(x: 149, y: 2555) > Vector(x: 149, y: 2505)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2556) > Vector(x: 48, y: 2556) > Vector(x: 49, y: 2555) > Vector(x: 149, y: 2555)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2556) > Vector(x: 48, y: 2504) > Vector(x: 49, y: 2505) > Vector(x: 49, y: 2555)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2519]: 49 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2556) > Vector(x: 150, y: 2556) > Vector(x: 149, y: 2557) > Vector(x: 49, y: 2557)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2556) > Vector(x: 150, y: 2608) > Vector(x: 149, y: 2607) > Vector(x: 149, y: 2557)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2608) > Vector(x: 48, y: 2608) > Vector(x: 49, y: 2607) > Vector(x: 149, y: 2607)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2608) > Vector(x: 48, y: 2556) > Vector(x: 49, y: 2557) > Vector(x: 49, y: 2607)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2571]: 50 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2608) > Vector(x: 150, y: 2608) > Vector(x: 149, y: 2609) > Vector(x: 49, y: 2609)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2608) > Vector(x: 150, y: 2660) > Vector(x: 149, y: 2659) > Vector(x: 149, y: 2609)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2660) > Vector(x: 48, y: 2660) > Vector(x: 49, y: 2659) > Vector(x: 149, y: 2659)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2660) > Vector(x: 48, y: 2608) > Vector(x: 49, y: 2609) > Vector(x: 49, y: 2659)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2623]: 51 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2660) > Vector(x: 150, y: 2660) > Vector(x: 149, y: 2661) > Vector(x: 49, y: 2661)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2660) > Vector(x: 150, y: 2712) > Vector(x: 149, y: 2711) > Vector(x: 149, y: 2661)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2712) > Vector(x: 48, y: 2712) > Vector(x: 49, y: 2711) > Vector(x: 149, y: 2711)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2712) > Vector(x: 48, y: 2660) > Vector(x: 49, y: 2661) > Vector(x: 49, y: 2711)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2675]: 52 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2712) > Vector(x: 150, y: 2712) > Vector(x: 149, y: 2713) > Vector(x: 49, y: 2713)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2712) > Vector(x: 150, y: 2764) > Vector(x: 149, y: 2763) > Vector(x: 149, y: 2713)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2764) > Vector(x: 48, y: 2764) > Vector(x: 49, y: 2763) > Vector(x: 149, y: 2763)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2764) > Vector(x: 48, y: 2712) > Vector(x: 49, y: 2713) > Vector(x: 49, y: 2763)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2727]: 53 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2764) > Vector(x: 150, y: 2764) > Vector(x: 149, y: 2765) > Vector(x: 49, y: 2765)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2764) > Vector(x: 150, y: 2816) > Vector(x: 149, y: 2815) > Vector(x: 149, y: 2765)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2816) > Vector(x: 48, y: 2816) > Vector(x: 49, y: 2815) > Vector(x: 149, y: 2815)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2816) > Vector(x: 48, y: 2764) > Vector(x: 49, y: 2765) > Vector(x: 49, y: 2815)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2779]: 54 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2816) > Vector(x: 150, y: 2816) > Vector(x: 149, y: 2817) > Vector(x: 49, y: 2817)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2816) > Vector(x: 150, y: 2868) > Vector(x: 149, y: 2867) > Vector(x: 149, y: 2817)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2868) > Vector(x: 48, y: 2868) > Vector(x: 49, y: 2867) > Vector(x: 149, y: 2867)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2868) > Vector(x: 48, y: 2816) > Vector(x: 49, y: 2817) > Vector(x: 49, y: 2867)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2831]: 55 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2868) > Vector(x: 150, y: 2868) > Vector(x: 149, y: 2869) > Vector(x: 49, y: 2869)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2868) > Vector(x: 150, y: 2920) > Vector(x: 149, y: 2919) > Vector(x: 149, y: 2869)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2920) > Vector(x: 48, y: 2920) > Vector(x: 49, y: 2919) > Vector(x: 149, y: 2919)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2920) > Vector(x: 48, y: 2868) > Vector(x: 49, y: 2869) > Vector(x: 49, y: 2919)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2883]: 56 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2920) > Vector(x: 150, y: 2920) > Vector(x: 149, y: 2921) > Vector(x: 49, y: 2921)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2920) > Vector(x: 150, y: 2972) > Vector(x: 149, y: 2971) > Vector(x: 149, y: 2921)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2972) > Vector(x: 48, y: 2972) > Vector(x: 49, y: 2971) > Vector(x: 149, y: 2971)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2972) > Vector(x: 48, y: 2920) > Vector(x: 49, y: 2921) > Vector(x: 49, y: 2971)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2935]: 57 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2972) > Vector(x: 150, y: 2972) > Vector(x: 149, y: 2973) > Vector(x: 49, y: 2973)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2972) > Vector(x: 150, y: 3024) > Vector(x: 149, y: 3023) > Vector(x: 149, y: 2973)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3024) > Vector(x: 48, y: 3024) > Vector(x: 49, y: 3023) > Vector(x: 149, y: 3023)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3024) > Vector(x: 48, y: 2972) > Vector(x: 49, y: 2973) > Vector(x: 49, y: 3023)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2987]: 58 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3024) > Vector(x: 150, y: 3024) > Vector(x: 149, y: 3025) > Vector(x: 49, y: 3025)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3024) > Vector(x: 150, y: 3076) > Vector(x: 149, y: 3075) > Vector(x: 149, y: 3025)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3076) > Vector(x: 48, y: 3076) > Vector(x: 49, y: 3075) > Vector(x: 149, y: 3075)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3076) > Vector(x: 48, y: 3024) > Vector(x: 49, y: 3025) > Vector(x: 49, y: 3075)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3039]: 59 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3076) > Vector(x: 150, y: 3076) > Vector(x: 149, y: 3077) > Vector(x: 49, y: 3077)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3076) > Vector(x: 150, y: 3128) > Vector(x: 149, y: 3127) > Vector(x: 149, y: 3077)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3128) > Vector(x: 48, y: 3128) > Vector(x: 49, y: 3127) > Vector(x: 149, y: 3127)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3128) > Vector(x: 48, y: 3076) > Vector(x: 49, y: 3077) > Vector(x: 49, y: 3127)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3091]: 60 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3128) > Vector(x: 150, y: 3128) > Vector(x: 149, y: 3129) > Vector(x: 49, y: 3129)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3128) > Vector(x: 150, y: 3180) > Vector(x: 149, y: 3179) > Vector(x: 149, y: 3129)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3180) > Vector(x: 48, y: 3180) > Vector(x: 49, y: 3179) > Vector(x: 149, y: 3179)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3180) > Vector(x: 48, y: 3128) > Vector(x: 49, y: 3129) > Vector(x: 49, y: 3179)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3143]: 61 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3180) > Vector(x: 150, y: 3180) > Vector(x: 149, y: 3181) > Vector(x: 49, y: 3181)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3180) > Vector(x: 150, y: 3232) > Vector(x: 149, y: 3231) > Vector(x: 149, y: 3181)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3232) > Vector(x: 48, y: 3232) > Vector(x: 49, y: 3231) > Vector(x: 149, y: 3231)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3232) > Vector(x: 48, y: 3180) > Vector(x: 49, y: 3181) > Vector(x: 49, y: 3231)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3195]: 62 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3232) > Vector(x: 150, y: 3232) > Vector(x: 149, y: 3233) > Vector(x: 49, y: 3233)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3232) > Vector(x: 150, y: 3284) > Vector(x: 149, y: 3283) > Vector(x: 149, y: 3233)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3284) > Vector(x: 48, y: 3284) > Vector(x: 49, y: 3283) > Vector(x: 149, y: 3283)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3284) > Vector(x: 48, y: 3232) > Vector(x: 49, y: 3233) > Vector(x: 49, y: 3283)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3247]: 63 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3284) > Vector(x: 150, y: 3284) > Vector(x: 149, y: 3285) > Vector(x: 49, y: 3285)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3284) > Vector(x: 150, y: 3336) > Vector(x: 149, y: 3335) > Vector(x: 149, y: 3285)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3336) > Vector(x: 48, y: 3336) > Vector(x: 49, y: 3335) > Vector(x: 149, y: 3335)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3336) > Vector(x: 48, y: 3284) > Vector(x: 49, y: 3285) > Vector(x: 49, y: 3335)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3299]: 64 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3336) > Vector(x: 150, y: 3336) > Vector(x: 149, y: 3337) > Vector(x: 49, y: 3337)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3336) > Vector(x: 150, y: 3388) > Vector(x: 149, y: 3387) > Vector(x: 149, y: 3337)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3388) > Vector(x: 48, y: 3388) > Vector(x: 49, y: 3387) > Vector(x: 149, y: 3387)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3388) > Vector(x: 48, y: 3336) > Vector(x: 49, y: 3337) > Vector(x: 49, y: 3387)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3351]: 65 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3388) > Vector(x: 150, y: 3388) > Vector(x: 149, y: 3389) > Vector(x: 49, y: 3389)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3388) > Vector(x: 150, y: 3440) > Vector(x: 149, y: 3439) > Vector(x: 149, y: 3389)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3440) > Vector(x: 48, y: 3440) > Vector(x: 49, y: 3439) > Vector(x: 149, y: 3439)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3440) > Vector(x: 48, y: 3388) > Vector(x: 49, y: 3389) > Vector(x: 49, y: 3439)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3403]: 66 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3440) > Vector(x: 150, y: 3440) > Vector(x: 149, y: 3441) > Vector(x: 49, y: 3441)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3440) > Vector(x: 150, y: 3492) > Vector(x: 149, y: 3491) > Vector(x: 149, y: 3441)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3492) > Vector(x: 48, y: 3492) > Vector(x: 49, y: 3491) > Vector(x: 149, y: 3491)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3492) > Vector(x: 48, y: 3440) > Vector(x: 49, y: 3441) > Vector(x: 49, y: 3491)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3455]: 67 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3492) > Vector(x: 150, y: 3492) > Vector(x: 149, y: 3493) > Vector(x: 49, y: 3493)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3492) > Vector(x: 150, y: 3544) > Vector(x: 149, y: 3543) > Vector(x: 149, y: 3493)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3544) > Vector(x: 48, y: 3544) > Vector(x: 49, y: 3543) > Vector(x: 149, y: 3543)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3544) > Vector(x: 48, y: 3492) > Vector(x: 49, y: 3493) > Vector(x: 49, y: 3543)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3507]: 68 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3544) > Vector(x: 150, y: 3544) > Vector(x: 149, y: 3545) > Vector(x: 49, y: 3545)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3544) > Vector(x: 150, y: 3596) > Vector(x: 149, y: 3595) > Vector(x: 149, y: 3545)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3596) > Vector(x: 48, y: 3596) > Vector(x: 49, y: 3595) > Vector(x: 149, y: 3595)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3596) > Vector(x: 48, y: 3544) > Vector(x: 49, y: 3545) > Vector(x: 49, y: 3595)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3559]: 69 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3596) > Vector(x: 150, y: 3596) > Vector(x: 149, y: 3597) > Vector(x: 49, y: 3597)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3596) > Vector(x: 150, y: 3648) > Vector(x: 149, y: 3647) > Vector(x: 149, y: 3597)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3648) > Vector(x: 48, y: 3648) > Vector(x: 49, y: 3647) > Vector(x: 149, y: 3647)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3648) > Vector(x: 48, y: 3596) > Vector(x: 49, y: 3597) > Vector(x: 49, y: 3647)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3611]: 70 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3648) > Vector(x: 150, y: 3648) > Vector(x: 149, y: 3649) > Vector(x: 49, y: 3649)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3648) > Vector(x: 150, y: 3700) > Vector(x: 149, y: 3699) > Vector(x: 149, y: 3649)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3700) > Vector(x: 48, y: 3700) > Vector(x: 49, y: 3699) > Vector(x: 149, y: 3699)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3700) > Vector(x: 48, y: 3648) > Vector(x: 49, y: 3649) > Vector(x: 49, y: 3699)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3663]: 71 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3700) > Vector(x: 150, y: 3700) > Vector(x: 149, y: 3701) > Vector(x: 49, y: 3701)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3700) > Vector(x: 150, y: 3752) > Vector(x: 149, y: 3751) > Vector(x: 149, y: 3701)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3752) > Vector(x: 48, y: 3752) > Vector(x: 49, y: 3751) > Vector(x: 149, y: 3751)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3752) > Vector(x: 48, y: 3700) > Vector(x: 49, y: 3701) > Vector(x: 49, y: 3751)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3715]: 72 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3752) > Vector(x: 150, y: 3752) > Vector(x: 149, y: 3753) > Vector(x: 49, y: 3753)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3752) > Vector(x: 150, y: 3804) > Vector(x: 149, y: 3803) > Vector(x: 149, y: 3753)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3804) > Vector(x: 48, y: 3804) > Vector(x: 49, y: 3803) > Vector(x: 149, y: 3803)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3804) > Vector(x: 48, y: 3752) > Vector(x: 49, y: 3753) > Vector(x: 49, y: 3803)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3767]: 73 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3804) > Vector(x: 150, y: 3804) > Vector(x: 149, y: 3805) > Vector(x: 49, y: 3805)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3804) > Vector(x: 150, y: 3856) > Vector(x: 149, y: 3855) > Vector(x: 149, y: 3805)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3856) > Vector(x: 48, y: 3856) > Vector(x: 49, y: 3855) > Vector(x: 149, y: 3855)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3856) > Vector(x: 48, y: 3804) > Vector(x: 49, y: 3805) > Vector(x: 49, y: 3855)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3819]: 74 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3856) > Vector(x: 150, y: 3856) > Vector(x: 149, y: 3857) > Vector(x: 49, y: 3857)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3856) > Vector(x: 150, y: 3908) > Vector(x: 149, y: 3907) > Vector(x: 149, y: 3857)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3908) > Vector(x: 48, y: 3908) > Vector(x: 49, y: 3907) > Vector(x: 149, y: 3907)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3908) > Vector(x: 48, y: 3856) > Vector(x: 49, y: 3857) > Vector(x: 49, y: 3907)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3871]: 75 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3908) > Vector(x: 150, y: 3908) > Vector(x: 149, y: 3909) > Vector(x: 49, y: 3909)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3908) > Vector(x: 150, y: 3960) > Vector(x: 149, y: 3959) > Vector(x: 149, y: 3909)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3960) > Vector(x: 48, y: 3960) > Vector(x: 49, y: 3959) > Vector(x: 149, y: 3959)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3960) > Vector(x: 48, y: 3908) > Vector(x: 49, y: 3909) > Vector(x: 49, y: 3959)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3923]: 76 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3960) > Vector(x: 150, y: 3960) > Vector(x: 149, y: 3961) > Vector(x: 49, y: 3961)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3960) > Vector(x: 150, y: 4012) > Vector(x: 149, y: 4011) > Vector(x: 149, y: 3961)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4012) > Vector(x: 48, y: 4012) > Vector(x: 49, y: 4011) > Vector(x: 149, y: 4011)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4012) > Vector(x: 48, y: 3960) > Vector(x: 49, y: 3961) > Vector(x: 49, y: 4011)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3975]: 77 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4012) > Vector(x: 150, y: 4012) > Vector(x: 149, y: 4013) > Vector(x: 49, y: 4013)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4012) > Vector(x: 150, y: 4064) > Vector(x: 149, y: 4063) > Vector(x: 149, y: 4013)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4064) > Vector(x: 48, y: 4064) > Vector(x: 49, y: 4063) > Vector(x: 149, y: 4063)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4064) > Vector(x: 48, y: 4012) > Vector(x: 49, y: 4013) > Vector(x: 49, y: 4063)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4027]: 78 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4064) > Vector(x: 150, y: 4064) > Vector(x: 149, y: 4065) > Vector(x: 49, y: 4065)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4064) > Vector(x: 150, y: 4116) > Vector(x: 149, y: 4115) > Vector(x: 149, y: 4065)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4116) > Vector(x: 48, y: 4116) > Vector(x: 49, y: 4115) > Vector(x: 149, y: 4115)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4116) > Vector(x: 48, y: 4064) > Vector(x: 49, y: 4065) > Vector(x: 49, y: 4115)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4079]: 79 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4116) > Vector(x: 150, y: 4116) > Vector(x: 149, y: 4117) > Vector(x: 49, y: 4117)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4116) > Vector(x: 150, y: 4168) > Vector(x: 149, y: 4167) > Vector(x: 149, y: 4117)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4168) > Vector(x: 48, y: 4168) > Vector(x: 49, y: 4167) > Vector(x: 149, y: 4167)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4168) > Vector(x: 48, y: 4116) > Vector(x: 49, y: 4117) > Vector(x: 49, y: 4167)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4131]: 80 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4168) > Vector(x: 150, y: 4168) > Vector(x: 149, y: 4169) > Vector(x: 49, y: 4169)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4168) > Vector(x: 150, y: 4220) > Vector(x: 149, y: 4219) > Vector(x: 149, y: 4169)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4220) > Vector(x: 48, y: 4220) > Vector(x: 49, y: 4219) > Vector(x: 149, y: 4219)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4220) > Vector(x: 48, y: 4168) > Vector(x: 49, y: 4169) > Vector(x: 49, y: 4219)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4183]: 81 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4220) > Vector(x: 150, y: 4220) > Vector(x: 149, y: 4221) > Vector(x: 49, y: 4221)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4220) > Vector(x: 150, y: 4272) > Vector(x: 149, y: 4271) > Vector(x: 149, y: 4221)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4272) > Vector(x: 48, y: 4272) > Vector(x: 49, y: 4271) > Vector(x: 149, y: 4271)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4272) > Vector(x: 48, y: 4220) > Vector(x: 49, y: 4221) > Vector(x: 49, y: 4271)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4235]: 82 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4272) > Vector(x: 150, y: 4272) > Vector(x: 149, y: 4273) > Vector(x: 49, y: 4273)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4272) > Vector(x: 150, y: 4324) > Vector(x: 149, y: 4323) > Vector(x: 149, y: 4273)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4324) > Vector(x: 48, y: 4324) > Vector(x: 49, y: 4323) > Vector(x: 149, y: 4323)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4324) > Vector(x: 48, y: 4272) > Vector(x: 49, y: 4273) > Vector(x: 49, y: 4323)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4287]: 83 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4324) > Vector(x: 150, y: 4324) > Vector(x: 149, y: 4325) > Vector(x: 49, y: 4325)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4324) > Vector(x: 150, y: 4376) > Vector(x: 149, y: 4375) > Vector(x: 149, y: 4325)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4376) > Vector(x: 48, y: 4376) > Vector(x: 49, y: 4375) > Vector(x: 149, y: 4375)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4376) > Vector(x: 48, y: 4324) > Vector(x: 49, y: 4325) > Vector(x: 49, y: 4375)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4339]: 84 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4376) > Vector(x: 150, y: 4376) > Vector(x: 149, y: 4377) > Vector(x: 49, y: 4377)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4376) > Vector(x: 150, y: 4428) > Vector(x: 149, y: 4427) > Vector(x: 149, y: 4377)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4428) > Vector(x: 48, y: 4428) > Vector(x: 49, y: 4427) > Vector(x: 149, y: 4427)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4428) > Vector(x: 48, y: 4376) > Vector(x: 49, y: 4377) > Vector(x: 49, y: 4427)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4391]: 85 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4428) > Vector(x: 150, y: 4428) > Vector(x: 149, y: 4429) > Vector(x: 49, y: 4429)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4428) > Vector(x: 150, y: 4480) > Vector(x: 149, y: 4479) > Vector(x: 149, y: 4429)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4480) > Vector(x: 48, y: 4480) > Vector(x: 49, y: 4479) > Vector(x: 149, y: 4479)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4480) > Vector(x: 48, y: 4428) > Vector(x: 49, y: 4429) > Vector(x: 49, y: 4479)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4443]: 86 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4480) > Vector(x: 150, y: 4480) > Vector(x: 149, y: 4481) > Vector(x: 49, y: 4481)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4480) > Vector(x: 150, y: 4532) > Vector(x: 149, y: 4531) > Vector(x: 149, y: 4481)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4532) > Vector(x: 48, y: 4532) > Vector(x: 49, y: 4531) > Vector(x: 149, y: 4531)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4532) > Vector(x: 48, y: 4480) > Vector(x: 49, y: 4481) > Vector(x: 49, y: 4531)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4495]: 87 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4532) > Vector(x: 150, y: 4532) > Vector(x: 149, y: 4533) > Vector(x: 49, y: 4533)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4532) > Vector(x: 150, y: 4584) > Vector(x: 149, y: 4583) > Vector(x: 149, y: 4533)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4584) > Vector(x: 48, y: 4584) > Vector(x: 49, y: 4583) > Vector(x: 149, y: 4583)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4584) > Vector(x: 48, y: 4532) > Vector(x: 49, y: 4533) > Vector(x: 49, y: 4583)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4547]: 88 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4584) > Vector(x: 150, y: 4584) > Vector(x: 149, y: 4585) > Vector(x: 49, y: 4585)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4584) > Vector(x: 150, y: 4636) > Vector(x: 149, y: 4635) > Vector(x: 149, y: 4585)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4636) > Vector(x: 48, y: 4636) > Vector(x: 49, y: 4635) > Vector(x: 149, y: 4635)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4636) > Vector(x: 48, y: 4584) > Vector(x: 49, y: 4585) > Vector(x: 49, y: 4635)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4599]: 89 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4636) > Vector(x: 150, y: 4636) > Vector(x: 149, y: 4637) > Vector(x: 49, y: 4637)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4636) > Vector(x: 150, y: 4688) > Vector(x: 149, y: 4687) > Vector(x: 149, y: 4637)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4688) > Vector(x: 48, y: 4688) > Vector(x: 49, y: 4687) > Vector(x: 149, y: 4687)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4688) > Vector(x: 48, y: 4636) > Vector(x: 49, y: 4637) > Vector(x: 49, y: 4687)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4651]: 90 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4688) > Vector(x: 150, y: 4688) > Vector(x: 149, y: 4689) > Vector(x: 49, y: 4689)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4688) > Vector(x: 150, y: 4740) > Vector(x: 149, y: 4739) > Vector(x: 149, y: 4689)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4740) > Vector(x: 48, y: 4740) > Vector(x: 49, y: 4739) > Vector(x: 149, y: 4739)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4740) > Vector(x: 48, y: 4688) > Vector(x: 49, y: 4689) > Vector(x: 49, y: 4739)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4703]: 91 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4740) > Vector(x: 150, y: 4740) > Vector(x: 149, y: 4741) > Vector(x: 49, y: 4741)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4740) > Vector(x: 150, y: 4792) > Vector(x: 149, y: 4791) > Vector(x: 149, y: 4741)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4792) > Vector(x: 48, y: 4792) > Vector(x: 49, y: 4791) > Vector(x: 149, y: 4791)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4792) > Vector(x: 48, y: 4740) > Vector(x: 49, y: 4741) > Vector(x: 49, y: 4791)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4755]: 92 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4792) > Vector(x: 150, y: 4792) > Vector(x: 149, y: 4793) > Vector(x: 49, y: 4793)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4792) > Vector(x: 150, y: 4844) > Vector(x: 149, y: 4843) > Vector(x: 149, y: 4793)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4844) > Vector(x: 48, y: 4844) > Vector(x: 49, y: 4843) > Vector(x: 149, y: 4843)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4844) > Vector(x: 48, y: 4792) > Vector(x: 49, y: 4793) > Vector(x: 49, y: 4843)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4807]: 93 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4844) > Vector(x: 150, y: 4844) > Vector(x: 149, y: 4845) > Vector(x: 49, y: 4845)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4844) > Vector(x: 150, y: 4896) > Vector(x: 149, y: 4895) > Vector(x: 149, y: 4845)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4896) > Vector(x: 48, y: 4896) > Vector(x: 49, y: 4895) > Vector(x: 149, y: 4895)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4896) > Vector(x: 48, y: 4844) > Vector(x: 49, y: 4845) > Vector(x: 49, y: 4895)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4859]: 94 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4896) > Vector(x: 150, y: 4896) > Vector(x: 149, y: 4897) > Vector(x: 49, y: 4897)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4896) > Vector(x: 150, y: 4948) > Vector(x: 149, y: 4947) > Vector(x: 149, y: 4897)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4948) > Vector(x: 48, y: 4948) > Vector(x: 49, y: 4947) > Vector(x: 149, y: 4947)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4948) > Vector(x: 48, y: 4896) > Vector(x: 49, y: 4897) > Vector(x: 49, y: 4947)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4911]: 95 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4948) > Vector(x: 150, y: 4948) > Vector(x: 149, y: 4949) > Vector(x: 49, y: 4949)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4948) > Vector(x: 150, y: 5000) > Vector(x: 149, y: 4999) > Vector(x: 149, y: 4949)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5000) > Vector(x: 48, y: 5000) > Vector(x: 49, y: 4999) > Vector(x: 149, y: 4999)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5000) > Vector(x: 48, y: 4948) > Vector(x: 49, y: 4949) > Vector(x: 49, y: 4999)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4963]: 96 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5000) > Vector(x: 150, y: 5000) > Vector(x: 149, y: 5001) > Vector(x: 49, y: 5001)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5000) > Vector(x: 150, y: 5052) > Vector(x: 149, y: 5051) > Vector(x: 149, y: 5001)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5052) > Vector(x: 48, y: 5052) > Vector(x: 49, y: 5051) > Vector(x: 149, y: 5051)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5052) > Vector(x: 48, y: 5000) > Vector(x: 49, y: 5001) > Vector(x: 49, y: 5051)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 5015]: 97 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5052) > Vector(x: 150, y: 5052) > Vector(x: 149, y: 5053) > Vector(x: 49, y: 5053)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5052) > Vector(x: 150, y: 5104) > Vector(x: 149, y: 5103) > Vector(x: 149, y: 5053)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5104) > Vector(x: 48, y: 5104) > Vector(x: 49, y: 5103) > Vector(x: 149, y: 5103)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5104) > Vector(x: 48, y: 5052) > Vector(x: 49, y: 5053) > Vector(x: 49, y: 5103)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 5067]: 98 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5104) > Vector(x: 150, y: 5104) > Vector(x: 149, y: 5105) > Vector(x: 49, y: 5105)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5104) > Vector(x: 150, y: 5156) > Vector(x: 149, y: 5155) > Vector(x: 149, y: 5105)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5156) > Vector(x: 48, y: 5156) > Vector(x: 49, y: 5155) > Vector(x: 149, y: 5155)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5156) > Vector(x: 48, y: 5104) > Vector(x: 49, y: 5105) > Vector(x: 49, y: 5155)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 5119]: 99 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5156) > Vector(x: 150, y: 5156) > Vector(x: 149, y: 5157) > Vector(x: 49, y: 5157)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5156) > Vector(x: 150, y: 5208) > Vector(x: 149, y: 5207) > Vector(x: 149, y: 5157)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5208) > Vector(x: 48, y: 5208) > Vector(x: 49, y: 5207) > Vector(x: 149, y: 5207)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5208) > Vector(x: 48, y: 5156) > Vector(x: 49, y: 5157) > Vector(x: 49, y: 5207)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [89, 5171]: 100 \ No newline at end of file diff --git a/tests/cases/list/decimal.html b/tests/reftests/list/decimal.html similarity index 100% rename from tests/cases/list/decimal.html rename to tests/reftests/list/decimal.html diff --git a/tests/reftests/list/decimal.txt b/tests/reftests/list/decimal.txt new file mode 100644 index 0000000..d97857c --- /dev/null +++ b/tests/reftests/list/decimal.txt @@ -0,0 +1,603 @@ +Window: [800, 5216] +Rectangle: [0, 0, 800, 5216] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 8) > Vector(x: 150, y: 8) > Vector(x: 149, y: 9) > Vector(x: 49, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 8) > Vector(x: 150, y: 60) > Vector(x: 149, y: 59) > Vector(x: 149, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 48, y: 60) > Vector(x: 49, y: 59) > Vector(x: 149, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 48, y: 8) > Vector(x: 49, y: 9) > Vector(x: 49, y: 59)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 23]: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 150, y: 60) > Vector(x: 149, y: 61) > Vector(x: 49, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 150, y: 112) > Vector(x: 149, y: 111) > Vector(x: 149, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 48, y: 112) > Vector(x: 49, y: 111) > Vector(x: 149, y: 111)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 48, y: 60) > Vector(x: 49, y: 61) > Vector(x: 49, y: 111)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 75]: 2 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 150, y: 112) > Vector(x: 149, y: 113) > Vector(x: 49, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 150, y: 164) > Vector(x: 149, y: 163) > Vector(x: 149, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 48, y: 164) > Vector(x: 49, y: 163) > Vector(x: 149, y: 163)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 48, y: 112) > Vector(x: 49, y: 113) > Vector(x: 49, y: 163)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 127]: 3 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 150, y: 164) > Vector(x: 149, y: 165) > Vector(x: 49, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 150, y: 216) > Vector(x: 149, y: 215) > Vector(x: 149, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 48, y: 216) > Vector(x: 49, y: 215) > Vector(x: 149, y: 215)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 48, y: 164) > Vector(x: 49, y: 165) > Vector(x: 49, y: 215)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 179]: 4 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 150, y: 216) > Vector(x: 149, y: 217) > Vector(x: 49, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 150, y: 268) > Vector(x: 149, y: 267) > Vector(x: 149, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 48, y: 268) > Vector(x: 49, y: 267) > Vector(x: 149, y: 267)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 48, y: 216) > Vector(x: 49, y: 217) > Vector(x: 49, y: 267)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 231]: 5 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 150, y: 268) > Vector(x: 149, y: 269) > Vector(x: 49, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 150, y: 320) > Vector(x: 149, y: 319) > Vector(x: 149, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 48, y: 320) > Vector(x: 49, y: 319) > Vector(x: 149, y: 319)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 48, y: 268) > Vector(x: 49, y: 269) > Vector(x: 49, y: 319)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 283]: 6 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 150, y: 320) > Vector(x: 149, y: 321) > Vector(x: 49, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 150, y: 372) > Vector(x: 149, y: 371) > Vector(x: 149, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 48, y: 372) > Vector(x: 49, y: 371) > Vector(x: 149, y: 371)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 48, y: 320) > Vector(x: 49, y: 321) > Vector(x: 49, y: 371)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 335]: 7 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 150, y: 372) > Vector(x: 149, y: 373) > Vector(x: 49, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 150, y: 424) > Vector(x: 149, y: 423) > Vector(x: 149, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 48, y: 424) > Vector(x: 49, y: 423) > Vector(x: 149, y: 423)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 48, y: 372) > Vector(x: 49, y: 373) > Vector(x: 49, y: 423)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 387]: 8 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 150, y: 424) > Vector(x: 149, y: 425) > Vector(x: 49, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 150, y: 476) > Vector(x: 149, y: 475) > Vector(x: 149, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 48, y: 476) > Vector(x: 49, y: 475) > Vector(x: 149, y: 475)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 48, y: 424) > Vector(x: 49, y: 425) > Vector(x: 49, y: 475)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 439]: 9 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 150, y: 476) > Vector(x: 149, y: 477) > Vector(x: 49, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 150, y: 528) > Vector(x: 149, y: 527) > Vector(x: 149, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 48, y: 528) > Vector(x: 49, y: 527) > Vector(x: 149, y: 527)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 48, y: 476) > Vector(x: 49, y: 477) > Vector(x: 49, y: 527)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 491]: 10 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 150, y: 528) > Vector(x: 149, y: 529) > Vector(x: 49, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 150, y: 580) > Vector(x: 149, y: 579) > Vector(x: 149, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 48, y: 580) > Vector(x: 49, y: 579) > Vector(x: 149, y: 579)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 48, y: 528) > Vector(x: 49, y: 529) > Vector(x: 49, y: 579)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 543]: 11 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 150, y: 580) > Vector(x: 149, y: 581) > Vector(x: 49, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 150, y: 632) > Vector(x: 149, y: 631) > Vector(x: 149, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 48, y: 632) > Vector(x: 49, y: 631) > Vector(x: 149, y: 631)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 48, y: 580) > Vector(x: 49, y: 581) > Vector(x: 49, y: 631)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 595]: 12 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 150, y: 632) > Vector(x: 149, y: 633) > Vector(x: 49, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 150, y: 684) > Vector(x: 149, y: 683) > Vector(x: 149, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 48, y: 684) > Vector(x: 49, y: 683) > Vector(x: 149, y: 683)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 48, y: 632) > Vector(x: 49, y: 633) > Vector(x: 49, y: 683)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 647]: 13 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 150, y: 684) > Vector(x: 149, y: 685) > Vector(x: 49, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 150, y: 736) > Vector(x: 149, y: 735) > Vector(x: 149, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 48, y: 736) > Vector(x: 49, y: 735) > Vector(x: 149, y: 735)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 48, y: 684) > Vector(x: 49, y: 685) > Vector(x: 49, y: 735)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 699]: 14 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 150, y: 736) > Vector(x: 149, y: 737) > Vector(x: 49, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 150, y: 788) > Vector(x: 149, y: 787) > Vector(x: 149, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 48, y: 788) > Vector(x: 49, y: 787) > Vector(x: 149, y: 787)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 48, y: 736) > Vector(x: 49, y: 737) > Vector(x: 49, y: 787)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 751]: 15 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 150, y: 788) > Vector(x: 149, y: 789) > Vector(x: 49, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 150, y: 840) > Vector(x: 149, y: 839) > Vector(x: 149, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 48, y: 840) > Vector(x: 49, y: 839) > Vector(x: 149, y: 839)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 48, y: 788) > Vector(x: 49, y: 789) > Vector(x: 49, y: 839)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 803]: 16 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 150, y: 840) > Vector(x: 149, y: 841) > Vector(x: 49, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 150, y: 892) > Vector(x: 149, y: 891) > Vector(x: 149, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 48, y: 892) > Vector(x: 49, y: 891) > Vector(x: 149, y: 891)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 48, y: 840) > Vector(x: 49, y: 841) > Vector(x: 49, y: 891)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 855]: 17 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 150, y: 892) > Vector(x: 149, y: 893) > Vector(x: 49, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 150, y: 944) > Vector(x: 149, y: 943) > Vector(x: 149, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 48, y: 944) > Vector(x: 49, y: 943) > Vector(x: 149, y: 943)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 48, y: 892) > Vector(x: 49, y: 893) > Vector(x: 49, y: 943)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 907]: 18 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 150, y: 944) > Vector(x: 149, y: 945) > Vector(x: 49, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 150, y: 996) > Vector(x: 149, y: 995) > Vector(x: 149, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 48, y: 996) > Vector(x: 49, y: 995) > Vector(x: 149, y: 995)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 48, y: 944) > Vector(x: 49, y: 945) > Vector(x: 49, y: 995)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 959]: 19 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 150, y: 996) > Vector(x: 149, y: 997) > Vector(x: 49, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1047) > Vector(x: 149, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1047) > Vector(x: 149, y: 1047)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 48, y: 996) > Vector(x: 49, y: 997) > Vector(x: 49, y: 1047)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1011]: 20 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1049) > Vector(x: 49, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1099) > Vector(x: 149, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1099) > Vector(x: 149, y: 1099)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1049) > Vector(x: 49, y: 1099)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1063]: 21 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1101) > Vector(x: 49, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1151) > Vector(x: 149, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1151) > Vector(x: 149, y: 1151)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1101) > Vector(x: 49, y: 1151)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1115]: 22 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1153) > Vector(x: 49, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1203) > Vector(x: 149, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1203) > Vector(x: 149, y: 1203)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1153) > Vector(x: 49, y: 1203)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1167]: 23 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1205) > Vector(x: 49, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1255) > Vector(x: 149, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1255) > Vector(x: 149, y: 1255)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1205) > Vector(x: 49, y: 1255)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1219]: 24 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1257) > Vector(x: 49, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1307) > Vector(x: 149, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1307) > Vector(x: 149, y: 1307)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1257) > Vector(x: 49, y: 1307)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1271]: 25 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1309) > Vector(x: 49, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1359) > Vector(x: 149, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1359) > Vector(x: 149, y: 1359)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1309) > Vector(x: 49, y: 1359)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1323]: 26 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1361) > Vector(x: 49, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1411) > Vector(x: 149, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1411) > Vector(x: 149, y: 1411)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1361) > Vector(x: 49, y: 1411)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1375]: 27 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1413) > Vector(x: 49, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1463) > Vector(x: 149, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1463) > Vector(x: 149, y: 1463)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1413) > Vector(x: 49, y: 1463)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1427]: 28 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1465) > Vector(x: 49, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1515) > Vector(x: 149, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1515) > Vector(x: 149, y: 1515)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1465) > Vector(x: 49, y: 1515)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1479]: 29 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1517) > Vector(x: 49, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1567) > Vector(x: 149, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1567) > Vector(x: 149, y: 1567)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1517) > Vector(x: 49, y: 1567)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1531]: 30 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1569) > Vector(x: 49, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1619) > Vector(x: 149, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1619) > Vector(x: 149, y: 1619)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1569) > Vector(x: 49, y: 1619)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1583]: 31 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1621) > Vector(x: 49, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1671) > Vector(x: 149, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1671) > Vector(x: 149, y: 1671)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1621) > Vector(x: 49, y: 1671)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1635]: 32 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1673) > Vector(x: 49, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1723) > Vector(x: 149, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1723) > Vector(x: 149, y: 1723)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1673) > Vector(x: 49, y: 1723)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1687]: 33 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1725) > Vector(x: 49, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1775) > Vector(x: 149, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1775) > Vector(x: 149, y: 1775)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1725) > Vector(x: 49, y: 1775)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1739]: 34 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1777) > Vector(x: 49, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1827) > Vector(x: 149, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1827) > Vector(x: 149, y: 1827)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1777) > Vector(x: 49, y: 1827)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1791]: 35 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1829) > Vector(x: 49, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1879) > Vector(x: 149, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1879) > Vector(x: 149, y: 1879)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1829) > Vector(x: 49, y: 1879)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1843]: 36 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1881) > Vector(x: 49, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 150, y: 1932) > Vector(x: 149, y: 1931) > Vector(x: 149, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1932) > Vector(x: 48, y: 1932) > Vector(x: 49, y: 1931) > Vector(x: 149, y: 1931)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1932) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1881) > Vector(x: 49, y: 1931)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1895]: 37 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1932) > Vector(x: 150, y: 1932) > Vector(x: 149, y: 1933) > Vector(x: 49, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1932) > Vector(x: 150, y: 1984) > Vector(x: 149, y: 1983) > Vector(x: 149, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1984) > Vector(x: 48, y: 1984) > Vector(x: 49, y: 1983) > Vector(x: 149, y: 1983)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1984) > Vector(x: 48, y: 1932) > Vector(x: 49, y: 1933) > Vector(x: 49, y: 1983)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1947]: 38 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1984) > Vector(x: 150, y: 1984) > Vector(x: 149, y: 1985) > Vector(x: 49, y: 1985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1984) > Vector(x: 150, y: 2036) > Vector(x: 149, y: 2035) > Vector(x: 149, y: 1985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2036) > Vector(x: 48, y: 2036) > Vector(x: 49, y: 2035) > Vector(x: 149, y: 2035)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2036) > Vector(x: 48, y: 1984) > Vector(x: 49, y: 1985) > Vector(x: 49, y: 2035)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 1999]: 39 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2036) > Vector(x: 150, y: 2036) > Vector(x: 149, y: 2037) > Vector(x: 49, y: 2037)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2036) > Vector(x: 150, y: 2088) > Vector(x: 149, y: 2087) > Vector(x: 149, y: 2037)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2088) > Vector(x: 48, y: 2088) > Vector(x: 49, y: 2087) > Vector(x: 149, y: 2087)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2088) > Vector(x: 48, y: 2036) > Vector(x: 49, y: 2037) > Vector(x: 49, y: 2087)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2051]: 40 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2088) > Vector(x: 150, y: 2088) > Vector(x: 149, y: 2089) > Vector(x: 49, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2088) > Vector(x: 150, y: 2140) > Vector(x: 149, y: 2139) > Vector(x: 149, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2140) > Vector(x: 48, y: 2140) > Vector(x: 49, y: 2139) > Vector(x: 149, y: 2139)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2140) > Vector(x: 48, y: 2088) > Vector(x: 49, y: 2089) > Vector(x: 49, y: 2139)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2103]: 41 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2140) > Vector(x: 150, y: 2140) > Vector(x: 149, y: 2141) > Vector(x: 49, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2140) > Vector(x: 150, y: 2192) > Vector(x: 149, y: 2191) > Vector(x: 149, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2192) > Vector(x: 48, y: 2192) > Vector(x: 49, y: 2191) > Vector(x: 149, y: 2191)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2192) > Vector(x: 48, y: 2140) > Vector(x: 49, y: 2141) > Vector(x: 49, y: 2191)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2155]: 42 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2192) > Vector(x: 150, y: 2192) > Vector(x: 149, y: 2193) > Vector(x: 49, y: 2193)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2192) > Vector(x: 150, y: 2244) > Vector(x: 149, y: 2243) > Vector(x: 149, y: 2193)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2244) > Vector(x: 48, y: 2244) > Vector(x: 49, y: 2243) > Vector(x: 149, y: 2243)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2244) > Vector(x: 48, y: 2192) > Vector(x: 49, y: 2193) > Vector(x: 49, y: 2243)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2207]: 43 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2244) > Vector(x: 150, y: 2244) > Vector(x: 149, y: 2245) > Vector(x: 49, y: 2245)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2244) > Vector(x: 150, y: 2296) > Vector(x: 149, y: 2295) > Vector(x: 149, y: 2245)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2296) > Vector(x: 48, y: 2296) > Vector(x: 49, y: 2295) > Vector(x: 149, y: 2295)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2296) > Vector(x: 48, y: 2244) > Vector(x: 49, y: 2245) > Vector(x: 49, y: 2295)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2259]: 44 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2296) > Vector(x: 150, y: 2296) > Vector(x: 149, y: 2297) > Vector(x: 49, y: 2297)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2296) > Vector(x: 150, y: 2348) > Vector(x: 149, y: 2347) > Vector(x: 149, y: 2297)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2348) > Vector(x: 48, y: 2348) > Vector(x: 49, y: 2347) > Vector(x: 149, y: 2347)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2348) > Vector(x: 48, y: 2296) > Vector(x: 49, y: 2297) > Vector(x: 49, y: 2347)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2311]: 45 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2348) > Vector(x: 150, y: 2348) > Vector(x: 149, y: 2349) > Vector(x: 49, y: 2349)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2348) > Vector(x: 150, y: 2400) > Vector(x: 149, y: 2399) > Vector(x: 149, y: 2349)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2400) > Vector(x: 48, y: 2400) > Vector(x: 49, y: 2399) > Vector(x: 149, y: 2399)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2400) > Vector(x: 48, y: 2348) > Vector(x: 49, y: 2349) > Vector(x: 49, y: 2399)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2363]: 46 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2400) > Vector(x: 150, y: 2400) > Vector(x: 149, y: 2401) > Vector(x: 49, y: 2401)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2400) > Vector(x: 150, y: 2452) > Vector(x: 149, y: 2451) > Vector(x: 149, y: 2401)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2452) > Vector(x: 48, y: 2452) > Vector(x: 49, y: 2451) > Vector(x: 149, y: 2451)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2452) > Vector(x: 48, y: 2400) > Vector(x: 49, y: 2401) > Vector(x: 49, y: 2451)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2415]: 47 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2452) > Vector(x: 150, y: 2452) > Vector(x: 149, y: 2453) > Vector(x: 49, y: 2453)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2452) > Vector(x: 150, y: 2504) > Vector(x: 149, y: 2503) > Vector(x: 149, y: 2453)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2504) > Vector(x: 48, y: 2504) > Vector(x: 49, y: 2503) > Vector(x: 149, y: 2503)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2504) > Vector(x: 48, y: 2452) > Vector(x: 49, y: 2453) > Vector(x: 49, y: 2503)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2467]: 48 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2504) > Vector(x: 150, y: 2504) > Vector(x: 149, y: 2505) > Vector(x: 49, y: 2505)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2504) > Vector(x: 150, y: 2556) > Vector(x: 149, y: 2555) > Vector(x: 149, y: 2505)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2556) > Vector(x: 48, y: 2556) > Vector(x: 49, y: 2555) > Vector(x: 149, y: 2555)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2556) > Vector(x: 48, y: 2504) > Vector(x: 49, y: 2505) > Vector(x: 49, y: 2555)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2519]: 49 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2556) > Vector(x: 150, y: 2556) > Vector(x: 149, y: 2557) > Vector(x: 49, y: 2557)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2556) > Vector(x: 150, y: 2608) > Vector(x: 149, y: 2607) > Vector(x: 149, y: 2557)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2608) > Vector(x: 48, y: 2608) > Vector(x: 49, y: 2607) > Vector(x: 149, y: 2607)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2608) > Vector(x: 48, y: 2556) > Vector(x: 49, y: 2557) > Vector(x: 49, y: 2607)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2571]: 50 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2608) > Vector(x: 150, y: 2608) > Vector(x: 149, y: 2609) > Vector(x: 49, y: 2609)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2608) > Vector(x: 150, y: 2660) > Vector(x: 149, y: 2659) > Vector(x: 149, y: 2609)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2660) > Vector(x: 48, y: 2660) > Vector(x: 49, y: 2659) > Vector(x: 149, y: 2659)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2660) > Vector(x: 48, y: 2608) > Vector(x: 49, y: 2609) > Vector(x: 49, y: 2659)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2623]: 51 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2660) > Vector(x: 150, y: 2660) > Vector(x: 149, y: 2661) > Vector(x: 49, y: 2661)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2660) > Vector(x: 150, y: 2712) > Vector(x: 149, y: 2711) > Vector(x: 149, y: 2661)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2712) > Vector(x: 48, y: 2712) > Vector(x: 49, y: 2711) > Vector(x: 149, y: 2711)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2712) > Vector(x: 48, y: 2660) > Vector(x: 49, y: 2661) > Vector(x: 49, y: 2711)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2675]: 52 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2712) > Vector(x: 150, y: 2712) > Vector(x: 149, y: 2713) > Vector(x: 49, y: 2713)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2712) > Vector(x: 150, y: 2764) > Vector(x: 149, y: 2763) > Vector(x: 149, y: 2713)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2764) > Vector(x: 48, y: 2764) > Vector(x: 49, y: 2763) > Vector(x: 149, y: 2763)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2764) > Vector(x: 48, y: 2712) > Vector(x: 49, y: 2713) > Vector(x: 49, y: 2763)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2727]: 53 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2764) > Vector(x: 150, y: 2764) > Vector(x: 149, y: 2765) > Vector(x: 49, y: 2765)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2764) > Vector(x: 150, y: 2816) > Vector(x: 149, y: 2815) > Vector(x: 149, y: 2765)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2816) > Vector(x: 48, y: 2816) > Vector(x: 49, y: 2815) > Vector(x: 149, y: 2815)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2816) > Vector(x: 48, y: 2764) > Vector(x: 49, y: 2765) > Vector(x: 49, y: 2815)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2779]: 54 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2816) > Vector(x: 150, y: 2816) > Vector(x: 149, y: 2817) > Vector(x: 49, y: 2817)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2816) > Vector(x: 150, y: 2868) > Vector(x: 149, y: 2867) > Vector(x: 149, y: 2817)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2868) > Vector(x: 48, y: 2868) > Vector(x: 49, y: 2867) > Vector(x: 149, y: 2867)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2868) > Vector(x: 48, y: 2816) > Vector(x: 49, y: 2817) > Vector(x: 49, y: 2867)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2831]: 55 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2868) > Vector(x: 150, y: 2868) > Vector(x: 149, y: 2869) > Vector(x: 49, y: 2869)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2868) > Vector(x: 150, y: 2920) > Vector(x: 149, y: 2919) > Vector(x: 149, y: 2869)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2920) > Vector(x: 48, y: 2920) > Vector(x: 49, y: 2919) > Vector(x: 149, y: 2919)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2920) > Vector(x: 48, y: 2868) > Vector(x: 49, y: 2869) > Vector(x: 49, y: 2919)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2883]: 56 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2920) > Vector(x: 150, y: 2920) > Vector(x: 149, y: 2921) > Vector(x: 49, y: 2921)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2920) > Vector(x: 150, y: 2972) > Vector(x: 149, y: 2971) > Vector(x: 149, y: 2921)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2972) > Vector(x: 48, y: 2972) > Vector(x: 49, y: 2971) > Vector(x: 149, y: 2971)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2972) > Vector(x: 48, y: 2920) > Vector(x: 49, y: 2921) > Vector(x: 49, y: 2971)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2935]: 57 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2972) > Vector(x: 150, y: 2972) > Vector(x: 149, y: 2973) > Vector(x: 49, y: 2973)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2972) > Vector(x: 150, y: 3024) > Vector(x: 149, y: 3023) > Vector(x: 149, y: 2973)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3024) > Vector(x: 48, y: 3024) > Vector(x: 49, y: 3023) > Vector(x: 149, y: 3023)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3024) > Vector(x: 48, y: 2972) > Vector(x: 49, y: 2973) > Vector(x: 49, y: 3023)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2987]: 58 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3024) > Vector(x: 150, y: 3024) > Vector(x: 149, y: 3025) > Vector(x: 49, y: 3025)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3024) > Vector(x: 150, y: 3076) > Vector(x: 149, y: 3075) > Vector(x: 149, y: 3025)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3076) > Vector(x: 48, y: 3076) > Vector(x: 49, y: 3075) > Vector(x: 149, y: 3075)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3076) > Vector(x: 48, y: 3024) > Vector(x: 49, y: 3025) > Vector(x: 49, y: 3075)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3039]: 59 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3076) > Vector(x: 150, y: 3076) > Vector(x: 149, y: 3077) > Vector(x: 49, y: 3077)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3076) > Vector(x: 150, y: 3128) > Vector(x: 149, y: 3127) > Vector(x: 149, y: 3077)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3128) > Vector(x: 48, y: 3128) > Vector(x: 49, y: 3127) > Vector(x: 149, y: 3127)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3128) > Vector(x: 48, y: 3076) > Vector(x: 49, y: 3077) > Vector(x: 49, y: 3127)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3091]: 60 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3128) > Vector(x: 150, y: 3128) > Vector(x: 149, y: 3129) > Vector(x: 49, y: 3129)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3128) > Vector(x: 150, y: 3180) > Vector(x: 149, y: 3179) > Vector(x: 149, y: 3129)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3180) > Vector(x: 48, y: 3180) > Vector(x: 49, y: 3179) > Vector(x: 149, y: 3179)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3180) > Vector(x: 48, y: 3128) > Vector(x: 49, y: 3129) > Vector(x: 49, y: 3179)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3143]: 61 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3180) > Vector(x: 150, y: 3180) > Vector(x: 149, y: 3181) > Vector(x: 49, y: 3181)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3180) > Vector(x: 150, y: 3232) > Vector(x: 149, y: 3231) > Vector(x: 149, y: 3181)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3232) > Vector(x: 48, y: 3232) > Vector(x: 49, y: 3231) > Vector(x: 149, y: 3231)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3232) > Vector(x: 48, y: 3180) > Vector(x: 49, y: 3181) > Vector(x: 49, y: 3231)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3195]: 62 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3232) > Vector(x: 150, y: 3232) > Vector(x: 149, y: 3233) > Vector(x: 49, y: 3233)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3232) > Vector(x: 150, y: 3284) > Vector(x: 149, y: 3283) > Vector(x: 149, y: 3233)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3284) > Vector(x: 48, y: 3284) > Vector(x: 49, y: 3283) > Vector(x: 149, y: 3283)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3284) > Vector(x: 48, y: 3232) > Vector(x: 49, y: 3233) > Vector(x: 49, y: 3283)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3247]: 63 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3284) > Vector(x: 150, y: 3284) > Vector(x: 149, y: 3285) > Vector(x: 49, y: 3285)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3284) > Vector(x: 150, y: 3336) > Vector(x: 149, y: 3335) > Vector(x: 149, y: 3285)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3336) > Vector(x: 48, y: 3336) > Vector(x: 49, y: 3335) > Vector(x: 149, y: 3335)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3336) > Vector(x: 48, y: 3284) > Vector(x: 49, y: 3285) > Vector(x: 49, y: 3335)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3299]: 64 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3336) > Vector(x: 150, y: 3336) > Vector(x: 149, y: 3337) > Vector(x: 49, y: 3337)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3336) > Vector(x: 150, y: 3388) > Vector(x: 149, y: 3387) > Vector(x: 149, y: 3337)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3388) > Vector(x: 48, y: 3388) > Vector(x: 49, y: 3387) > Vector(x: 149, y: 3387)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3388) > Vector(x: 48, y: 3336) > Vector(x: 49, y: 3337) > Vector(x: 49, y: 3387)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3351]: 65 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3388) > Vector(x: 150, y: 3388) > Vector(x: 149, y: 3389) > Vector(x: 49, y: 3389)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3388) > Vector(x: 150, y: 3440) > Vector(x: 149, y: 3439) > Vector(x: 149, y: 3389)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3440) > Vector(x: 48, y: 3440) > Vector(x: 49, y: 3439) > Vector(x: 149, y: 3439)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3440) > Vector(x: 48, y: 3388) > Vector(x: 49, y: 3389) > Vector(x: 49, y: 3439)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3403]: 66 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3440) > Vector(x: 150, y: 3440) > Vector(x: 149, y: 3441) > Vector(x: 49, y: 3441)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3440) > Vector(x: 150, y: 3492) > Vector(x: 149, y: 3491) > Vector(x: 149, y: 3441)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3492) > Vector(x: 48, y: 3492) > Vector(x: 49, y: 3491) > Vector(x: 149, y: 3491)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3492) > Vector(x: 48, y: 3440) > Vector(x: 49, y: 3441) > Vector(x: 49, y: 3491)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3455]: 67 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3492) > Vector(x: 150, y: 3492) > Vector(x: 149, y: 3493) > Vector(x: 49, y: 3493)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3492) > Vector(x: 150, y: 3544) > Vector(x: 149, y: 3543) > Vector(x: 149, y: 3493)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3544) > Vector(x: 48, y: 3544) > Vector(x: 49, y: 3543) > Vector(x: 149, y: 3543)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3544) > Vector(x: 48, y: 3492) > Vector(x: 49, y: 3493) > Vector(x: 49, y: 3543)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3507]: 68 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3544) > Vector(x: 150, y: 3544) > Vector(x: 149, y: 3545) > Vector(x: 49, y: 3545)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3544) > Vector(x: 150, y: 3596) > Vector(x: 149, y: 3595) > Vector(x: 149, y: 3545)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3596) > Vector(x: 48, y: 3596) > Vector(x: 49, y: 3595) > Vector(x: 149, y: 3595)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3596) > Vector(x: 48, y: 3544) > Vector(x: 49, y: 3545) > Vector(x: 49, y: 3595)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3559]: 69 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3596) > Vector(x: 150, y: 3596) > Vector(x: 149, y: 3597) > Vector(x: 49, y: 3597)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3596) > Vector(x: 150, y: 3648) > Vector(x: 149, y: 3647) > Vector(x: 149, y: 3597)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3648) > Vector(x: 48, y: 3648) > Vector(x: 49, y: 3647) > Vector(x: 149, y: 3647)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3648) > Vector(x: 48, y: 3596) > Vector(x: 49, y: 3597) > Vector(x: 49, y: 3647)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3611]: 70 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3648) > Vector(x: 150, y: 3648) > Vector(x: 149, y: 3649) > Vector(x: 49, y: 3649)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3648) > Vector(x: 150, y: 3700) > Vector(x: 149, y: 3699) > Vector(x: 149, y: 3649)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3700) > Vector(x: 48, y: 3700) > Vector(x: 49, y: 3699) > Vector(x: 149, y: 3699)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3700) > Vector(x: 48, y: 3648) > Vector(x: 49, y: 3649) > Vector(x: 49, y: 3699)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3663]: 71 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3700) > Vector(x: 150, y: 3700) > Vector(x: 149, y: 3701) > Vector(x: 49, y: 3701)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3700) > Vector(x: 150, y: 3752) > Vector(x: 149, y: 3751) > Vector(x: 149, y: 3701)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3752) > Vector(x: 48, y: 3752) > Vector(x: 49, y: 3751) > Vector(x: 149, y: 3751)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3752) > Vector(x: 48, y: 3700) > Vector(x: 49, y: 3701) > Vector(x: 49, y: 3751)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3715]: 72 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3752) > Vector(x: 150, y: 3752) > Vector(x: 149, y: 3753) > Vector(x: 49, y: 3753)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3752) > Vector(x: 150, y: 3804) > Vector(x: 149, y: 3803) > Vector(x: 149, y: 3753)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3804) > Vector(x: 48, y: 3804) > Vector(x: 49, y: 3803) > Vector(x: 149, y: 3803)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3804) > Vector(x: 48, y: 3752) > Vector(x: 49, y: 3753) > Vector(x: 49, y: 3803)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3767]: 73 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3804) > Vector(x: 150, y: 3804) > Vector(x: 149, y: 3805) > Vector(x: 49, y: 3805)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3804) > Vector(x: 150, y: 3856) > Vector(x: 149, y: 3855) > Vector(x: 149, y: 3805)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3856) > Vector(x: 48, y: 3856) > Vector(x: 49, y: 3855) > Vector(x: 149, y: 3855)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3856) > Vector(x: 48, y: 3804) > Vector(x: 49, y: 3805) > Vector(x: 49, y: 3855)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3819]: 74 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3856) > Vector(x: 150, y: 3856) > Vector(x: 149, y: 3857) > Vector(x: 49, y: 3857)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3856) > Vector(x: 150, y: 3908) > Vector(x: 149, y: 3907) > Vector(x: 149, y: 3857)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3908) > Vector(x: 48, y: 3908) > Vector(x: 49, y: 3907) > Vector(x: 149, y: 3907)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3908) > Vector(x: 48, y: 3856) > Vector(x: 49, y: 3857) > Vector(x: 49, y: 3907)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3871]: 75 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3908) > Vector(x: 150, y: 3908) > Vector(x: 149, y: 3909) > Vector(x: 49, y: 3909)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3908) > Vector(x: 150, y: 3960) > Vector(x: 149, y: 3959) > Vector(x: 149, y: 3909)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3960) > Vector(x: 48, y: 3960) > Vector(x: 49, y: 3959) > Vector(x: 149, y: 3959)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3960) > Vector(x: 48, y: 3908) > Vector(x: 49, y: 3909) > Vector(x: 49, y: 3959)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3923]: 76 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3960) > Vector(x: 150, y: 3960) > Vector(x: 149, y: 3961) > Vector(x: 49, y: 3961)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3960) > Vector(x: 150, y: 4012) > Vector(x: 149, y: 4011) > Vector(x: 149, y: 3961)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4012) > Vector(x: 48, y: 4012) > Vector(x: 49, y: 4011) > Vector(x: 149, y: 4011)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4012) > Vector(x: 48, y: 3960) > Vector(x: 49, y: 3961) > Vector(x: 49, y: 4011)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3975]: 77 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4012) > Vector(x: 150, y: 4012) > Vector(x: 149, y: 4013) > Vector(x: 49, y: 4013)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4012) > Vector(x: 150, y: 4064) > Vector(x: 149, y: 4063) > Vector(x: 149, y: 4013)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4064) > Vector(x: 48, y: 4064) > Vector(x: 49, y: 4063) > Vector(x: 149, y: 4063)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4064) > Vector(x: 48, y: 4012) > Vector(x: 49, y: 4013) > Vector(x: 49, y: 4063)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4027]: 78 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4064) > Vector(x: 150, y: 4064) > Vector(x: 149, y: 4065) > Vector(x: 49, y: 4065)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4064) > Vector(x: 150, y: 4116) > Vector(x: 149, y: 4115) > Vector(x: 149, y: 4065)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4116) > Vector(x: 48, y: 4116) > Vector(x: 49, y: 4115) > Vector(x: 149, y: 4115)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4116) > Vector(x: 48, y: 4064) > Vector(x: 49, y: 4065) > Vector(x: 49, y: 4115)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4079]: 79 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4116) > Vector(x: 150, y: 4116) > Vector(x: 149, y: 4117) > Vector(x: 49, y: 4117)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4116) > Vector(x: 150, y: 4168) > Vector(x: 149, y: 4167) > Vector(x: 149, y: 4117)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4168) > Vector(x: 48, y: 4168) > Vector(x: 49, y: 4167) > Vector(x: 149, y: 4167)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4168) > Vector(x: 48, y: 4116) > Vector(x: 49, y: 4117) > Vector(x: 49, y: 4167)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4131]: 80 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4168) > Vector(x: 150, y: 4168) > Vector(x: 149, y: 4169) > Vector(x: 49, y: 4169)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4168) > Vector(x: 150, y: 4220) > Vector(x: 149, y: 4219) > Vector(x: 149, y: 4169)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4220) > Vector(x: 48, y: 4220) > Vector(x: 49, y: 4219) > Vector(x: 149, y: 4219)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4220) > Vector(x: 48, y: 4168) > Vector(x: 49, y: 4169) > Vector(x: 49, y: 4219)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4183]: 81 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4220) > Vector(x: 150, y: 4220) > Vector(x: 149, y: 4221) > Vector(x: 49, y: 4221)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4220) > Vector(x: 150, y: 4272) > Vector(x: 149, y: 4271) > Vector(x: 149, y: 4221)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4272) > Vector(x: 48, y: 4272) > Vector(x: 49, y: 4271) > Vector(x: 149, y: 4271)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4272) > Vector(x: 48, y: 4220) > Vector(x: 49, y: 4221) > Vector(x: 49, y: 4271)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4235]: 82 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4272) > Vector(x: 150, y: 4272) > Vector(x: 149, y: 4273) > Vector(x: 49, y: 4273)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4272) > Vector(x: 150, y: 4324) > Vector(x: 149, y: 4323) > Vector(x: 149, y: 4273)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4324) > Vector(x: 48, y: 4324) > Vector(x: 49, y: 4323) > Vector(x: 149, y: 4323)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4324) > Vector(x: 48, y: 4272) > Vector(x: 49, y: 4273) > Vector(x: 49, y: 4323)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4287]: 83 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4324) > Vector(x: 150, y: 4324) > Vector(x: 149, y: 4325) > Vector(x: 49, y: 4325)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4324) > Vector(x: 150, y: 4376) > Vector(x: 149, y: 4375) > Vector(x: 149, y: 4325)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4376) > Vector(x: 48, y: 4376) > Vector(x: 49, y: 4375) > Vector(x: 149, y: 4375)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4376) > Vector(x: 48, y: 4324) > Vector(x: 49, y: 4325) > Vector(x: 49, y: 4375)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4339]: 84 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4376) > Vector(x: 150, y: 4376) > Vector(x: 149, y: 4377) > Vector(x: 49, y: 4377)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4376) > Vector(x: 150, y: 4428) > Vector(x: 149, y: 4427) > Vector(x: 149, y: 4377)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4428) > Vector(x: 48, y: 4428) > Vector(x: 49, y: 4427) > Vector(x: 149, y: 4427)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4428) > Vector(x: 48, y: 4376) > Vector(x: 49, y: 4377) > Vector(x: 49, y: 4427)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4391]: 85 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4428) > Vector(x: 150, y: 4428) > Vector(x: 149, y: 4429) > Vector(x: 49, y: 4429)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4428) > Vector(x: 150, y: 4480) > Vector(x: 149, y: 4479) > Vector(x: 149, y: 4429)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4480) > Vector(x: 48, y: 4480) > Vector(x: 49, y: 4479) > Vector(x: 149, y: 4479)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4480) > Vector(x: 48, y: 4428) > Vector(x: 49, y: 4429) > Vector(x: 49, y: 4479)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4443]: 86 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4480) > Vector(x: 150, y: 4480) > Vector(x: 149, y: 4481) > Vector(x: 49, y: 4481)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4480) > Vector(x: 150, y: 4532) > Vector(x: 149, y: 4531) > Vector(x: 149, y: 4481)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4532) > Vector(x: 48, y: 4532) > Vector(x: 49, y: 4531) > Vector(x: 149, y: 4531)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4532) > Vector(x: 48, y: 4480) > Vector(x: 49, y: 4481) > Vector(x: 49, y: 4531)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4495]: 87 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4532) > Vector(x: 150, y: 4532) > Vector(x: 149, y: 4533) > Vector(x: 49, y: 4533)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4532) > Vector(x: 150, y: 4584) > Vector(x: 149, y: 4583) > Vector(x: 149, y: 4533)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4584) > Vector(x: 48, y: 4584) > Vector(x: 49, y: 4583) > Vector(x: 149, y: 4583)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4584) > Vector(x: 48, y: 4532) > Vector(x: 49, y: 4533) > Vector(x: 49, y: 4583)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4547]: 88 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4584) > Vector(x: 150, y: 4584) > Vector(x: 149, y: 4585) > Vector(x: 49, y: 4585)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4584) > Vector(x: 150, y: 4636) > Vector(x: 149, y: 4635) > Vector(x: 149, y: 4585)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4636) > Vector(x: 48, y: 4636) > Vector(x: 49, y: 4635) > Vector(x: 149, y: 4635)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4636) > Vector(x: 48, y: 4584) > Vector(x: 49, y: 4585) > Vector(x: 49, y: 4635)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4599]: 89 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4636) > Vector(x: 150, y: 4636) > Vector(x: 149, y: 4637) > Vector(x: 49, y: 4637)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4636) > Vector(x: 150, y: 4688) > Vector(x: 149, y: 4687) > Vector(x: 149, y: 4637)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4688) > Vector(x: 48, y: 4688) > Vector(x: 49, y: 4687) > Vector(x: 149, y: 4687)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4688) > Vector(x: 48, y: 4636) > Vector(x: 49, y: 4637) > Vector(x: 49, y: 4687)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4651]: 90 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4688) > Vector(x: 150, y: 4688) > Vector(x: 149, y: 4689) > Vector(x: 49, y: 4689)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4688) > Vector(x: 150, y: 4740) > Vector(x: 149, y: 4739) > Vector(x: 149, y: 4689)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4740) > Vector(x: 48, y: 4740) > Vector(x: 49, y: 4739) > Vector(x: 149, y: 4739)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4740) > Vector(x: 48, y: 4688) > Vector(x: 49, y: 4689) > Vector(x: 49, y: 4739)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4703]: 91 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4740) > Vector(x: 150, y: 4740) > Vector(x: 149, y: 4741) > Vector(x: 49, y: 4741)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4740) > Vector(x: 150, y: 4792) > Vector(x: 149, y: 4791) > Vector(x: 149, y: 4741)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4792) > Vector(x: 48, y: 4792) > Vector(x: 49, y: 4791) > Vector(x: 149, y: 4791)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4792) > Vector(x: 48, y: 4740) > Vector(x: 49, y: 4741) > Vector(x: 49, y: 4791)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4755]: 92 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4792) > Vector(x: 150, y: 4792) > Vector(x: 149, y: 4793) > Vector(x: 49, y: 4793)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4792) > Vector(x: 150, y: 4844) > Vector(x: 149, y: 4843) > Vector(x: 149, y: 4793)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4844) > Vector(x: 48, y: 4844) > Vector(x: 49, y: 4843) > Vector(x: 149, y: 4843)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4844) > Vector(x: 48, y: 4792) > Vector(x: 49, y: 4793) > Vector(x: 49, y: 4843)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4807]: 93 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4844) > Vector(x: 150, y: 4844) > Vector(x: 149, y: 4845) > Vector(x: 49, y: 4845)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4844) > Vector(x: 150, y: 4896) > Vector(x: 149, y: 4895) > Vector(x: 149, y: 4845)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4896) > Vector(x: 48, y: 4896) > Vector(x: 49, y: 4895) > Vector(x: 149, y: 4895)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4896) > Vector(x: 48, y: 4844) > Vector(x: 49, y: 4845) > Vector(x: 49, y: 4895)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4859]: 94 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4896) > Vector(x: 150, y: 4896) > Vector(x: 149, y: 4897) > Vector(x: 49, y: 4897)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4896) > Vector(x: 150, y: 4948) > Vector(x: 149, y: 4947) > Vector(x: 149, y: 4897)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4948) > Vector(x: 48, y: 4948) > Vector(x: 49, y: 4947) > Vector(x: 149, y: 4947)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4948) > Vector(x: 48, y: 4896) > Vector(x: 49, y: 4897) > Vector(x: 49, y: 4947)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4911]: 95 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4948) > Vector(x: 150, y: 4948) > Vector(x: 149, y: 4949) > Vector(x: 49, y: 4949)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4948) > Vector(x: 150, y: 5000) > Vector(x: 149, y: 4999) > Vector(x: 149, y: 4949)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5000) > Vector(x: 48, y: 5000) > Vector(x: 49, y: 4999) > Vector(x: 149, y: 4999)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5000) > Vector(x: 48, y: 4948) > Vector(x: 49, y: 4949) > Vector(x: 49, y: 4999)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 4963]: 96 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5000) > Vector(x: 150, y: 5000) > Vector(x: 149, y: 5001) > Vector(x: 49, y: 5001)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5000) > Vector(x: 150, y: 5052) > Vector(x: 149, y: 5051) > Vector(x: 149, y: 5001)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5052) > Vector(x: 48, y: 5052) > Vector(x: 49, y: 5051) > Vector(x: 149, y: 5051)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5052) > Vector(x: 48, y: 5000) > Vector(x: 49, y: 5001) > Vector(x: 49, y: 5051)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 5015]: 97 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5052) > Vector(x: 150, y: 5052) > Vector(x: 149, y: 5053) > Vector(x: 49, y: 5053)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5052) > Vector(x: 150, y: 5104) > Vector(x: 149, y: 5103) > Vector(x: 149, y: 5053)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5104) > Vector(x: 48, y: 5104) > Vector(x: 49, y: 5103) > Vector(x: 149, y: 5103)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5104) > Vector(x: 48, y: 5052) > Vector(x: 49, y: 5053) > Vector(x: 49, y: 5103)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 5067]: 98 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5104) > Vector(x: 150, y: 5104) > Vector(x: 149, y: 5105) > Vector(x: 49, y: 5105)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5104) > Vector(x: 150, y: 5156) > Vector(x: 149, y: 5155) > Vector(x: 149, y: 5105)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5156) > Vector(x: 48, y: 5156) > Vector(x: 49, y: 5155) > Vector(x: 149, y: 5155)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5156) > Vector(x: 48, y: 5104) > Vector(x: 49, y: 5105) > Vector(x: 49, y: 5155)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 5119]: 99 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5156) > Vector(x: 150, y: 5156) > Vector(x: 149, y: 5157) > Vector(x: 49, y: 5157)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5156) > Vector(x: 150, y: 5208) > Vector(x: 149, y: 5207) > Vector(x: 149, y: 5157)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5208) > Vector(x: 48, y: 5208) > Vector(x: 49, y: 5207) > Vector(x: 149, y: 5207)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5208) > Vector(x: 48, y: 5156) > Vector(x: 49, y: 5157) > Vector(x: 49, y: 5207)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [89, 5171]: 100 \ No newline at end of file diff --git a/tests/cases/list/lower-alpha.html b/tests/reftests/list/lower-alpha.html similarity index 100% rename from tests/cases/list/lower-alpha.html rename to tests/reftests/list/lower-alpha.html diff --git a/tests/reftests/list/lower-alpha.txt b/tests/reftests/list/lower-alpha.txt new file mode 100644 index 0000000..96a2b11 --- /dev/null +++ b/tests/reftests/list/lower-alpha.txt @@ -0,0 +1,603 @@ +Window: [800, 5216] +Rectangle: [0, 0, 800, 5216] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 8) > Vector(x: 150, y: 8) > Vector(x: 149, y: 9) > Vector(x: 49, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 8) > Vector(x: 150, y: 60) > Vector(x: 149, y: 59) > Vector(x: 149, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 48, y: 60) > Vector(x: 49, y: 59) > Vector(x: 149, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 48, y: 8) > Vector(x: 49, y: 9) > Vector(x: 49, y: 59)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [68, 23]: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 150, y: 60) > Vector(x: 149, y: 61) > Vector(x: 49, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 150, y: 112) > Vector(x: 149, y: 111) > Vector(x: 149, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 48, y: 112) > Vector(x: 49, y: 111) > Vector(x: 149, y: 111)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 48, y: 60) > Vector(x: 49, y: 61) > Vector(x: 49, y: 111)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 75]: 2 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 150, y: 112) > Vector(x: 149, y: 113) > Vector(x: 49, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 150, y: 164) > Vector(x: 149, y: 163) > Vector(x: 149, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 48, y: 164) > Vector(x: 49, y: 163) > Vector(x: 149, y: 163)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 48, y: 112) > Vector(x: 49, y: 113) > Vector(x: 49, y: 163)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [68, 127]: 3 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 150, y: 164) > Vector(x: 149, y: 165) > Vector(x: 49, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 150, y: 216) > Vector(x: 149, y: 215) > Vector(x: 149, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 48, y: 216) > Vector(x: 49, y: 215) > Vector(x: 149, y: 215)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 48, y: 164) > Vector(x: 49, y: 165) > Vector(x: 49, y: 215)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 179]: 4 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 150, y: 216) > Vector(x: 149, y: 217) > Vector(x: 49, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 150, y: 268) > Vector(x: 149, y: 267) > Vector(x: 149, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 48, y: 268) > Vector(x: 49, y: 267) > Vector(x: 149, y: 267)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 48, y: 216) > Vector(x: 49, y: 217) > Vector(x: 49, y: 267)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [68, 231]: 5 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 150, y: 268) > Vector(x: 149, y: 269) > Vector(x: 49, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 150, y: 320) > Vector(x: 149, y: 319) > Vector(x: 149, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 48, y: 320) > Vector(x: 49, y: 319) > Vector(x: 149, y: 319)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 48, y: 268) > Vector(x: 49, y: 269) > Vector(x: 49, y: 319)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [66, 283]: 6 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 150, y: 320) > Vector(x: 149, y: 321) > Vector(x: 49, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 150, y: 372) > Vector(x: 149, y: 371) > Vector(x: 149, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 48, y: 372) > Vector(x: 49, y: 371) > Vector(x: 149, y: 371)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 48, y: 320) > Vector(x: 49, y: 321) > Vector(x: 49, y: 371)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 335]: 7 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 150, y: 372) > Vector(x: 149, y: 373) > Vector(x: 49, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 150, y: 424) > Vector(x: 149, y: 423) > Vector(x: 149, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 48, y: 424) > Vector(x: 49, y: 423) > Vector(x: 149, y: 423)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 48, y: 372) > Vector(x: 49, y: 373) > Vector(x: 49, y: 423)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 387]: 8 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 150, y: 424) > Vector(x: 149, y: 425) > Vector(x: 49, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 150, y: 476) > Vector(x: 149, y: 475) > Vector(x: 149, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 48, y: 476) > Vector(x: 49, y: 475) > Vector(x: 149, y: 475)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 48, y: 424) > Vector(x: 49, y: 425) > Vector(x: 49, y: 475)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [65, 439]: 9 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 150, y: 476) > Vector(x: 149, y: 477) > Vector(x: 49, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 150, y: 528) > Vector(x: 149, y: 527) > Vector(x: 149, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 48, y: 528) > Vector(x: 49, y: 527) > Vector(x: 149, y: 527)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 48, y: 476) > Vector(x: 49, y: 477) > Vector(x: 49, y: 527)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [65, 491]: 10 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 150, y: 528) > Vector(x: 149, y: 529) > Vector(x: 49, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 150, y: 580) > Vector(x: 149, y: 579) > Vector(x: 149, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 48, y: 580) > Vector(x: 49, y: 579) > Vector(x: 149, y: 579)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 48, y: 528) > Vector(x: 49, y: 529) > Vector(x: 49, y: 579)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 543]: 11 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 150, y: 580) > Vector(x: 149, y: 581) > Vector(x: 49, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 150, y: 632) > Vector(x: 149, y: 631) > Vector(x: 149, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 48, y: 632) > Vector(x: 49, y: 631) > Vector(x: 149, y: 631)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 48, y: 580) > Vector(x: 49, y: 581) > Vector(x: 49, y: 631)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [65, 595]: 12 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 150, y: 632) > Vector(x: 149, y: 633) > Vector(x: 49, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 150, y: 684) > Vector(x: 149, y: 683) > Vector(x: 149, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 48, y: 684) > Vector(x: 49, y: 683) > Vector(x: 149, y: 683)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 48, y: 632) > Vector(x: 49, y: 633) > Vector(x: 49, y: 683)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 647]: 13 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 150, y: 684) > Vector(x: 149, y: 685) > Vector(x: 49, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 150, y: 736) > Vector(x: 149, y: 735) > Vector(x: 149, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 48, y: 736) > Vector(x: 49, y: 735) > Vector(x: 149, y: 735)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 48, y: 684) > Vector(x: 49, y: 685) > Vector(x: 49, y: 735)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 699]: 14 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 150, y: 736) > Vector(x: 149, y: 737) > Vector(x: 49, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 150, y: 788) > Vector(x: 149, y: 787) > Vector(x: 149, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 48, y: 788) > Vector(x: 49, y: 787) > Vector(x: 149, y: 787)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 48, y: 736) > Vector(x: 49, y: 737) > Vector(x: 49, y: 787)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 751]: 15 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 150, y: 788) > Vector(x: 149, y: 789) > Vector(x: 49, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 150, y: 840) > Vector(x: 149, y: 839) > Vector(x: 149, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 48, y: 840) > Vector(x: 49, y: 839) > Vector(x: 149, y: 839)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 48, y: 788) > Vector(x: 49, y: 789) > Vector(x: 49, y: 839)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 803]: 16 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 150, y: 840) > Vector(x: 149, y: 841) > Vector(x: 49, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 150, y: 892) > Vector(x: 149, y: 891) > Vector(x: 149, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 48, y: 892) > Vector(x: 49, y: 891) > Vector(x: 149, y: 891)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 48, y: 840) > Vector(x: 49, y: 841) > Vector(x: 49, y: 891)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 855]: 17 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 150, y: 892) > Vector(x: 149, y: 893) > Vector(x: 49, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 150, y: 944) > Vector(x: 149, y: 943) > Vector(x: 149, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 48, y: 944) > Vector(x: 49, y: 943) > Vector(x: 149, y: 943)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 48, y: 892) > Vector(x: 49, y: 893) > Vector(x: 49, y: 943)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [66, 907]: 18 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 150, y: 944) > Vector(x: 149, y: 945) > Vector(x: 49, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 150, y: 996) > Vector(x: 149, y: 995) > Vector(x: 149, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 48, y: 996) > Vector(x: 49, y: 995) > Vector(x: 149, y: 995)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 48, y: 944) > Vector(x: 49, y: 945) > Vector(x: 49, y: 995)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [67, 959]: 19 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 150, y: 996) > Vector(x: 149, y: 997) > Vector(x: 49, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1047) > Vector(x: 149, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1047) > Vector(x: 149, y: 1047)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 48, y: 996) > Vector(x: 49, y: 997) > Vector(x: 49, y: 1047)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [65, 1011]: 20 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1049) > Vector(x: 49, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1099) > Vector(x: 149, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1099) > Vector(x: 149, y: 1099)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1049) > Vector(x: 49, y: 1099)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 1063]: 21 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1101) > Vector(x: 49, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1151) > Vector(x: 149, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1151) > Vector(x: 149, y: 1151)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1101) > Vector(x: 49, y: 1151)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 1115]: 22 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1153) > Vector(x: 49, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1203) > Vector(x: 149, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1203) > Vector(x: 149, y: 1203)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1153) > Vector(x: 49, y: 1203)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 1167]: 23 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1205) > Vector(x: 49, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1255) > Vector(x: 149, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1255) > Vector(x: 149, y: 1255)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1205) > Vector(x: 49, y: 1255)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 1219]: 24 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1257) > Vector(x: 49, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1307) > Vector(x: 149, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1307) > Vector(x: 149, y: 1307)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1257) > Vector(x: 49, y: 1307)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [69, 1271]: 25 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1309) > Vector(x: 49, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1359) > Vector(x: 149, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1359) > Vector(x: 149, y: 1359)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1309) > Vector(x: 49, y: 1359)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [68, 1323]: 26 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1361) > Vector(x: 49, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1411) > Vector(x: 149, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1411) > Vector(x: 149, y: 1411)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1361) > Vector(x: 49, y: 1411)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 1375]: 27 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1413) > Vector(x: 49, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1463) > Vector(x: 149, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1463) > Vector(x: 149, y: 1463)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1413) > Vector(x: 49, y: 1463)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 1427]: 28 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1465) > Vector(x: 49, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1515) > Vector(x: 149, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1515) > Vector(x: 149, y: 1515)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1465) > Vector(x: 49, y: 1515)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 1479]: 29 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1517) > Vector(x: 49, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1567) > Vector(x: 149, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1567) > Vector(x: 149, y: 1567)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1517) > Vector(x: 49, y: 1567)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 1531]: 30 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1569) > Vector(x: 49, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1619) > Vector(x: 149, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1619) > Vector(x: 149, y: 1619)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1569) > Vector(x: 49, y: 1619)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 1583]: 31 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1621) > Vector(x: 49, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1671) > Vector(x: 149, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1671) > Vector(x: 149, y: 1671)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1621) > Vector(x: 49, y: 1671)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 1635]: 32 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1673) > Vector(x: 49, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1723) > Vector(x: 149, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1723) > Vector(x: 149, y: 1723)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1673) > Vector(x: 49, y: 1723)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 1687]: 33 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1725) > Vector(x: 49, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1775) > Vector(x: 149, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1775) > Vector(x: 149, y: 1775)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1725) > Vector(x: 49, y: 1775)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 1739]: 34 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1777) > Vector(x: 49, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1827) > Vector(x: 149, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1827) > Vector(x: 149, y: 1827)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1777) > Vector(x: 49, y: 1827)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 1791]: 35 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1829) > Vector(x: 49, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1879) > Vector(x: 149, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1879) > Vector(x: 149, y: 1879)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1829) > Vector(x: 49, y: 1879)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 1843]: 36 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1881) > Vector(x: 49, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 150, y: 1932) > Vector(x: 149, y: 1931) > Vector(x: 149, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1932) > Vector(x: 48, y: 1932) > Vector(x: 49, y: 1931) > Vector(x: 149, y: 1931)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1932) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1881) > Vector(x: 49, y: 1931)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 1895]: 37 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1932) > Vector(x: 150, y: 1932) > Vector(x: 149, y: 1933) > Vector(x: 49, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1932) > Vector(x: 150, y: 1984) > Vector(x: 149, y: 1983) > Vector(x: 149, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1984) > Vector(x: 48, y: 1984) > Vector(x: 49, y: 1983) > Vector(x: 149, y: 1983)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1984) > Vector(x: 48, y: 1932) > Vector(x: 49, y: 1933) > Vector(x: 49, y: 1983)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 1947]: 38 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1984) > Vector(x: 150, y: 1984) > Vector(x: 149, y: 1985) > Vector(x: 49, y: 1985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1984) > Vector(x: 150, y: 2036) > Vector(x: 149, y: 2035) > Vector(x: 149, y: 1985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2036) > Vector(x: 48, y: 2036) > Vector(x: 49, y: 2035) > Vector(x: 149, y: 2035)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2036) > Vector(x: 48, y: 1984) > Vector(x: 49, y: 1985) > Vector(x: 49, y: 2035)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [83, 1999]: 39 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2036) > Vector(x: 150, y: 2036) > Vector(x: 149, y: 2037) > Vector(x: 49, y: 2037)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2036) > Vector(x: 150, y: 2088) > Vector(x: 149, y: 2087) > Vector(x: 149, y: 2037)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2088) > Vector(x: 48, y: 2088) > Vector(x: 49, y: 2087) > Vector(x: 149, y: 2087)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2088) > Vector(x: 48, y: 2036) > Vector(x: 49, y: 2037) > Vector(x: 49, y: 2087)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2051]: 40 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2088) > Vector(x: 150, y: 2088) > Vector(x: 149, y: 2089) > Vector(x: 49, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2088) > Vector(x: 150, y: 2140) > Vector(x: 149, y: 2139) > Vector(x: 149, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2140) > Vector(x: 48, y: 2140) > Vector(x: 49, y: 2139) > Vector(x: 149, y: 2139)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2140) > Vector(x: 48, y: 2088) > Vector(x: 49, y: 2089) > Vector(x: 49, y: 2139)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2103]: 41 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2140) > Vector(x: 150, y: 2140) > Vector(x: 149, y: 2141) > Vector(x: 49, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2140) > Vector(x: 150, y: 2192) > Vector(x: 149, y: 2191) > Vector(x: 149, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2192) > Vector(x: 48, y: 2192) > Vector(x: 49, y: 2191) > Vector(x: 149, y: 2191)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2192) > Vector(x: 48, y: 2140) > Vector(x: 49, y: 2141) > Vector(x: 49, y: 2191)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2155]: 42 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2192) > Vector(x: 150, y: 2192) > Vector(x: 149, y: 2193) > Vector(x: 49, y: 2193)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2192) > Vector(x: 150, y: 2244) > Vector(x: 149, y: 2243) > Vector(x: 149, y: 2193)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2244) > Vector(x: 48, y: 2244) > Vector(x: 49, y: 2243) > Vector(x: 149, y: 2243)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2244) > Vector(x: 48, y: 2192) > Vector(x: 49, y: 2193) > Vector(x: 49, y: 2243)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2207]: 43 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2244) > Vector(x: 150, y: 2244) > Vector(x: 149, y: 2245) > Vector(x: 49, y: 2245)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2244) > Vector(x: 150, y: 2296) > Vector(x: 149, y: 2295) > Vector(x: 149, y: 2245)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2296) > Vector(x: 48, y: 2296) > Vector(x: 49, y: 2295) > Vector(x: 149, y: 2295)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2296) > Vector(x: 48, y: 2244) > Vector(x: 49, y: 2245) > Vector(x: 49, y: 2295)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 2259]: 44 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2296) > Vector(x: 150, y: 2296) > Vector(x: 149, y: 2297) > Vector(x: 49, y: 2297)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2296) > Vector(x: 150, y: 2348) > Vector(x: 149, y: 2347) > Vector(x: 149, y: 2297)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2348) > Vector(x: 48, y: 2348) > Vector(x: 49, y: 2347) > Vector(x: 149, y: 2347)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2348) > Vector(x: 48, y: 2296) > Vector(x: 49, y: 2297) > Vector(x: 49, y: 2347)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [76, 2311]: 45 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2348) > Vector(x: 150, y: 2348) > Vector(x: 149, y: 2349) > Vector(x: 49, y: 2349)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2348) > Vector(x: 150, y: 2400) > Vector(x: 149, y: 2399) > Vector(x: 149, y: 2349)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2400) > Vector(x: 48, y: 2400) > Vector(x: 49, y: 2399) > Vector(x: 149, y: 2399)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2400) > Vector(x: 48, y: 2348) > Vector(x: 49, y: 2349) > Vector(x: 49, y: 2399)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 2363]: 46 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2400) > Vector(x: 150, y: 2400) > Vector(x: 149, y: 2401) > Vector(x: 49, y: 2401)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2400) > Vector(x: 150, y: 2452) > Vector(x: 149, y: 2451) > Vector(x: 149, y: 2401)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2452) > Vector(x: 48, y: 2452) > Vector(x: 49, y: 2451) > Vector(x: 149, y: 2451)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2452) > Vector(x: 48, y: 2400) > Vector(x: 49, y: 2401) > Vector(x: 49, y: 2451)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2415]: 47 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2452) > Vector(x: 150, y: 2452) > Vector(x: 149, y: 2453) > Vector(x: 49, y: 2453)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2452) > Vector(x: 150, y: 2504) > Vector(x: 149, y: 2503) > Vector(x: 149, y: 2453)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2504) > Vector(x: 48, y: 2504) > Vector(x: 49, y: 2503) > Vector(x: 149, y: 2503)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2504) > Vector(x: 48, y: 2452) > Vector(x: 49, y: 2453) > Vector(x: 49, y: 2503)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2467]: 48 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2504) > Vector(x: 150, y: 2504) > Vector(x: 149, y: 2505) > Vector(x: 49, y: 2505)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2504) > Vector(x: 150, y: 2556) > Vector(x: 149, y: 2555) > Vector(x: 149, y: 2505)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2556) > Vector(x: 48, y: 2556) > Vector(x: 49, y: 2555) > Vector(x: 149, y: 2555)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2556) > Vector(x: 48, y: 2504) > Vector(x: 49, y: 2505) > Vector(x: 49, y: 2555)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [82, 2519]: 49 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2556) > Vector(x: 150, y: 2556) > Vector(x: 149, y: 2557) > Vector(x: 49, y: 2557)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2556) > Vector(x: 150, y: 2608) > Vector(x: 149, y: 2607) > Vector(x: 149, y: 2557)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2608) > Vector(x: 48, y: 2608) > Vector(x: 49, y: 2607) > Vector(x: 149, y: 2607)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2608) > Vector(x: 48, y: 2556) > Vector(x: 49, y: 2557) > Vector(x: 49, y: 2607)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2571]: 50 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2608) > Vector(x: 150, y: 2608) > Vector(x: 149, y: 2609) > Vector(x: 49, y: 2609)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2608) > Vector(x: 150, y: 2660) > Vector(x: 149, y: 2659) > Vector(x: 149, y: 2609)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2660) > Vector(x: 48, y: 2660) > Vector(x: 49, y: 2659) > Vector(x: 149, y: 2659)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2660) > Vector(x: 48, y: 2608) > Vector(x: 49, y: 2609) > Vector(x: 49, y: 2659)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2623]: 51 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2660) > Vector(x: 150, y: 2660) > Vector(x: 149, y: 2661) > Vector(x: 49, y: 2661)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2660) > Vector(x: 150, y: 2712) > Vector(x: 149, y: 2711) > Vector(x: 149, y: 2661)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2712) > Vector(x: 48, y: 2712) > Vector(x: 49, y: 2711) > Vector(x: 149, y: 2711)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2712) > Vector(x: 48, y: 2660) > Vector(x: 49, y: 2661) > Vector(x: 49, y: 2711)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 2675]: 52 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2712) > Vector(x: 150, y: 2712) > Vector(x: 149, y: 2713) > Vector(x: 49, y: 2713)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2712) > Vector(x: 150, y: 2764) > Vector(x: 149, y: 2763) > Vector(x: 149, y: 2713)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2764) > Vector(x: 48, y: 2764) > Vector(x: 49, y: 2763) > Vector(x: 149, y: 2763)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2764) > Vector(x: 48, y: 2712) > Vector(x: 49, y: 2713) > Vector(x: 49, y: 2763)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2727]: 53 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2764) > Vector(x: 150, y: 2764) > Vector(x: 149, y: 2765) > Vector(x: 49, y: 2765)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2764) > Vector(x: 150, y: 2816) > Vector(x: 149, y: 2815) > Vector(x: 149, y: 2765)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2816) > Vector(x: 48, y: 2816) > Vector(x: 49, y: 2815) > Vector(x: 149, y: 2815)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2816) > Vector(x: 48, y: 2764) > Vector(x: 49, y: 2765) > Vector(x: 49, y: 2815)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2779]: 54 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2816) > Vector(x: 150, y: 2816) > Vector(x: 149, y: 2817) > Vector(x: 49, y: 2817)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2816) > Vector(x: 150, y: 2868) > Vector(x: 149, y: 2867) > Vector(x: 149, y: 2817)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2868) > Vector(x: 48, y: 2868) > Vector(x: 49, y: 2867) > Vector(x: 149, y: 2867)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2868) > Vector(x: 48, y: 2816) > Vector(x: 49, y: 2817) > Vector(x: 49, y: 2867)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2831]: 55 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2868) > Vector(x: 150, y: 2868) > Vector(x: 149, y: 2869) > Vector(x: 49, y: 2869)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2868) > Vector(x: 150, y: 2920) > Vector(x: 149, y: 2919) > Vector(x: 149, y: 2869)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2920) > Vector(x: 48, y: 2920) > Vector(x: 49, y: 2919) > Vector(x: 149, y: 2919)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2920) > Vector(x: 48, y: 2868) > Vector(x: 49, y: 2869) > Vector(x: 49, y: 2919)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 2883]: 56 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2920) > Vector(x: 150, y: 2920) > Vector(x: 149, y: 2921) > Vector(x: 49, y: 2921)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2920) > Vector(x: 150, y: 2972) > Vector(x: 149, y: 2971) > Vector(x: 149, y: 2921)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2972) > Vector(x: 48, y: 2972) > Vector(x: 49, y: 2971) > Vector(x: 149, y: 2971)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2972) > Vector(x: 48, y: 2920) > Vector(x: 49, y: 2921) > Vector(x: 49, y: 2971)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2935]: 57 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2972) > Vector(x: 150, y: 2972) > Vector(x: 149, y: 2973) > Vector(x: 49, y: 2973)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2972) > Vector(x: 150, y: 3024) > Vector(x: 149, y: 3023) > Vector(x: 149, y: 2973)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3024) > Vector(x: 48, y: 3024) > Vector(x: 49, y: 3023) > Vector(x: 149, y: 3023)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3024) > Vector(x: 48, y: 2972) > Vector(x: 49, y: 2973) > Vector(x: 49, y: 3023)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [76, 2987]: 58 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3024) > Vector(x: 150, y: 3024) > Vector(x: 149, y: 3025) > Vector(x: 49, y: 3025)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3024) > Vector(x: 150, y: 3076) > Vector(x: 149, y: 3075) > Vector(x: 149, y: 3025)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3076) > Vector(x: 48, y: 3076) > Vector(x: 49, y: 3075) > Vector(x: 149, y: 3075)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3076) > Vector(x: 48, y: 3024) > Vector(x: 49, y: 3025) > Vector(x: 49, y: 3075)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3039]: 59 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3076) > Vector(x: 150, y: 3076) > Vector(x: 149, y: 3077) > Vector(x: 49, y: 3077)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3076) > Vector(x: 150, y: 3128) > Vector(x: 149, y: 3127) > Vector(x: 149, y: 3077)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3128) > Vector(x: 48, y: 3128) > Vector(x: 49, y: 3127) > Vector(x: 149, y: 3127)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3128) > Vector(x: 48, y: 3076) > Vector(x: 49, y: 3077) > Vector(x: 49, y: 3127)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3091]: 60 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3128) > Vector(x: 150, y: 3128) > Vector(x: 149, y: 3129) > Vector(x: 49, y: 3129)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3128) > Vector(x: 150, y: 3180) > Vector(x: 149, y: 3179) > Vector(x: 149, y: 3129)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3180) > Vector(x: 48, y: 3180) > Vector(x: 49, y: 3179) > Vector(x: 149, y: 3179)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3180) > Vector(x: 48, y: 3128) > Vector(x: 49, y: 3129) > Vector(x: 49, y: 3179)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 3143]: 61 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3180) > Vector(x: 150, y: 3180) > Vector(x: 149, y: 3181) > Vector(x: 49, y: 3181)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3180) > Vector(x: 150, y: 3232) > Vector(x: 149, y: 3231) > Vector(x: 149, y: 3181)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3232) > Vector(x: 48, y: 3232) > Vector(x: 49, y: 3231) > Vector(x: 149, y: 3231)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3232) > Vector(x: 48, y: 3180) > Vector(x: 49, y: 3181) > Vector(x: 49, y: 3231)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 3195]: 62 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3232) > Vector(x: 150, y: 3232) > Vector(x: 149, y: 3233) > Vector(x: 49, y: 3233)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3232) > Vector(x: 150, y: 3284) > Vector(x: 149, y: 3283) > Vector(x: 149, y: 3233)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3284) > Vector(x: 48, y: 3284) > Vector(x: 49, y: 3283) > Vector(x: 149, y: 3283)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3284) > Vector(x: 48, y: 3232) > Vector(x: 49, y: 3233) > Vector(x: 49, y: 3283)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3247]: 63 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3284) > Vector(x: 150, y: 3284) > Vector(x: 149, y: 3285) > Vector(x: 49, y: 3285)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3284) > Vector(x: 150, y: 3336) > Vector(x: 149, y: 3335) > Vector(x: 149, y: 3285)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3336) > Vector(x: 48, y: 3336) > Vector(x: 49, y: 3335) > Vector(x: 149, y: 3335)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3336) > Vector(x: 48, y: 3284) > Vector(x: 49, y: 3285) > Vector(x: 49, y: 3335)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 3299]: 64 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3336) > Vector(x: 150, y: 3336) > Vector(x: 149, y: 3337) > Vector(x: 49, y: 3337)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3336) > Vector(x: 150, y: 3388) > Vector(x: 149, y: 3387) > Vector(x: 149, y: 3337)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3388) > Vector(x: 48, y: 3388) > Vector(x: 49, y: 3387) > Vector(x: 149, y: 3387)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3388) > Vector(x: 48, y: 3336) > Vector(x: 49, y: 3337) > Vector(x: 49, y: 3387)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [85, 3351]: 65 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3388) > Vector(x: 150, y: 3388) > Vector(x: 149, y: 3389) > Vector(x: 49, y: 3389)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3388) > Vector(x: 150, y: 3440) > Vector(x: 149, y: 3439) > Vector(x: 149, y: 3389)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3440) > Vector(x: 48, y: 3440) > Vector(x: 49, y: 3439) > Vector(x: 149, y: 3439)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3440) > Vector(x: 48, y: 3388) > Vector(x: 49, y: 3389) > Vector(x: 49, y: 3439)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3403]: 66 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3440) > Vector(x: 150, y: 3440) > Vector(x: 149, y: 3441) > Vector(x: 49, y: 3441)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3440) > Vector(x: 150, y: 3492) > Vector(x: 149, y: 3491) > Vector(x: 149, y: 3441)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3492) > Vector(x: 48, y: 3492) > Vector(x: 49, y: 3491) > Vector(x: 149, y: 3491)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3492) > Vector(x: 48, y: 3440) > Vector(x: 49, y: 3441) > Vector(x: 49, y: 3491)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3455]: 67 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3492) > Vector(x: 150, y: 3492) > Vector(x: 149, y: 3493) > Vector(x: 49, y: 3493)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3492) > Vector(x: 150, y: 3544) > Vector(x: 149, y: 3543) > Vector(x: 149, y: 3493)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3544) > Vector(x: 48, y: 3544) > Vector(x: 49, y: 3543) > Vector(x: 149, y: 3543)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3544) > Vector(x: 48, y: 3492) > Vector(x: 49, y: 3493) > Vector(x: 49, y: 3543)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3507]: 68 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3544) > Vector(x: 150, y: 3544) > Vector(x: 149, y: 3545) > Vector(x: 49, y: 3545)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3544) > Vector(x: 150, y: 3596) > Vector(x: 149, y: 3595) > Vector(x: 149, y: 3545)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3596) > Vector(x: 48, y: 3596) > Vector(x: 49, y: 3595) > Vector(x: 149, y: 3595)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3596) > Vector(x: 48, y: 3544) > Vector(x: 49, y: 3545) > Vector(x: 49, y: 3595)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3559]: 69 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3596) > Vector(x: 150, y: 3596) > Vector(x: 149, y: 3597) > Vector(x: 49, y: 3597)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3596) > Vector(x: 150, y: 3648) > Vector(x: 149, y: 3647) > Vector(x: 149, y: 3597)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3648) > Vector(x: 48, y: 3648) > Vector(x: 49, y: 3647) > Vector(x: 149, y: 3647)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3648) > Vector(x: 48, y: 3596) > Vector(x: 49, y: 3597) > Vector(x: 49, y: 3647)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [76, 3611]: 70 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3648) > Vector(x: 150, y: 3648) > Vector(x: 149, y: 3649) > Vector(x: 49, y: 3649)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3648) > Vector(x: 150, y: 3700) > Vector(x: 149, y: 3699) > Vector(x: 149, y: 3649)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3700) > Vector(x: 48, y: 3700) > Vector(x: 49, y: 3699) > Vector(x: 149, y: 3699)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3700) > Vector(x: 48, y: 3648) > Vector(x: 49, y: 3649) > Vector(x: 49, y: 3699)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 3663]: 71 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3700) > Vector(x: 150, y: 3700) > Vector(x: 149, y: 3701) > Vector(x: 49, y: 3701)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3700) > Vector(x: 150, y: 3752) > Vector(x: 149, y: 3751) > Vector(x: 149, y: 3701)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3752) > Vector(x: 48, y: 3752) > Vector(x: 49, y: 3751) > Vector(x: 149, y: 3751)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3752) > Vector(x: 48, y: 3700) > Vector(x: 49, y: 3701) > Vector(x: 49, y: 3751)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 3715]: 72 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3752) > Vector(x: 150, y: 3752) > Vector(x: 149, y: 3753) > Vector(x: 49, y: 3753)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3752) > Vector(x: 150, y: 3804) > Vector(x: 149, y: 3803) > Vector(x: 149, y: 3753)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3804) > Vector(x: 48, y: 3804) > Vector(x: 49, y: 3803) > Vector(x: 149, y: 3803)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3804) > Vector(x: 48, y: 3752) > Vector(x: 49, y: 3753) > Vector(x: 49, y: 3803)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3767]: 73 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3804) > Vector(x: 150, y: 3804) > Vector(x: 149, y: 3805) > Vector(x: 49, y: 3805)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3804) > Vector(x: 150, y: 3856) > Vector(x: 149, y: 3855) > Vector(x: 149, y: 3805)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3856) > Vector(x: 48, y: 3856) > Vector(x: 49, y: 3855) > Vector(x: 149, y: 3855)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3856) > Vector(x: 48, y: 3804) > Vector(x: 49, y: 3805) > Vector(x: 49, y: 3855)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3819]: 74 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3856) > Vector(x: 150, y: 3856) > Vector(x: 149, y: 3857) > Vector(x: 49, y: 3857)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3856) > Vector(x: 150, y: 3908) > Vector(x: 149, y: 3907) > Vector(x: 149, y: 3857)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3908) > Vector(x: 48, y: 3908) > Vector(x: 49, y: 3907) > Vector(x: 149, y: 3907)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3908) > Vector(x: 48, y: 3856) > Vector(x: 49, y: 3857) > Vector(x: 49, y: 3907)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [83, 3871]: 75 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3908) > Vector(x: 150, y: 3908) > Vector(x: 149, y: 3909) > Vector(x: 49, y: 3909)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3908) > Vector(x: 150, y: 3960) > Vector(x: 149, y: 3959) > Vector(x: 149, y: 3909)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3960) > Vector(x: 48, y: 3960) > Vector(x: 49, y: 3959) > Vector(x: 149, y: 3959)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3960) > Vector(x: 48, y: 3908) > Vector(x: 49, y: 3909) > Vector(x: 49, y: 3959)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3923]: 76 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3960) > Vector(x: 150, y: 3960) > Vector(x: 149, y: 3961) > Vector(x: 49, y: 3961)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3960) > Vector(x: 150, y: 4012) > Vector(x: 149, y: 4011) > Vector(x: 149, y: 3961)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4012) > Vector(x: 48, y: 4012) > Vector(x: 49, y: 4011) > Vector(x: 149, y: 4011)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4012) > Vector(x: 48, y: 3960) > Vector(x: 49, y: 3961) > Vector(x: 49, y: 4011)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 3975]: 77 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4012) > Vector(x: 150, y: 4012) > Vector(x: 149, y: 4013) > Vector(x: 49, y: 4013)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4012) > Vector(x: 150, y: 4064) > Vector(x: 149, y: 4063) > Vector(x: 149, y: 4013)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4064) > Vector(x: 48, y: 4064) > Vector(x: 49, y: 4063) > Vector(x: 149, y: 4063)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4064) > Vector(x: 48, y: 4012) > Vector(x: 49, y: 4013) > Vector(x: 49, y: 4063)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4027]: 78 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4064) > Vector(x: 150, y: 4064) > Vector(x: 149, y: 4065) > Vector(x: 49, y: 4065)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4064) > Vector(x: 150, y: 4116) > Vector(x: 149, y: 4115) > Vector(x: 149, y: 4065)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4116) > Vector(x: 48, y: 4116) > Vector(x: 49, y: 4115) > Vector(x: 149, y: 4115)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4116) > Vector(x: 48, y: 4064) > Vector(x: 49, y: 4065) > Vector(x: 49, y: 4115)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 4079]: 79 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4116) > Vector(x: 150, y: 4116) > Vector(x: 149, y: 4117) > Vector(x: 49, y: 4117)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4116) > Vector(x: 150, y: 4168) > Vector(x: 149, y: 4167) > Vector(x: 149, y: 4117)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4168) > Vector(x: 48, y: 4168) > Vector(x: 49, y: 4167) > Vector(x: 149, y: 4167)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4168) > Vector(x: 48, y: 4116) > Vector(x: 49, y: 4117) > Vector(x: 49, y: 4167)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4131]: 80 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4168) > Vector(x: 150, y: 4168) > Vector(x: 149, y: 4169) > Vector(x: 49, y: 4169)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4168) > Vector(x: 150, y: 4220) > Vector(x: 149, y: 4219) > Vector(x: 149, y: 4169)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4220) > Vector(x: 48, y: 4220) > Vector(x: 49, y: 4219) > Vector(x: 149, y: 4219)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4220) > Vector(x: 48, y: 4168) > Vector(x: 49, y: 4169) > Vector(x: 49, y: 4219)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 4183]: 81 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4220) > Vector(x: 150, y: 4220) > Vector(x: 149, y: 4221) > Vector(x: 49, y: 4221)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4220) > Vector(x: 150, y: 4272) > Vector(x: 149, y: 4271) > Vector(x: 149, y: 4221)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4272) > Vector(x: 48, y: 4272) > Vector(x: 49, y: 4271) > Vector(x: 149, y: 4271)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4272) > Vector(x: 48, y: 4220) > Vector(x: 49, y: 4221) > Vector(x: 49, y: 4271)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4235]: 82 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4272) > Vector(x: 150, y: 4272) > Vector(x: 149, y: 4273) > Vector(x: 49, y: 4273)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4272) > Vector(x: 150, y: 4324) > Vector(x: 149, y: 4323) > Vector(x: 149, y: 4273)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4324) > Vector(x: 48, y: 4324) > Vector(x: 49, y: 4323) > Vector(x: 149, y: 4323)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4324) > Vector(x: 48, y: 4272) > Vector(x: 49, y: 4273) > Vector(x: 49, y: 4323)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [77, 4287]: 83 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4324) > Vector(x: 150, y: 4324) > Vector(x: 149, y: 4325) > Vector(x: 49, y: 4325)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4324) > Vector(x: 150, y: 4376) > Vector(x: 149, y: 4375) > Vector(x: 149, y: 4325)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4376) > Vector(x: 48, y: 4376) > Vector(x: 49, y: 4375) > Vector(x: 149, y: 4375)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4376) > Vector(x: 48, y: 4324) > Vector(x: 49, y: 4325) > Vector(x: 49, y: 4375)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 4339]: 84 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4376) > Vector(x: 150, y: 4376) > Vector(x: 149, y: 4377) > Vector(x: 49, y: 4377)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4376) > Vector(x: 150, y: 4428) > Vector(x: 149, y: 4427) > Vector(x: 149, y: 4377)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4428) > Vector(x: 48, y: 4428) > Vector(x: 49, y: 4427) > Vector(x: 149, y: 4427)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4428) > Vector(x: 48, y: 4376) > Vector(x: 49, y: 4377) > Vector(x: 49, y: 4427)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4391]: 85 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4428) > Vector(x: 150, y: 4428) > Vector(x: 149, y: 4429) > Vector(x: 49, y: 4429)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4428) > Vector(x: 150, y: 4480) > Vector(x: 149, y: 4479) > Vector(x: 149, y: 4429)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4480) > Vector(x: 48, y: 4480) > Vector(x: 49, y: 4479) > Vector(x: 149, y: 4479)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4480) > Vector(x: 48, y: 4428) > Vector(x: 49, y: 4429) > Vector(x: 49, y: 4479)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4443]: 86 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4480) > Vector(x: 150, y: 4480) > Vector(x: 149, y: 4481) > Vector(x: 49, y: 4481)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4480) > Vector(x: 150, y: 4532) > Vector(x: 149, y: 4531) > Vector(x: 149, y: 4481)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4532) > Vector(x: 48, y: 4532) > Vector(x: 49, y: 4531) > Vector(x: 149, y: 4531)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4532) > Vector(x: 48, y: 4480) > Vector(x: 49, y: 4481) > Vector(x: 49, y: 4531)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 4495]: 87 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4532) > Vector(x: 150, y: 4532) > Vector(x: 149, y: 4533) > Vector(x: 49, y: 4533)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4532) > Vector(x: 150, y: 4584) > Vector(x: 149, y: 4583) > Vector(x: 149, y: 4533)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4584) > Vector(x: 48, y: 4584) > Vector(x: 49, y: 4583) > Vector(x: 149, y: 4583)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4584) > Vector(x: 48, y: 4532) > Vector(x: 49, y: 4533) > Vector(x: 49, y: 4583)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 4547]: 88 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4584) > Vector(x: 150, y: 4584) > Vector(x: 149, y: 4585) > Vector(x: 49, y: 4585)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4584) > Vector(x: 150, y: 4636) > Vector(x: 149, y: 4635) > Vector(x: 149, y: 4585)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4636) > Vector(x: 48, y: 4636) > Vector(x: 49, y: 4635) > Vector(x: 149, y: 4635)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4636) > Vector(x: 48, y: 4584) > Vector(x: 49, y: 4585) > Vector(x: 49, y: 4635)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4599]: 89 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4636) > Vector(x: 150, y: 4636) > Vector(x: 149, y: 4637) > Vector(x: 49, y: 4637)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4636) > Vector(x: 150, y: 4688) > Vector(x: 149, y: 4687) > Vector(x: 149, y: 4637)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4688) > Vector(x: 48, y: 4688) > Vector(x: 49, y: 4687) > Vector(x: 149, y: 4687)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4688) > Vector(x: 48, y: 4636) > Vector(x: 49, y: 4637) > Vector(x: 49, y: 4687)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 4651]: 90 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4688) > Vector(x: 150, y: 4688) > Vector(x: 149, y: 4689) > Vector(x: 49, y: 4689)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4688) > Vector(x: 150, y: 4740) > Vector(x: 149, y: 4739) > Vector(x: 149, y: 4689)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4740) > Vector(x: 48, y: 4740) > Vector(x: 49, y: 4739) > Vector(x: 149, y: 4739)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4740) > Vector(x: 48, y: 4688) > Vector(x: 49, y: 4689) > Vector(x: 49, y: 4739)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [83, 4703]: 91 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4740) > Vector(x: 150, y: 4740) > Vector(x: 149, y: 4741) > Vector(x: 49, y: 4741)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4740) > Vector(x: 150, y: 4792) > Vector(x: 149, y: 4791) > Vector(x: 149, y: 4741)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4792) > Vector(x: 48, y: 4792) > Vector(x: 49, y: 4791) > Vector(x: 149, y: 4791)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4792) > Vector(x: 48, y: 4740) > Vector(x: 49, y: 4741) > Vector(x: 49, y: 4791)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4755]: 92 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4792) > Vector(x: 150, y: 4792) > Vector(x: 149, y: 4793) > Vector(x: 49, y: 4793)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4792) > Vector(x: 150, y: 4844) > Vector(x: 149, y: 4843) > Vector(x: 149, y: 4793)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4844) > Vector(x: 48, y: 4844) > Vector(x: 49, y: 4843) > Vector(x: 149, y: 4843)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4844) > Vector(x: 48, y: 4792) > Vector(x: 49, y: 4793) > Vector(x: 49, y: 4843)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4807]: 93 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4844) > Vector(x: 150, y: 4844) > Vector(x: 149, y: 4845) > Vector(x: 49, y: 4845)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4844) > Vector(x: 150, y: 4896) > Vector(x: 149, y: 4895) > Vector(x: 149, y: 4845)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4896) > Vector(x: 48, y: 4896) > Vector(x: 49, y: 4895) > Vector(x: 149, y: 4895)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4896) > Vector(x: 48, y: 4844) > Vector(x: 49, y: 4845) > Vector(x: 49, y: 4895)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4859]: 94 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4896) > Vector(x: 150, y: 4896) > Vector(x: 149, y: 4897) > Vector(x: 49, y: 4897)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4896) > Vector(x: 150, y: 4948) > Vector(x: 149, y: 4947) > Vector(x: 149, y: 4897)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4948) > Vector(x: 48, y: 4948) > Vector(x: 49, y: 4947) > Vector(x: 149, y: 4947)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4948) > Vector(x: 48, y: 4896) > Vector(x: 49, y: 4897) > Vector(x: 49, y: 4947)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 4911]: 95 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4948) > Vector(x: 150, y: 4948) > Vector(x: 149, y: 4949) > Vector(x: 49, y: 4949)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4948) > Vector(x: 150, y: 5000) > Vector(x: 149, y: 4999) > Vector(x: 149, y: 4949)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5000) > Vector(x: 48, y: 5000) > Vector(x: 49, y: 4999) > Vector(x: 149, y: 4999)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5000) > Vector(x: 48, y: 4948) > Vector(x: 49, y: 4949) > Vector(x: 49, y: 4999)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [75, 4963]: 96 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5000) > Vector(x: 150, y: 5000) > Vector(x: 149, y: 5001) > Vector(x: 49, y: 5001)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5000) > Vector(x: 150, y: 5052) > Vector(x: 149, y: 5051) > Vector(x: 149, y: 5001)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5052) > Vector(x: 48, y: 5052) > Vector(x: 49, y: 5051) > Vector(x: 149, y: 5051)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5052) > Vector(x: 48, y: 5000) > Vector(x: 49, y: 5001) > Vector(x: 49, y: 5051)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [76, 5015]: 97 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5052) > Vector(x: 150, y: 5052) > Vector(x: 149, y: 5053) > Vector(x: 49, y: 5053)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5052) > Vector(x: 150, y: 5104) > Vector(x: 149, y: 5103) > Vector(x: 149, y: 5053)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5104) > Vector(x: 48, y: 5104) > Vector(x: 49, y: 5103) > Vector(x: 149, y: 5103)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5104) > Vector(x: 48, y: 5052) > Vector(x: 49, y: 5053) > Vector(x: 49, y: 5103)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 5067]: 98 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5104) > Vector(x: 150, y: 5104) > Vector(x: 149, y: 5105) > Vector(x: 49, y: 5105)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5104) > Vector(x: 150, y: 5156) > Vector(x: 149, y: 5155) > Vector(x: 149, y: 5105)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5156) > Vector(x: 48, y: 5156) > Vector(x: 49, y: 5155) > Vector(x: 149, y: 5155)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5156) > Vector(x: 48, y: 5104) > Vector(x: 49, y: 5105) > Vector(x: 49, y: 5155)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 5119]: 99 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5156) > Vector(x: 150, y: 5156) > Vector(x: 149, y: 5157) > Vector(x: 49, y: 5157)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5156) > Vector(x: 150, y: 5208) > Vector(x: 149, y: 5207) > Vector(x: 149, y: 5157)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5208) > Vector(x: 48, y: 5208) > Vector(x: 49, y: 5207) > Vector(x: 149, y: 5207)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5208) > Vector(x: 48, y: 5156) > Vector(x: 49, y: 5157) > Vector(x: 49, y: 5207)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 5171]: 100 \ No newline at end of file diff --git a/tests/cases/list/upper-roman.html b/tests/reftests/list/upper-roman.html similarity index 100% rename from tests/cases/list/upper-roman.html rename to tests/reftests/list/upper-roman.html diff --git a/tests/reftests/list/upper-roman.txt b/tests/reftests/list/upper-roman.txt new file mode 100644 index 0000000..1e556c9 --- /dev/null +++ b/tests/reftests/list/upper-roman.txt @@ -0,0 +1,603 @@ +Window: [800, 5666] +Rectangle: [0, 0, 800, 5666] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 8) > Vector(x: 150, y: 8) > Vector(x: 149, y: 9) > Vector(x: 49, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 8) > Vector(x: 150, y: 60) > Vector(x: 149, y: 59) > Vector(x: 149, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 48, y: 60) > Vector(x: 49, y: 59) > Vector(x: 149, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 48, y: 8) > Vector(x: 49, y: 9) > Vector(x: 49, y: 59)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [66, 23]: 1 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 60) > Vector(x: 150, y: 60) > Vector(x: 149, y: 61) > Vector(x: 49, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 60) > Vector(x: 150, y: 112) > Vector(x: 149, y: 111) > Vector(x: 149, y: 61)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 48, y: 112) > Vector(x: 49, y: 111) > Vector(x: 149, y: 111)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 48, y: 60) > Vector(x: 49, y: 61) > Vector(x: 49, y: 111)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [72, 75]: 2 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 112) > Vector(x: 150, y: 112) > Vector(x: 149, y: 113) > Vector(x: 49, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 112) > Vector(x: 150, y: 164) > Vector(x: 149, y: 163) > Vector(x: 149, y: 113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 48, y: 164) > Vector(x: 49, y: 163) > Vector(x: 149, y: 163)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 48, y: 112) > Vector(x: 49, y: 113) > Vector(x: 49, y: 163)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [79, 127]: 3 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 164) > Vector(x: 150, y: 164) > Vector(x: 149, y: 165) > Vector(x: 49, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 164) > Vector(x: 150, y: 216) > Vector(x: 149, y: 215) > Vector(x: 149, y: 165)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 48, y: 216) > Vector(x: 49, y: 215) > Vector(x: 149, y: 215)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 48, y: 164) > Vector(x: 49, y: 165) > Vector(x: 49, y: 215)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [80, 179]: 4 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 216) > Vector(x: 150, y: 216) > Vector(x: 149, y: 217) > Vector(x: 49, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 216) > Vector(x: 150, y: 268) > Vector(x: 149, y: 267) > Vector(x: 149, y: 217)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 48, y: 268) > Vector(x: 49, y: 267) > Vector(x: 149, y: 267)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 48, y: 216) > Vector(x: 49, y: 217) > Vector(x: 49, y: 267)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 231]: 5 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 268) > Vector(x: 150, y: 268) > Vector(x: 149, y: 269) > Vector(x: 49, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 268) > Vector(x: 150, y: 320) > Vector(x: 149, y: 319) > Vector(x: 149, y: 269)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 48, y: 320) > Vector(x: 49, y: 319) > Vector(x: 149, y: 319)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 48, y: 268) > Vector(x: 49, y: 269) > Vector(x: 49, y: 319)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [80, 283]: 6 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 320) > Vector(x: 150, y: 320) > Vector(x: 149, y: 321) > Vector(x: 49, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 320) > Vector(x: 150, y: 372) > Vector(x: 149, y: 371) > Vector(x: 149, y: 321)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 48, y: 372) > Vector(x: 49, y: 371) > Vector(x: 149, y: 371)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 48, y: 320) > Vector(x: 49, y: 321) > Vector(x: 49, y: 371)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [87, 335]: 7 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 372) > Vector(x: 150, y: 372) > Vector(x: 149, y: 373) > Vector(x: 49, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 372) > Vector(x: 150, y: 424) > Vector(x: 149, y: 423) > Vector(x: 149, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 48, y: 424) > Vector(x: 49, y: 423) > Vector(x: 149, y: 423)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 48, y: 372) > Vector(x: 49, y: 373) > Vector(x: 49, y: 423)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [93, 387]: 8 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 424) > Vector(x: 150, y: 424) > Vector(x: 149, y: 425) > Vector(x: 49, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 424) > Vector(x: 150, y: 476) > Vector(x: 149, y: 475) > Vector(x: 149, y: 425)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 48, y: 476) > Vector(x: 49, y: 475) > Vector(x: 149, y: 475)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 48, y: 424) > Vector(x: 49, y: 425) > Vector(x: 49, y: 475)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [80, 439]: 9 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 476) > Vector(x: 150, y: 476) > Vector(x: 149, y: 477) > Vector(x: 49, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 476) > Vector(x: 150, y: 528) > Vector(x: 149, y: 527) > Vector(x: 149, y: 477)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 48, y: 528) > Vector(x: 49, y: 527) > Vector(x: 149, y: 527)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 48, y: 476) > Vector(x: 49, y: 477) > Vector(x: 49, y: 527)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [73, 491]: 10 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 528) > Vector(x: 150, y: 528) > Vector(x: 149, y: 529) > Vector(x: 49, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 528) > Vector(x: 150, y: 580) > Vector(x: 149, y: 579) > Vector(x: 149, y: 529)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 48, y: 580) > Vector(x: 49, y: 579) > Vector(x: 149, y: 579)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 48, y: 528) > Vector(x: 49, y: 529) > Vector(x: 49, y: 579)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [80, 543]: 11 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 580) > Vector(x: 150, y: 580) > Vector(x: 149, y: 581) > Vector(x: 49, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 580) > Vector(x: 150, y: 632) > Vector(x: 149, y: 631) > Vector(x: 149, y: 581)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 48, y: 632) > Vector(x: 49, y: 631) > Vector(x: 149, y: 631)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 48, y: 580) > Vector(x: 49, y: 581) > Vector(x: 49, y: 631)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [87, 595]: 12 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 632) > Vector(x: 150, y: 632) > Vector(x: 149, y: 633) > Vector(x: 49, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 632) > Vector(x: 150, y: 684) > Vector(x: 149, y: 683) > Vector(x: 149, y: 633)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 48, y: 684) > Vector(x: 49, y: 683) > Vector(x: 149, y: 683)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 48, y: 632) > Vector(x: 49, y: 633) > Vector(x: 49, y: 683)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [93, 647]: 13 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 684) > Vector(x: 150, y: 684) > Vector(x: 149, y: 685) > Vector(x: 49, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 684) > Vector(x: 150, y: 736) > Vector(x: 149, y: 735) > Vector(x: 149, y: 685)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 48, y: 736) > Vector(x: 49, y: 735) > Vector(x: 149, y: 735)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 48, y: 684) > Vector(x: 49, y: 685) > Vector(x: 49, y: 735)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [95, 699]: 14 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 736) > Vector(x: 150, y: 736) > Vector(x: 149, y: 737) > Vector(x: 49, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 736) > Vector(x: 150, y: 788) > Vector(x: 149, y: 787) > Vector(x: 149, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 48, y: 788) > Vector(x: 49, y: 787) > Vector(x: 149, y: 787)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 48, y: 736) > Vector(x: 49, y: 737) > Vector(x: 49, y: 787)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [88, 751]: 15 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 788) > Vector(x: 150, y: 788) > Vector(x: 149, y: 789) > Vector(x: 49, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 788) > Vector(x: 150, y: 840) > Vector(x: 149, y: 839) > Vector(x: 149, y: 789)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 48, y: 840) > Vector(x: 49, y: 839) > Vector(x: 149, y: 839)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 48, y: 788) > Vector(x: 49, y: 789) > Vector(x: 49, y: 839)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [95, 803]: 16 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 840) > Vector(x: 150, y: 840) > Vector(x: 149, y: 841) > Vector(x: 49, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 840) > Vector(x: 150, y: 892) > Vector(x: 149, y: 891) > Vector(x: 149, y: 841)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 48, y: 892) > Vector(x: 49, y: 891) > Vector(x: 149, y: 891)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 48, y: 840) > Vector(x: 49, y: 841) > Vector(x: 49, y: 891)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [101, 855]: 17 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 892) > Vector(x: 150, y: 892) > Vector(x: 149, y: 893) > Vector(x: 49, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 892) > Vector(x: 150, y: 944) > Vector(x: 149, y: 943) > Vector(x: 149, y: 893)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 48, y: 944) > Vector(x: 49, y: 943) > Vector(x: 149, y: 943)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 48, y: 892) > Vector(x: 49, y: 893) > Vector(x: 49, y: 943)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [108, 907]: 18 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 944) > Vector(x: 150, y: 944) > Vector(x: 149, y: 945) > Vector(x: 49, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 944) > Vector(x: 150, y: 996) > Vector(x: 149, y: 995) > Vector(x: 149, y: 945)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 48, y: 996) > Vector(x: 49, y: 995) > Vector(x: 149, y: 995)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 48, y: 944) > Vector(x: 49, y: 945) > Vector(x: 49, y: 995)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [95, 959]: 19 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 996) > Vector(x: 150, y: 996) > Vector(x: 149, y: 997) > Vector(x: 49, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 996) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1047) > Vector(x: 149, y: 997)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1047) > Vector(x: 149, y: 1047)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 48, y: 996) > Vector(x: 49, y: 997) > Vector(x: 49, y: 1047)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [88, 1011]: 20 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1048) > Vector(x: 150, y: 1048) > Vector(x: 149, y: 1049) > Vector(x: 49, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1048) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1099) > Vector(x: 149, y: 1049)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1099) > Vector(x: 149, y: 1099)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 48, y: 1048) > Vector(x: 49, y: 1049) > Vector(x: 49, y: 1099)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [95, 1063]: 21 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1100) > Vector(x: 150, y: 1100) > Vector(x: 149, y: 1101) > Vector(x: 49, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1100) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1151) > Vector(x: 149, y: 1101)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1151) > Vector(x: 149, y: 1151)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 48, y: 1100) > Vector(x: 49, y: 1101) > Vector(x: 49, y: 1151)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [101, 1115]: 22 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1152) > Vector(x: 150, y: 1152) > Vector(x: 149, y: 1153) > Vector(x: 49, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1152) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1203) > Vector(x: 149, y: 1153)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1203) > Vector(x: 149, y: 1203)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 48, y: 1152) > Vector(x: 49, y: 1153) > Vector(x: 49, y: 1203)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [108, 1167]: 23 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1204) > Vector(x: 150, y: 1204) > Vector(x: 149, y: 1205) > Vector(x: 49, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1204) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1255) > Vector(x: 149, y: 1205)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1255) > Vector(x: 149, y: 1255)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 48, y: 1204) > Vector(x: 49, y: 1205) > Vector(x: 49, y: 1255)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [109, 1219]: 24 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1256) > Vector(x: 150, y: 1256) > Vector(x: 149, y: 1257) > Vector(x: 49, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1256) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1307) > Vector(x: 149, y: 1257)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1307) > Vector(x: 149, y: 1307)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 48, y: 1256) > Vector(x: 49, y: 1257) > Vector(x: 49, y: 1307)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [102, 1271]: 25 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1308) > Vector(x: 150, y: 1308) > Vector(x: 149, y: 1309) > Vector(x: 49, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1308) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1359) > Vector(x: 149, y: 1309)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1359) > Vector(x: 149, y: 1359)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 48, y: 1308) > Vector(x: 49, y: 1309) > Vector(x: 49, y: 1359)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [109, 1323]: 26 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1360) > Vector(x: 150, y: 1360) > Vector(x: 149, y: 1361) > Vector(x: 49, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1360) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1411) > Vector(x: 149, y: 1361)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1411) > Vector(x: 149, y: 1411)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 48, y: 1360) > Vector(x: 49, y: 1361) > Vector(x: 49, y: 1411)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [116, 1375]: 27 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1412) > Vector(x: 150, y: 1412) > Vector(x: 149, y: 1413) > Vector(x: 49, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1412) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1463) > Vector(x: 149, y: 1413)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1463) > Vector(x: 149, y: 1463)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 48, y: 1412) > Vector(x: 49, y: 1413) > Vector(x: 49, y: 1463)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [122, 1427]: 28 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1464) > Vector(x: 150, y: 1464) > Vector(x: 149, y: 1465) > Vector(x: 49, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1464) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1515) > Vector(x: 149, y: 1465)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1515) > Vector(x: 149, y: 1515)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 48, y: 1464) > Vector(x: 49, y: 1465) > Vector(x: 49, y: 1515)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [109, 1479]: 29 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1516) > Vector(x: 150, y: 1516) > Vector(x: 149, y: 1517) > Vector(x: 49, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1516) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1567) > Vector(x: 149, y: 1517)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1567) > Vector(x: 149, y: 1567)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 48, y: 1516) > Vector(x: 49, y: 1517) > Vector(x: 49, y: 1567)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [102, 1531]: 30 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1568) > Vector(x: 150, y: 1568) > Vector(x: 149, y: 1569) > Vector(x: 49, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1568) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1619) > Vector(x: 149, y: 1569)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1619) > Vector(x: 149, y: 1619)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 48, y: 1568) > Vector(x: 49, y: 1569) > Vector(x: 49, y: 1619)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [109, 1583]: 31 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1620) > Vector(x: 150, y: 1620) > Vector(x: 149, y: 1621) > Vector(x: 49, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1620) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1671) > Vector(x: 149, y: 1621)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1671) > Vector(x: 149, y: 1671)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 48, y: 1620) > Vector(x: 49, y: 1621) > Vector(x: 49, y: 1671)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [116, 1635]: 32 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1672) > Vector(x: 150, y: 1672) > Vector(x: 149, y: 1673) > Vector(x: 49, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1672) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1723) > Vector(x: 149, y: 1673)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1723) > Vector(x: 149, y: 1723)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 48, y: 1672) > Vector(x: 49, y: 1673) > Vector(x: 49, y: 1723)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [122, 1687]: 33 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1724) > Vector(x: 150, y: 1724) > Vector(x: 149, y: 1725) > Vector(x: 49, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1724) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1775) > Vector(x: 149, y: 1725)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1775) > Vector(x: 149, y: 1775)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 48, y: 1724) > Vector(x: 49, y: 1725) > Vector(x: 49, y: 1775)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [123, 1739]: 34 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1776) > Vector(x: 150, y: 1776) > Vector(x: 149, y: 1777) > Vector(x: 49, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1776) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1827) > Vector(x: 149, y: 1777)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1827) > Vector(x: 149, y: 1827)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 48, y: 1776) > Vector(x: 49, y: 1777) > Vector(x: 49, y: 1827)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [117, 1791]: 35 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1828) > Vector(x: 150, y: 1828) > Vector(x: 149, y: 1829) > Vector(x: 49, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1828) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1879) > Vector(x: 149, y: 1829)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1879) > Vector(x: 149, y: 1879)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 48, y: 1828) > Vector(x: 49, y: 1829) > Vector(x: 49, y: 1879)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [123, 1843]: 36 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1880) > Vector(x: 150, y: 1880) > Vector(x: 149, y: 1881) > Vector(x: 49, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1880) > Vector(x: 150, y: 1982) > Vector(x: 149, y: 1981) > Vector(x: 149, y: 1881)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1982) > Vector(x: 48, y: 1982) > Vector(x: 49, y: 1981) > Vector(x: 149, y: 1981)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1982) > Vector(x: 48, y: 1880) > Vector(x: 49, y: 1881) > Vector(x: 49, y: 1981)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 1945]: 37 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 1982) > Vector(x: 150, y: 1982) > Vector(x: 149, y: 1983) > Vector(x: 49, y: 1983)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 1982) > Vector(x: 150, y: 2084) > Vector(x: 149, y: 2083) > Vector(x: 149, y: 1983)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2084) > Vector(x: 48, y: 2084) > Vector(x: 49, y: 2083) > Vector(x: 149, y: 2083)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2084) > Vector(x: 48, y: 1982) > Vector(x: 49, y: 1983) > Vector(x: 49, y: 2083)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 2047]: 38 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2084) > Vector(x: 150, y: 2084) > Vector(x: 149, y: 2085) > Vector(x: 49, y: 2085)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2084) > Vector(x: 150, y: 2136) > Vector(x: 149, y: 2135) > Vector(x: 149, y: 2085)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2136) > Vector(x: 48, y: 2136) > Vector(x: 49, y: 2135) > Vector(x: 149, y: 2135)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2136) > Vector(x: 48, y: 2084) > Vector(x: 49, y: 2085) > Vector(x: 49, y: 2135)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [123, 2099]: 39 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2136) > Vector(x: 150, y: 2136) > Vector(x: 149, y: 2137) > Vector(x: 49, y: 2137)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2136) > Vector(x: 150, y: 2188) > Vector(x: 149, y: 2187) > Vector(x: 149, y: 2137)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2188) > Vector(x: 48, y: 2188) > Vector(x: 49, y: 2187) > Vector(x: 149, y: 2187)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2188) > Vector(x: 48, y: 2136) > Vector(x: 49, y: 2137) > Vector(x: 49, y: 2187)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [86, 2151]: 40 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2188) > Vector(x: 150, y: 2188) > Vector(x: 149, y: 2189) > Vector(x: 49, y: 2189)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2188) > Vector(x: 150, y: 2240) > Vector(x: 149, y: 2239) > Vector(x: 149, y: 2189)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2240) > Vector(x: 48, y: 2240) > Vector(x: 49, y: 2239) > Vector(x: 149, y: 2239)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2240) > Vector(x: 48, y: 2188) > Vector(x: 49, y: 2189) > Vector(x: 49, y: 2239)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [92, 2203]: 41 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2240) > Vector(x: 150, y: 2240) > Vector(x: 149, y: 2241) > Vector(x: 49, y: 2241)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2240) > Vector(x: 150, y: 2292) > Vector(x: 149, y: 2291) > Vector(x: 149, y: 2241)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2292) > Vector(x: 48, y: 2292) > Vector(x: 49, y: 2291) > Vector(x: 149, y: 2291)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2292) > Vector(x: 48, y: 2240) > Vector(x: 49, y: 2241) > Vector(x: 49, y: 2291)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [99, 2255]: 42 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2292) > Vector(x: 150, y: 2292) > Vector(x: 149, y: 2293) > Vector(x: 49, y: 2293)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2292) > Vector(x: 150, y: 2344) > Vector(x: 149, y: 2343) > Vector(x: 149, y: 2293)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2344) > Vector(x: 48, y: 2344) > Vector(x: 49, y: 2343) > Vector(x: 149, y: 2343)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2344) > Vector(x: 48, y: 2292) > Vector(x: 49, y: 2293) > Vector(x: 49, y: 2343)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [106, 2307]: 43 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2344) > Vector(x: 150, y: 2344) > Vector(x: 149, y: 2345) > Vector(x: 49, y: 2345)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2344) > Vector(x: 150, y: 2396) > Vector(x: 149, y: 2395) > Vector(x: 149, y: 2345)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2396) > Vector(x: 48, y: 2396) > Vector(x: 49, y: 2395) > Vector(x: 149, y: 2395)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2396) > Vector(x: 48, y: 2344) > Vector(x: 49, y: 2345) > Vector(x: 49, y: 2395)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 2359]: 44 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2396) > Vector(x: 150, y: 2396) > Vector(x: 149, y: 2397) > Vector(x: 49, y: 2397)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2396) > Vector(x: 150, y: 2448) > Vector(x: 149, y: 2447) > Vector(x: 149, y: 2397)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2448) > Vector(x: 48, y: 2448) > Vector(x: 49, y: 2447) > Vector(x: 149, y: 2447)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2448) > Vector(x: 48, y: 2396) > Vector(x: 49, y: 2397) > Vector(x: 49, y: 2447)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [98, 2411]: 45 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2448) > Vector(x: 150, y: 2448) > Vector(x: 149, y: 2449) > Vector(x: 49, y: 2449)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2448) > Vector(x: 150, y: 2500) > Vector(x: 149, y: 2499) > Vector(x: 149, y: 2449)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2500) > Vector(x: 48, y: 2500) > Vector(x: 49, y: 2499) > Vector(x: 149, y: 2499)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2500) > Vector(x: 48, y: 2448) > Vector(x: 49, y: 2449) > Vector(x: 49, y: 2499)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [105, 2463]: 46 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2500) > Vector(x: 150, y: 2500) > Vector(x: 149, y: 2501) > Vector(x: 49, y: 2501)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2500) > Vector(x: 150, y: 2552) > Vector(x: 149, y: 2551) > Vector(x: 149, y: 2501)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2552) > Vector(x: 48, y: 2552) > Vector(x: 49, y: 2551) > Vector(x: 149, y: 2551)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2552) > Vector(x: 48, y: 2500) > Vector(x: 49, y: 2501) > Vector(x: 49, y: 2551)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [112, 2515]: 47 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2552) > Vector(x: 150, y: 2552) > Vector(x: 149, y: 2553) > Vector(x: 49, y: 2553)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2552) > Vector(x: 150, y: 2604) > Vector(x: 149, y: 2603) > Vector(x: 149, y: 2553)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2604) > Vector(x: 48, y: 2604) > Vector(x: 49, y: 2603) > Vector(x: 149, y: 2603)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2604) > Vector(x: 48, y: 2552) > Vector(x: 49, y: 2553) > Vector(x: 49, y: 2603)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [118, 2567]: 48 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2604) > Vector(x: 150, y: 2604) > Vector(x: 149, y: 2605) > Vector(x: 49, y: 2605)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2604) > Vector(x: 150, y: 2656) > Vector(x: 149, y: 2655) > Vector(x: 149, y: 2605)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2656) > Vector(x: 48, y: 2656) > Vector(x: 49, y: 2655) > Vector(x: 149, y: 2655)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2656) > Vector(x: 48, y: 2604) > Vector(x: 49, y: 2605) > Vector(x: 49, y: 2655)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 2619]: 49 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2656) > Vector(x: 150, y: 2656) > Vector(x: 149, y: 2657) > Vector(x: 49, y: 2657)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2656) > Vector(x: 150, y: 2708) > Vector(x: 149, y: 2707) > Vector(x: 149, y: 2657)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2708) > Vector(x: 48, y: 2708) > Vector(x: 49, y: 2707) > Vector(x: 149, y: 2707)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2708) > Vector(x: 48, y: 2656) > Vector(x: 49, y: 2657) > Vector(x: 49, y: 2707)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [71, 2671]: 50 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2708) > Vector(x: 150, y: 2708) > Vector(x: 149, y: 2709) > Vector(x: 49, y: 2709)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2708) > Vector(x: 150, y: 2760) > Vector(x: 149, y: 2759) > Vector(x: 149, y: 2709)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2760) > Vector(x: 48, y: 2760) > Vector(x: 49, y: 2759) > Vector(x: 149, y: 2759)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2760) > Vector(x: 48, y: 2708) > Vector(x: 49, y: 2709) > Vector(x: 49, y: 2759)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [78, 2723]: 51 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2760) > Vector(x: 150, y: 2760) > Vector(x: 149, y: 2761) > Vector(x: 49, y: 2761)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2760) > Vector(x: 150, y: 2812) > Vector(x: 149, y: 2811) > Vector(x: 149, y: 2761)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2812) > Vector(x: 48, y: 2812) > Vector(x: 49, y: 2811) > Vector(x: 149, y: 2811)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2812) > Vector(x: 48, y: 2760) > Vector(x: 49, y: 2761) > Vector(x: 49, y: 2811)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [85, 2775]: 52 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2812) > Vector(x: 150, y: 2812) > Vector(x: 149, y: 2813) > Vector(x: 49, y: 2813)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2812) > Vector(x: 150, y: 2864) > Vector(x: 149, y: 2863) > Vector(x: 149, y: 2813)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2864) > Vector(x: 48, y: 2864) > Vector(x: 49, y: 2863) > Vector(x: 149, y: 2863)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2864) > Vector(x: 48, y: 2812) > Vector(x: 49, y: 2813) > Vector(x: 49, y: 2863)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [91, 2827]: 53 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2864) > Vector(x: 150, y: 2864) > Vector(x: 149, y: 2865) > Vector(x: 49, y: 2865)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2864) > Vector(x: 150, y: 2916) > Vector(x: 149, y: 2915) > Vector(x: 149, y: 2865)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2916) > Vector(x: 48, y: 2916) > Vector(x: 49, y: 2915) > Vector(x: 149, y: 2915)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2916) > Vector(x: 48, y: 2864) > Vector(x: 49, y: 2865) > Vector(x: 49, y: 2915)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [92, 2879]: 54 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2916) > Vector(x: 150, y: 2916) > Vector(x: 149, y: 2917) > Vector(x: 49, y: 2917)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2916) > Vector(x: 150, y: 2968) > Vector(x: 149, y: 2967) > Vector(x: 149, y: 2917)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2968) > Vector(x: 48, y: 2968) > Vector(x: 49, y: 2967) > Vector(x: 149, y: 2967)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2968) > Vector(x: 48, y: 2916) > Vector(x: 49, y: 2917) > Vector(x: 49, y: 2967)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [84, 2931]: 55 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 2968) > Vector(x: 150, y: 2968) > Vector(x: 149, y: 2969) > Vector(x: 49, y: 2969)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 2968) > Vector(x: 150, y: 3020) > Vector(x: 149, y: 3019) > Vector(x: 149, y: 2969)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3020) > Vector(x: 48, y: 3020) > Vector(x: 49, y: 3019) > Vector(x: 149, y: 3019)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3020) > Vector(x: 48, y: 2968) > Vector(x: 49, y: 2969) > Vector(x: 49, y: 3019)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [90, 2983]: 56 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3020) > Vector(x: 150, y: 3020) > Vector(x: 149, y: 3021) > Vector(x: 49, y: 3021)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3020) > Vector(x: 150, y: 3072) > Vector(x: 149, y: 3071) > Vector(x: 149, y: 3021)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3072) > Vector(x: 48, y: 3072) > Vector(x: 49, y: 3071) > Vector(x: 149, y: 3071)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3072) > Vector(x: 48, y: 3020) > Vector(x: 49, y: 3021) > Vector(x: 49, y: 3071)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [97, 3035]: 57 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3072) > Vector(x: 150, y: 3072) > Vector(x: 149, y: 3073) > Vector(x: 49, y: 3073)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3072) > Vector(x: 150, y: 3124) > Vector(x: 149, y: 3123) > Vector(x: 149, y: 3073)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3124) > Vector(x: 48, y: 3124) > Vector(x: 49, y: 3123) > Vector(x: 149, y: 3123)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3124) > Vector(x: 48, y: 3072) > Vector(x: 49, y: 3073) > Vector(x: 49, y: 3123)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [104, 3087]: 58 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3124) > Vector(x: 150, y: 3124) > Vector(x: 149, y: 3125) > Vector(x: 49, y: 3125)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3124) > Vector(x: 150, y: 3176) > Vector(x: 149, y: 3175) > Vector(x: 149, y: 3125)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3176) > Vector(x: 48, y: 3176) > Vector(x: 49, y: 3175) > Vector(x: 149, y: 3175)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3176) > Vector(x: 48, y: 3124) > Vector(x: 49, y: 3125) > Vector(x: 49, y: 3175)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [92, 3139]: 59 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3176) > Vector(x: 150, y: 3176) > Vector(x: 149, y: 3177) > Vector(x: 49, y: 3177)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3176) > Vector(x: 150, y: 3228) > Vector(x: 149, y: 3227) > Vector(x: 149, y: 3177)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3228) > Vector(x: 48, y: 3228) > Vector(x: 49, y: 3227) > Vector(x: 149, y: 3227)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3228) > Vector(x: 48, y: 3176) > Vector(x: 49, y: 3177) > Vector(x: 49, y: 3227)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [86, 3191]: 60 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3228) > Vector(x: 150, y: 3228) > Vector(x: 149, y: 3229) > Vector(x: 49, y: 3229)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3228) > Vector(x: 150, y: 3280) > Vector(x: 149, y: 3279) > Vector(x: 149, y: 3229)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3280) > Vector(x: 48, y: 3280) > Vector(x: 49, y: 3279) > Vector(x: 149, y: 3279)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3280) > Vector(x: 48, y: 3228) > Vector(x: 49, y: 3229) > Vector(x: 49, y: 3279)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [92, 3243]: 61 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3280) > Vector(x: 150, y: 3280) > Vector(x: 149, y: 3281) > Vector(x: 49, y: 3281)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3280) > Vector(x: 150, y: 3332) > Vector(x: 149, y: 3331) > Vector(x: 149, y: 3281)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3332) > Vector(x: 48, y: 3332) > Vector(x: 49, y: 3331) > Vector(x: 149, y: 3331)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3332) > Vector(x: 48, y: 3280) > Vector(x: 49, y: 3281) > Vector(x: 49, y: 3331)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [99, 3295]: 62 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3332) > Vector(x: 150, y: 3332) > Vector(x: 149, y: 3333) > Vector(x: 49, y: 3333)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3332) > Vector(x: 150, y: 3384) > Vector(x: 149, y: 3383) > Vector(x: 149, y: 3333)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3384) > Vector(x: 48, y: 3384) > Vector(x: 49, y: 3383) > Vector(x: 149, y: 3383)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3384) > Vector(x: 48, y: 3332) > Vector(x: 49, y: 3333) > Vector(x: 49, y: 3383)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [106, 3347]: 63 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3384) > Vector(x: 150, y: 3384) > Vector(x: 149, y: 3385) > Vector(x: 49, y: 3385)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3384) > Vector(x: 150, y: 3436) > Vector(x: 149, y: 3435) > Vector(x: 149, y: 3385)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3436) > Vector(x: 48, y: 3436) > Vector(x: 49, y: 3435) > Vector(x: 149, y: 3435)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3436) > Vector(x: 48, y: 3384) > Vector(x: 49, y: 3385) > Vector(x: 49, y: 3435)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 3399]: 64 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3436) > Vector(x: 150, y: 3436) > Vector(x: 149, y: 3437) > Vector(x: 49, y: 3437)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3436) > Vector(x: 150, y: 3488) > Vector(x: 149, y: 3487) > Vector(x: 149, y: 3437)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3488) > Vector(x: 48, y: 3488) > Vector(x: 49, y: 3487) > Vector(x: 149, y: 3487)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3488) > Vector(x: 48, y: 3436) > Vector(x: 49, y: 3437) > Vector(x: 49, y: 3487)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [100, 3451]: 65 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3488) > Vector(x: 150, y: 3488) > Vector(x: 149, y: 3489) > Vector(x: 49, y: 3489)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3488) > Vector(x: 150, y: 3540) > Vector(x: 149, y: 3539) > Vector(x: 149, y: 3489)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3540) > Vector(x: 48, y: 3540) > Vector(x: 49, y: 3539) > Vector(x: 149, y: 3539)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3540) > Vector(x: 48, y: 3488) > Vector(x: 49, y: 3489) > Vector(x: 49, y: 3539)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 3503]: 66 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3540) > Vector(x: 150, y: 3540) > Vector(x: 149, y: 3541) > Vector(x: 49, y: 3541)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3540) > Vector(x: 150, y: 3592) > Vector(x: 149, y: 3591) > Vector(x: 149, y: 3541)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3592) > Vector(x: 48, y: 3592) > Vector(x: 49, y: 3591) > Vector(x: 149, y: 3591)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3592) > Vector(x: 48, y: 3540) > Vector(x: 49, y: 3541) > Vector(x: 49, y: 3591)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [113, 3555]: 67 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3592) > Vector(x: 150, y: 3592) > Vector(x: 149, y: 3593) > Vector(x: 49, y: 3593)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3592) > Vector(x: 150, y: 3644) > Vector(x: 149, y: 3643) > Vector(x: 149, y: 3593)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3644) > Vector(x: 48, y: 3644) > Vector(x: 49, y: 3643) > Vector(x: 149, y: 3643)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3644) > Vector(x: 48, y: 3592) > Vector(x: 49, y: 3593) > Vector(x: 49, y: 3643)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [120, 3607]: 68 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3644) > Vector(x: 150, y: 3644) > Vector(x: 149, y: 3645) > Vector(x: 49, y: 3645)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3644) > Vector(x: 150, y: 3696) > Vector(x: 149, y: 3695) > Vector(x: 149, y: 3645)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3696) > Vector(x: 48, y: 3696) > Vector(x: 49, y: 3695) > Vector(x: 149, y: 3695)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3696) > Vector(x: 48, y: 3644) > Vector(x: 49, y: 3645) > Vector(x: 49, y: 3695)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 3659]: 69 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3696) > Vector(x: 150, y: 3696) > Vector(x: 149, y: 3697) > Vector(x: 49, y: 3697)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3696) > Vector(x: 150, y: 3748) > Vector(x: 149, y: 3747) > Vector(x: 149, y: 3697)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3748) > Vector(x: 48, y: 3748) > Vector(x: 49, y: 3747) > Vector(x: 149, y: 3747)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3748) > Vector(x: 48, y: 3696) > Vector(x: 49, y: 3697) > Vector(x: 49, y: 3747)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [100, 3711]: 70 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3748) > Vector(x: 150, y: 3748) > Vector(x: 149, y: 3749) > Vector(x: 49, y: 3749)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3748) > Vector(x: 150, y: 3800) > Vector(x: 149, y: 3799) > Vector(x: 149, y: 3749)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3800) > Vector(x: 48, y: 3800) > Vector(x: 49, y: 3799) > Vector(x: 149, y: 3799)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3800) > Vector(x: 48, y: 3748) > Vector(x: 49, y: 3749) > Vector(x: 49, y: 3799)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 3763]: 71 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3800) > Vector(x: 150, y: 3800) > Vector(x: 149, y: 3801) > Vector(x: 49, y: 3801)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3800) > Vector(x: 150, y: 3852) > Vector(x: 149, y: 3851) > Vector(x: 149, y: 3801)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3852) > Vector(x: 48, y: 3852) > Vector(x: 49, y: 3851) > Vector(x: 149, y: 3851)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3852) > Vector(x: 48, y: 3800) > Vector(x: 49, y: 3801) > Vector(x: 49, y: 3851)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [113, 3815]: 72 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3852) > Vector(x: 150, y: 3852) > Vector(x: 149, y: 3853) > Vector(x: 49, y: 3853)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3852) > Vector(x: 150, y: 3904) > Vector(x: 149, y: 3903) > Vector(x: 149, y: 3853)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3904) > Vector(x: 48, y: 3904) > Vector(x: 49, y: 3903) > Vector(x: 149, y: 3903)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3904) > Vector(x: 48, y: 3852) > Vector(x: 49, y: 3853) > Vector(x: 49, y: 3903)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [120, 3867]: 73 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3904) > Vector(x: 150, y: 3904) > Vector(x: 149, y: 3905) > Vector(x: 49, y: 3905)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3904) > Vector(x: 150, y: 3956) > Vector(x: 149, y: 3955) > Vector(x: 149, y: 3905)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3956) > Vector(x: 48, y: 3956) > Vector(x: 49, y: 3955) > Vector(x: 149, y: 3955)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3956) > Vector(x: 48, y: 3904) > Vector(x: 49, y: 3905) > Vector(x: 49, y: 3955)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [121, 3919]: 74 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 3956) > Vector(x: 150, y: 3956) > Vector(x: 149, y: 3957) > Vector(x: 49, y: 3957)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 3956) > Vector(x: 150, y: 4008) > Vector(x: 149, y: 4007) > Vector(x: 149, y: 3957)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4008) > Vector(x: 48, y: 4008) > Vector(x: 49, y: 4007) > Vector(x: 149, y: 4007)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4008) > Vector(x: 48, y: 3956) > Vector(x: 49, y: 3957) > Vector(x: 49, y: 4007)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [115, 3971]: 75 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4008) > Vector(x: 150, y: 4008) > Vector(x: 149, y: 4009) > Vector(x: 49, y: 4009)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4008) > Vector(x: 150, y: 4060) > Vector(x: 149, y: 4059) > Vector(x: 149, y: 4009)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4060) > Vector(x: 48, y: 4060) > Vector(x: 49, y: 4059) > Vector(x: 149, y: 4059)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4060) > Vector(x: 48, y: 4008) > Vector(x: 49, y: 4009) > Vector(x: 49, y: 4059)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [121, 4023]: 76 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4060) > Vector(x: 150, y: 4060) > Vector(x: 149, y: 4061) > Vector(x: 49, y: 4061)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4060) > Vector(x: 150, y: 4112) > Vector(x: 149, y: 4111) > Vector(x: 149, y: 4061)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4112) > Vector(x: 48, y: 4112) > Vector(x: 49, y: 4111) > Vector(x: 149, y: 4111)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4112) > Vector(x: 48, y: 4060) > Vector(x: 49, y: 4061) > Vector(x: 49, y: 4111)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [128, 4075]: 77 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4112) > Vector(x: 150, y: 4112) > Vector(x: 149, y: 4113) > Vector(x: 49, y: 4113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4112) > Vector(x: 150, y: 4214) > Vector(x: 149, y: 4213) > Vector(x: 149, y: 4113)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4214) > Vector(x: 48, y: 4214) > Vector(x: 49, y: 4213) > Vector(x: 149, y: 4213)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4214) > Vector(x: 48, y: 4112) > Vector(x: 49, y: 4113) > Vector(x: 49, y: 4213)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 4177]: 78 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4214) > Vector(x: 150, y: 4214) > Vector(x: 149, y: 4215) > Vector(x: 49, y: 4215)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4214) > Vector(x: 150, y: 4266) > Vector(x: 149, y: 4265) > Vector(x: 149, y: 4215)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4266) > Vector(x: 48, y: 4266) > Vector(x: 49, y: 4265) > Vector(x: 149, y: 4265)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4266) > Vector(x: 48, y: 4214) > Vector(x: 49, y: 4215) > Vector(x: 49, y: 4265)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [121, 4229]: 79 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4266) > Vector(x: 150, y: 4266) > Vector(x: 149, y: 4267) > Vector(x: 49, y: 4267)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4266) > Vector(x: 150, y: 4318) > Vector(x: 149, y: 4317) > Vector(x: 149, y: 4267)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4318) > Vector(x: 48, y: 4318) > Vector(x: 49, y: 4317) > Vector(x: 149, y: 4317)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4318) > Vector(x: 48, y: 4266) > Vector(x: 49, y: 4267) > Vector(x: 49, y: 4317)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [115, 4281]: 80 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4318) > Vector(x: 150, y: 4318) > Vector(x: 149, y: 4319) > Vector(x: 49, y: 4319)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4318) > Vector(x: 150, y: 4370) > Vector(x: 149, y: 4369) > Vector(x: 149, y: 4319)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4370) > Vector(x: 48, y: 4370) > Vector(x: 49, y: 4369) > Vector(x: 149, y: 4369)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4370) > Vector(x: 48, y: 4318) > Vector(x: 49, y: 4319) > Vector(x: 49, y: 4369)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [121, 4333]: 81 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4370) > Vector(x: 150, y: 4370) > Vector(x: 149, y: 4371) > Vector(x: 49, y: 4371)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4370) > Vector(x: 150, y: 4422) > Vector(x: 149, y: 4421) > Vector(x: 149, y: 4371)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4422) > Vector(x: 48, y: 4422) > Vector(x: 49, y: 4421) > Vector(x: 149, y: 4421)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4422) > Vector(x: 48, y: 4370) > Vector(x: 49, y: 4371) > Vector(x: 49, y: 4421)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [128, 4385]: 82 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4422) > Vector(x: 150, y: 4422) > Vector(x: 149, y: 4423) > Vector(x: 49, y: 4423)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4422) > Vector(x: 150, y: 4524) > Vector(x: 149, y: 4523) > Vector(x: 149, y: 4423)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4524) > Vector(x: 48, y: 4524) > Vector(x: 49, y: 4523) > Vector(x: 149, y: 4523)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4524) > Vector(x: 48, y: 4422) > Vector(x: 49, y: 4423) > Vector(x: 49, y: 4523)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 4487]: 83 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4524) > Vector(x: 150, y: 4524) > Vector(x: 149, y: 4525) > Vector(x: 49, y: 4525)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4524) > Vector(x: 150, y: 4626) > Vector(x: 149, y: 4625) > Vector(x: 149, y: 4525)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4626) > Vector(x: 48, y: 4626) > Vector(x: 49, y: 4625) > Vector(x: 149, y: 4625)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4626) > Vector(x: 48, y: 4524) > Vector(x: 49, y: 4525) > Vector(x: 49, y: 4625)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 4589]: 84 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4626) > Vector(x: 150, y: 4626) > Vector(x: 149, y: 4627) > Vector(x: 49, y: 4627)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4626) > Vector(x: 150, y: 4678) > Vector(x: 149, y: 4677) > Vector(x: 149, y: 4627)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4678) > Vector(x: 48, y: 4678) > Vector(x: 49, y: 4677) > Vector(x: 149, y: 4677)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4678) > Vector(x: 48, y: 4626) > Vector(x: 49, y: 4627) > Vector(x: 49, y: 4677)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [129, 4641]: 85 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4678) > Vector(x: 150, y: 4678) > Vector(x: 149, y: 4679) > Vector(x: 49, y: 4679)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4678) > Vector(x: 150, y: 4780) > Vector(x: 149, y: 4779) > Vector(x: 149, y: 4679)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4780) > Vector(x: 48, y: 4780) > Vector(x: 49, y: 4779) > Vector(x: 149, y: 4779)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4780) > Vector(x: 48, y: 4678) > Vector(x: 49, y: 4679) > Vector(x: 49, y: 4779)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 4743]: 86 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4780) > Vector(x: 150, y: 4780) > Vector(x: 149, y: 4781) > Vector(x: 49, y: 4781)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4780) > Vector(x: 150, y: 4882) > Vector(x: 149, y: 4881) > Vector(x: 149, y: 4781)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4882) > Vector(x: 48, y: 4882) > Vector(x: 49, y: 4881) > Vector(x: 149, y: 4881)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4882) > Vector(x: 48, y: 4780) > Vector(x: 49, y: 4781) > Vector(x: 49, y: 4881)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 4845]: 87 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4882) > Vector(x: 150, y: 4882) > Vector(x: 149, y: 4883) > Vector(x: 49, y: 4883)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4882) > Vector(x: 150, y: 4984) > Vector(x: 149, y: 4983) > Vector(x: 149, y: 4883)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4984) > Vector(x: 48, y: 4984) > Vector(x: 49, y: 4983) > Vector(x: 149, y: 4983)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4984) > Vector(x: 48, y: 4882) > Vector(x: 49, y: 4883) > Vector(x: 49, y: 4983)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 4947]: 88 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 4984) > Vector(x: 150, y: 4984) > Vector(x: 149, y: 4985) > Vector(x: 49, y: 4985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 4984) > Vector(x: 150, y: 5086) > Vector(x: 149, y: 5085) > Vector(x: 149, y: 4985)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5086) > Vector(x: 48, y: 5086) > Vector(x: 49, y: 5085) > Vector(x: 149, y: 5085)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5086) > Vector(x: 48, y: 4984) > Vector(x: 49, y: 4985) > Vector(x: 49, y: 5085)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [49, 5049]: 89 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5086) > Vector(x: 150, y: 5086) > Vector(x: 149, y: 5087) > Vector(x: 49, y: 5087)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5086) > Vector(x: 150, y: 5138) > Vector(x: 149, y: 5137) > Vector(x: 149, y: 5087)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5138) > Vector(x: 48, y: 5138) > Vector(x: 49, y: 5137) > Vector(x: 149, y: 5137)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5138) > Vector(x: 48, y: 5086) > Vector(x: 49, y: 5087) > Vector(x: 49, y: 5137)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [87, 5101]: 90 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5138) > Vector(x: 150, y: 5138) > Vector(x: 149, y: 5139) > Vector(x: 49, y: 5139)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5138) > Vector(x: 150, y: 5190) > Vector(x: 149, y: 5189) > Vector(x: 149, y: 5139)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5190) > Vector(x: 48, y: 5190) > Vector(x: 49, y: 5189) > Vector(x: 149, y: 5189)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5190) > Vector(x: 48, y: 5138) > Vector(x: 49, y: 5139) > Vector(x: 49, y: 5189)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [93, 5153]: 91 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5190) > Vector(x: 150, y: 5190) > Vector(x: 149, y: 5191) > Vector(x: 49, y: 5191)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5190) > Vector(x: 150, y: 5242) > Vector(x: 149, y: 5241) > Vector(x: 149, y: 5191)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5242) > Vector(x: 48, y: 5242) > Vector(x: 49, y: 5241) > Vector(x: 149, y: 5241)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5242) > Vector(x: 48, y: 5190) > Vector(x: 49, y: 5191) > Vector(x: 49, y: 5241)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [100, 5205]: 92 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5242) > Vector(x: 150, y: 5242) > Vector(x: 149, y: 5243) > Vector(x: 49, y: 5243)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5242) > Vector(x: 150, y: 5294) > Vector(x: 149, y: 5293) > Vector(x: 149, y: 5243)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5294) > Vector(x: 48, y: 5294) > Vector(x: 49, y: 5293) > Vector(x: 149, y: 5293)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5294) > Vector(x: 48, y: 5242) > Vector(x: 49, y: 5243) > Vector(x: 49, y: 5293)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [107, 5257]: 93 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5294) > Vector(x: 150, y: 5294) > Vector(x: 149, y: 5295) > Vector(x: 49, y: 5295)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5294) > Vector(x: 150, y: 5346) > Vector(x: 149, y: 5345) > Vector(x: 149, y: 5295)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5346) > Vector(x: 48, y: 5346) > Vector(x: 49, y: 5345) > Vector(x: 149, y: 5345)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5346) > Vector(x: 48, y: 5294) > Vector(x: 49, y: 5295) > Vector(x: 49, y: 5345)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [108, 5309]: 94 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5346) > Vector(x: 150, y: 5346) > Vector(x: 149, y: 5347) > Vector(x: 49, y: 5347)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5346) > Vector(x: 150, y: 5398) > Vector(x: 149, y: 5397) > Vector(x: 149, y: 5347)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5398) > Vector(x: 48, y: 5398) > Vector(x: 49, y: 5397) > Vector(x: 149, y: 5397)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5398) > Vector(x: 48, y: 5346) > Vector(x: 49, y: 5347) > Vector(x: 49, y: 5397)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [101, 5361]: 95 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5398) > Vector(x: 150, y: 5398) > Vector(x: 149, y: 5399) > Vector(x: 49, y: 5399)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5398) > Vector(x: 150, y: 5450) > Vector(x: 149, y: 5449) > Vector(x: 149, y: 5399)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5450) > Vector(x: 48, y: 5450) > Vector(x: 49, y: 5449) > Vector(x: 149, y: 5449)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5450) > Vector(x: 48, y: 5398) > Vector(x: 49, y: 5399) > Vector(x: 49, y: 5449)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [108, 5413]: 96 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5450) > Vector(x: 150, y: 5450) > Vector(x: 149, y: 5451) > Vector(x: 49, y: 5451)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5450) > Vector(x: 150, y: 5502) > Vector(x: 149, y: 5501) > Vector(x: 149, y: 5451)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5502) > Vector(x: 48, y: 5502) > Vector(x: 49, y: 5501) > Vector(x: 149, y: 5501)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5502) > Vector(x: 48, y: 5450) > Vector(x: 49, y: 5451) > Vector(x: 49, y: 5501)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [115, 5465]: 97 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5502) > Vector(x: 150, y: 5502) > Vector(x: 149, y: 5503) > Vector(x: 49, y: 5503)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5502) > Vector(x: 150, y: 5554) > Vector(x: 149, y: 5553) > Vector(x: 149, y: 5503)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5554) > Vector(x: 48, y: 5554) > Vector(x: 49, y: 5553) > Vector(x: 149, y: 5553)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5554) > Vector(x: 48, y: 5502) > Vector(x: 49, y: 5503) > Vector(x: 49, y: 5553)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [121, 5517]: 98 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5554) > Vector(x: 150, y: 5554) > Vector(x: 149, y: 5555) > Vector(x: 49, y: 5555)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5554) > Vector(x: 150, y: 5606) > Vector(x: 149, y: 5605) > Vector(x: 149, y: 5555)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5606) > Vector(x: 48, y: 5606) > Vector(x: 49, y: 5605) > Vector(x: 149, y: 5605)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5606) > Vector(x: 48, y: 5554) > Vector(x: 49, y: 5555) > Vector(x: 49, y: 5605)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [108, 5569]: 99 +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5606) > Vector(x: 150, y: 5606) > Vector(x: 149, y: 5607) > Vector(x: 49, y: 5607)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5606) > Vector(x: 150, y: 5658) > Vector(x: 149, y: 5657) > Vector(x: 149, y: 5607)) +Shape: rgb(0,0,0) Path (Vector(x: 150, y: 5658) > Vector(x: 48, y: 5658) > Vector(x: 49, y: 5657) > Vector(x: 149, y: 5657)) +Shape: rgb(0,0,0) Path (Vector(x: 48, y: 5658) > Vector(x: 48, y: 5606) > Vector(x: 49, y: 5607) > Vector(x: 49, y: 5657)) +Text: rgb(0,0,0) normal normal 400 20px Times New Roman + [72, 5621]: 100 \ No newline at end of file diff --git a/tests/cases/overflow/overflow-transform.html b/tests/reftests/overflow/overflow-transform.html similarity index 96% rename from tests/cases/overflow/overflow-transform.html rename to tests/reftests/overflow/overflow-transform.html index 3f08199..d513eba 100644 --- a/tests/cases/overflow/overflow-transform.html +++ b/tests/reftests/overflow/overflow-transform.html @@ -34,6 +34,9 @@ width: 461px;background: #ff0000; z-index: 1; } + body { + font-family: Arial; + } diff --git a/tests/reftests/overflow/overflow-transform.txt b/tests/reftests/overflow/overflow-transform.txt new file mode 100644 index 0000000..66394e1 --- /dev/null +++ b/tests/reftests/overflow/overflow-transform.txt @@ -0,0 +1,134 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 312, y: 8) > Vector(x: 310, y: 10) > Vector(x: 10, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 312, y: 8) > Vector(x: 312, y: 368) > Vector(x: 310, y: 366) > Vector(x: 310, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 312, y: 368) > Vector(x: 8, y: 368) > Vector(x: 10, y: 366) > Vector(x: 310, y: 366)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 368) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 366)) +Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366)) +Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [10, 26]: Le + [32, 26]: Lorem + [82, 26]: Ipsum + [130, 26]: est + [156, 26]: simplement + [242, 26]: du + [264, 26]: faux + [10, 44]: texte + [49, 44]: employé + [114, 44]: dans + [153, 44]: la + [170, 44]: composition + [260, 44]: et + [278, 44]: la + [10, 62]: mise + [48, 62]: en + [70, 62]: page + [110, 62]: avant + [154, 62]: impression. + [240, 62]: Le + [262, 62]: Lorem + [10, 80]: Ipsum + [58, 80]: est + [84, 80]: le + [101, 80]: faux + [135, 80]: texte + [174, 80]: standard + [241, 80]: de + [10, 98]: l'imprimerie + [96, 98]: depuis + [147, 98]: les + [172, 98]: années + [229, 98]: 1500, + [10, 116]: quand + [59, 116]: un + [81, 116]: peintre + [134, 116]: anonyme + [205, 116]: assembla + [10, 134]: ensemble + [84, 134]: des + [114, 134]: morceaux + [189, 134]: de + [211, 134]: texte + [250, 134]: pour + [10, 152]: réaliser + [67, 152]: un + [89, 152]: livre + [123, 152]: spécimen + [196, 152]: de + [218, 152]: polices + [272, 152]: de + [10, 170]: texte. + [54, 170]: Il + [66, 170]: n'a + [91, 170]: pas + [122, 170]: fait + [147, 170]: que + [178, 170]: survivre + [239, 170]: cinq + [10, 188]: siècles, + [68, 188]: mais + [106, 188]: s'est + [143, 188]: aussi + [185, 188]: adapté + [238, 188]: à + [251, 188]: la + [10, 206]: bureautique + [99, 206]: informatique, + [196, 206]: sans + [234, 206]: que + [265, 206]: son + [10, 224]: contenu + [71, 224]: n'en + [106, 224]: soit + [135, 224]: modifié. + [195, 224]: Il + [208, 224]: a + [221, 224]: été + [10, 242]: popularisé + [88, 242]: dans + [128, 242]: les + [152, 242]: années + [209, 242]: 1960 + [249, 242]: grâce + [294, 242]: à + [10, 260]: la + [27, 260]: vente + [70, 260]: de + [93, 260]: feuilles + [147, 260]: Letraset + [209, 260]: contenant + [284, 260]: des + [10, 278]: passages + [83, 278]: du + [105, 278]: Lorem + [155, 278]: Ipsum, + [208, 278]: et, + [230, 278]: plus + [10, 296]: récemment, + [99, 296]: par + [126, 296]: son + [157, 296]: inclusion + [224, 296]: dans + [262, 296]: des + [10, 314]: applications + [99, 314]: de + [121, 314]: mise + [160, 314]: en + [182, 314]: page + [222, 314]: de + [244, 314]: texte, + [10, 332]: comme + [67, 332]: Aldus + [111, 332]: PageMaker. +Transform: (91, 525) [-0.92, -0.39, 0.39, -0.92, 0, 0] + Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366)) + Clip: Path (Vector(x: -140, y: 215) > Vector(x: 321, y: 215) > Vector(x: 321, y: 835) > Vector(x: -140, y: 835)) + Fill: rgb(255,0,0) + Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366)) +Transform: (268, -94) [-0.92, -0.39, 0.39, -0.92, 0, 0] + Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366)) + Clip: Path (Vector(x: -47, y: -402) > Vector(x: 582, y: -402) > Vector(x: 582, y: 215) > Vector(x: -47, y: 215)) + Fill: rgb(255,0,255) + Clip: Path (Vector(x: 10, y: 10) > Vector(x: 310, y: 10) > Vector(x: 310, y: 366) > Vector(x: 10, y: 366)) \ No newline at end of file diff --git a/tests/cases/overflow/overflow.html b/tests/reftests/overflow/overflow.html similarity index 98% rename from tests/cases/overflow/overflow.html rename to tests/reftests/overflow/overflow.html index 4471697..05dce78 100644 --- a/tests/cases/overflow/overflow.html +++ b/tests/reftests/overflow/overflow.html @@ -25,6 +25,9 @@ h1 { margin:0; } + body { + font-family: Arial; + } diff --git a/tests/reftests/overflow/overflow.txt b/tests/reftests/overflow/overflow.txt new file mode 100644 index 0000000..75f8527 --- /dev/null +++ b/tests/reftests/overflow/overflow.txt @@ -0,0 +1,567 @@ +Window: [800, 626] +Rectangle: [0, 0, 800, 626] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 700 32px Arial + [8, 8]: Overflow: + [164, 8]: visible +Clip: Path (Vector(x: 8, y: 45) > Vector(x: 320, y: 45) > Vector(x: 320, y: 257) > Vector(x: 8, y: 257)) + Fill: rgb(204,204,204) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 45) > Vector(x: 320, y: 45) > Vector(x: 314, y: 51) > Vector(x: 14, y: 51)) +Shape: rgb(0,0,0) Path (Vector(x: 320, y: 45) > Vector(x: 320, y: 257) > Vector(x: 314, y: 251) > Vector(x: 314, y: 51)) +Shape: rgb(0,0,0) Path (Vector(x: 320, y: 257) > Vector(x: 8, y: 257) > Vector(x: 14, y: 251) > Vector(x: 314, y: 251)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 257) > Vector(x: 8, y: 45) > Vector(x: 14, y: 51) > Vector(x: 14, y: 251)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [14, 51]: Lorem + [64, 51]: Ipsum + [112, 51]: is + [128, 51]: simply + [178, 51]: dummy + [234, 51]: text + [265, 51]: of + [282, 51]: the + [14, 69]: printing + [71, 69]: and + [102, 69]: typesetting + [184, 69]: industry. + [248, 69]: Lorem + [14, 87]: Ipsum + [62, 87]: has + [92, 87]: been + [132, 87]: the + [159, 87]: industry's + [230, 87]: standard + [14, 105]: dummy + [71, 105]: text + [101, 105]: ever + [137, 105]: since + [178, 105]: the + [205, 105]: 1500s, + [258, 105]: when + [14, 123]: an + [36, 123]: unknown + [105, 123]: printer + [154, 123]: took + [189, 123]: a + [202, 123]: galley + [249, 123]: of + [267, 123]: type + [14, 141]: and + [45, 141]: scrambled + [123, 141]: it + [136, 141]: to + [154, 141]: make + [197, 141]: a + [210, 141]: type + [245, 141]: specimen + [14, 159]: book. + [58, 159]: It + [71, 159]: has + [101, 159]: survived + [165, 159]: not + [192, 159]: only + [226, 159]: five + [14, 177]: centuries, + [88, 177]: but + [114, 177]: also + [148, 177]: the + [175, 177]: leap + [210, 177]: into + [240, 177]: electronic + [14, 195]: typesetting, + [100, 195]: remaining + [175, 195]: essentially + [14, 213]: unchanged. + [102, 213]: It + [116, 213]: was + [148, 213]: popularised + [236, 213]: in + [252, 213]: the + [14, 231]: 1960s + [62, 231]: with + [95, 231]: the + [122, 231]: release + [178, 231]: of + [196, 231]: Letraset + [258, 231]: sheets + [14, 249]: containing + [91, 249]: Lorem + [141, 249]: Ipsum + [189, 249]: passages, + [266, 249]: and + [14, 267]: more + [55, 267]: recently + [115, 267]: with + [148, 267]: desktop + [209, 267]: publishing + [14, 285]: software + [79, 285]: like +Text: rgb(0,0,0) normal normal 400 16px Arial + [245, 285]: including + [14, 303]: versions + [78, 303]: of + [96, 303]: Lorem + [146, 303]: Ipsum. +Text: rgb(0,0,0) normal normal 700 32px Arial + [8, 317]: Overflow: + [164, 317]: hidden +Clip: Path (Vector(x: 8, y: 354) > Vector(x: 320, y: 354) > Vector(x: 320, y: 566) > Vector(x: 8, y: 566)) + Fill: rgb(204,204,204) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 354) > Vector(x: 320, y: 354) > Vector(x: 314, y: 360) > Vector(x: 14, y: 360)) +Shape: rgb(0,0,0) Path (Vector(x: 320, y: 354) > Vector(x: 320, y: 566) > Vector(x: 314, y: 560) > Vector(x: 314, y: 360)) +Shape: rgb(0,0,0) Path (Vector(x: 320, y: 566) > Vector(x: 8, y: 566) > Vector(x: 14, y: 560) > Vector(x: 314, y: 560)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 566) > Vector(x: 8, y: 354) > Vector(x: 14, y: 360) > Vector(x: 14, y: 560)) +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [14, 360]: Lorem + [64, 360]: Ipsum + [112, 360]: is + [128, 360]: simply + [178, 360]: dummy + [234, 360]: text + [265, 360]: of + [282, 360]: the + [14, 378]: printing + [71, 378]: and + [102, 378]: typesetting + [184, 378]: industry. + [248, 378]: Lorem + [14, 396]: Ipsum + [62, 396]: has + [92, 396]: been + [132, 396]: the + [159, 396]: industry's + [230, 396]: standard + [14, 414]: dummy + [71, 414]: text + [101, 414]: ever + [137, 414]: since + [178, 414]: the + [205, 414]: 1500s, + [258, 414]: when + [14, 432]: an + [36, 432]: unknown + [105, 432]: printer + [154, 432]: took + [189, 432]: a + [202, 432]: galley + [249, 432]: of + [267, 432]: type + [14, 450]: and + [45, 450]: scrambled + [123, 450]: it + [136, 450]: to + [154, 450]: make + [197, 450]: a + [210, 450]: type + [245, 450]: specimen + [14, 468]: book. + [58, 468]: It + [71, 468]: has + [101, 468]: survived + [165, 468]: not + [192, 468]: only + [226, 468]: five + [14, 486]: centuries, + [88, 486]: but + [114, 486]: also + [148, 486]: the + [175, 486]: leap + [210, 486]: into + [240, 486]: electronic + [14, 504]: typesetting, + [100, 504]: remaining + [175, 504]: essentially + [14, 522]: unchanged. + [102, 522]: It + [116, 522]: was + [148, 522]: popularised + [236, 522]: in + [252, 522]: the + [14, 540]: 1960s + [62, 540]: with + [95, 540]: the + [122, 540]: release + [178, 540]: of + Text: rgb(0,0,0) normal normal 400 16px Arial + [14, 833]: Letraset + [76, 833]: sheets + [128, 833]: containing + [205, 833]: Lorem + [255, 833]: Ipsum + [14, 911]: passages, + Text: rgb(0,0,0) normal normal 400 16px Arial + [171, 911]: and + [202, 911]: more + [243, 911]: recently + [14, 929]: with + [47, 929]: desktop + [107, 929]: publishing + [184, 929]: software + [249, 929]: like + Text: rgb(0,0,0) normal normal 400 16px Arial + [152, 947]: including + [220, 947]: versions + [284, 947]: of + [14, 965]: Lorem + [64, 965]: Ipsum. +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Clip: Path (Vector(x: 14, y: 558) > Vector(x: 314, y: 558) > Vector(x: 314, y: 773) > Vector(x: 14, y: 773)) + Fill: rgb(0,128,0) + Shape: rgb(0,0,0) Path (Vector(x: 14, y: 558) > Vector(x: 314, y: 558) > Vector(x: 314, y: 568) > Vector(x: 14, y: 568)) + Shape: rgb(0,0,0) Path (Vector(x: 314, y: 558) > Vector(x: 314, y: 773) > Vector(x: 314, y: 768) > Vector(x: 314, y: 568)) + Shape: rgb(0,0,0) Path (Vector(x: 314, y: 773) > Vector(x: 14, y: 773) > Vector(x: 14, y: 768) > Vector(x: 314, y: 768)) + Shape: rgb(0,0,0) Path (Vector(x: 14, y: 773) > Vector(x: 14, y: 558) > Vector(x: 14, y: 568) > Vector(x: 14, y: 768)) +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [14, 568]: a +Clip: Path (BezierCurve(x0: 480, y0: 410, x1: 636, y1: 354, cx0: 480, cy0: 379, cx1: 550, cy1: 354) > BezierCurve(x0: 636, y0: 354, x1: 792, y1: 410, cx0: 722, cy0: 354, cx1: 792, cy1: 379) > BezierCurve(x0: 792, y0: 410, x1: 636, y1: 466, cx0: 792, cy0: 441, cx1: 722, cy1: 466) > BezierCurve(x0: 636, y0: 466, x1: 480, y1: 410, cx0: 550, cy0: 466, cx1: 480, cy1: 441)) + Fill: rgb(204,204,204) +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [486, 360]: Lorem + [536, 360]: Ipsum + [584, 360]: is + [600, 360]: simply + [650, 360]: dummy + [706, 360]: text + [737, 360]: of + [754, 360]: the + [486, 378]: printing + [543, 378]: and + [574, 378]: typesetting + [656, 378]: industry. + [720, 378]: Lorem + [486, 396]: Ipsum + [534, 396]: has + [564, 396]: been + [604, 396]: the + [631, 396]: industry's + [702, 396]: standard + [486, 414]: dummy + [543, 414]: text + [573, 414]: ever + [609, 414]: since + [650, 414]: the + [677, 414]: 1500s, + [730, 414]: when + [486, 432]: an + [508, 432]: unknown + [577, 432]: printer + [626, 432]: took + [661, 432]: a + [674, 432]: galley + [721, 432]: of + [739, 432]: type + [486, 450]: and + [517, 450]: scrambled + [595, 450]: it + [608, 450]: to + [626, 450]: make + [669, 450]: a + [682, 450]: type + [717, 450]: specimen + [486, 468]: book. + [530, 468]: It + [543, 468]: has + [573, 468]: survived + [637, 468]: not + [664, 468]: only + [698, 468]: five + [486, 486]: centuries, + [560, 486]: but + [586, 486]: also + [620, 486]: the + [647, 486]: leap + [682, 486]: into + [712, 486]: electronic + [486, 504]: typesetting, + [572, 504]: remaining + [647, 504]: essentially + [486, 522]: unchanged. + [574, 522]: It + [588, 522]: was + [620, 522]: popularised + [708, 522]: in + [724, 522]: the + [486, 540]: 1960s + [534, 540]: with + [567, 540]: the + [594, 540]: release + [650, 540]: of + Text: rgb(0,0,0) normal normal 400 16px Arial + [486, 833]: Letraset + [548, 833]: sheets + [600, 833]: containing + [677, 833]: Lorem + [727, 833]: Ipsum + [486, 911]: passages, + Text: rgb(0,0,0) normal normal 400 16px Arial + [643, 911]: and + [674, 911]: more + [715, 911]: recently + [486, 929]: with + [519, 929]: desktop + [579, 929]: publishing + [656, 929]: software + [721, 929]: like + Text: rgb(0,0,0) normal normal 400 16px Arial + [624, 947]: including + [692, 947]: versions + [756, 947]: of + [486, 965]: Lorem + [536, 965]: Ipsum. +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Clip: Path (Vector(x: 486, y: 558) > Vector(x: 786, y: 558) > Vector(x: 786, y: 773) > Vector(x: 486, y: 773)) + Fill: rgb(0,128,0) + Shape: rgb(0,0,0) Path (Vector(x: 486, y: 558) > Vector(x: 786, y: 558) > Vector(x: 786, y: 568) > Vector(x: 486, y: 568)) + Shape: rgb(0,0,0) Path (Vector(x: 786, y: 558) > Vector(x: 786, y: 773) > Vector(x: 786, y: 768) > Vector(x: 786, y: 568)) + Shape: rgb(0,0,0) Path (Vector(x: 786, y: 773) > Vector(x: 486, y: 773) > Vector(x: 486, y: 768) > Vector(x: 786, y: 768)) + Shape: rgb(0,0,0) Path (Vector(x: 486, y: 773) > Vector(x: 486, y: 558) > Vector(x: 486, y: 568) > Vector(x: 486, y: 768)) +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [486, 568]: a +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Clip: Path (Vector(x: 563, y: 851) > Vector(x: 638, y: 851) > Vector(x: 638, y: 926) > Vector(x: 563, y: 926)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Text: rgb(0,0,0) normal normal 700 16px Arial + [486, 947]: Aldus + [535, 947]: PageMaker +Text: rgb(0,0,0) normal normal 700 16px Arial + [107, 285]: Aldus + [156, 285]: PageMaker +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Clip: Path (Vector(x: 91, y: 851) > Vector(x: 166, y: 851) > Vector(x: 166, y: 926) > Vector(x: 91, y: 926)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Text: rgb(0,0,0) normal normal 700 16px Arial + [14, 947]: Aldus + [63, 947]: PageMaker +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Clip: Path (Vector(x: 486, y: 983) > Vector(x: 798, y: 983) > Vector(x: 798, y: 1195) > Vector(x: 486, y: 1195)) + Fill: rgb(204,204,204) + Shape: rgb(0,0,0) Path (Vector(x: 486, y: 983) > Vector(x: 798, y: 983) > Vector(x: 792, y: 989) > Vector(x: 492, y: 989)) + Shape: rgb(0,0,0) Path (Vector(x: 798, y: 983) > Vector(x: 798, y: 1195) > Vector(x: 792, y: 1189) > Vector(x: 792, y: 989)) + Shape: rgb(0,0,0) Path (Vector(x: 798, y: 1195) > Vector(x: 486, y: 1195) > Vector(x: 492, y: 1189) > Vector(x: 792, y: 1189)) + Shape: rgb(0,0,0) Path (Vector(x: 486, y: 1195) > Vector(x: 486, y: 983) > Vector(x: 492, y: 989) > Vector(x: 492, y: 1189)) +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [492, 1043]: Lorem + [542, 1043]: Ipsum + [590, 1043]: is + [606, 1043]: simply + [656, 1043]: dummy + [712, 1043]: text + [743, 1043]: of + [760, 1043]: the + [492, 1061]: printing + [549, 1061]: and + [580, 1061]: typesetting + [662, 1061]: industry. + [726, 1061]: Lorem + [492, 1079]: Ipsum + [540, 1079]: has + [570, 1079]: been + [610, 1079]: the + [637, 1079]: industry's + [708, 1079]: standard + [492, 1097]: dummy + [549, 1097]: text + [579, 1097]: ever + [615, 1097]: since + [656, 1097]: the + [683, 1097]: 1500s, + [736, 1097]: when + [492, 1115]: an + [514, 1115]: unknown + [583, 1115]: printer + [632, 1115]: took + [667, 1115]: a + [680, 1115]: galley + [727, 1115]: of + [745, 1115]: type + [492, 1133]: and + [523, 1133]: scrambled + [601, 1133]: it + [614, 1133]: to + [632, 1133]: make + [675, 1133]: a + [688, 1133]: type + [723, 1133]: specimen + [492, 1151]: book. + [536, 1151]: It + [549, 1151]: has + [579, 1151]: survived + [643, 1151]: not + [670, 1151]: only + [704, 1151]: five + [492, 1169]: centuries, + [566, 1169]: but + [592, 1169]: also + [626, 1169]: the + [653, 1169]: leap + [688, 1169]: into + [718, 1169]: electronic + [492, 1187]: typesetting, + [578, 1187]: remaining + [653, 1187]: essentially + [492, 1205]: unchanged. + [580, 1205]: It + [594, 1205]: was + [626, 1205]: popularised + [714, 1205]: in + [730, 1205]: the + [492, 1223]: 1960s + [540, 1223]: with + [573, 1223]: the + [600, 1223]: release + [656, 1223]: of + [674, 1223]: Letraset + [736, 1223]: sheets + [492, 1241]: containing + [569, 1241]: Lorem + [619, 1241]: Ipsum + [667, 1241]: passages, + [744, 1241]: and + [492, 1259]: more + [533, 1259]: recently + [593, 1259]: with + [626, 1259]: desktop + [687, 1259]: publishing + [492, 1277]: software + [557, 1277]: like + Text: rgb(0,0,0) normal normal 400 16px Arial + [723, 1277]: including + [492, 1295]: versions + [556, 1295]: of + [574, 1295]: Lorem + [624, 1295]: Ipsum. +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Text: rgb(0,0,0) normal normal 400 16px Arial solid rgb(0,0,0) underline + [492, 989]: position:relative + [603, 989]: + [608, 989]: within + [648, 989]: + [653, 989]: a + [662, 989]: + [666, 989]: overflow:hidden + [778, 989]: + [492, 1007]: element +Clip: Path (BezierCurve(x0: 486, y0: 410, x1: 636, y1: 360, cx0: 486, cy0: 382, cx1: 553, cy1: 360) > BezierCurve(x0: 636, y0: 360, x1: 786, y1: 410, cx0: 719, cy0: 360, cx1: 786, cy1: 382) > BezierCurve(x0: 786, y0: 410, x1: 636, y1: 460, cx0: 786, cy0: 437, cx1: 719, cy1: 460) > BezierCurve(x0: 636, y0: 460, x1: 486, y1: 410, cx0: 553, cy0: 460, cx1: 486, cy1: 437)) + Text: rgb(0,0,0) normal normal 700 16px Arial + [585, 1277]: Aldus + [634, 1277]: PageMaker +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Clip: Path (Vector(x: 14, y: 983) > Vector(x: 326, y: 983) > Vector(x: 326, y: 1195) > Vector(x: 14, y: 1195)) + Fill: rgb(204,204,204) + Shape: rgb(0,0,0) Path (Vector(x: 14, y: 983) > Vector(x: 326, y: 983) > Vector(x: 320, y: 989) > Vector(x: 20, y: 989)) + Shape: rgb(0,0,0) Path (Vector(x: 326, y: 983) > Vector(x: 326, y: 1195) > Vector(x: 320, y: 1189) > Vector(x: 320, y: 989)) + Shape: rgb(0,0,0) Path (Vector(x: 326, y: 1195) > Vector(x: 14, y: 1195) > Vector(x: 20, y: 1189) > Vector(x: 320, y: 1189)) + Shape: rgb(0,0,0) Path (Vector(x: 14, y: 1195) > Vector(x: 14, y: 983) > Vector(x: 20, y: 989) > Vector(x: 20, y: 1189)) +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Text: rgb(0,0,0) normal normal 400 16px Arial + [20, 1043]: Lorem + [70, 1043]: Ipsum + [118, 1043]: is + [134, 1043]: simply + [184, 1043]: dummy + [240, 1043]: text + [271, 1043]: of + [288, 1043]: the + [20, 1061]: printing + [77, 1061]: and + [108, 1061]: typesetting + [190, 1061]: industry. + [254, 1061]: Lorem + [20, 1079]: Ipsum + [68, 1079]: has + [98, 1079]: been + [138, 1079]: the + [165, 1079]: industry's + [236, 1079]: standard + [20, 1097]: dummy + [77, 1097]: text + [107, 1097]: ever + [143, 1097]: since + [184, 1097]: the + [211, 1097]: 1500s, + [264, 1097]: when + [20, 1115]: an + [42, 1115]: unknown + [111, 1115]: printer + [160, 1115]: took + [195, 1115]: a + [208, 1115]: galley + [255, 1115]: of + [273, 1115]: type + [20, 1133]: and + [51, 1133]: scrambled + [129, 1133]: it + [142, 1133]: to + [160, 1133]: make + [203, 1133]: a + [216, 1133]: type + [251, 1133]: specimen + [20, 1151]: book. + [64, 1151]: It + [77, 1151]: has + [107, 1151]: survived + [171, 1151]: not + [198, 1151]: only + [232, 1151]: five + [20, 1169]: centuries, + [94, 1169]: but + [120, 1169]: also + [154, 1169]: the + [181, 1169]: leap + [216, 1169]: into + [246, 1169]: electronic + [20, 1187]: typesetting, + [106, 1187]: remaining + [181, 1187]: essentially + [20, 1205]: unchanged. + [108, 1205]: It + [122, 1205]: was + [154, 1205]: popularised + [242, 1205]: in + [258, 1205]: the + [20, 1223]: 1960s + [68, 1223]: with + [101, 1223]: the + [128, 1223]: release + [184, 1223]: of + [202, 1223]: Letraset + [264, 1223]: sheets + [20, 1241]: containing + [97, 1241]: Lorem + [147, 1241]: Ipsum + [195, 1241]: passages, + [272, 1241]: and + [20, 1259]: more + [61, 1259]: recently + [121, 1259]: with + [154, 1259]: desktop + [215, 1259]: publishing + [20, 1277]: software + [85, 1277]: like + Text: rgb(0,0,0) normal normal 400 16px Arial + [251, 1277]: including + [20, 1295]: versions + [84, 1295]: of + [102, 1295]: Lorem + [152, 1295]: Ipsum. +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Text: rgb(0,0,0) normal normal 400 16px Arial solid rgb(0,0,0) underline + [20, 989]: position:relative + [131, 989]: + [136, 989]: within + [176, 989]: + [181, 989]: a + [190, 989]: + [194, 989]: overflow:hidden + [306, 989]: + [20, 1007]: element +Clip: Path (Vector(x: 14, y: 360) > Vector(x: 314, y: 360) > Vector(x: 314, y: 560) > Vector(x: 14, y: 560)) + Text: rgb(0,0,0) normal normal 700 16px Arial + [113, 1277]: Aldus + [162, 1277]: PageMaker \ No newline at end of file diff --git a/tests/cases/pseudoelements.html b/tests/reftests/pseudoelements.html similarity index 96% rename from tests/cases/pseudoelements.html rename to tests/reftests/pseudoelements.html index 1227cde..905c0c9 100644 --- a/tests/cases/pseudoelements.html +++ b/tests/reftests/pseudoelements.html @@ -41,7 +41,9 @@ .none *::after { display:none; } - + body { + font-family: Arial; + } diff --git a/tests/reftests/pseudoelements.txt b/tests/reftests/pseudoelements.txt new file mode 100644 index 0000000..496829e --- /dev/null +++ b/tests/reftests/pseudoelements.txt @@ -0,0 +1,73 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [90, 8]: Content + [150, 8]: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: root + [40, 8]: before! +Text: rgb(0,0,0) normal normal 400 16px Arial + [164, 8]: after! +Text: rgb(0,0,0) normal normal 400 16px Arial + [286, 8]: Content + [347, 8]: 2 +Text: rgb(0,0,0) normal normal 400 16px Arial + [204, 8]: root + [236, 8]: before! +Text: rgb(0,0,0) normal normal 400 16px Arial + [360, 8]: after! +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 26]: Content + [68, 26]: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [82, 26]: Content + [142, 26]: 2 +Text: rgb(0,0,0) normal normal 400 16px Arial + [90, 105]: Content + [150, 105]: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 105]: root + [40, 105]: before! +Clip: Path (Vector(x: 159, y: 44) > Vector(x: 234, y: 44) > Vector(x: 234, y: 119) > Vector(x: 159, y: 119)) + Draw image: Image ("/tests/assets/image2.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Text: rgb(0,0,0) normal normal 400 16px Arial + [320, 105]: Content + [381, 105]: 2 +Text: rgb(0,0,0) normal normal 400 16px Arial + [239, 105]: root + [271, 105]: before! +Clip: Path (Vector(x: 390, y: 44) > Vector(x: 465, y: 44) > Vector(x: 465, y: 119) > Vector(x: 390, y: 119)) + Draw image: Image ("/tests/assets/image2.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Text: rgb(0,0,0) normal normal 400 16px Arial + [100, 123]: Content + [160, 123]: 1 +Clip: Path (Vector(x: 8, y: 118) > Vector(x: 100, y: 118) > Vector(x: 100, y: 145) > Vector(x: 8, y: 145)) + Repeat: Image ("/tests/assets/image_1.jpg") [13, 123] Size (75, 75) Path (Vector(x: 8, y: 118) > Vector(x: 100, y: 118) > Vector(x: 100, y: 145) > Vector(x: 8, y: 145)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 118) > Vector(x: 100, y: 118) > Vector(x: 95, y: 123) > Vector(x: 13, y: 123)) +Shape: rgb(255,0,0) Path (Vector(x: 100, y: 118) > Vector(x: 100, y: 145) > Vector(x: 95, y: 140) > Vector(x: 95, y: 123)) +Shape: rgb(255,0,0) Path (Vector(x: 100, y: 145) > Vector(x: 8, y: 145) > Vector(x: 13, y: 140) > Vector(x: 95, y: 140)) +Shape: rgb(255,0,0) Path (Vector(x: 8, y: 145) > Vector(x: 8, y: 118) > Vector(x: 13, y: 123) > Vector(x: 13, y: 140)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [13, 123]: root + [45, 123]: before! +Clip: Path (Vector(x: 169, y: 123) > Vector(x: 210, y: 123) > Vector(x: 210, y: 140) > Vector(x: 169, y: 140)) + Repeat: Image ("/tests/assets/image2_1.jpg") [169, 123] Size (75, 75) Path (Vector(x: 169, y: 123) > Vector(x: 210, y: 123) > Vector(x: 210, y: 140) > Vector(x: 169, y: 140)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [174, 123]: after! +Text: rgb(0,0,0) normal normal 400 16px Arial + [306, 123]: Content + [367, 123]: 2 +Clip: Path (Vector(x: 215, y: 118) > Vector(x: 306, y: 118) > Vector(x: 306, y: 145) > Vector(x: 215, y: 145)) + Repeat: Image ("/tests/assets/image_1.jpg") [220, 123] Size (75, 75) Path (Vector(x: 215, y: 118) > Vector(x: 306, y: 118) > Vector(x: 306, y: 145) > Vector(x: 215, y: 145)) +Shape: rgb(255,0,0) Path (Vector(x: 215, y: 118) > Vector(x: 306, y: 118) > Vector(x: 301, y: 123) > Vector(x: 220, y: 123)) +Shape: rgb(255,0,0) Path (Vector(x: 306, y: 118) > Vector(x: 306, y: 145) > Vector(x: 301, y: 140) > Vector(x: 301, y: 123)) +Shape: rgb(255,0,0) Path (Vector(x: 306, y: 145) > Vector(x: 215, y: 145) > Vector(x: 220, y: 140) > Vector(x: 301, y: 140)) +Shape: rgb(255,0,0) Path (Vector(x: 215, y: 145) > Vector(x: 215, y: 118) > Vector(x: 220, y: 123) > Vector(x: 220, y: 140)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [220, 123]: root + [252, 123]: before! +Clip: Path (Vector(x: 376, y: 123) > Vector(x: 417, y: 123) > Vector(x: 417, y: 140) > Vector(x: 376, y: 140)) + Repeat: Image ("/tests/assets/image2_1.jpg") [376, 123] Size (75, 75) Path (Vector(x: 376, y: 123) > Vector(x: 417, y: 123) > Vector(x: 417, y: 140) > Vector(x: 376, y: 140)) +Text: rgb(0,0,0) normal normal 400 16px Arial + [380, 123]: after! \ No newline at end of file diff --git a/tests/cases/text/child-textnodes.html b/tests/reftests/text/child-textnodes.html similarity index 91% rename from tests/cases/text/child-textnodes.html rename to tests/reftests/text/child-textnodes.html index 3f0c48d..5cf59b4 100644 --- a/tests/cases/text/child-textnodes.html +++ b/tests/reftests/text/child-textnodes.html @@ -11,6 +11,9 @@ p { background-color: green; } + body { + font-family: Arial; + } diff --git a/tests/reftests/text/child-textnodes.txt b/tests/reftests/text/child-textnodes.txt new file mode 100644 index 0000000..977622a --- /dev/null +++ b/tests/reftests/text/child-textnodes.txt @@ -0,0 +1,32 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 8]: Some + [54, 8]: inline + [96, 8]: text +Text: rgb(0,0,0) normal normal 400 16px Arial + [297, 8]: followed + [360, 8]: by + [382, 8]: more + [422, 8]: inline + [464, 8]: text. +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 76]: Then + [49, 76]: more + [90, 76]: inline + [132, 76]: text. +Clip: Path (Vector(x: 8, y: 42) > Vector(x: 792, y: 42) > Vector(x: 792, y: 60) > Vector(x: 8, y: 60)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Arial + [8, 42]: Then + [49, 42]: a + [62, 42]: block + [104, 42]: level + [142, 42]: element. +Text: rgb(0,0,255) normal normal 400 16px Arial + [126, 8]: followed + [190, 8]: by + [211, 8]: text + [241, 8]: in + [258, 8]: span \ No newline at end of file diff --git a/tests/cases/text/chinese.html b/tests/reftests/text/chinese.html similarity index 100% rename from tests/cases/text/chinese.html rename to tests/reftests/text/chinese.html diff --git a/tests/reftests/text/chinese.txt b/tests/reftests/text/chinese.txt new file mode 100644 index 0000000..1c8f779 --- /dev/null +++ b/tests/reftests/text/chinese.txt @@ -0,0 +1,1532 @@ +Window: [800, 1336] +Rectangle: [0, 0, 800, 1336] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 24]: 注 + [56, 24]: 释 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 59]: 〔 + [40, 59]: 1 + [48, 59]: 〕 + [68, 59]: 见 + [84, 59]: 本 + [100, 59]: 书 + [116, 59]: 第 + [132, 59]: 一 + [148, 59]: 卷 + [164, 59]: 《 + [180, 59]: 实 + [196, 59]: 践 + [212, 59]: 论 + [228, 59]: 》 + [244, 59]: 注 + [260, 59]: 〔 + [276, 59]: 6 + [284, 59]: 〕 + [300, 59]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 94]: 〔 + [40, 94]: 2 + [48, 94]: 〕 + [68, 94]: 见 + [84, 94]: 列 + [100, 94]: 宁 + [116, 94]: 《 + [132, 94]: 党 + [148, 94]: 的 + [164, 94]: 组 + [180, 94]: 织 + [196, 94]: 和 + [212, 94]: 党 + [228, 94]: 的 + [244, 94]: 出 + [260, 94]: 版 + [276, 94]: 物 + [292, 94]: 》 + [308, 94]: 。 + [324, 94]: 列 + [340, 94]: 宁 + [356, 94]: 在 + [372, 94]: 这 + [388, 94]: 篇 + [404, 94]: 论 + [420, 94]: 文 + [436, 94]: 中 + [452, 94]: 说 + [468, 94]: : + [484, 94]: “ + [491, 94]: 这 + [8, 113]: 将 + [24, 113]: 是 + [40, 113]: 自 + [56, 113]: 由 + [72, 113]: 的 + [88, 113]: 写 + [104, 113]: 作 + [120, 113]: , + [136, 113]: 因 + [152, 113]: 为 + [168, 113]: 把 + [184, 113]: 一 + [200, 113]: 批 + [216, 113]: 又 + [232, 113]: 一 + [248, 113]: 批 + [264, 113]: 新 + [280, 113]: 生 + [296, 113]: 力 + [312, 113]: 量 + [328, 113]: 吸 + [344, 113]: 引 + [360, 113]: 到 + [376, 113]: 写 + [392, 113]: 作 + [408, 113]: 队 + [424, 113]: 伍 + [440, 113]: 中 + [456, 113]: 来 + [472, 113]: 的 + [488, 113]: , + [8, 132]: 不 + [24, 132]: 是 + [40, 132]: 私 + [56, 132]: 利 + [72, 132]: 贪 + [88, 132]: 欲 + [104, 132]: , + [120, 132]: 也 + [136, 132]: 不 + [152, 132]: 是 + [168, 132]: 名 + [184, 132]: 誉 + [200, 132]: 地 + [216, 132]: 位 + [232, 132]: , + [248, 132]: 而 + [264, 132]: 是 + [280, 132]: 社 + [296, 132]: 会 + [312, 132]: 主 + [328, 132]: 义 + [344, 132]: 思 + [360, 132]: 想 + [376, 132]: 和 + [392, 132]: 对 + [408, 132]: 劳 + [424, 132]: 动 + [440, 132]: 人 + [456, 132]: 民 + [472, 132]: 的 + [488, 132]: 同 + [8, 150]: 情 + [24, 150]: 。 + [40, 150]: 这 + [56, 150]: 将 + [72, 150]: 是 + [88, 150]: 自 + [104, 150]: 由 + [120, 150]: 的 + [136, 150]: 写 + [152, 150]: 作 + [168, 150]: , + [184, 150]: 因 + [200, 150]: 为 + [216, 150]: 它 + [232, 150]: 不 + [248, 150]: 是 + [264, 150]: 为 + [280, 150]: 饱 + [296, 150]: 食 + [312, 150]: 终 + [328, 150]: 日 + [344, 150]: 的 + [360, 150]: 贵 + [376, 150]: 妇 + [392, 150]: 人 + [408, 150]: 服 + [424, 150]: 务 + [440, 150]: , + [456, 150]: 不 + [472, 150]: 是 + [488, 150]: 为 + [8, 169]: 百 + [24, 169]: 无 + [40, 169]: 聊 + [56, 169]: 赖 + [72, 169]: 、 + [88, 169]: 胖 + [104, 169]: 得 + [120, 169]: 发 + [136, 169]: 愁 + [152, 169]: 的 + [168, 169]: ‘ + [173, 169]: 一 + [189, 169]: 万 + [205, 169]: 个 + [221, 169]: 上 + [237, 169]: 层 + [253, 169]: 分 + [269, 169]: 子 + [285, 169]: ’ + [291, 169]: 服 + [307, 169]: 务 + [323, 169]: , + [339, 169]: 而 + [355, 169]: 是 + [371, 169]: 为 + [387, 169]: 千 + [403, 169]: 千 + [419, 169]: 万 + [435, 169]: 万 + [451, 169]: 劳 + [467, 169]: 动 + [483, 169]: 人 + [8, 188]: 民 + [24, 188]: , + [40, 188]: 为 + [56, 188]: 这 + [72, 188]: 些 + [88, 188]: 国 + [104, 188]: 家 + [120, 188]: 的 + [136, 188]: 精 + [152, 188]: 华 + [168, 188]: 、 + [184, 188]: 国 + [200, 188]: 家 + [216, 188]: 的 + [232, 188]: 力 + [248, 188]: 量 + [264, 188]: 、 + [280, 188]: 国 + [296, 188]: 家 + [312, 188]: 的 + [328, 188]: 未 + [344, 188]: 来 + [360, 188]: 服 + [376, 188]: 务 + [392, 188]: 。 + [408, 188]: 这 + [424, 188]: 将 + [440, 188]: 是 + [456, 188]: 自 + [472, 188]: 由 + [488, 188]: 的 + [8, 207]: 写 + [24, 207]: 作 + [40, 207]: , + [56, 207]: 它 + [72, 207]: 要 + [88, 207]: 用 + [104, 207]: 社 + [120, 207]: 会 + [136, 207]: 主 + [152, 207]: 义 + [168, 207]: 无 + [184, 207]: 产 + [200, 207]: 阶 + [216, 207]: 级 + [232, 207]: 的 + [248, 207]: 经 + [264, 207]: 验 + [280, 207]: 和 + [296, 207]: 生 + [312, 207]: 气 + [328, 207]: 勃 + [344, 207]: 勃 + [360, 207]: 的 + [376, 207]: 工 + [392, 207]: 作 + [408, 207]: 去 + [424, 207]: 丰 + [440, 207]: 富 + [456, 207]: 人 + [472, 207]: 类 + [488, 207]: 革 + [8, 226]: 命 + [24, 226]: 思 + [40, 226]: 想 + [56, 226]: 的 + [72, 226]: 最 + [88, 226]: 新 + [104, 226]: 成 + [120, 226]: 就 + [136, 226]: , + [152, 226]: 它 + [168, 226]: 要 + [184, 226]: 使 + [200, 226]: 过 + [216, 226]: 去 + [232, 226]: 的 + [248, 226]: 经 + [264, 226]: 验 + [280, 226]: ( + [296, 226]: 从 + [312, 226]: 原 + [328, 226]: 始 + [344, 226]: 空 + [360, 226]: 想 + [376, 226]: 的 + [392, 226]: 社 + [408, 226]: 会 + [424, 226]: 主 + [440, 226]: 义 + [456, 226]: 发 + [472, 226]: 展 + [488, 226]: 而 + [8, 244]: 成 + [24, 244]: 的 + [40, 244]: 科 + [56, 244]: 学 + [72, 244]: 社 + [88, 244]: 会 + [104, 244]: 主 + [120, 244]: 义 + [136, 244]: ) + [152, 244]: 和 + [168, 244]: 现 + [184, 244]: 在 + [200, 244]: 的 + [216, 244]: 经 + [232, 244]: 验 + [248, 244]: ( + [264, 244]: 工 + [280, 244]: 人 + [296, 244]: 同 + [312, 244]: 志 + [328, 244]: 们 + [344, 244]: 当 + [360, 244]: 前 + [376, 244]: 的 + [392, 244]: 斗 + [408, 244]: 争 + [424, 244]: ) + [440, 244]: 之 + [456, 244]: 间 + [472, 244]: 经 + [488, 244]: 常 + [8, 263]: 发 + [24, 263]: 生 + [40, 263]: 相 + [56, 263]: 互 + [72, 263]: 作 + [88, 263]: 用 + [104, 263]: 。 + [120, 263]: ” + [127, 263]: ( + [143, 263]: 《 + [159, 263]: 列 + [175, 263]: 宁 + [191, 263]: 全 + [207, 263]: 集 + [223, 263]: 》 + [239, 263]: 第 + [255, 263]: 1 + [263, 263]: 2 + [271, 263]: 卷 + [287, 263]: , + [303, 263]: 人 + [319, 263]: 民 + [335, 263]: 出 + [351, 263]: 版 + [367, 263]: 社 + [383, 263]: 1 + [391, 263]: 9 + [399, 263]: 8 + [407, 263]: 7 + [415, 263]: 年 + [431, 263]: 版 + [447, 263]: , + [463, 263]: 第 + [479, 263]: 9 + [487, 263]: 6 + [8, 282]: — + [24, 282]: 9 + [32, 282]: 7 + [40, 282]: 页 + [56, 282]: ) +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 317]: 〔 + [40, 317]: 3 + [48, 317]: 〕 + [68, 317]: 梁 + [84, 317]: 实 + [100, 317]: 秋 + [116, 317]: ( + [132, 317]: 一 + [148, 317]: 九 + [164, 317]: ○ + [174, 317]: 三 + [190, 317]: — + [206, 317]: — + [222, 317]: 一 + [238, 317]: 九 + [254, 317]: 八 + [270, 317]: 七 + [286, 317]: ) + [302, 317]: , + [318, 317]: 北 + [334, 317]: 京 + [350, 317]: 人 + [366, 317]: 。 + [382, 317]: 新 + [398, 317]: 月 + [414, 317]: 社 + [430, 317]: 主 + [446, 317]: 要 + [462, 317]: 成 + [8, 336]: 员 + [24, 336]: 。 + [40, 336]: 先 + [56, 336]: 后 + [72, 336]: 在 + [88, 336]: 复 + [104, 336]: 旦 + [120, 336]: 大 + [136, 336]: 学 + [152, 336]: 、 + [168, 336]: 北 + [184, 336]: 京 + [200, 336]: 大 + [216, 336]: 学 + [232, 336]: 等 + [248, 336]: 校 + [264, 336]: 任 + [280, 336]: 教 + [296, 336]: 。 + [312, 336]: 曾 + [328, 336]: 写 + [344, 336]: 过 + [360, 336]: 一 + [376, 336]: 些 + [392, 336]: 文 + [408, 336]: 艺 + [424, 336]: 评 + [440, 336]: 论 + [456, 336]: , + [472, 336]: 长 + [488, 336]: 时 + [8, 354]: 期 + [24, 354]: 致 + [40, 354]: 力 + [56, 354]: 于 + [72, 354]: 文 + [88, 354]: 学 + [104, 354]: 翻 + [120, 354]: 译 + [136, 354]: 工 + [152, 354]: 作 + [168, 354]: 和 + [184, 354]: 散 + [200, 354]: 文 + [216, 354]: 的 + [232, 354]: 写 + [248, 354]: 作 + [264, 354]: 。 + [280, 354]: 鲁 + [296, 354]: 迅 + [312, 354]: 对 + [328, 354]: 梁 + [344, 354]: 实 + [360, 354]: 秋 + [376, 354]: 的 + [392, 354]: 批 + [408, 354]: 评 + [424, 354]: , + [440, 354]: 见 + [456, 354]: 《 + [472, 354]: 三 + [488, 354]: 闲 + [8, 373]: 集 + [24, 373]: · + [29, 373]: 新 + [45, 373]: 月 + [61, 373]: 社 + [77, 373]: 批 + [93, 373]: 评 + [109, 373]: 家 + [125, 373]: 的 + [141, 373]: 任 + [157, 373]: 务 + [173, 373]: 》 + [189, 373]: 、 + [205, 373]: 《 + [221, 373]: 二 + [237, 373]: 心 + [253, 373]: 集 + [269, 373]: · + [275, 373]: “ + [282, 373]: 硬 + [298, 373]: 译 + [314, 373]: ” + [321, 373]: 与 + [337, 373]: “ + [344, 373]: 文 + [360, 373]: 学 + [376, 373]: 的 + [392, 373]: 阶 + [408, 373]: 级 + [424, 373]: 性 + [440, 373]: ” + [447, 373]: 》 + [463, 373]: 等 + [8, 392]: 文 + [24, 392]: 。 + [40, 392]: ( + [56, 392]: 《 + [72, 392]: 鲁 + [88, 392]: 迅 + [104, 392]: 全 + [120, 392]: 集 + [136, 392]: 》 + [152, 392]: 第 + [168, 392]: 4 + [176, 392]: 卷 + [192, 392]: , + [208, 392]: 人 + [224, 392]: 民 + [240, 392]: 文 + [256, 392]: 学 + [272, 392]: 出 + [288, 392]: 版 + [304, 392]: 社 + [320, 392]: 1 + [328, 392]: 9 + [336, 392]: 8 + [344, 392]: 1 + [352, 392]: 年 + [368, 392]: 版 + [384, 392]: , + [400, 392]: 第 + [416, 392]: 1 + [424, 392]: 5 + [432, 392]: 9 + [440, 392]: 、 + [456, 392]: 1 + [464, 392]: 9 + [472, 392]: 5 + [480, 392]: — + [8, 411]: 2 + [16, 411]: 1 + [24, 411]: 2 + [32, 411]: 页 + [48, 411]: ) +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 446]: 〔 + [40, 446]: 4 + [48, 446]: 〕 + [68, 446]: 周 + [84, 446]: 作 + [100, 446]: 人 + [116, 446]: ( + [132, 446]: 一 + [148, 446]: 八 + [164, 446]: 八 + [180, 446]: 五 + [196, 446]: — + [212, 446]: — + [228, 446]: 一 + [244, 446]: 九 + [260, 446]: 六 + [276, 446]: 七 + [292, 446]: ) + [308, 446]: , + [324, 446]: 浙 + [340, 446]: 江 + [356, 446]: 绍 + [372, 446]: 兴 + [388, 446]: 人 + [404, 446]: 。 + [420, 446]: 曾 + [436, 446]: 在 + [452, 446]: 北 + [468, 446]: 京 + [484, 446]: 大 + [8, 464]: 学 + [24, 464]: 、 + [40, 464]: 燕 + [56, 464]: 京 + [72, 464]: 大 + [88, 464]: 学 + [104, 464]: 等 + [120, 464]: 校 + [136, 464]: 任 + [152, 464]: 教 + [168, 464]: 。 + [184, 464]: 五 + [200, 464]: 四 + [216, 464]: 运 + [232, 464]: 动 + [248, 464]: 时 + [264, 464]: 从 + [280, 464]: 事 + [296, 464]: 新 + [312, 464]: 文 + [328, 464]: 学 + [344, 464]: 写 + [360, 464]: 作 + [376, 464]: 。 + [392, 464]: 他 + [408, 464]: 的 + [424, 464]: 著 + [440, 464]: 述 + [456, 464]: 很 + [472, 464]: 多 + [488, 464]: , + [8, 483]: 有 + [24, 483]: 大 + [40, 483]: 量 + [56, 483]: 的 + [72, 483]: 散 + [88, 483]: 文 + [104, 483]: 集 + [120, 483]: 、 + [136, 483]: 文 + [152, 483]: 学 + [168, 483]: 专 + [184, 483]: 著 + [200, 483]: 和 + [216, 483]: 翻 + [232, 483]: 译 + [248, 483]: 作 + [264, 483]: 品 + [280, 483]: 。 + [296, 483]: 张 + [312, 483]: 资 + [328, 483]: 平 + [344, 483]: ( + [360, 483]: 一 + [376, 483]: 八 + [392, 483]: 九 + [408, 483]: 三 + [424, 483]: — + [440, 483]: — + [456, 483]: 一 + [472, 483]: 九 + [488, 483]: 五 + [8, 502]: 九 + [24, 502]: ) + [40, 502]: , + [56, 502]: 广 + [72, 502]: 东 + [88, 502]: 梅 + [104, 502]: 县 + [120, 502]: 人 + [136, 502]: 。 + [152, 502]: 他 + [168, 502]: 写 + [184, 502]: 过 + [200, 502]: 很 + [216, 502]: 多 + [232, 502]: 小 + [248, 502]: 说 + [264, 502]: , + [280, 502]: 曾 + [296, 502]: 在 + [312, 502]: 暨 + [328, 502]: 南 + [344, 502]: 大 + [360, 502]: 学 + [376, 502]: 、 + [392, 502]: 大 + [408, 502]: 夏 + [424, 502]: 大 + [440, 502]: 学 + [456, 502]: 兼 + [472, 502]: 任 + [488, 502]: 教 + [8, 521]: 职 + [24, 521]: 。 + [40, 521]: 周 + [56, 521]: 作 + [72, 521]: 人 + [88, 521]: 、 + [104, 521]: 张 + [120, 521]: 资 + [136, 521]: 平 + [152, 521]: 于 + [168, 521]: 一 + [184, 521]: 九 + [200, 521]: 三 + [216, 521]: 八 + [232, 521]: 年 + [248, 521]: 和 + [264, 521]: 一 + [280, 521]: 九 + [296, 521]: 三 + [312, 521]: 九 + [328, 521]: 年 + [344, 521]: 先 + [360, 521]: 后 + [376, 521]: 在 + [392, 521]: 北 + [408, 521]: 平 + [424, 521]: 、 + [440, 521]: 上 + [456, 521]: 海 + [472, 521]: 依 + [488, 521]: 附 + [8, 540]: 侵 + [24, 540]: 略 + [40, 540]: 中 + [56, 540]: 国 + [72, 540]: 的 + [88, 540]: 日 + [104, 540]: 本 + [120, 540]: 占 + [136, 540]: 领 + [152, 540]: 者 + [168, 540]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 574]: 〔 + [40, 574]: 5 + [48, 574]: 〕 + [68, 574]: 见 + [84, 574]: 鲁 + [100, 574]: 迅 + [116, 574]: 《 + [132, 574]: 二 + [148, 574]: 心 + [164, 574]: 集 + [180, 574]: · + [185, 574]: 对 + [201, 574]: 于 + [217, 574]: 左 + [233, 574]: 翼 + [249, 574]: 作 + [265, 574]: 家 + [281, 574]: 联 + [297, 574]: 盟 + [313, 574]: 的 + [329, 574]: 意 + [345, 574]: 见 + [361, 574]: 》 + [377, 574]: ( + [393, 574]: 《 + [409, 574]: 鲁 + [425, 574]: 迅 + [441, 574]: 全 + [457, 574]: 集 + [473, 574]: 》 + [489, 574]: 第 + [8, 593]: 4 + [16, 593]: 卷 + [32, 593]: , + [48, 593]: 人 + [64, 593]: 民 + [80, 593]: 文 + [96, 593]: 学 + [112, 593]: 出 + [128, 593]: 版 + [144, 593]: 社 + [160, 593]: 1 + [168, 593]: 9 + [176, 593]: 8 + [184, 593]: 1 + [192, 593]: 年 + [208, 593]: 版 + [224, 593]: , + [240, 593]: 第 + [256, 593]: 2 + [264, 593]: 3 + [272, 593]: 7 + [280, 593]: — + [296, 593]: 2 + [304, 593]: 3 + [312, 593]: 8 + [320, 593]: 页 + [336, 593]: ) + [352, 593]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 628]: 〔 + [40, 628]: 6 + [48, 628]: 〕 + [68, 628]: 参 + [84, 628]: 见 + [100, 628]: 鲁 + [116, 628]: 迅 + [132, 628]: 《 + [148, 628]: 且 + [164, 628]: 介 + [180, 628]: 亭 + [196, 628]: 杂 + [212, 628]: 文 + [228, 628]: 末 + [244, 628]: 编 + [260, 628]: · + [265, 628]: 附 + [281, 628]: 集 + [297, 628]: · + [303, 628]: 死 + [319, 628]: 》 + [335, 628]: ( + [351, 628]: 《 + [367, 628]: 鲁 + [383, 628]: 迅 + [399, 628]: 全 + [415, 628]: 集 + [431, 628]: 》 + [447, 628]: 第 + [463, 628]: 6 + [471, 628]: 卷 + [487, 628]: , + [8, 647]: 人 + [24, 647]: 民 + [40, 647]: 文 + [56, 647]: 学 + [72, 647]: 出 + [88, 647]: 版 + [104, 647]: 社 + [120, 647]: 1 + [128, 647]: 9 + [136, 647]: 8 + [144, 647]: 1 + [152, 647]: 年 + [168, 647]: 版 + [184, 647]: , + [200, 647]: 第 + [216, 647]: 6 + [224, 647]: 1 + [232, 647]: 2 + [240, 647]: 页 + [256, 647]: ) + [272, 647]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 682]: 〔 + [40, 682]: 7 + [48, 682]: 〕 + [68, 682]: “ + [75, 682]: 小 + [91, 682]: 放 + [107, 682]: 牛 + [123, 682]: ” + [130, 682]: 是 + [146, 682]: 中 + [162, 682]: 国 + [178, 682]: 一 + [194, 682]: 出 + [210, 682]: 传 + [226, 682]: 统 + [242, 682]: 的 + [258, 682]: 小 + [274, 682]: 歌 + [290, 682]: 舞 + [306, 682]: 剧 + [322, 682]: 。 + [338, 682]: 全 + [354, 682]: 剧 + [370, 682]: 只 + [386, 682]: 有 + [402, 682]: 两 + [418, 682]: 个 + [434, 682]: 角 + [450, 682]: 色 + [466, 682]: , + [482, 682]: 男 + [8, 700]: 角 + [24, 700]: 是 + [40, 700]: 牧 + [56, 700]: 童 + [72, 700]: , + [88, 700]: 女 + [104, 700]: 角 + [120, 700]: 是 + [136, 700]: 乡 + [152, 700]: 村 + [168, 700]: 小 + [184, 700]: 姑 + [200, 700]: 娘 + [216, 700]: , + [232, 700]: 以 + [248, 700]: 互 + [264, 700]: 相 + [280, 700]: 对 + [296, 700]: 唱 + [312, 700]: 的 + [328, 700]: 方 + [344, 700]: 式 + [360, 700]: 表 + [376, 700]: 现 + [392, 700]: 剧 + [408, 700]: 的 + [424, 700]: 内 + [440, 700]: 容 + [456, 700]: 。 + [472, 700]: 抗 + [488, 700]: 日 + [8, 719]: 战 + [24, 719]: 争 + [40, 719]: 初 + [56, 719]: 期 + [72, 719]: , + [88, 719]: 革 + [104, 719]: 命 + [120, 719]: 的 + [136, 719]: 文 + [152, 719]: 艺 + [168, 719]: 工 + [184, 719]: 作 + [200, 719]: 者 + [216, 719]: 利 + [232, 719]: 用 + [248, 719]: 这 + [264, 719]: 个 + [280, 719]: 歌 + [296, 719]: 舞 + [312, 719]: 剧 + [328, 719]: 的 + [344, 719]: 形 + [360, 719]: 式 + [376, 719]: , + [392, 719]: 变 + [408, 719]: 动 + [424, 719]: 其 + [440, 719]: 原 + [456, 719]: 来 + [472, 719]: 的 + [488, 719]: 词 + [8, 738]: 句 + [24, 738]: , + [40, 738]: 宣 + [56, 738]: 传 + [72, 738]: 抗 + [88, 738]: 日 + [104, 738]: , + [120, 738]: 一 + [136, 738]: 时 + [152, 738]: 颇 + [168, 738]: 为 + [184, 738]: 流 + [200, 738]: 行 + [216, 738]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 773]: 〔 + [40, 773]: 8 + [48, 773]: 〕 + [68, 773]: “ + [75, 773]: 人 + [91, 773]: 、 + [107, 773]: 手 + [123, 773]: 、 + [139, 773]: 口 + [155, 773]: 、 + [171, 773]: 刀 + [187, 773]: 、 + [203, 773]: 牛 + [219, 773]: 、 + [235, 773]: 羊 + [251, 773]: ” + [258, 773]: 是 + [274, 773]: 笔 + [290, 773]: 画 + [306, 773]: 比 + [322, 773]: 较 + [338, 773]: 简 + [354, 773]: 单 + [370, 773]: 的 + [386, 773]: 汉 + [402, 773]: 字 + [418, 773]: , + [434, 773]: 旧 + [450, 773]: 时 + [466, 773]: 一 + [482, 773]: 些 + [8, 792]: 小 + [24, 792]: 学 + [40, 792]: 国 + [56, 792]: 语 + [72, 792]: 读 + [88, 792]: 本 + [104, 792]: 把 + [120, 792]: 这 + [136, 792]: 几 + [152, 792]: 个 + [168, 792]: 字 + [184, 792]: 编 + [200, 792]: 在 + [216, 792]: 第 + [232, 792]: 一 + [248, 792]: 册 + [264, 792]: 的 + [280, 792]: 最 + [296, 792]: 初 + [312, 792]: 几 + [328, 792]: 课 + [344, 792]: 里 + [360, 792]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 826]: 〔 + [40, 826]: 9 + [48, 826]: 〕 + [68, 826]: “ + [75, 826]: 阳 + [91, 826]: 春 + [107, 826]: 白 + [123, 826]: 雪 + [139, 826]: ” + [146, 826]: 和 + [162, 826]: “ + [169, 826]: 下 + [185, 826]: 里 + [201, 826]: 巴 + [217, 826]: 人 + [233, 826]: ” + [240, 826]: , + [256, 826]: 都 + [272, 826]: 是 + [288, 826]: 公 + [304, 826]: 元 + [320, 826]: 前 + [336, 826]: 三 + [352, 826]: 世 + [368, 826]: 纪 + [384, 826]: 楚 + [400, 826]: 国 + [416, 826]: 的 + [432, 826]: 歌 + [448, 826]: 曲 + [464, 826]: 。 + [480, 826]: “ + [488, 826]: 阳 + [8, 845]: 春 + [24, 845]: 白 + [40, 845]: 雪 + [56, 845]: ” + [63, 845]: 是 + [79, 845]: 供 + [95, 845]: 少 + [111, 845]: 数 + [127, 845]: 人 + [143, 845]: 欣 + [159, 845]: 赏 + [175, 845]: 的 + [191, 845]: 较 + [207, 845]: 高 + [223, 845]: 级 + [239, 845]: 的 + [255, 845]: 歌 + [271, 845]: 曲 + [287, 845]: ; + [303, 845]: “ + [310, 845]: 下 + [326, 845]: 里 + [342, 845]: 巴 + [358, 845]: 人 + [374, 845]: ” + [381, 845]: 是 + [397, 845]: 流 + [413, 845]: 传 + [429, 845]: 很 + [445, 845]: 广 + [461, 845]: 的 + [477, 845]: 民 + [8, 864]: 间 + [24, 864]: 歌 + [40, 864]: 曲 + [56, 864]: 。 + [72, 864]: 《 + [88, 864]: 文 + [104, 864]: 选 + [120, 864]: · + [125, 864]: 宋 + [141, 864]: 玉 + [157, 864]: 对 + [173, 864]: 楚 + [189, 864]: 王 + [205, 864]: 问 + [221, 864]: 》 + [237, 864]: 记 + [253, 864]: 载 + [269, 864]: 一 + [285, 864]: 个 + [301, 864]: 故 + [317, 864]: 事 + [333, 864]: , + [349, 864]: 说 + [365, 864]: 有 + [381, 864]: 人 + [397, 864]: 在 + [413, 864]: 楚 + [429, 864]: 都 + [445, 864]: 唱 + [461, 864]: 歌 + [477, 864]: , + [8, 883]: 唱 + [24, 883]: “ + [31, 883]: 阳 + [47, 883]: 春 + [63, 883]: 白 + [79, 883]: 雪 + [95, 883]: ” + [102, 883]: 时 + [118, 883]: , + [134, 883]: “ + [141, 883]: 国 + [157, 883]: 中 + [173, 883]: 属 + [189, 883]: 而 + [205, 883]: 和 + [221, 883]: 者 + [237, 883]: ( + [253, 883]: 跟 + [269, 883]: 着 + [285, 883]: 唱 + [301, 883]: 的 + [317, 883]: ) + [333, 883]: , + [349, 883]: 不 + [365, 883]: 过 + [381, 883]: 数 + [397, 883]: 十 + [413, 883]: 人 + [429, 883]: ” + [436, 883]: ; + [452, 883]: 但 + [468, 883]: 唱 + [484, 883]: “ + [492, 883]: 下 + [8, 902]: 里 + [24, 902]: 巴 + [40, 902]: 人 + [56, 902]: ” + [63, 902]: 时 + [79, 902]: , + [95, 902]: “ + [102, 902]: 国 + [118, 902]: 中 + [134, 902]: 属 + [150, 902]: 而 + [166, 902]: 和 + [182, 902]: 者 + [198, 902]: 数 + [214, 902]: 千 + [230, 902]: 人 + [246, 902]: ” + [253, 902]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 936]: 〔 + [40, 936]: 1 + [48, 936]: 0 + [56, 936]: 〕 + [76, 936]: 见 + [92, 936]: 列 + [108, 936]: 宁 + [124, 936]: 《 + [140, 936]: 党 + [156, 936]: 的 + [172, 936]: 组 + [188, 936]: 织 + [204, 936]: 和 + [220, 936]: 党 + [236, 936]: 的 + [252, 936]: 出 + [268, 936]: 版 + [284, 936]: 物 + [300, 936]: 》 + [316, 936]: 。 + [332, 936]: 列 + [348, 936]: 宁 + [364, 936]: 在 + [380, 936]: 这 + [396, 936]: 篇 + [412, 936]: 论 + [428, 936]: 文 + [444, 936]: 中 + [8, 955]: 说 + [24, 955]: : + [40, 955]: “ + [47, 955]: 写 + [63, 955]: 作 + [79, 955]: 事 + [95, 955]: 业 + [111, 955]: 应 + [127, 955]: 当 + [143, 955]: 成 + [159, 955]: 为 + [175, 955]: 整 + [191, 955]: 个 + [207, 955]: 无 + [223, 955]: 产 + [239, 955]: 阶 + [255, 955]: 级 + [271, 955]: 事 + [287, 955]: 业 + [303, 955]: 的 + [319, 955]: 一 + [335, 955]: 部 + [351, 955]: 分 + [367, 955]: , + [383, 955]: 成 + [399, 955]: 为 + [415, 955]: 由 + [431, 955]: 整 + [447, 955]: 个 + [463, 955]: 工 + [479, 955]: 人 + [8, 974]: 阶 + [24, 974]: 级 + [40, 974]: 的 + [56, 974]: 整 + [72, 974]: 个 + [88, 974]: 觉 + [104, 974]: 悟 + [120, 974]: 的 + [136, 974]: 先 + [152, 974]: 锋 + [168, 974]: 队 + [184, 974]: 所 + [200, 974]: 开 + [216, 974]: 动 + [232, 974]: 的 + [248, 974]: 一 + [264, 974]: 部 + [280, 974]: 巨 + [296, 974]: 大 + [312, 974]: 的 + [328, 974]: 社 + [344, 974]: 会 + [360, 974]: 民 + [376, 974]: 主 + [392, 974]: 主 + [408, 974]: 义 + [424, 974]: 机 + [440, 974]: 器 + [456, 974]: 的 + [472, 974]: ‘ + [477, 974]: 齿 + [8, 993]: 轮 + [24, 993]: 和 + [40, 993]: 螺 + [56, 993]: 丝 + [72, 993]: 钉 + [88, 993]: ’ + [93, 993]: 。 + [109, 993]: ” + [116, 993]: ( + [132, 993]: 《 + [148, 993]: 列 + [164, 993]: 宁 + [180, 993]: 全 + [196, 993]: 集 + [212, 993]: 》 + [228, 993]: 第 + [244, 993]: 1 + [252, 993]: 2 + [260, 993]: 卷 + [276, 993]: , + [292, 993]: 人 + [308, 993]: 民 + [324, 993]: 出 + [340, 993]: 版 + [356, 993]: 社 + [372, 993]: 1 + [380, 993]: 9 + [388, 993]: 8 + [396, 993]: 7 + [404, 993]: 年 + [420, 993]: 版 + [436, 993]: , + [452, 993]: 第 + [468, 993]: 9 + [476, 993]: 3 + [8, 1012]: 页 + [24, 1012]: ) +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 1046]: 〔 + [40, 1046]: 1 + [48, 1046]: 1 + [56, 1046]: 〕 + [76, 1046]: 亭 + [92, 1046]: 子 + [108, 1046]: 间 + [124, 1046]: 是 + [140, 1046]: 上 + [156, 1046]: 海 + [172, 1046]: 里 + [188, 1046]: 弄 + [204, 1046]: 房 + [220, 1046]: 子 + [236, 1046]: 中 + [252, 1046]: 的 + [268, 1046]: 一 + [284, 1046]: 种 + [300, 1046]: 小 + [316, 1046]: 房 + [332, 1046]: 间 + [348, 1046]: , + [364, 1046]: 位 + [380, 1046]: 置 + [396, 1046]: 在 + [412, 1046]: 房 + [428, 1046]: 子 + [444, 1046]: 后 + [460, 1046]: 部 + [476, 1046]: 的 + [492, 1046]: 楼 + [8, 1065]: 梯 + [24, 1065]: 中 + [40, 1065]: 侧 + [56, 1065]: , + [72, 1065]: 狭 + [88, 1065]: 小 + [104, 1065]: 黑 + [120, 1065]: 暗 + [136, 1065]: , + [152, 1065]: 因 + [168, 1065]: 此 + [184, 1065]: 租 + [200, 1065]: 金 + [216, 1065]: 比 + [232, 1065]: 较 + [248, 1065]: 低 + [264, 1065]: 廉 + [280, 1065]: 。 + [296, 1065]: 解 + [312, 1065]: 放 + [328, 1065]: 以 + [344, 1065]: 前 + [360, 1065]: , + [376, 1065]: 贫 + [392, 1065]: 苦 + [408, 1065]: 的 + [424, 1065]: 作 + [440, 1065]: 家 + [456, 1065]: 、 + [472, 1065]: 艺 + [488, 1065]: 术 + [8, 1084]: 家 + [24, 1084]: 、 + [40, 1084]: 知 + [56, 1084]: 识 + [72, 1084]: 分 + [88, 1084]: 子 + [104, 1084]: 和 + [120, 1084]: 机 + [136, 1084]: 关 + [152, 1084]: 小 + [168, 1084]: 职 + [184, 1084]: 员 + [200, 1084]: , + [216, 1084]: 多 + [232, 1084]: 半 + [248, 1084]: 租 + [264, 1084]: 这 + [280, 1084]: 种 + [296, 1084]: 房 + [312, 1084]: 间 + [328, 1084]: 居 + [344, 1084]: 住 + [360, 1084]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 1119]: 〔 + [40, 1119]: 1 + [48, 1119]: 2 + [56, 1119]: 〕 + [76, 1119]: 见 + [92, 1119]: 本 + [108, 1119]: 书 + [124, 1119]: 第 + [140, 1119]: 二 + [156, 1119]: 卷 + [172, 1119]: 《 + [188, 1119]: 和 + [204, 1119]: 中 + [220, 1119]: 央 + [236, 1119]: 社 + [252, 1119]: 、 + [268, 1119]: 扫 + [284, 1119]: 荡 + [300, 1119]: 报 + [316, 1119]: 、 + [332, 1119]: 新 + [348, 1119]: 民 + [364, 1119]: 报 + [380, 1119]: 三 + [396, 1119]: 记 + [412, 1119]: 者 + [428, 1119]: 的 + [444, 1119]: 谈 + [460, 1119]: 话 + [476, 1119]: 》 + [492, 1119]: 注 + [8, 1138]: 〔 + [24, 1138]: 3 + [32, 1138]: 〕 + [48, 1138]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 1172]: 〔 + [40, 1172]: 1 + [48, 1172]: 3 + [56, 1172]: 〕 + [76, 1172]: 法 + [92, 1172]: 捷 + [108, 1172]: 耶 + [124, 1172]: 夫 + [140, 1172]: ( + [156, 1172]: 一 + [172, 1172]: 九 + [188, 1172]: ○ + [198, 1172]: 一 + [214, 1172]: — + [230, 1172]: — + [246, 1172]: 一 + [262, 1172]: 九 + [278, 1172]: 五 + [294, 1172]: 六 + [310, 1172]: ) + [326, 1172]: , + [342, 1172]: 苏 + [358, 1172]: 联 + [374, 1172]: 名 + [390, 1172]: 作 + [406, 1172]: 家 + [422, 1172]: 。 + [438, 1172]: 他 + [454, 1172]: 所 + [470, 1172]: 作 + [486, 1172]: 的 + [8, 1191]: 小 + [24, 1191]: 说 + [40, 1191]: 《 + [56, 1191]: 毁 + [72, 1191]: 灭 + [88, 1191]: 》 + [104, 1191]: 于 + [120, 1191]: 一 + [136, 1191]: 九 + [152, 1191]: 二 + [168, 1191]: 七 + [184, 1191]: 年 + [200, 1191]: 出 + [216, 1191]: 版 + [232, 1191]: , + [248, 1191]: 内 + [264, 1191]: 容 + [280, 1191]: 是 + [296, 1191]: 描 + [312, 1191]: 写 + [328, 1191]: 苏 + [344, 1191]: 联 + [360, 1191]: 国 + [376, 1191]: 内 + [392, 1191]: 战 + [408, 1191]: 争 + [424, 1191]: 时 + [440, 1191]: 期 + [456, 1191]: 由 + [472, 1191]: 苏 + [488, 1191]: 联 + [8, 1210]: 远 + [24, 1210]: 东 + [40, 1210]: 滨 + [56, 1210]: 海 + [72, 1210]: 边 + [88, 1210]: 区 + [104, 1210]: 工 + [120, 1210]: 人 + [136, 1210]: 、 + [152, 1210]: 农 + [168, 1210]: 民 + [184, 1210]: 和 + [200, 1210]: 革 + [216, 1210]: 命 + [232, 1210]: 知 + [248, 1210]: 识 + [264, 1210]: 分 + [280, 1210]: 子 + [296, 1210]: 所 + [312, 1210]: 组 + [328, 1210]: 成 + [344, 1210]: 的 + [360, 1210]: 一 + [376, 1210]: 支 + [392, 1210]: 游 + [408, 1210]: 击 + [424, 1210]: 队 + [440, 1210]: 同 + [456, 1210]: 国 + [472, 1210]: 内 + [488, 1210]: 反 + [8, 1229]: 革 + [24, 1229]: 命 + [40, 1229]: 白 + [56, 1229]: 卫 + [72, 1229]: 军 + [88, 1229]: 以 + [104, 1229]: 及 + [120, 1229]: 日 + [136, 1229]: 本 + [152, 1229]: 武 + [168, 1229]: 装 + [184, 1229]: 干 + [200, 1229]: 涉 + [216, 1229]: 军 + [232, 1229]: 进 + [248, 1229]: 行 + [264, 1229]: 斗 + [280, 1229]: 争 + [296, 1229]: 的 + [312, 1229]: 故 + [328, 1229]: 事 + [344, 1229]: 。 + [360, 1229]: 这 + [376, 1229]: 部 + [392, 1229]: 小 + [408, 1229]: 说 + [424, 1229]: 曾 + [440, 1229]: 由 + [456, 1229]: 鲁 + [472, 1229]: 迅 + [488, 1229]: 译 + [8, 1248]: 为 + [24, 1248]: 汉 + [40, 1248]: 文 + [56, 1248]: 。 +Text: rgb(0,0,0) normal normal 400 16px serif + [24, 1282]: 〔 + [40, 1282]: 1 + [48, 1282]: 4 + [56, 1282]: 〕 + [76, 1282]: 见 + [92, 1282]: 鲁 + [108, 1282]: 迅 + [124, 1282]: 《 + [140, 1282]: 集 + [156, 1282]: 外 + [172, 1282]: 集 + [188, 1282]: · + [193, 1282]: 自 + [209, 1282]: 嘲 + [225, 1282]: 》 + [241, 1282]: ( + [257, 1282]: 《 + [273, 1282]: 鲁 + [289, 1282]: 迅 + [305, 1282]: 全 + [321, 1282]: 集 + [337, 1282]: 》 + [353, 1282]: 第 + [369, 1282]: 7 + [377, 1282]: 卷 + [393, 1282]: , + [409, 1282]: 人 + [425, 1282]: 民 + [441, 1282]: 文 + [457, 1282]: 学 + [473, 1282]: 出 + [489, 1282]: 版 + [8, 1301]: 社 + [24, 1301]: 1 + [32, 1301]: 9 + [40, 1301]: 8 + [48, 1301]: 1 + [56, 1301]: 年 + [72, 1301]: 版 + [88, 1301]: , + [104, 1301]: 第 + [120, 1301]: 1 + [128, 1301]: 4 + [136, 1301]: 7 + [144, 1301]: 页 + [160, 1301]: ) + [176, 1301]: 。 \ No newline at end of file diff --git a/tests/cases/text/fontawesome.html b/tests/reftests/text/fontawesome.html similarity index 100% rename from tests/cases/text/fontawesome.html rename to tests/reftests/text/fontawesome.html diff --git a/tests/reftests/text/fontawesome.txt b/tests/reftests/text/fontawesome.txt new file mode 100644 index 0000000..513ab43 --- /dev/null +++ b/tests/reftests/text/fontawesome.txt @@ -0,0 +1,88 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 8]: Fontawesome + [101, 8]: icons +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [92, 98]: fa + [104, 98]: - + [110, 98]: 5x +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 35) > Vector(x: 792, y: 35) > Vector(x: 791, y: 36) > Vector(x: 9, y: 36)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 35) > Vector(x: 792, y: 37) > Vector(x: 791, y: 36) > Vector(x: 791, y: 36)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 37) > Vector(x: 8, y: 37) > Vector(x: 9, y: 36) > Vector(x: 791, y: 36)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 37) > Vector(x: 8, y: 35) > Vector(x: 9, y: 36) > Vector(x: 9, y: 36)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [55, 242]: fa + [67, 242]: - + [72, 242]: twitter + [118, 242]: on + [138, 242]: fa + [151, 242]: - + [156, 242]: square + [198, 242]: - + [203, 242]: o +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [55, 285]: fa + [67, 285]: - + [72, 285]: flag + [101, 285]: on + [121, 285]: fa + [134, 285]: - + [139, 285]: circle +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [55, 328]: fa + [67, 328]: - + [72, 328]: terminal + [130, 328]: on + [150, 328]: fa + [162, 328]: - + [168, 328]: square +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [55, 371]: fa + [67, 371]: - + [72, 371]: ban + [100, 371]: on + [120, 371]: fa + [132, 371]: - + [137, 371]: camera +Text: rgb(0,0,0) normal normal 400 80px FontAwesome + [8, 44]:  +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [42, 141]: List + [71, 141]: icons +Text: rgb(0,0,0) normal normal 400 16px FontAwesome + [18, 143]:  +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [42, 160]: can + [69, 160]: be + [87, 160]: used +Text: rgb(0,0,0) normal normal 400 16px FontAwesome + [18, 162]:  +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [42, 179]: as + [59, 179]: bullets +Transform: (24, 186) [0.99, 0.16, -0.16, 0.99, 0, 0] + Text: rgb(0,0,0) normal normal 400 16px FontAwesome + [17, 180]:  +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [42, 198]: in + [59, 198]: lists +Text: rgb(0,0,0) normal normal 400 16px FontAwesome + [18, 199]:  +Text: rgb(0,0,0) normal normal 400 42.6667px FontAwesome + [13, 232]:  +Text: rgb(0,0,0) normal normal 400 21.3333px FontAwesome + [19, 242]:  +Text: rgb(0,0,0) normal normal 400 42.6667px FontAwesome + [11, 274]:  +Text: rgb(255,255,255) normal normal 400 21.3333px FontAwesome + [19, 285]:  +Text: rgb(0,0,0) normal normal 400 42.6667px FontAwesome + [11, 317]:  +Text: rgb(255,255,255) normal normal 400 21.3333px FontAwesome + [19, 328]:  +Text: rgb(0,0,0) normal normal 400 21.3333px FontAwesome + [18, 370]:  +Text: rgb(0,0,0) normal normal 400 42.6667px FontAwesome + [11, 360]:  \ No newline at end of file diff --git a/tests/cases/text/linethrough.html b/tests/reftests/text/linethrough.html similarity index 100% rename from tests/cases/text/linethrough.html rename to tests/reftests/text/linethrough.html diff --git a/tests/reftests/text/linethrough.txt b/tests/reftests/text/linethrough.txt new file mode 100644 index 0000000..6ae71a3 --- /dev/null +++ b/tests/reftests/text/linethrough.txt @@ -0,0 +1,355 @@ +Window: [800, 2528] +Rectangle: [0, 0, 800, 2528] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 791, y: 9) > Vector(x: 9, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 8) > Vector(x: 792, y: 28) > Vector(x: 791, y: 27) > Vector(x: 791, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 28) > Vector(x: 8, y: 28) > Vector(x: 9, y: 27) > Vector(x: 791, y: 27)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 28) > Vector(x: 8, y: 8) > Vector(x: 9, y: 9) > Vector(x: 9, y: 27)) +Text: rgb(0,0,0) normal normal 400 16px arial solid rgb(0,0,0) line-through + [9, 9]: Testing + [60, 9]: + [64, 9]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 29) > Vector(x: 792, y: 29) > Vector(x: 791, y: 30) > Vector(x: 9, y: 30)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 29) > Vector(x: 792, y: 57) > Vector(x: 791, y: 56) > Vector(x: 791, y: 30)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 57) > Vector(x: 8, y: 57) > Vector(x: 9, y: 56) > Vector(x: 791, y: 56)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 57) > Vector(x: 8, y: 29) > Vector(x: 9, y: 30) > Vector(x: 9, y: 56)) +Text: rgb(0,0,0) normal normal 400 22px arial solid rgb(0,0,0) line-through + [9, 31]: Testing + [79, 31]: + [85, 31]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 58) > Vector(x: 792, y: 58) > Vector(x: 791, y: 59) > Vector(x: 9, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 58) > Vector(x: 792, y: 92) > Vector(x: 791, y: 91) > Vector(x: 791, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 92) > Vector(x: 8, y: 92) > Vector(x: 9, y: 91) > Vector(x: 791, y: 91)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 92) > Vector(x: 8, y: 58) > Vector(x: 9, y: 59) > Vector(x: 9, y: 91)) +Text: rgb(0,0,0) normal normal 400 28px arial solid rgb(0,0,0) line-through + [9, 59]: Testing + [98, 59]: + [106, 59]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 93) > Vector(x: 792, y: 93) > Vector(x: 791, y: 94) > Vector(x: 9, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 93) > Vector(x: 792, y: 134) > Vector(x: 791, y: 133) > Vector(x: 791, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 134) > Vector(x: 8, y: 134) > Vector(x: 9, y: 133) > Vector(x: 791, y: 133)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 134) > Vector(x: 8, y: 93) > Vector(x: 9, y: 94) > Vector(x: 9, y: 133)) +Text: rgb(0,0,0) normal normal 400 34px arial solid rgb(0,0,0) line-through + [9, 94]: Testing + [117, 94]: + [126, 94]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 135) > Vector(x: 792, y: 135) > Vector(x: 791, y: 136) > Vector(x: 9, y: 136)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 135) > Vector(x: 792, y: 183) > Vector(x: 791, y: 182) > Vector(x: 791, y: 136)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 183) > Vector(x: 8, y: 183) > Vector(x: 9, y: 182) > Vector(x: 791, y: 182)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 183) > Vector(x: 8, y: 135) > Vector(x: 9, y: 136) > Vector(x: 9, y: 182)) +Text: rgb(0,0,0) normal normal 400 40px arial solid rgb(0,0,0) line-through + [9, 136]: Testing + [136, 136]: + [147, 136]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 184) > Vector(x: 792, y: 184) > Vector(x: 791, y: 185) > Vector(x: 9, y: 185)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 184) > Vector(x: 792, y: 239) > Vector(x: 791, y: 238) > Vector(x: 791, y: 185)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 239) > Vector(x: 8, y: 239) > Vector(x: 9, y: 238) > Vector(x: 791, y: 238)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 239) > Vector(x: 8, y: 184) > Vector(x: 9, y: 185) > Vector(x: 9, y: 238)) +Text: rgb(0,0,0) normal normal 400 46px arial solid rgb(0,0,0) line-through + [9, 186]: Testing + [155, 186]: + [168, 186]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 240) > Vector(x: 792, y: 240) > Vector(x: 791, y: 241) > Vector(x: 9, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 240) > Vector(x: 792, y: 302) > Vector(x: 791, y: 301) > Vector(x: 791, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 302) > Vector(x: 8, y: 302) > Vector(x: 9, y: 301) > Vector(x: 791, y: 301)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 302) > Vector(x: 8, y: 240) > Vector(x: 9, y: 241) > Vector(x: 9, y: 301)) +Text: rgb(0,0,0) normal normal 400 52px arial solid rgb(0,0,0) line-through + [9, 242]: Testing + [174, 242]: + [188, 242]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 303) > Vector(x: 792, y: 303) > Vector(x: 791, y: 304) > Vector(x: 9, y: 304)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 303) > Vector(x: 792, y: 371) > Vector(x: 791, y: 370) > Vector(x: 791, y: 304)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 371) > Vector(x: 8, y: 371) > Vector(x: 9, y: 370) > Vector(x: 791, y: 370)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 371) > Vector(x: 8, y: 303) > Vector(x: 9, y: 304) > Vector(x: 9, y: 370)) +Text: rgb(0,0,0) normal normal 400 58px arial solid rgb(0,0,0) line-through + [9, 305]: Testing + [193, 305]: + [209, 305]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 372) > Vector(x: 792, y: 372) > Vector(x: 791, y: 373) > Vector(x: 9, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 372) > Vector(x: 792, y: 448) > Vector(x: 791, y: 447) > Vector(x: 791, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 448) > Vector(x: 8, y: 448) > Vector(x: 9, y: 447) > Vector(x: 791, y: 447)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 448) > Vector(x: 8, y: 372) > Vector(x: 9, y: 373) > Vector(x: 9, y: 447)) +Text: rgb(0,0,0) normal normal 400 64px arial solid rgb(0,0,0) line-through + [9, 374]: Testing + [212, 374]: + [230, 374]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 449) > Vector(x: 792, y: 449) > Vector(x: 791, y: 450) > Vector(x: 9, y: 450)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 449) > Vector(x: 792, y: 531) > Vector(x: 791, y: 530) > Vector(x: 791, y: 450)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 531) > Vector(x: 8, y: 531) > Vector(x: 9, y: 530) > Vector(x: 791, y: 530)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 531) > Vector(x: 8, y: 449) > Vector(x: 9, y: 450) > Vector(x: 9, y: 530)) +Text: rgb(0,0,0) normal normal 400 70px arial solid rgb(0,0,0) line-through + [9, 451]: Testing + [231, 451]: + [250, 451]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 532) > Vector(x: 792, y: 532) > Vector(x: 791, y: 533) > Vector(x: 9, y: 533)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 532) > Vector(x: 792, y: 622) > Vector(x: 791, y: 621) > Vector(x: 791, y: 533)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 622) > Vector(x: 8, y: 622) > Vector(x: 9, y: 621) > Vector(x: 791, y: 621)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 622) > Vector(x: 8, y: 532) > Vector(x: 9, y: 533) > Vector(x: 9, y: 621)) +Text: rgb(0,0,0) normal normal 400 76px arial solid rgb(0,0,0) line-through + [9, 535]: Testing + [250, 535]: + [271, 535]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 623) > Vector(x: 792, y: 623) > Vector(x: 791, y: 624) > Vector(x: 9, y: 624)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 623) > Vector(x: 792, y: 644) > Vector(x: 791, y: 643) > Vector(x: 791, y: 624)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 644) > Vector(x: 8, y: 644) > Vector(x: 9, y: 643) > Vector(x: 791, y: 643)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 644) > Vector(x: 8, y: 623) > Vector(x: 9, y: 624) > Vector(x: 9, y: 643)) +Text: rgb(0,0,0) normal normal 400 16px verdana solid rgb(0,0,0) line-through + [9, 624]: Testing + [66, 624]: + [72, 624]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 645) > Vector(x: 792, y: 645) > Vector(x: 791, y: 646) > Vector(x: 9, y: 646)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 645) > Vector(x: 792, y: 674) > Vector(x: 791, y: 673) > Vector(x: 791, y: 646)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 674) > Vector(x: 8, y: 674) > Vector(x: 9, y: 673) > Vector(x: 791, y: 673)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 674) > Vector(x: 8, y: 645) > Vector(x: 9, y: 646) > Vector(x: 9, y: 673)) +Text: rgb(0,0,0) normal normal 400 22px verdana solid rgb(0,0,0) line-through + [9, 646]: Testing + [87, 646]: + [95, 646]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 675) > Vector(x: 792, y: 675) > Vector(x: 791, y: 676) > Vector(x: 9, y: 676)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 675) > Vector(x: 792, y: 711) > Vector(x: 791, y: 710) > Vector(x: 791, y: 676)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 711) > Vector(x: 8, y: 711) > Vector(x: 9, y: 710) > Vector(x: 791, y: 710)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 711) > Vector(x: 8, y: 675) > Vector(x: 9, y: 676) > Vector(x: 9, y: 710)) +Text: rgb(0,0,0) normal normal 400 28px verdana solid rgb(0,0,0) line-through + [9, 676]: Testing + [108, 676]: + [118, 676]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 712) > Vector(x: 792, y: 712) > Vector(x: 791, y: 713) > Vector(x: 9, y: 713)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 712) > Vector(x: 792, y: 755) > Vector(x: 791, y: 754) > Vector(x: 791, y: 713)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 755) > Vector(x: 8, y: 755) > Vector(x: 9, y: 754) > Vector(x: 791, y: 754)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 755) > Vector(x: 8, y: 712) > Vector(x: 9, y: 713) > Vector(x: 9, y: 754)) +Text: rgb(0,0,0) normal normal 400 34px verdana solid rgb(0,0,0) line-through + [9, 713]: Testing + [130, 713]: + [142, 713]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 756) > Vector(x: 792, y: 756) > Vector(x: 791, y: 757) > Vector(x: 9, y: 757)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 756) > Vector(x: 792, y: 807) > Vector(x: 791, y: 806) > Vector(x: 791, y: 757)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 807) > Vector(x: 8, y: 807) > Vector(x: 9, y: 806) > Vector(x: 791, y: 806)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 807) > Vector(x: 8, y: 756) > Vector(x: 9, y: 757) > Vector(x: 9, y: 806)) +Text: rgb(0,0,0) normal normal 400 40px verdana solid rgb(0,0,0) line-through + [9, 757]: Testing + [151, 757]: + [165, 757]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 808) > Vector(x: 792, y: 808) > Vector(x: 791, y: 809) > Vector(x: 9, y: 809)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 808) > Vector(x: 792, y: 866) > Vector(x: 791, y: 865) > Vector(x: 791, y: 809)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 866) > Vector(x: 8, y: 866) > Vector(x: 9, y: 865) > Vector(x: 791, y: 865)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 866) > Vector(x: 8, y: 808) > Vector(x: 9, y: 809) > Vector(x: 9, y: 865)) +Text: rgb(0,0,0) normal normal 400 46px verdana solid rgb(0,0,0) line-through + [9, 809]: Testing + [172, 809]: + [188, 809]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 867) > Vector(x: 792, y: 867) > Vector(x: 791, y: 868) > Vector(x: 9, y: 868)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 867) > Vector(x: 792, y: 932) > Vector(x: 791, y: 931) > Vector(x: 791, y: 868)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 932) > Vector(x: 8, y: 932) > Vector(x: 9, y: 931) > Vector(x: 791, y: 931)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 932) > Vector(x: 8, y: 867) > Vector(x: 9, y: 868) > Vector(x: 9, y: 931)) +Text: rgb(0,0,0) normal normal 400 52px verdana solid rgb(0,0,0) line-through + [9, 868]: Testing + [194, 868]: + [212, 868]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 933) > Vector(x: 792, y: 933) > Vector(x: 791, y: 934) > Vector(x: 9, y: 934)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 933) > Vector(x: 792, y: 1005) > Vector(x: 791, y: 1004) > Vector(x: 791, y: 934)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1005) > Vector(x: 8, y: 1005) > Vector(x: 9, y: 1004) > Vector(x: 791, y: 1004)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1005) > Vector(x: 8, y: 933) > Vector(x: 9, y: 934) > Vector(x: 9, y: 1004)) +Text: rgb(0,0,0) normal normal 400 58px verdana solid rgb(0,0,0) line-through + [9, 934]: Testing + [215, 934]: + [235, 934]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1006) > Vector(x: 792, y: 1006) > Vector(x: 791, y: 1007) > Vector(x: 9, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1006) > Vector(x: 792, y: 1086) > Vector(x: 791, y: 1085) > Vector(x: 791, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1086) > Vector(x: 8, y: 1086) > Vector(x: 9, y: 1085) > Vector(x: 791, y: 1085)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1086) > Vector(x: 8, y: 1006) > Vector(x: 9, y: 1007) > Vector(x: 9, y: 1085)) +Text: rgb(0,0,0) normal normal 400 64px verdana solid rgb(0,0,0) line-through + [9, 1007]: Testing + [236, 1007]: + [259, 1007]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1087) > Vector(x: 792, y: 1087) > Vector(x: 791, y: 1088) > Vector(x: 9, y: 1088)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1087) > Vector(x: 792, y: 1174) > Vector(x: 791, y: 1173) > Vector(x: 791, y: 1088)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1174) > Vector(x: 8, y: 1174) > Vector(x: 9, y: 1173) > Vector(x: 791, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1174) > Vector(x: 8, y: 1087) > Vector(x: 9, y: 1088) > Vector(x: 9, y: 1173)) +Text: rgb(0,0,0) normal normal 400 70px verdana solid rgb(0,0,0) line-through + [9, 1088]: Testing + [258, 1088]: + [282, 1088]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1175) > Vector(x: 792, y: 1175) > Vector(x: 791, y: 1176) > Vector(x: 9, y: 1176)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1175) > Vector(x: 792, y: 1270) > Vector(x: 791, y: 1269) > Vector(x: 791, y: 1176)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1270) > Vector(x: 8, y: 1270) > Vector(x: 9, y: 1269) > Vector(x: 791, y: 1269)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1270) > Vector(x: 8, y: 1175) > Vector(x: 9, y: 1176) > Vector(x: 9, y: 1269)) +Text: rgb(0,0,0) normal normal 400 76px verdana solid rgb(0,0,0) line-through + [9, 1177]: Testing + [279, 1177]: + [306, 1177]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1271) > Vector(x: 792, y: 1271) > Vector(x: 791, y: 1272) > Vector(x: 9, y: 1272)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1271) > Vector(x: 792, y: 1292) > Vector(x: 791, y: 1291) > Vector(x: 791, y: 1272)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1292) > Vector(x: 8, y: 1292) > Vector(x: 9, y: 1291) > Vector(x: 791, y: 1291)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1292) > Vector(x: 8, y: 1271) > Vector(x: 9, y: 1272) > Vector(x: 9, y: 1291)) +Text: rgb(0,0,0) normal normal 400 16px tahoma solid rgb(0,0,0) line-through + [9, 1272]: Testing + [61, 1272]: + [66, 1272]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1293) > Vector(x: 792, y: 1293) > Vector(x: 791, y: 1294) > Vector(x: 9, y: 1294)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1293) > Vector(x: 792, y: 1321) > Vector(x: 791, y: 1320) > Vector(x: 791, y: 1294)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1321) > Vector(x: 8, y: 1321) > Vector(x: 9, y: 1320) > Vector(x: 791, y: 1320)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1321) > Vector(x: 8, y: 1293) > Vector(x: 9, y: 1294) > Vector(x: 9, y: 1320)) +Text: rgb(0,0,0) normal normal 400 22px tahoma solid rgb(0,0,0) line-through + [9, 1294]: Testing + [80, 1294]: + [87, 1294]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1322) > Vector(x: 792, y: 1322) > Vector(x: 791, y: 1323) > Vector(x: 9, y: 1323)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1322) > Vector(x: 792, y: 1358) > Vector(x: 791, y: 1357) > Vector(x: 791, y: 1323)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1358) > Vector(x: 8, y: 1358) > Vector(x: 9, y: 1357) > Vector(x: 791, y: 1357)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1358) > Vector(x: 8, y: 1322) > Vector(x: 9, y: 1323) > Vector(x: 9, y: 1357)) +Text: rgb(0,0,0) normal normal 400 28px tahoma solid rgb(0,0,0) line-through + [9, 1324]: Testing + [100, 1324]: + [108, 1324]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1359) > Vector(x: 792, y: 1359) > Vector(x: 791, y: 1360) > Vector(x: 9, y: 1360)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1359) > Vector(x: 792, y: 1402) > Vector(x: 791, y: 1401) > Vector(x: 791, y: 1360)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1402) > Vector(x: 8, y: 1402) > Vector(x: 9, y: 1401) > Vector(x: 791, y: 1401)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1402) > Vector(x: 8, y: 1359) > Vector(x: 9, y: 1360) > Vector(x: 9, y: 1401)) +Text: rgb(0,0,0) normal normal 400 34px tahoma solid rgb(0,0,0) line-through + [9, 1360]: Testing + [119, 1360]: + [130, 1360]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1403) > Vector(x: 792, y: 1403) > Vector(x: 791, y: 1404) > Vector(x: 9, y: 1404)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1403) > Vector(x: 792, y: 1454) > Vector(x: 791, y: 1453) > Vector(x: 791, y: 1404)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1454) > Vector(x: 8, y: 1454) > Vector(x: 9, y: 1453) > Vector(x: 791, y: 1453)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1454) > Vector(x: 8, y: 1403) > Vector(x: 9, y: 1404) > Vector(x: 9, y: 1453)) +Text: rgb(0,0,0) normal normal 400 40px tahoma solid rgb(0,0,0) line-through + [9, 1404]: Testing + [138, 1404]: + [151, 1404]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1455) > Vector(x: 792, y: 1455) > Vector(x: 791, y: 1456) > Vector(x: 9, y: 1456)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1455) > Vector(x: 792, y: 1512) > Vector(x: 791, y: 1511) > Vector(x: 791, y: 1456)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1512) > Vector(x: 8, y: 1512) > Vector(x: 9, y: 1511) > Vector(x: 791, y: 1511)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1512) > Vector(x: 8, y: 1455) > Vector(x: 9, y: 1456) > Vector(x: 9, y: 1511)) +Text: rgb(0,0,0) normal normal 400 46px tahoma solid rgb(0,0,0) line-through + [9, 1456]: Testing + [158, 1456]: + [172, 1456]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1513) > Vector(x: 792, y: 1513) > Vector(x: 791, y: 1514) > Vector(x: 9, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1513) > Vector(x: 792, y: 1578) > Vector(x: 791, y: 1577) > Vector(x: 791, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1578) > Vector(x: 8, y: 1578) > Vector(x: 9, y: 1577) > Vector(x: 791, y: 1577)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1578) > Vector(x: 8, y: 1513) > Vector(x: 9, y: 1514) > Vector(x: 9, y: 1577)) +Text: rgb(0,0,0) normal normal 400 52px tahoma solid rgb(0,0,0) line-through + [9, 1514]: Testing + [177, 1514]: + [193, 1514]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1579) > Vector(x: 792, y: 1579) > Vector(x: 791, y: 1580) > Vector(x: 9, y: 1580)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1579) > Vector(x: 792, y: 1651) > Vector(x: 791, y: 1650) > Vector(x: 791, y: 1580)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1651) > Vector(x: 8, y: 1651) > Vector(x: 9, y: 1650) > Vector(x: 791, y: 1650)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1651) > Vector(x: 8, y: 1579) > Vector(x: 9, y: 1580) > Vector(x: 9, y: 1650)) +Text: rgb(0,0,0) normal normal 400 58px tahoma solid rgb(0,0,0) line-through + [9, 1580]: Testing + [196, 1580]: + [214, 1580]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1652) > Vector(x: 792, y: 1652) > Vector(x: 791, y: 1653) > Vector(x: 9, y: 1653)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1652) > Vector(x: 792, y: 1731) > Vector(x: 791, y: 1730) > Vector(x: 791, y: 1653)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1731) > Vector(x: 8, y: 1731) > Vector(x: 9, y: 1730) > Vector(x: 791, y: 1730)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1731) > Vector(x: 8, y: 1652) > Vector(x: 9, y: 1653) > Vector(x: 9, y: 1730)) +Text: rgb(0,0,0) normal normal 400 64px tahoma solid rgb(0,0,0) line-through + [9, 1653]: Testing + [216, 1653]: + [236, 1653]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1732) > Vector(x: 792, y: 1732) > Vector(x: 791, y: 1733) > Vector(x: 9, y: 1733)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1732) > Vector(x: 792, y: 1819) > Vector(x: 791, y: 1818) > Vector(x: 791, y: 1733)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1819) > Vector(x: 8, y: 1819) > Vector(x: 9, y: 1818) > Vector(x: 791, y: 1818)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1819) > Vector(x: 8, y: 1732) > Vector(x: 9, y: 1733) > Vector(x: 9, y: 1818)) +Text: rgb(0,0,0) normal normal 400 70px tahoma solid rgb(0,0,0) line-through + [9, 1733]: Testing + [235, 1733]: + [257, 1733]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1820) > Vector(x: 792, y: 1820) > Vector(x: 791, y: 1821) > Vector(x: 9, y: 1821)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1820) > Vector(x: 792, y: 1913) > Vector(x: 791, y: 1912) > Vector(x: 791, y: 1821)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1913) > Vector(x: 8, y: 1913) > Vector(x: 9, y: 1912) > Vector(x: 791, y: 1912)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1913) > Vector(x: 8, y: 1820) > Vector(x: 9, y: 1821) > Vector(x: 9, y: 1912)) +Text: rgb(0,0,0) normal normal 400 76px tahoma solid rgb(0,0,0) line-through + [9, 1821]: Testing + [254, 1821]: + [278, 1821]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1914) > Vector(x: 792, y: 1914) > Vector(x: 791, y: 1915) > Vector(x: 9, y: 1915)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1914) > Vector(x: 792, y: 1934) > Vector(x: 791, y: 1933) > Vector(x: 791, y: 1915)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1934) > Vector(x: 8, y: 1934) > Vector(x: 9, y: 1933) > Vector(x: 791, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1934) > Vector(x: 8, y: 1914) > Vector(x: 9, y: 1915) > Vector(x: 9, y: 1933)) +Text: rgb(0,0,0) normal normal 400 16px courier new solid rgb(0,0,0) line-through + [9, 1915]: Testing + [76, 1915]: + [86, 1915]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1935) > Vector(x: 792, y: 1935) > Vector(x: 791, y: 1936) > Vector(x: 9, y: 1936)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1935) > Vector(x: 792, y: 1962) > Vector(x: 791, y: 1961) > Vector(x: 791, y: 1936)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1962) > Vector(x: 8, y: 1962) > Vector(x: 9, y: 1961) > Vector(x: 791, y: 1961)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1962) > Vector(x: 8, y: 1935) > Vector(x: 9, y: 1936) > Vector(x: 9, y: 1961)) +Text: rgb(0,0,0) normal normal 400 22px courier new solid rgb(0,0,0) line-through + [9, 1936]: Testing + [102, 1936]: + [115, 1936]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1963) > Vector(x: 792, y: 1963) > Vector(x: 791, y: 1964) > Vector(x: 9, y: 1964)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1963) > Vector(x: 792, y: 1997) > Vector(x: 791, y: 1996) > Vector(x: 791, y: 1964)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1997) > Vector(x: 8, y: 1997) > Vector(x: 9, y: 1996) > Vector(x: 791, y: 1996)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1997) > Vector(x: 8, y: 1963) > Vector(x: 9, y: 1964) > Vector(x: 9, y: 1996)) +Text: rgb(0,0,0) normal normal 400 28px courier new solid rgb(0,0,0) line-through + [9, 1965]: Testing + [127, 1965]: + [144, 1965]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1998) > Vector(x: 792, y: 1998) > Vector(x: 791, y: 1999) > Vector(x: 9, y: 1999)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1998) > Vector(x: 792, y: 2039) > Vector(x: 791, y: 2038) > Vector(x: 791, y: 1999)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2039) > Vector(x: 8, y: 2039) > Vector(x: 9, y: 2038) > Vector(x: 791, y: 2038)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2039) > Vector(x: 8, y: 1998) > Vector(x: 9, y: 1999) > Vector(x: 9, y: 2038)) +Text: rgb(0,0,0) normal normal 400 34px courier new solid rgb(0,0,0) line-through + [9, 1999]: Testing + [152, 1999]: + [172, 1999]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2040) > Vector(x: 792, y: 2040) > Vector(x: 791, y: 2041) > Vector(x: 9, y: 2041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2040) > Vector(x: 792, y: 2087) > Vector(x: 791, y: 2086) > Vector(x: 791, y: 2041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2087) > Vector(x: 8, y: 2087) > Vector(x: 9, y: 2086) > Vector(x: 791, y: 2086)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2087) > Vector(x: 8, y: 2040) > Vector(x: 9, y: 2041) > Vector(x: 9, y: 2086)) +Text: rgb(0,0,0) normal normal 400 40px courier new solid rgb(0,0,0) line-through + [9, 2041]: Testing + [177, 2041]: + [201, 2041]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2088) > Vector(x: 792, y: 2088) > Vector(x: 791, y: 2089) > Vector(x: 9, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2088) > Vector(x: 792, y: 2142) > Vector(x: 791, y: 2141) > Vector(x: 791, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2142) > Vector(x: 8, y: 2142) > Vector(x: 9, y: 2141) > Vector(x: 791, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2142) > Vector(x: 8, y: 2088) > Vector(x: 9, y: 2089) > Vector(x: 9, y: 2141)) +Text: rgb(0,0,0) normal normal 400 46px courier new solid rgb(0,0,0) line-through + [9, 2089]: Testing + [202, 2089]: + [230, 2089]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2143) > Vector(x: 792, y: 2143) > Vector(x: 791, y: 2144) > Vector(x: 9, y: 2144)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2143) > Vector(x: 792, y: 2204) > Vector(x: 791, y: 2203) > Vector(x: 791, y: 2144)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2204) > Vector(x: 8, y: 2204) > Vector(x: 9, y: 2203) > Vector(x: 791, y: 2203)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2204) > Vector(x: 8, y: 2143) > Vector(x: 9, y: 2144) > Vector(x: 9, y: 2203)) +Text: rgb(0,0,0) normal normal 400 52px courier new solid rgb(0,0,0) line-through + [9, 2145]: Testing + [228, 2145]: + [259, 2145]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2205) > Vector(x: 792, y: 2205) > Vector(x: 791, y: 2206) > Vector(x: 9, y: 2206)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2205) > Vector(x: 792, y: 2273) > Vector(x: 791, y: 2272) > Vector(x: 791, y: 2206)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2273) > Vector(x: 8, y: 2273) > Vector(x: 9, y: 2272) > Vector(x: 791, y: 2272)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2273) > Vector(x: 8, y: 2205) > Vector(x: 9, y: 2206) > Vector(x: 9, y: 2272)) +Text: rgb(0,0,0) normal normal 400 58px courier new solid rgb(0,0,0) line-through + [9, 2206]: Testing + [253, 2206]: + [288, 2206]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2274) > Vector(x: 792, y: 2274) > Vector(x: 791, y: 2275) > Vector(x: 9, y: 2275)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2274) > Vector(x: 792, y: 2349) > Vector(x: 791, y: 2348) > Vector(x: 791, y: 2275)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2349) > Vector(x: 8, y: 2349) > Vector(x: 9, y: 2348) > Vector(x: 791, y: 2348)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2349) > Vector(x: 8, y: 2274) > Vector(x: 9, y: 2275) > Vector(x: 9, y: 2348)) +Text: rgb(0,0,0) normal normal 400 64px courier new solid rgb(0,0,0) line-through + [9, 2275]: Testing + [278, 2275]: + [316, 2275]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2350) > Vector(x: 792, y: 2350) > Vector(x: 791, y: 2351) > Vector(x: 9, y: 2351)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2350) > Vector(x: 792, y: 2431) > Vector(x: 791, y: 2430) > Vector(x: 791, y: 2351)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2431) > Vector(x: 8, y: 2431) > Vector(x: 9, y: 2430) > Vector(x: 791, y: 2430)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2431) > Vector(x: 8, y: 2350) > Vector(x: 9, y: 2351) > Vector(x: 9, y: 2430)) +Text: rgb(0,0,0) normal normal 400 70px courier new solid rgb(0,0,0) line-through + [9, 2351]: Testing + [303, 2351]: + [345, 2351]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2432) > Vector(x: 792, y: 2432) > Vector(x: 791, y: 2433) > Vector(x: 9, y: 2433)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2432) > Vector(x: 792, y: 2520) > Vector(x: 791, y: 2519) > Vector(x: 791, y: 2433)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2520) > Vector(x: 8, y: 2520) > Vector(x: 9, y: 2519) > Vector(x: 791, y: 2519)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2520) > Vector(x: 8, y: 2432) > Vector(x: 9, y: 2433) > Vector(x: 9, y: 2519)) +Text: rgb(0,0,0) normal normal 400 76px courier new solid rgb(0,0,0) line-through + [9, 2433]: Testing + [328, 2433]: + [374, 2433]: texts \ No newline at end of file diff --git a/tests/cases/text/multiple.html b/tests/reftests/text/multiple.html similarity index 100% rename from tests/cases/text/multiple.html rename to tests/reftests/text/multiple.html diff --git a/tests/reftests/text/multiple.txt b/tests/reftests/text/multiple.txt new file mode 100644 index 0000000..676d096 --- /dev/null +++ b/tests/reftests/text/multiple.txt @@ -0,0 +1,355 @@ +Window: [800, 2528] +Rectangle: [0, 0, 800, 2528] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 791, y: 9) > Vector(x: 9, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 8) > Vector(x: 792, y: 28) > Vector(x: 791, y: 27) > Vector(x: 791, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 28) > Vector(x: 8, y: 28) > Vector(x: 9, y: 27) > Vector(x: 791, y: 27)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 28) > Vector(x: 8, y: 8) > Vector(x: 9, y: 9) > Vector(x: 9, y: 27)) +Text: rgb(0,0,0) normal normal 400 16px arial solid rgb(255,0,0) underline, overline, line-through + [9, 9]: Testing + [60, 9]: + [64, 9]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 29) > Vector(x: 792, y: 29) > Vector(x: 791, y: 30) > Vector(x: 9, y: 30)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 29) > Vector(x: 792, y: 57) > Vector(x: 791, y: 56) > Vector(x: 791, y: 30)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 57) > Vector(x: 8, y: 57) > Vector(x: 9, y: 56) > Vector(x: 791, y: 56)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 57) > Vector(x: 8, y: 29) > Vector(x: 9, y: 30) > Vector(x: 9, y: 56)) +Text: rgb(0,0,0) normal normal 400 22px arial solid rgb(255,0,0) underline, overline, line-through + [9, 31]: Testing + [79, 31]: + [85, 31]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 58) > Vector(x: 792, y: 58) > Vector(x: 791, y: 59) > Vector(x: 9, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 58) > Vector(x: 792, y: 92) > Vector(x: 791, y: 91) > Vector(x: 791, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 92) > Vector(x: 8, y: 92) > Vector(x: 9, y: 91) > Vector(x: 791, y: 91)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 92) > Vector(x: 8, y: 58) > Vector(x: 9, y: 59) > Vector(x: 9, y: 91)) +Text: rgb(0,0,0) normal normal 400 28px arial solid rgb(255,0,0) underline, overline, line-through + [9, 59]: Testing + [98, 59]: + [106, 59]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 93) > Vector(x: 792, y: 93) > Vector(x: 791, y: 94) > Vector(x: 9, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 93) > Vector(x: 792, y: 134) > Vector(x: 791, y: 133) > Vector(x: 791, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 134) > Vector(x: 8, y: 134) > Vector(x: 9, y: 133) > Vector(x: 791, y: 133)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 134) > Vector(x: 8, y: 93) > Vector(x: 9, y: 94) > Vector(x: 9, y: 133)) +Text: rgb(0,0,0) normal normal 400 34px arial solid rgb(255,0,0) underline, overline, line-through + [9, 94]: Testing + [117, 94]: + [126, 94]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 135) > Vector(x: 792, y: 135) > Vector(x: 791, y: 136) > Vector(x: 9, y: 136)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 135) > Vector(x: 792, y: 183) > Vector(x: 791, y: 182) > Vector(x: 791, y: 136)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 183) > Vector(x: 8, y: 183) > Vector(x: 9, y: 182) > Vector(x: 791, y: 182)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 183) > Vector(x: 8, y: 135) > Vector(x: 9, y: 136) > Vector(x: 9, y: 182)) +Text: rgb(0,0,0) normal normal 400 40px arial solid rgb(255,0,0) underline, overline, line-through + [9, 136]: Testing + [136, 136]: + [147, 136]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 184) > Vector(x: 792, y: 184) > Vector(x: 791, y: 185) > Vector(x: 9, y: 185)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 184) > Vector(x: 792, y: 239) > Vector(x: 791, y: 238) > Vector(x: 791, y: 185)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 239) > Vector(x: 8, y: 239) > Vector(x: 9, y: 238) > Vector(x: 791, y: 238)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 239) > Vector(x: 8, y: 184) > Vector(x: 9, y: 185) > Vector(x: 9, y: 238)) +Text: rgb(0,0,0) normal normal 400 46px arial solid rgb(255,0,0) underline, overline, line-through + [9, 186]: Testing + [155, 186]: + [168, 186]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 240) > Vector(x: 792, y: 240) > Vector(x: 791, y: 241) > Vector(x: 9, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 240) > Vector(x: 792, y: 302) > Vector(x: 791, y: 301) > Vector(x: 791, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 302) > Vector(x: 8, y: 302) > Vector(x: 9, y: 301) > Vector(x: 791, y: 301)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 302) > Vector(x: 8, y: 240) > Vector(x: 9, y: 241) > Vector(x: 9, y: 301)) +Text: rgb(0,0,0) normal normal 400 52px arial solid rgb(255,0,0) underline, overline, line-through + [9, 242]: Testing + [174, 242]: + [188, 242]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 303) > Vector(x: 792, y: 303) > Vector(x: 791, y: 304) > Vector(x: 9, y: 304)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 303) > Vector(x: 792, y: 371) > Vector(x: 791, y: 370) > Vector(x: 791, y: 304)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 371) > Vector(x: 8, y: 371) > Vector(x: 9, y: 370) > Vector(x: 791, y: 370)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 371) > Vector(x: 8, y: 303) > Vector(x: 9, y: 304) > Vector(x: 9, y: 370)) +Text: rgb(0,0,0) normal normal 400 58px arial solid rgb(255,0,0) underline, overline, line-through + [9, 305]: Testing + [193, 305]: + [209, 305]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 372) > Vector(x: 792, y: 372) > Vector(x: 791, y: 373) > Vector(x: 9, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 372) > Vector(x: 792, y: 448) > Vector(x: 791, y: 447) > Vector(x: 791, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 448) > Vector(x: 8, y: 448) > Vector(x: 9, y: 447) > Vector(x: 791, y: 447)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 448) > Vector(x: 8, y: 372) > Vector(x: 9, y: 373) > Vector(x: 9, y: 447)) +Text: rgb(0,0,0) normal normal 400 64px arial solid rgb(255,0,0) underline, overline, line-through + [9, 374]: Testing + [212, 374]: + [230, 374]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 449) > Vector(x: 792, y: 449) > Vector(x: 791, y: 450) > Vector(x: 9, y: 450)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 449) > Vector(x: 792, y: 531) > Vector(x: 791, y: 530) > Vector(x: 791, y: 450)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 531) > Vector(x: 8, y: 531) > Vector(x: 9, y: 530) > Vector(x: 791, y: 530)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 531) > Vector(x: 8, y: 449) > Vector(x: 9, y: 450) > Vector(x: 9, y: 530)) +Text: rgb(0,0,0) normal normal 400 70px arial solid rgb(255,0,0) underline, overline, line-through + [9, 451]: Testing + [231, 451]: + [250, 451]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 532) > Vector(x: 792, y: 532) > Vector(x: 791, y: 533) > Vector(x: 9, y: 533)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 532) > Vector(x: 792, y: 622) > Vector(x: 791, y: 621) > Vector(x: 791, y: 533)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 622) > Vector(x: 8, y: 622) > Vector(x: 9, y: 621) > Vector(x: 791, y: 621)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 622) > Vector(x: 8, y: 532) > Vector(x: 9, y: 533) > Vector(x: 9, y: 621)) +Text: rgb(0,0,0) normal normal 400 76px arial solid rgb(255,0,0) underline, overline, line-through + [9, 535]: Testing + [250, 535]: + [271, 535]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 623) > Vector(x: 792, y: 623) > Vector(x: 791, y: 624) > Vector(x: 9, y: 624)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 623) > Vector(x: 792, y: 644) > Vector(x: 791, y: 643) > Vector(x: 791, y: 624)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 644) > Vector(x: 8, y: 644) > Vector(x: 9, y: 643) > Vector(x: 791, y: 643)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 644) > Vector(x: 8, y: 623) > Vector(x: 9, y: 624) > Vector(x: 9, y: 643)) +Text: rgb(0,0,0) normal normal 400 16px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 624]: Testing + [66, 624]: + [72, 624]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 645) > Vector(x: 792, y: 645) > Vector(x: 791, y: 646) > Vector(x: 9, y: 646)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 645) > Vector(x: 792, y: 674) > Vector(x: 791, y: 673) > Vector(x: 791, y: 646)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 674) > Vector(x: 8, y: 674) > Vector(x: 9, y: 673) > Vector(x: 791, y: 673)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 674) > Vector(x: 8, y: 645) > Vector(x: 9, y: 646) > Vector(x: 9, y: 673)) +Text: rgb(0,0,0) normal normal 400 22px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 646]: Testing + [87, 646]: + [95, 646]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 675) > Vector(x: 792, y: 675) > Vector(x: 791, y: 676) > Vector(x: 9, y: 676)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 675) > Vector(x: 792, y: 711) > Vector(x: 791, y: 710) > Vector(x: 791, y: 676)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 711) > Vector(x: 8, y: 711) > Vector(x: 9, y: 710) > Vector(x: 791, y: 710)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 711) > Vector(x: 8, y: 675) > Vector(x: 9, y: 676) > Vector(x: 9, y: 710)) +Text: rgb(0,0,0) normal normal 400 28px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 676]: Testing + [108, 676]: + [118, 676]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 712) > Vector(x: 792, y: 712) > Vector(x: 791, y: 713) > Vector(x: 9, y: 713)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 712) > Vector(x: 792, y: 755) > Vector(x: 791, y: 754) > Vector(x: 791, y: 713)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 755) > Vector(x: 8, y: 755) > Vector(x: 9, y: 754) > Vector(x: 791, y: 754)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 755) > Vector(x: 8, y: 712) > Vector(x: 9, y: 713) > Vector(x: 9, y: 754)) +Text: rgb(0,0,0) normal normal 400 34px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 713]: Testing + [130, 713]: + [142, 713]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 756) > Vector(x: 792, y: 756) > Vector(x: 791, y: 757) > Vector(x: 9, y: 757)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 756) > Vector(x: 792, y: 807) > Vector(x: 791, y: 806) > Vector(x: 791, y: 757)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 807) > Vector(x: 8, y: 807) > Vector(x: 9, y: 806) > Vector(x: 791, y: 806)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 807) > Vector(x: 8, y: 756) > Vector(x: 9, y: 757) > Vector(x: 9, y: 806)) +Text: rgb(0,0,0) normal normal 400 40px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 757]: Testing + [151, 757]: + [165, 757]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 808) > Vector(x: 792, y: 808) > Vector(x: 791, y: 809) > Vector(x: 9, y: 809)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 808) > Vector(x: 792, y: 866) > Vector(x: 791, y: 865) > Vector(x: 791, y: 809)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 866) > Vector(x: 8, y: 866) > Vector(x: 9, y: 865) > Vector(x: 791, y: 865)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 866) > Vector(x: 8, y: 808) > Vector(x: 9, y: 809) > Vector(x: 9, y: 865)) +Text: rgb(0,0,0) normal normal 400 46px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 809]: Testing + [172, 809]: + [188, 809]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 867) > Vector(x: 792, y: 867) > Vector(x: 791, y: 868) > Vector(x: 9, y: 868)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 867) > Vector(x: 792, y: 932) > Vector(x: 791, y: 931) > Vector(x: 791, y: 868)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 932) > Vector(x: 8, y: 932) > Vector(x: 9, y: 931) > Vector(x: 791, y: 931)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 932) > Vector(x: 8, y: 867) > Vector(x: 9, y: 868) > Vector(x: 9, y: 931)) +Text: rgb(0,0,0) normal normal 400 52px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 868]: Testing + [194, 868]: + [212, 868]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 933) > Vector(x: 792, y: 933) > Vector(x: 791, y: 934) > Vector(x: 9, y: 934)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 933) > Vector(x: 792, y: 1005) > Vector(x: 791, y: 1004) > Vector(x: 791, y: 934)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1005) > Vector(x: 8, y: 1005) > Vector(x: 9, y: 1004) > Vector(x: 791, y: 1004)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1005) > Vector(x: 8, y: 933) > Vector(x: 9, y: 934) > Vector(x: 9, y: 1004)) +Text: rgb(0,0,0) normal normal 400 58px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 934]: Testing + [215, 934]: + [235, 934]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1006) > Vector(x: 792, y: 1006) > Vector(x: 791, y: 1007) > Vector(x: 9, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1006) > Vector(x: 792, y: 1086) > Vector(x: 791, y: 1085) > Vector(x: 791, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1086) > Vector(x: 8, y: 1086) > Vector(x: 9, y: 1085) > Vector(x: 791, y: 1085)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1086) > Vector(x: 8, y: 1006) > Vector(x: 9, y: 1007) > Vector(x: 9, y: 1085)) +Text: rgb(0,0,0) normal normal 400 64px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 1007]: Testing + [236, 1007]: + [259, 1007]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1087) > Vector(x: 792, y: 1087) > Vector(x: 791, y: 1088) > Vector(x: 9, y: 1088)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1087) > Vector(x: 792, y: 1174) > Vector(x: 791, y: 1173) > Vector(x: 791, y: 1088)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1174) > Vector(x: 8, y: 1174) > Vector(x: 9, y: 1173) > Vector(x: 791, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1174) > Vector(x: 8, y: 1087) > Vector(x: 9, y: 1088) > Vector(x: 9, y: 1173)) +Text: rgb(0,0,0) normal normal 400 70px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 1088]: Testing + [258, 1088]: + [282, 1088]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1175) > Vector(x: 792, y: 1175) > Vector(x: 791, y: 1176) > Vector(x: 9, y: 1176)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1175) > Vector(x: 792, y: 1270) > Vector(x: 791, y: 1269) > Vector(x: 791, y: 1176)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1270) > Vector(x: 8, y: 1270) > Vector(x: 9, y: 1269) > Vector(x: 791, y: 1269)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1270) > Vector(x: 8, y: 1175) > Vector(x: 9, y: 1176) > Vector(x: 9, y: 1269)) +Text: rgb(0,0,0) normal normal 400 76px verdana solid rgb(255,0,0) underline, overline, line-through + [9, 1177]: Testing + [279, 1177]: + [306, 1177]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1271) > Vector(x: 792, y: 1271) > Vector(x: 791, y: 1272) > Vector(x: 9, y: 1272)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1271) > Vector(x: 792, y: 1292) > Vector(x: 791, y: 1291) > Vector(x: 791, y: 1272)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1292) > Vector(x: 8, y: 1292) > Vector(x: 9, y: 1291) > Vector(x: 791, y: 1291)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1292) > Vector(x: 8, y: 1271) > Vector(x: 9, y: 1272) > Vector(x: 9, y: 1291)) +Text: rgb(0,0,0) normal normal 400 16px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1272]: Testing + [61, 1272]: + [66, 1272]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1293) > Vector(x: 792, y: 1293) > Vector(x: 791, y: 1294) > Vector(x: 9, y: 1294)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1293) > Vector(x: 792, y: 1321) > Vector(x: 791, y: 1320) > Vector(x: 791, y: 1294)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1321) > Vector(x: 8, y: 1321) > Vector(x: 9, y: 1320) > Vector(x: 791, y: 1320)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1321) > Vector(x: 8, y: 1293) > Vector(x: 9, y: 1294) > Vector(x: 9, y: 1320)) +Text: rgb(0,0,0) normal normal 400 22px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1294]: Testing + [80, 1294]: + [87, 1294]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1322) > Vector(x: 792, y: 1322) > Vector(x: 791, y: 1323) > Vector(x: 9, y: 1323)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1322) > Vector(x: 792, y: 1358) > Vector(x: 791, y: 1357) > Vector(x: 791, y: 1323)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1358) > Vector(x: 8, y: 1358) > Vector(x: 9, y: 1357) > Vector(x: 791, y: 1357)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1358) > Vector(x: 8, y: 1322) > Vector(x: 9, y: 1323) > Vector(x: 9, y: 1357)) +Text: rgb(0,0,0) normal normal 400 28px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1324]: Testing + [100, 1324]: + [108, 1324]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1359) > Vector(x: 792, y: 1359) > Vector(x: 791, y: 1360) > Vector(x: 9, y: 1360)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1359) > Vector(x: 792, y: 1402) > Vector(x: 791, y: 1401) > Vector(x: 791, y: 1360)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1402) > Vector(x: 8, y: 1402) > Vector(x: 9, y: 1401) > Vector(x: 791, y: 1401)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1402) > Vector(x: 8, y: 1359) > Vector(x: 9, y: 1360) > Vector(x: 9, y: 1401)) +Text: rgb(0,0,0) normal normal 400 34px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1360]: Testing + [119, 1360]: + [130, 1360]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1403) > Vector(x: 792, y: 1403) > Vector(x: 791, y: 1404) > Vector(x: 9, y: 1404)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1403) > Vector(x: 792, y: 1454) > Vector(x: 791, y: 1453) > Vector(x: 791, y: 1404)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1454) > Vector(x: 8, y: 1454) > Vector(x: 9, y: 1453) > Vector(x: 791, y: 1453)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1454) > Vector(x: 8, y: 1403) > Vector(x: 9, y: 1404) > Vector(x: 9, y: 1453)) +Text: rgb(0,0,0) normal normal 400 40px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1404]: Testing + [138, 1404]: + [151, 1404]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1455) > Vector(x: 792, y: 1455) > Vector(x: 791, y: 1456) > Vector(x: 9, y: 1456)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1455) > Vector(x: 792, y: 1512) > Vector(x: 791, y: 1511) > Vector(x: 791, y: 1456)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1512) > Vector(x: 8, y: 1512) > Vector(x: 9, y: 1511) > Vector(x: 791, y: 1511)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1512) > Vector(x: 8, y: 1455) > Vector(x: 9, y: 1456) > Vector(x: 9, y: 1511)) +Text: rgb(0,0,0) normal normal 400 46px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1456]: Testing + [158, 1456]: + [172, 1456]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1513) > Vector(x: 792, y: 1513) > Vector(x: 791, y: 1514) > Vector(x: 9, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1513) > Vector(x: 792, y: 1578) > Vector(x: 791, y: 1577) > Vector(x: 791, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1578) > Vector(x: 8, y: 1578) > Vector(x: 9, y: 1577) > Vector(x: 791, y: 1577)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1578) > Vector(x: 8, y: 1513) > Vector(x: 9, y: 1514) > Vector(x: 9, y: 1577)) +Text: rgb(0,0,0) normal normal 400 52px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1514]: Testing + [177, 1514]: + [193, 1514]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1579) > Vector(x: 792, y: 1579) > Vector(x: 791, y: 1580) > Vector(x: 9, y: 1580)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1579) > Vector(x: 792, y: 1651) > Vector(x: 791, y: 1650) > Vector(x: 791, y: 1580)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1651) > Vector(x: 8, y: 1651) > Vector(x: 9, y: 1650) > Vector(x: 791, y: 1650)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1651) > Vector(x: 8, y: 1579) > Vector(x: 9, y: 1580) > Vector(x: 9, y: 1650)) +Text: rgb(0,0,0) normal normal 400 58px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1580]: Testing + [196, 1580]: + [214, 1580]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1652) > Vector(x: 792, y: 1652) > Vector(x: 791, y: 1653) > Vector(x: 9, y: 1653)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1652) > Vector(x: 792, y: 1731) > Vector(x: 791, y: 1730) > Vector(x: 791, y: 1653)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1731) > Vector(x: 8, y: 1731) > Vector(x: 9, y: 1730) > Vector(x: 791, y: 1730)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1731) > Vector(x: 8, y: 1652) > Vector(x: 9, y: 1653) > Vector(x: 9, y: 1730)) +Text: rgb(0,0,0) normal normal 400 64px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1653]: Testing + [216, 1653]: + [236, 1653]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1732) > Vector(x: 792, y: 1732) > Vector(x: 791, y: 1733) > Vector(x: 9, y: 1733)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1732) > Vector(x: 792, y: 1819) > Vector(x: 791, y: 1818) > Vector(x: 791, y: 1733)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1819) > Vector(x: 8, y: 1819) > Vector(x: 9, y: 1818) > Vector(x: 791, y: 1818)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1819) > Vector(x: 8, y: 1732) > Vector(x: 9, y: 1733) > Vector(x: 9, y: 1818)) +Text: rgb(0,0,0) normal normal 400 70px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1733]: Testing + [235, 1733]: + [257, 1733]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1820) > Vector(x: 792, y: 1820) > Vector(x: 791, y: 1821) > Vector(x: 9, y: 1821)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1820) > Vector(x: 792, y: 1913) > Vector(x: 791, y: 1912) > Vector(x: 791, y: 1821)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1913) > Vector(x: 8, y: 1913) > Vector(x: 9, y: 1912) > Vector(x: 791, y: 1912)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1913) > Vector(x: 8, y: 1820) > Vector(x: 9, y: 1821) > Vector(x: 9, y: 1912)) +Text: rgb(0,0,0) normal normal 400 76px tahoma solid rgb(255,0,0) underline, overline, line-through + [9, 1821]: Testing + [254, 1821]: + [278, 1821]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1914) > Vector(x: 792, y: 1914) > Vector(x: 791, y: 1915) > Vector(x: 9, y: 1915)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1914) > Vector(x: 792, y: 1934) > Vector(x: 791, y: 1933) > Vector(x: 791, y: 1915)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1934) > Vector(x: 8, y: 1934) > Vector(x: 9, y: 1933) > Vector(x: 791, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1934) > Vector(x: 8, y: 1914) > Vector(x: 9, y: 1915) > Vector(x: 9, y: 1933)) +Text: rgb(0,0,0) normal normal 400 16px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 1915]: Testing + [76, 1915]: + [86, 1915]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1935) > Vector(x: 792, y: 1935) > Vector(x: 791, y: 1936) > Vector(x: 9, y: 1936)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1935) > Vector(x: 792, y: 1962) > Vector(x: 791, y: 1961) > Vector(x: 791, y: 1936)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1962) > Vector(x: 8, y: 1962) > Vector(x: 9, y: 1961) > Vector(x: 791, y: 1961)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1962) > Vector(x: 8, y: 1935) > Vector(x: 9, y: 1936) > Vector(x: 9, y: 1961)) +Text: rgb(0,0,0) normal normal 400 22px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 1936]: Testing + [102, 1936]: + [115, 1936]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1963) > Vector(x: 792, y: 1963) > Vector(x: 791, y: 1964) > Vector(x: 9, y: 1964)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1963) > Vector(x: 792, y: 1997) > Vector(x: 791, y: 1996) > Vector(x: 791, y: 1964)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1997) > Vector(x: 8, y: 1997) > Vector(x: 9, y: 1996) > Vector(x: 791, y: 1996)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1997) > Vector(x: 8, y: 1963) > Vector(x: 9, y: 1964) > Vector(x: 9, y: 1996)) +Text: rgb(0,0,0) normal normal 400 28px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 1965]: Testing + [127, 1965]: + [144, 1965]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1998) > Vector(x: 792, y: 1998) > Vector(x: 791, y: 1999) > Vector(x: 9, y: 1999)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1998) > Vector(x: 792, y: 2039) > Vector(x: 791, y: 2038) > Vector(x: 791, y: 1999)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2039) > Vector(x: 8, y: 2039) > Vector(x: 9, y: 2038) > Vector(x: 791, y: 2038)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2039) > Vector(x: 8, y: 1998) > Vector(x: 9, y: 1999) > Vector(x: 9, y: 2038)) +Text: rgb(0,0,0) normal normal 400 34px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 1999]: Testing + [152, 1999]: + [172, 1999]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2040) > Vector(x: 792, y: 2040) > Vector(x: 791, y: 2041) > Vector(x: 9, y: 2041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2040) > Vector(x: 792, y: 2087) > Vector(x: 791, y: 2086) > Vector(x: 791, y: 2041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2087) > Vector(x: 8, y: 2087) > Vector(x: 9, y: 2086) > Vector(x: 791, y: 2086)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2087) > Vector(x: 8, y: 2040) > Vector(x: 9, y: 2041) > Vector(x: 9, y: 2086)) +Text: rgb(0,0,0) normal normal 400 40px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2041]: Testing + [177, 2041]: + [201, 2041]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2088) > Vector(x: 792, y: 2088) > Vector(x: 791, y: 2089) > Vector(x: 9, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2088) > Vector(x: 792, y: 2142) > Vector(x: 791, y: 2141) > Vector(x: 791, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2142) > Vector(x: 8, y: 2142) > Vector(x: 9, y: 2141) > Vector(x: 791, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2142) > Vector(x: 8, y: 2088) > Vector(x: 9, y: 2089) > Vector(x: 9, y: 2141)) +Text: rgb(0,0,0) normal normal 400 46px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2089]: Testing + [202, 2089]: + [230, 2089]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2143) > Vector(x: 792, y: 2143) > Vector(x: 791, y: 2144) > Vector(x: 9, y: 2144)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2143) > Vector(x: 792, y: 2204) > Vector(x: 791, y: 2203) > Vector(x: 791, y: 2144)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2204) > Vector(x: 8, y: 2204) > Vector(x: 9, y: 2203) > Vector(x: 791, y: 2203)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2204) > Vector(x: 8, y: 2143) > Vector(x: 9, y: 2144) > Vector(x: 9, y: 2203)) +Text: rgb(0,0,0) normal normal 400 52px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2145]: Testing + [228, 2145]: + [259, 2145]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2205) > Vector(x: 792, y: 2205) > Vector(x: 791, y: 2206) > Vector(x: 9, y: 2206)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2205) > Vector(x: 792, y: 2273) > Vector(x: 791, y: 2272) > Vector(x: 791, y: 2206)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2273) > Vector(x: 8, y: 2273) > Vector(x: 9, y: 2272) > Vector(x: 791, y: 2272)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2273) > Vector(x: 8, y: 2205) > Vector(x: 9, y: 2206) > Vector(x: 9, y: 2272)) +Text: rgb(0,0,0) normal normal 400 58px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2206]: Testing + [253, 2206]: + [288, 2206]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2274) > Vector(x: 792, y: 2274) > Vector(x: 791, y: 2275) > Vector(x: 9, y: 2275)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2274) > Vector(x: 792, y: 2349) > Vector(x: 791, y: 2348) > Vector(x: 791, y: 2275)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2349) > Vector(x: 8, y: 2349) > Vector(x: 9, y: 2348) > Vector(x: 791, y: 2348)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2349) > Vector(x: 8, y: 2274) > Vector(x: 9, y: 2275) > Vector(x: 9, y: 2348)) +Text: rgb(0,0,0) normal normal 400 64px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2275]: Testing + [278, 2275]: + [316, 2275]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2350) > Vector(x: 792, y: 2350) > Vector(x: 791, y: 2351) > Vector(x: 9, y: 2351)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2350) > Vector(x: 792, y: 2431) > Vector(x: 791, y: 2430) > Vector(x: 791, y: 2351)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2431) > Vector(x: 8, y: 2431) > Vector(x: 9, y: 2430) > Vector(x: 791, y: 2430)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2431) > Vector(x: 8, y: 2350) > Vector(x: 9, y: 2351) > Vector(x: 9, y: 2430)) +Text: rgb(0,0,0) normal normal 400 70px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2351]: Testing + [303, 2351]: + [345, 2351]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2432) > Vector(x: 792, y: 2432) > Vector(x: 791, y: 2433) > Vector(x: 9, y: 2433)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2432) > Vector(x: 792, y: 2520) > Vector(x: 791, y: 2519) > Vector(x: 791, y: 2433)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2520) > Vector(x: 8, y: 2520) > Vector(x: 9, y: 2519) > Vector(x: 791, y: 2519)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2520) > Vector(x: 8, y: 2432) > Vector(x: 9, y: 2433) > Vector(x: 9, y: 2519)) +Text: rgb(0,0,0) normal normal 400 76px courier new solid rgb(255,0,0) underline, overline, line-through + [9, 2433]: Testing + [328, 2433]: + [374, 2433]: texts \ No newline at end of file diff --git a/tests/cases/text/shadow.html b/tests/reftests/text/shadow.html similarity index 100% rename from tests/cases/text/shadow.html rename to tests/reftests/text/shadow.html diff --git a/tests/reftests/text/shadow.txt b/tests/reftests/text/shadow.txt new file mode 100644 index 0000000..6aeef47 --- /dev/null +++ b/tests/reftests/text/shadow.txt @@ -0,0 +1,88 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 8]: Some + [48, 8]: text +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [271, 8]: followed + [332, 8]: by + [352, 8]: more + [388, 8]: text + [416, 8]: without + [469, 8]: shadow. +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [653, 8]: and + [680, 8]: some + [718, 8]: more + [754, 8]: text + [8, 27]: without + [61, 27]: shadow +Text: rgb(255,255,255) normal normal 400 24px Georgia Shadows: (rgb(0,0,0) 1px 1px 2px, rgb(0,0,255) 0px 0px 24px) + [8, 180]: Sed + [53, 180]: ut + [80, 180]: perspiciatis + [208, 180]: unde + [268, 180]: omnis + [339, 180]: iste + [382, 180]: natus + [446, 180]: error + [506, 180]: sit + [538, 180]: voluptatem + [8, 207]: accusantium + [148, 207]: doloremque + [282, 207]: laudantium, + [418, 207]: totam + [486, 207]: rem + [534, 207]: aperiam, + [634, 207]: eaque + [702, 207]: ipsa + [8, 234]: quae + [65, 234]: ab + [96, 234]: illo + [136, 234]: inventore. +Text: rgb(0,0,0) normal normal 400 16px Times New Roman Shadows: (rgb(0,0,0) 0px -2px 0px) + [8, 286]: Sed + [36, 286]: ut + [52, 286]: perspiciatis + [129, 286]: unde + [164, 286]: omnis + [208, 286]: iste + [234, 286]: natus + [272, 286]: error + [307, 286]: sit + [326, 286]: voluptatem + [402, 286]: accusantium + [486, 286]: doloremque + [566, 286]: laudantium, + [646, 286]: totam + [686, 286]: rem + [715, 286]: aperiam, + [8, 305]: eaque + [49, 305]: ipsa + [79, 305]: quae + [113, 305]: ab + [132, 305]: illo + [158, 305]: inventore. +Text: rgb(0,0,0) normal normal 400 16px Times New Roman Shadows: (rgb(136,136,136) 1px 1px 3px) + [76, 8]: followed + [137, 8]: by + [157, 8]: text + [185, 8]: with + [218, 8]: shadow +Text: rgb(0,0,0) normal normal 700 16px Times New Roman Shadows: (rgb(0,0,0) 1px 1px 2px, rgb(0,0,255) 0px 0px 16px) + [525, 8]: Multi + [567, 8]: text + [597, 8]: shadow +Text: rgba(0,0,0,0) normal normal 400 48px Times New Roman Shadows: (rgb(0,0,255) 0px 0px 5px, rgb(255,0,0) 2px 2px 0px) + [8, 46]: testing + [148, 46]: with + [245, 46]: transparent +Text: rgba(0,255,0,0.5) normal normal 700 48px Times New Roman Shadows: (rgb(0,0,255) 0px 0px 5px, rgb(255,0,0) 2px 2px 0px) solid rgba(0,255,0,0.5) underline + [470, 46]: testing + [606, 46]: + [618, 46]: with + [709, 46]: + [8, 102]: low + [80, 102]: + [92, 102]: opacity \ No newline at end of file diff --git a/tests/cases/text/text.html b/tests/reftests/text/text.html similarity index 100% rename from tests/cases/text/text.html rename to tests/reftests/text/text.html diff --git a/tests/reftests/text/text.txt b/tests/reftests/text/text.txt new file mode 100644 index 0000000..b671a6f --- /dev/null +++ b/tests/reftests/text/text.txt @@ -0,0 +1,266 @@ +Window: [800, 1231] +Rectangle: [0, 0, 800, 1231] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 700 32px Times New Roman + [8, 22]:

      + [86, 22]: text + [138, 22]: - + [148, 22]: decoration +Text: rgb(0,0,0) normal normal 700 24px Times New Roman + [8, 889]:

      + [67, 889]: text + [105, 889]: - + [113, 889]: transform +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 936]: text + [72, 936]: - + [77, 936]: transform:none; +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 955]: Text + [76, 955]: - + [82, 955]: Transform: + [157, 955]: Capitalize; + [230, 955]: (Including + [301, 955]: Foreign + [355, 955]: Characters + [427, 955]: Such + [463, 955]: As + [485, 955]: Öaäå) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 974]: TEXT + [88, 974]: - + [93, 974]: TRANSFORM:UPPERCASE; +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 992]: text + [72, 992]: - + [77, 992]: transform:lowercase; +Text: rgb(0,0,0) normal normal 700 18.72px Times New Roman + [8, 1030]:

      + [54, 1030]: misc + [95, 1030]: text + [130, 1030]: alignments +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 1070]: word + [81, 1070]: - + [86, 1070]: spacing:5px; + [177, 1070]: (as + [205, 1070]: each + [243, 1070]: letter + [285, 1070]: is + [304, 1070]: rendered + [370, 1070]: individually, + [459, 1070]: the + [487, 1070]: bounds + [542, 1070]: will + [576, 1070]: always + [630, 1070]: be + [654, 1070]: correct) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 1097]: line + [72, 1097]: - + [77, 1097]: height:35px; +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 1132]: (same + [90, 1132]: goes + [124, 1132]: for + [146, 1132]: line + [170, 1132]: - + [176, 1132]: height) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [48, 1159]: l + [58, 1159]: e + [70, 1159]: t + [79, 1159]: t + [88, 1159]: e + [100, 1159]: r + [110, 1159]: - + [121, 1159]: s + [132, 1159]: p + [145, 1159]: a + [157, 1159]: c + [169, 1159]: i + [179, 1159]: n + [192, 1159]: g + [205, 1159]: : + [214, 1159]: 5 + [227, 1159]: p + [240, 1159]: x + [253, 1159]: ; +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [162, 1178]: text + [186, 1178]: - + [192, 1178]: align:right;width:300px; +Text: rgb(0,0,0) normal small-caps 400 16px Times New Roman + [48, 1196]: font + [79, 1196]: - + [84, 1196]: variant:small + [180, 1196]: - + [186, 1196]: caps; +Text: rgb(0,0,0) normal normal 700 24px Arial + [8, 100]: Arial +Text: rgb(0,0,0) normal normal 400 14px Arial + [48, 147]: text + [70, 147]: - + [75, 147]: decoration:none; +Text: rgb(0,0,0) normal normal 400 14px Arial solid rgb(0,0,0) underline + [48, 163]: text + [70, 163]: - + [75, 163]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 14px Arial solid rgb(0,0,0) overline + [48, 179]: text + [70, 179]: - + [75, 179]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 14px Arial solid rgb(0,0,0) line-through + [48, 195]: text + [70, 195]: - + [75, 195]: decoration:line + [166, 195]: - + [171, 195]: through; +Text: rgb(0,0,0) normal normal 400 18px Arial + [48, 229]: text + [77, 229]: - + [83, 229]: decoration:none; +Text: rgb(0,0,0) normal normal 400 18px Arial solid rgb(0,0,0) underline + [48, 250]: text + [77, 250]: - + [83, 250]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 18px Arial solid rgb(0,0,0) overline + [48, 270]: text + [77, 270]: - + [83, 270]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 18px Arial solid rgb(0,0,0) line-through + [48, 291]: text + [77, 291]: - + [83, 291]: decoration:line + [200, 291]: - + [206, 291]: through; +Text: rgb(0,0,0) normal normal 400 24px Arial + [48, 336]: text + [87, 336]: - + [95, 336]: decoration:none; +Text: rgb(0,0,0) normal normal 400 24px Arial solid rgb(0,0,0) underline + [48, 364]: text + [87, 364]: - + [95, 364]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 24px Arial solid rgb(0,0,0) overline + [48, 392]: text + [87, 392]: - + [95, 392]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 24px Arial solid rgb(0,0,0) line-through + [48, 419]: text + [87, 419]: - + [95, 419]: decoration:line + [251, 419]: - + [259, 419]: through; +Text: rgb(0,0,0) normal normal 700 24px Verdana + [347, 99]: Verdana +Text: rgb(0,0,0) normal normal 400 14px Verdana + [387, 148]: text + [414, 148]: - + [420, 148]: decoration:none; +Text: rgb(0,0,0) normal normal 400 14px Verdana solid rgb(0,0,0) underline + [387, 165]: text + [414, 165]: - + [420, 165]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 14px Verdana solid rgb(0,0,0) overline + [387, 182]: text + [414, 182]: - + [420, 182]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 14px Verdana solid rgb(0,0,0) line-through + [387, 199]: text + [414, 199]: - + [420, 199]: decoration:line + [526, 199]: - + [532, 199]: through; +Text: rgb(0,0,0) normal normal 400 18px Verdana + [387, 234]: text + [422, 234]: - + [430, 234]: decoration:none; +Text: rgb(0,0,0) normal normal 400 18px Verdana solid rgb(0,0,0) underline + [387, 255]: text + [422, 255]: - + [430, 255]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 18px Verdana solid rgb(0,0,0) overline + [387, 277]: text + [422, 277]: - + [430, 277]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 18px Verdana solid rgb(0,0,0) line-through + [387, 298]: text + [422, 298]: - + [430, 298]: decoration:line + [565, 298]: - + [573, 298]: through; +Text: rgb(0,0,0) normal normal 400 24px Verdana + [387, 344]: text + [434, 344]: - + [445, 344]: decoration:none; +Text: rgb(0,0,0) normal normal 400 24px Verdana solid rgb(0,0,0) underline + [387, 373]: text + [434, 373]: - + [445, 373]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 24px Verdana solid rgb(0,0,0) overline + [387, 402]: text + [434, 402]: - + [445, 402]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 24px Verdana solid rgb(0,0,0) line-through + [387, 432]: text + [434, 432]: - + [445, 432]: decoration:line + [624, 432]: - + [636, 432]: through; +Text: rgb(0,0,0) normal normal 700 24px Tahoma + [8, 505]: Tahoma +Text: rgb(0,0,0) normal normal 400 14px Tahoma + [48, 553]: text + [72, 553]: - + [77, 553]: decoration:none; +Text: rgb(0,0,0) normal normal 400 14px Tahoma solid rgb(0,0,0) underline + [48, 570]: text + [72, 570]: - + [77, 570]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 14px Tahoma solid rgb(0,0,0) overline + [48, 587]: text + [72, 587]: - + [77, 587]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 14px Tahoma solid rgb(0,0,0) line-through + [48, 604]: text + [72, 604]: - + [77, 604]: decoration:line + [168, 604]: - + [173, 604]: through; +Text: rgb(0,0,0) normal normal 400 18px Tahoma + [48, 639]: text + [78, 639]: - + [85, 639]: decoration:none; +Text: rgb(0,0,0) normal normal 400 18px Tahoma solid rgb(0,0,0) underline + [48, 660]: text + [78, 660]: - + [85, 660]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 18px Tahoma solid rgb(0,0,0) overline + [48, 682]: text + [78, 682]: - + [85, 682]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 18px Tahoma solid rgb(0,0,0) line-through + [48, 703]: text + [78, 703]: - + [85, 703]: decoration:line + [202, 703]: - + [209, 703]: through; +Text: rgb(0,0,0) normal normal 400 24px Tahoma + [48, 749]: text + [88, 749]: - + [97, 749]: decoration:none; +Text: rgb(0,0,0) normal normal 400 24px Tahoma solid rgb(0,0,0) underline + [48, 778]: text + [88, 778]: - + [97, 778]: decoration:underline; +Text: rgb(0,0,0) normal normal 400 24px Tahoma solid rgb(0,0,0) overline + [48, 807]: text + [88, 807]: - + [97, 807]: decoration:overline; +Text: rgb(0,0,0) normal normal 400 24px Tahoma solid rgb(0,0,0) line-through + [48, 835]: text + [88, 835]: - + [97, 835]: decoration:line + [254, 835]: - + [263, 835]: through; \ No newline at end of file diff --git a/tests/cases/text/underline-lineheight.html b/tests/reftests/text/underline-lineheight.html similarity index 100% rename from tests/cases/text/underline-lineheight.html rename to tests/reftests/text/underline-lineheight.html diff --git a/tests/reftests/text/underline-lineheight.txt b/tests/reftests/text/underline-lineheight.txt new file mode 100644 index 0000000..f71f1d5 --- /dev/null +++ b/tests/reftests/text/underline-lineheight.txt @@ -0,0 +1,355 @@ +Window: [800, 1921] +Rectangle: [0, 0, 800, 1921] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 791, y: 9) > Vector(x: 9, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 8) > Vector(x: 792, y: 50) > Vector(x: 791, y: 49) > Vector(x: 791, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 50) > Vector(x: 8, y: 50) > Vector(x: 9, y: 49) > Vector(x: 791, y: 49)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 50) > Vector(x: 8, y: 8) > Vector(x: 9, y: 9) > Vector(x: 9, y: 49)) +Text: rgb(0,0,0) normal normal 400 16px arial solid rgb(0,0,0) underline + [9, 20]: Testing + [60, 20]: + [64, 20]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 51) > Vector(x: 792, y: 51) > Vector(x: 791, y: 52) > Vector(x: 9, y: 52)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 51) > Vector(x: 792, y: 93) > Vector(x: 791, y: 92) > Vector(x: 791, y: 52)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 93) > Vector(x: 8, y: 93) > Vector(x: 9, y: 92) > Vector(x: 791, y: 92)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 93) > Vector(x: 8, y: 51) > Vector(x: 9, y: 52) > Vector(x: 9, y: 92)) +Text: rgb(0,0,0) normal normal 400 22px arial solid rgb(0,0,0) underline + [9, 60]: Testing + [79, 60]: + [85, 60]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 94) > Vector(x: 792, y: 94) > Vector(x: 791, y: 95) > Vector(x: 9, y: 95)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 94) > Vector(x: 792, y: 136) > Vector(x: 791, y: 135) > Vector(x: 791, y: 95)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 136) > Vector(x: 8, y: 136) > Vector(x: 9, y: 135) > Vector(x: 791, y: 135)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 136) > Vector(x: 8, y: 94) > Vector(x: 9, y: 95) > Vector(x: 9, y: 135)) +Text: rgb(0,0,0) normal normal 400 28px arial solid rgb(0,0,0) underline + [9, 100]: Testing + [98, 100]: + [106, 100]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 137) > Vector(x: 792, y: 137) > Vector(x: 791, y: 138) > Vector(x: 9, y: 138)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 137) > Vector(x: 792, y: 179) > Vector(x: 791, y: 178) > Vector(x: 791, y: 138)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 179) > Vector(x: 8, y: 179) > Vector(x: 9, y: 178) > Vector(x: 791, y: 178)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 179) > Vector(x: 8, y: 137) > Vector(x: 9, y: 138) > Vector(x: 9, y: 178)) +Text: rgb(0,0,0) normal normal 400 34px arial solid rgb(0,0,0) underline + [9, 139]: Testing + [117, 139]: + [126, 139]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 180) > Vector(x: 792, y: 180) > Vector(x: 791, y: 181) > Vector(x: 9, y: 181)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 180) > Vector(x: 792, y: 222) > Vector(x: 791, y: 221) > Vector(x: 791, y: 181)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 222) > Vector(x: 8, y: 222) > Vector(x: 9, y: 221) > Vector(x: 791, y: 221)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 222) > Vector(x: 8, y: 180) > Vector(x: 9, y: 181) > Vector(x: 9, y: 221)) +Text: rgb(0,0,0) normal normal 400 40px arial solid rgb(0,0,0) underline + [9, 179]: Testing + [136, 179]: + [147, 179]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 223) > Vector(x: 792, y: 223) > Vector(x: 791, y: 224) > Vector(x: 9, y: 224)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 223) > Vector(x: 792, y: 265) > Vector(x: 791, y: 264) > Vector(x: 791, y: 224)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 265) > Vector(x: 8, y: 265) > Vector(x: 9, y: 264) > Vector(x: 791, y: 264)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 265) > Vector(x: 8, y: 223) > Vector(x: 9, y: 224) > Vector(x: 9, y: 264)) +Text: rgb(0,0,0) normal normal 400 46px arial solid rgb(0,0,0) underline + [9, 219]: Testing + [155, 219]: + [168, 219]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 266) > Vector(x: 792, y: 266) > Vector(x: 791, y: 267) > Vector(x: 9, y: 267)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 266) > Vector(x: 792, y: 308) > Vector(x: 791, y: 307) > Vector(x: 791, y: 267)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 308) > Vector(x: 8, y: 308) > Vector(x: 9, y: 307) > Vector(x: 791, y: 307)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 308) > Vector(x: 8, y: 266) > Vector(x: 9, y: 267) > Vector(x: 9, y: 307)) +Text: rgb(0,0,0) normal normal 400 52px arial solid rgb(0,0,0) underline + [9, 258]: Testing + [174, 258]: + [188, 258]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 309) > Vector(x: 792, y: 309) > Vector(x: 791, y: 310) > Vector(x: 9, y: 310)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 309) > Vector(x: 792, y: 351) > Vector(x: 791, y: 350) > Vector(x: 791, y: 310)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 351) > Vector(x: 8, y: 351) > Vector(x: 9, y: 350) > Vector(x: 791, y: 350)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 351) > Vector(x: 8, y: 309) > Vector(x: 9, y: 310) > Vector(x: 9, y: 350)) +Text: rgb(0,0,0) normal normal 400 58px arial solid rgb(0,0,0) underline + [9, 298]: Testing + [193, 298]: + [209, 298]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 352) > Vector(x: 792, y: 352) > Vector(x: 791, y: 353) > Vector(x: 9, y: 353)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 352) > Vector(x: 792, y: 394) > Vector(x: 791, y: 393) > Vector(x: 791, y: 353)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 394) > Vector(x: 8, y: 394) > Vector(x: 9, y: 393) > Vector(x: 791, y: 393)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 394) > Vector(x: 8, y: 352) > Vector(x: 9, y: 353) > Vector(x: 9, y: 393)) +Text: rgb(0,0,0) normal normal 400 64px arial solid rgb(0,0,0) underline + [9, 337]: Testing + [212, 337]: + [230, 337]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 395) > Vector(x: 792, y: 395) > Vector(x: 791, y: 396) > Vector(x: 9, y: 396)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 395) > Vector(x: 792, y: 437) > Vector(x: 791, y: 436) > Vector(x: 791, y: 396)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 437) > Vector(x: 8, y: 437) > Vector(x: 9, y: 436) > Vector(x: 791, y: 436)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 437) > Vector(x: 8, y: 395) > Vector(x: 9, y: 396) > Vector(x: 9, y: 436)) +Text: rgb(0,0,0) normal normal 400 70px arial solid rgb(0,0,0) underline + [9, 377]: Testing + [231, 377]: + [250, 377]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 438) > Vector(x: 792, y: 438) > Vector(x: 791, y: 439) > Vector(x: 9, y: 439)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 438) > Vector(x: 792, y: 480) > Vector(x: 791, y: 479) > Vector(x: 791, y: 439)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 480) > Vector(x: 8, y: 480) > Vector(x: 9, y: 479) > Vector(x: 791, y: 479)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 480) > Vector(x: 8, y: 438) > Vector(x: 9, y: 439) > Vector(x: 9, y: 479)) +Text: rgb(0,0,0) normal normal 400 76px arial solid rgb(0,0,0) underline + [9, 417]: Testing + [250, 417]: + [271, 417]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 481) > Vector(x: 792, y: 481) > Vector(x: 791, y: 482) > Vector(x: 9, y: 482)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 481) > Vector(x: 792, y: 523) > Vector(x: 791, y: 522) > Vector(x: 791, y: 482)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 523) > Vector(x: 8, y: 523) > Vector(x: 9, y: 522) > Vector(x: 791, y: 522)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 523) > Vector(x: 8, y: 481) > Vector(x: 9, y: 482) > Vector(x: 9, y: 522)) +Text: rgb(0,0,0) normal normal 400 16px verdana solid rgb(0,0,0) underline + [9, 493]: Testing + [66, 493]: + [72, 493]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 524) > Vector(x: 792, y: 524) > Vector(x: 791, y: 525) > Vector(x: 9, y: 525)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 524) > Vector(x: 792, y: 566) > Vector(x: 791, y: 565) > Vector(x: 791, y: 525)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 566) > Vector(x: 8, y: 566) > Vector(x: 9, y: 565) > Vector(x: 791, y: 565)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 566) > Vector(x: 8, y: 524) > Vector(x: 9, y: 525) > Vector(x: 9, y: 565)) +Text: rgb(0,0,0) normal normal 400 22px verdana solid rgb(0,0,0) underline + [9, 532]: Testing + [87, 532]: + [95, 532]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 567) > Vector(x: 792, y: 567) > Vector(x: 791, y: 568) > Vector(x: 9, y: 568)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 567) > Vector(x: 792, y: 609) > Vector(x: 791, y: 608) > Vector(x: 791, y: 568)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 609) > Vector(x: 8, y: 609) > Vector(x: 9, y: 608) > Vector(x: 791, y: 608)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 609) > Vector(x: 8, y: 567) > Vector(x: 9, y: 568) > Vector(x: 9, y: 608)) +Text: rgb(0,0,0) normal normal 400 28px verdana solid rgb(0,0,0) underline + [9, 571]: Testing + [108, 571]: + [118, 571]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 610) > Vector(x: 792, y: 610) > Vector(x: 791, y: 611) > Vector(x: 9, y: 611)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 610) > Vector(x: 792, y: 652) > Vector(x: 791, y: 651) > Vector(x: 791, y: 611)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 652) > Vector(x: 8, y: 652) > Vector(x: 9, y: 651) > Vector(x: 791, y: 651)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 652) > Vector(x: 8, y: 610) > Vector(x: 9, y: 611) > Vector(x: 9, y: 651)) +Text: rgb(0,0,0) normal normal 400 34px verdana solid rgb(0,0,0) underline + [9, 610]: Testing + [130, 610]: + [142, 610]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 653) > Vector(x: 792, y: 653) > Vector(x: 791, y: 654) > Vector(x: 9, y: 654)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 653) > Vector(x: 792, y: 695) > Vector(x: 791, y: 694) > Vector(x: 791, y: 654)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 695) > Vector(x: 8, y: 695) > Vector(x: 9, y: 694) > Vector(x: 791, y: 694)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 695) > Vector(x: 8, y: 653) > Vector(x: 9, y: 654) > Vector(x: 9, y: 694)) +Text: rgb(0,0,0) normal normal 400 40px verdana solid rgb(0,0,0) underline + [9, 650]: Testing + [151, 650]: + [165, 650]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 696) > Vector(x: 792, y: 696) > Vector(x: 791, y: 697) > Vector(x: 9, y: 697)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 696) > Vector(x: 792, y: 738) > Vector(x: 791, y: 737) > Vector(x: 791, y: 697)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 738) > Vector(x: 8, y: 738) > Vector(x: 9, y: 737) > Vector(x: 791, y: 737)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 738) > Vector(x: 8, y: 696) > Vector(x: 9, y: 697) > Vector(x: 9, y: 737)) +Text: rgb(0,0,0) normal normal 400 46px verdana solid rgb(0,0,0) underline + [9, 689]: Testing + [172, 689]: + [188, 689]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 739) > Vector(x: 792, y: 739) > Vector(x: 791, y: 740) > Vector(x: 9, y: 740)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 739) > Vector(x: 792, y: 781) > Vector(x: 791, y: 780) > Vector(x: 791, y: 740)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 781) > Vector(x: 8, y: 781) > Vector(x: 9, y: 780) > Vector(x: 791, y: 780)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 781) > Vector(x: 8, y: 739) > Vector(x: 9, y: 740) > Vector(x: 9, y: 780)) +Text: rgb(0,0,0) normal normal 400 52px verdana solid rgb(0,0,0) underline + [9, 729]: Testing + [194, 729]: + [212, 729]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 782) > Vector(x: 792, y: 782) > Vector(x: 791, y: 783) > Vector(x: 9, y: 783)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 782) > Vector(x: 792, y: 824) > Vector(x: 791, y: 823) > Vector(x: 791, y: 783)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 824) > Vector(x: 8, y: 824) > Vector(x: 9, y: 823) > Vector(x: 791, y: 823)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 824) > Vector(x: 8, y: 782) > Vector(x: 9, y: 783) > Vector(x: 9, y: 823)) +Text: rgb(0,0,0) normal normal 400 58px verdana solid rgb(0,0,0) underline + [9, 768]: Testing + [215, 768]: + [235, 768]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 825) > Vector(x: 792, y: 825) > Vector(x: 791, y: 826) > Vector(x: 9, y: 826)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 825) > Vector(x: 792, y: 867) > Vector(x: 791, y: 866) > Vector(x: 791, y: 826)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 867) > Vector(x: 8, y: 867) > Vector(x: 9, y: 866) > Vector(x: 791, y: 866)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 867) > Vector(x: 8, y: 825) > Vector(x: 9, y: 826) > Vector(x: 9, y: 866)) +Text: rgb(0,0,0) normal normal 400 64px verdana solid rgb(0,0,0) underline + [9, 807]: Testing + [236, 807]: + [259, 807]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 868) > Vector(x: 792, y: 868) > Vector(x: 791, y: 869) > Vector(x: 9, y: 869)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 868) > Vector(x: 792, y: 910) > Vector(x: 791, y: 909) > Vector(x: 791, y: 869)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 910) > Vector(x: 8, y: 910) > Vector(x: 9, y: 909) > Vector(x: 791, y: 909)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 910) > Vector(x: 8, y: 868) > Vector(x: 9, y: 869) > Vector(x: 9, y: 909)) +Text: rgb(0,0,0) normal normal 400 70px verdana solid rgb(0,0,0) underline + [9, 846]: Testing + [258, 846]: + [282, 846]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 911) > Vector(x: 792, y: 911) > Vector(x: 791, y: 912) > Vector(x: 9, y: 912)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 911) > Vector(x: 792, y: 953) > Vector(x: 791, y: 952) > Vector(x: 791, y: 912)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 953) > Vector(x: 8, y: 953) > Vector(x: 9, y: 952) > Vector(x: 791, y: 952)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 953) > Vector(x: 8, y: 911) > Vector(x: 9, y: 912) > Vector(x: 9, y: 952)) +Text: rgb(0,0,0) normal normal 400 76px verdana solid rgb(0,0,0) underline + [9, 886]: Testing + [279, 886]: + [306, 886]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 954) > Vector(x: 792, y: 954) > Vector(x: 791, y: 955) > Vector(x: 9, y: 955)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 954) > Vector(x: 792, y: 996) > Vector(x: 791, y: 995) > Vector(x: 791, y: 955)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 996) > Vector(x: 8, y: 996) > Vector(x: 9, y: 995) > Vector(x: 791, y: 995)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 996) > Vector(x: 8, y: 954) > Vector(x: 9, y: 955) > Vector(x: 9, y: 995)) +Text: rgb(0,0,0) normal normal 400 16px tahoma solid rgb(0,0,0) underline + [9, 966]: Testing + [61, 966]: + [66, 966]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 997) > Vector(x: 792, y: 997) > Vector(x: 791, y: 998) > Vector(x: 9, y: 998)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 997) > Vector(x: 792, y: 1039) > Vector(x: 791, y: 1038) > Vector(x: 791, y: 998)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1039) > Vector(x: 8, y: 1039) > Vector(x: 9, y: 1038) > Vector(x: 791, y: 1038)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1039) > Vector(x: 8, y: 997) > Vector(x: 9, y: 998) > Vector(x: 9, y: 1038)) +Text: rgb(0,0,0) normal normal 400 22px tahoma solid rgb(0,0,0) underline + [9, 1005]: Testing + [80, 1005]: + [87, 1005]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1040) > Vector(x: 792, y: 1040) > Vector(x: 791, y: 1041) > Vector(x: 9, y: 1041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1040) > Vector(x: 792, y: 1082) > Vector(x: 791, y: 1081) > Vector(x: 791, y: 1041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1082) > Vector(x: 8, y: 1082) > Vector(x: 9, y: 1081) > Vector(x: 791, y: 1081)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1082) > Vector(x: 8, y: 1040) > Vector(x: 9, y: 1041) > Vector(x: 9, y: 1081)) +Text: rgb(0,0,0) normal normal 400 28px tahoma solid rgb(0,0,0) underline + [9, 1044]: Testing + [100, 1044]: + [108, 1044]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1083) > Vector(x: 792, y: 1083) > Vector(x: 791, y: 1084) > Vector(x: 9, y: 1084)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1083) > Vector(x: 792, y: 1125) > Vector(x: 791, y: 1124) > Vector(x: 791, y: 1084)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1125) > Vector(x: 8, y: 1125) > Vector(x: 9, y: 1124) > Vector(x: 791, y: 1124)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1125) > Vector(x: 8, y: 1083) > Vector(x: 9, y: 1084) > Vector(x: 9, y: 1124)) +Text: rgb(0,0,0) normal normal 400 34px tahoma solid rgb(0,0,0) underline + [9, 1083]: Testing + [119, 1083]: + [130, 1083]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1126) > Vector(x: 792, y: 1126) > Vector(x: 791, y: 1127) > Vector(x: 9, y: 1127)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1126) > Vector(x: 792, y: 1168) > Vector(x: 791, y: 1167) > Vector(x: 791, y: 1127)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1168) > Vector(x: 8, y: 1168) > Vector(x: 9, y: 1167) > Vector(x: 791, y: 1167)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1168) > Vector(x: 8, y: 1126) > Vector(x: 9, y: 1127) > Vector(x: 9, y: 1167)) +Text: rgb(0,0,0) normal normal 400 40px tahoma solid rgb(0,0,0) underline + [9, 1123]: Testing + [138, 1123]: + [151, 1123]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1169) > Vector(x: 792, y: 1169) > Vector(x: 791, y: 1170) > Vector(x: 9, y: 1170)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1169) > Vector(x: 792, y: 1211) > Vector(x: 791, y: 1210) > Vector(x: 791, y: 1170)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1211) > Vector(x: 8, y: 1211) > Vector(x: 9, y: 1210) > Vector(x: 791, y: 1210)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1211) > Vector(x: 8, y: 1169) > Vector(x: 9, y: 1170) > Vector(x: 9, y: 1210)) +Text: rgb(0,0,0) normal normal 400 46px tahoma solid rgb(0,0,0) underline + [9, 1162]: Testing + [158, 1162]: + [172, 1162]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1212) > Vector(x: 792, y: 1212) > Vector(x: 791, y: 1213) > Vector(x: 9, y: 1213)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1212) > Vector(x: 792, y: 1254) > Vector(x: 791, y: 1253) > Vector(x: 791, y: 1213)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1254) > Vector(x: 8, y: 1254) > Vector(x: 9, y: 1253) > Vector(x: 791, y: 1253)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1254) > Vector(x: 8, y: 1212) > Vector(x: 9, y: 1213) > Vector(x: 9, y: 1253)) +Text: rgb(0,0,0) normal normal 400 52px tahoma solid rgb(0,0,0) underline + [9, 1202]: Testing + [177, 1202]: + [193, 1202]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1255) > Vector(x: 792, y: 1255) > Vector(x: 791, y: 1256) > Vector(x: 9, y: 1256)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1255) > Vector(x: 792, y: 1297) > Vector(x: 791, y: 1296) > Vector(x: 791, y: 1256)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1297) > Vector(x: 8, y: 1297) > Vector(x: 9, y: 1296) > Vector(x: 791, y: 1296)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1297) > Vector(x: 8, y: 1255) > Vector(x: 9, y: 1256) > Vector(x: 9, y: 1296)) +Text: rgb(0,0,0) normal normal 400 58px tahoma solid rgb(0,0,0) underline + [9, 1241]: Testing + [196, 1241]: + [214, 1241]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1298) > Vector(x: 792, y: 1298) > Vector(x: 791, y: 1299) > Vector(x: 9, y: 1299)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1298) > Vector(x: 792, y: 1340) > Vector(x: 791, y: 1339) > Vector(x: 791, y: 1299)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1340) > Vector(x: 8, y: 1340) > Vector(x: 9, y: 1339) > Vector(x: 791, y: 1339)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1340) > Vector(x: 8, y: 1298) > Vector(x: 9, y: 1299) > Vector(x: 9, y: 1339)) +Text: rgb(0,0,0) normal normal 400 64px tahoma solid rgb(0,0,0) underline + [9, 1280]: Testing + [216, 1280]: + [236, 1280]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1341) > Vector(x: 792, y: 1341) > Vector(x: 791, y: 1342) > Vector(x: 9, y: 1342)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1341) > Vector(x: 792, y: 1383) > Vector(x: 791, y: 1382) > Vector(x: 791, y: 1342)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1383) > Vector(x: 8, y: 1383) > Vector(x: 9, y: 1382) > Vector(x: 791, y: 1382)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1383) > Vector(x: 8, y: 1341) > Vector(x: 9, y: 1342) > Vector(x: 9, y: 1382)) +Text: rgb(0,0,0) normal normal 400 70px tahoma solid rgb(0,0,0) underline + [9, 1320]: Testing + [235, 1320]: + [257, 1320]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1384) > Vector(x: 792, y: 1384) > Vector(x: 791, y: 1385) > Vector(x: 9, y: 1385)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1384) > Vector(x: 792, y: 1426) > Vector(x: 791, y: 1425) > Vector(x: 791, y: 1385)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1426) > Vector(x: 8, y: 1426) > Vector(x: 9, y: 1425) > Vector(x: 791, y: 1425)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1426) > Vector(x: 8, y: 1384) > Vector(x: 9, y: 1385) > Vector(x: 9, y: 1425)) +Text: rgb(0,0,0) normal normal 400 76px tahoma solid rgb(0,0,0) underline + [9, 1359]: Testing + [254, 1359]: + [278, 1359]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1427) > Vector(x: 792, y: 1427) > Vector(x: 791, y: 1428) > Vector(x: 9, y: 1428)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1427) > Vector(x: 792, y: 1469) > Vector(x: 791, y: 1468) > Vector(x: 791, y: 1428)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1469) > Vector(x: 8, y: 1469) > Vector(x: 9, y: 1468) > Vector(x: 791, y: 1468)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1469) > Vector(x: 8, y: 1427) > Vector(x: 9, y: 1428) > Vector(x: 9, y: 1468)) +Text: rgb(0,0,0) normal normal 400 16px courier new solid rgb(0,0,0) underline + [9, 1439]: Testing + [76, 1439]: + [86, 1439]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1470) > Vector(x: 792, y: 1470) > Vector(x: 791, y: 1471) > Vector(x: 9, y: 1471)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1470) > Vector(x: 792, y: 1512) > Vector(x: 791, y: 1511) > Vector(x: 791, y: 1471)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1512) > Vector(x: 8, y: 1512) > Vector(x: 9, y: 1511) > Vector(x: 791, y: 1511)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1512) > Vector(x: 8, y: 1470) > Vector(x: 9, y: 1471) > Vector(x: 9, y: 1511)) +Text: rgb(0,0,0) normal normal 400 22px courier new solid rgb(0,0,0) underline + [9, 1478]: Testing + [102, 1478]: + [115, 1478]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1513) > Vector(x: 792, y: 1513) > Vector(x: 791, y: 1514) > Vector(x: 9, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1513) > Vector(x: 792, y: 1555) > Vector(x: 791, y: 1554) > Vector(x: 791, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1555) > Vector(x: 8, y: 1555) > Vector(x: 9, y: 1554) > Vector(x: 791, y: 1554)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1555) > Vector(x: 8, y: 1513) > Vector(x: 9, y: 1514) > Vector(x: 9, y: 1554)) +Text: rgb(0,0,0) normal normal 400 28px courier new solid rgb(0,0,0) underline + [9, 1518]: Testing + [127, 1518]: + [144, 1518]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1556) > Vector(x: 792, y: 1556) > Vector(x: 791, y: 1557) > Vector(x: 9, y: 1557)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1556) > Vector(x: 792, y: 1598) > Vector(x: 791, y: 1597) > Vector(x: 791, y: 1557)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1598) > Vector(x: 8, y: 1598) > Vector(x: 9, y: 1597) > Vector(x: 791, y: 1597)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1598) > Vector(x: 8, y: 1556) > Vector(x: 9, y: 1557) > Vector(x: 9, y: 1597)) +Text: rgb(0,0,0) normal normal 400 34px courier new solid rgb(0,0,0) underline + [9, 1558]: Testing + [152, 1558]: + [172, 1558]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1599) > Vector(x: 792, y: 1599) > Vector(x: 791, y: 1600) > Vector(x: 9, y: 1600)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1599) > Vector(x: 792, y: 1641) > Vector(x: 791, y: 1640) > Vector(x: 791, y: 1600)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1641) > Vector(x: 8, y: 1641) > Vector(x: 9, y: 1640) > Vector(x: 791, y: 1640)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1641) > Vector(x: 8, y: 1599) > Vector(x: 9, y: 1600) > Vector(x: 9, y: 1640)) +Text: rgb(0,0,0) normal normal 400 40px courier new solid rgb(0,0,0) underline + [9, 1597]: Testing + [177, 1597]: + [201, 1597]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1642) > Vector(x: 792, y: 1642) > Vector(x: 791, y: 1643) > Vector(x: 9, y: 1643)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1642) > Vector(x: 792, y: 1684) > Vector(x: 791, y: 1683) > Vector(x: 791, y: 1643)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1684) > Vector(x: 8, y: 1684) > Vector(x: 9, y: 1683) > Vector(x: 791, y: 1683)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1684) > Vector(x: 8, y: 1642) > Vector(x: 9, y: 1643) > Vector(x: 9, y: 1683)) +Text: rgb(0,0,0) normal normal 400 46px courier new solid rgb(0,0,0) underline + [9, 1637]: Testing + [202, 1637]: + [230, 1637]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1685) > Vector(x: 792, y: 1685) > Vector(x: 791, y: 1686) > Vector(x: 9, y: 1686)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1685) > Vector(x: 792, y: 1727) > Vector(x: 791, y: 1726) > Vector(x: 791, y: 1686)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1727) > Vector(x: 8, y: 1727) > Vector(x: 9, y: 1726) > Vector(x: 791, y: 1726)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1727) > Vector(x: 8, y: 1685) > Vector(x: 9, y: 1686) > Vector(x: 9, y: 1726)) +Text: rgb(0,0,0) normal normal 400 52px courier new solid rgb(0,0,0) underline + [9, 1677]: Testing + [228, 1677]: + [259, 1677]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1728) > Vector(x: 792, y: 1728) > Vector(x: 791, y: 1729) > Vector(x: 9, y: 1729)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1728) > Vector(x: 792, y: 1770) > Vector(x: 791, y: 1769) > Vector(x: 791, y: 1729)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1770) > Vector(x: 8, y: 1770) > Vector(x: 9, y: 1769) > Vector(x: 791, y: 1769)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1770) > Vector(x: 8, y: 1728) > Vector(x: 9, y: 1729) > Vector(x: 9, y: 1769)) +Text: rgb(0,0,0) normal normal 400 58px courier new solid rgb(0,0,0) underline + [9, 1716]: Testing + [253, 1716]: + [288, 1716]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1771) > Vector(x: 792, y: 1771) > Vector(x: 791, y: 1772) > Vector(x: 9, y: 1772)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1771) > Vector(x: 792, y: 1813) > Vector(x: 791, y: 1812) > Vector(x: 791, y: 1772)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1813) > Vector(x: 8, y: 1813) > Vector(x: 9, y: 1812) > Vector(x: 791, y: 1812)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1813) > Vector(x: 8, y: 1771) > Vector(x: 9, y: 1772) > Vector(x: 9, y: 1812)) +Text: rgb(0,0,0) normal normal 400 64px courier new solid rgb(0,0,0) underline + [9, 1756]: Testing + [278, 1756]: + [316, 1756]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1814) > Vector(x: 792, y: 1814) > Vector(x: 791, y: 1815) > Vector(x: 9, y: 1815)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1814) > Vector(x: 792, y: 1856) > Vector(x: 791, y: 1855) > Vector(x: 791, y: 1815)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1856) > Vector(x: 8, y: 1856) > Vector(x: 9, y: 1855) > Vector(x: 791, y: 1855)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1856) > Vector(x: 8, y: 1814) > Vector(x: 9, y: 1815) > Vector(x: 9, y: 1855)) +Text: rgb(0,0,0) normal normal 400 70px courier new solid rgb(0,0,0) underline + [9, 1795]: Testing + [303, 1795]: + [345, 1795]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1857) > Vector(x: 792, y: 1857) > Vector(x: 791, y: 1858) > Vector(x: 9, y: 1858)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1857) > Vector(x: 792, y: 1899) > Vector(x: 791, y: 1898) > Vector(x: 791, y: 1858)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1899) > Vector(x: 8, y: 1899) > Vector(x: 9, y: 1898) > Vector(x: 791, y: 1898)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1899) > Vector(x: 8, y: 1857) > Vector(x: 9, y: 1858) > Vector(x: 9, y: 1898)) +Text: rgb(0,0,0) normal normal 400 76px courier new solid rgb(0,0,0) underline + [9, 1835]: Testing + [328, 1835]: + [374, 1835]: texts \ No newline at end of file diff --git a/tests/cases/text/underline.html b/tests/reftests/text/underline.html similarity index 100% rename from tests/cases/text/underline.html rename to tests/reftests/text/underline.html diff --git a/tests/reftests/text/underline.txt b/tests/reftests/text/underline.txt new file mode 100644 index 0000000..e2053db --- /dev/null +++ b/tests/reftests/text/underline.txt @@ -0,0 +1,355 @@ +Window: [800, 2528] +Rectangle: [0, 0, 800, 2528] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 791, y: 9) > Vector(x: 9, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 8) > Vector(x: 792, y: 28) > Vector(x: 791, y: 27) > Vector(x: 791, y: 9)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 28) > Vector(x: 8, y: 28) > Vector(x: 9, y: 27) > Vector(x: 791, y: 27)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 28) > Vector(x: 8, y: 8) > Vector(x: 9, y: 9) > Vector(x: 9, y: 27)) +Text: rgb(0,0,0) normal normal 400 16px arial solid rgb(0,0,0) underline + [9, 9]: Testing + [60, 9]: + [64, 9]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 29) > Vector(x: 792, y: 29) > Vector(x: 791, y: 30) > Vector(x: 9, y: 30)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 29) > Vector(x: 792, y: 57) > Vector(x: 791, y: 56) > Vector(x: 791, y: 30)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 57) > Vector(x: 8, y: 57) > Vector(x: 9, y: 56) > Vector(x: 791, y: 56)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 57) > Vector(x: 8, y: 29) > Vector(x: 9, y: 30) > Vector(x: 9, y: 56)) +Text: rgb(0,0,0) normal normal 400 22px arial solid rgb(0,0,0) underline + [9, 31]: Testing + [79, 31]: + [85, 31]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 58) > Vector(x: 792, y: 58) > Vector(x: 791, y: 59) > Vector(x: 9, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 58) > Vector(x: 792, y: 92) > Vector(x: 791, y: 91) > Vector(x: 791, y: 59)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 92) > Vector(x: 8, y: 92) > Vector(x: 9, y: 91) > Vector(x: 791, y: 91)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 92) > Vector(x: 8, y: 58) > Vector(x: 9, y: 59) > Vector(x: 9, y: 91)) +Text: rgb(0,0,0) normal normal 400 28px arial solid rgb(0,0,0) underline + [9, 59]: Testing + [98, 59]: + [106, 59]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 93) > Vector(x: 792, y: 93) > Vector(x: 791, y: 94) > Vector(x: 9, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 93) > Vector(x: 792, y: 134) > Vector(x: 791, y: 133) > Vector(x: 791, y: 94)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 134) > Vector(x: 8, y: 134) > Vector(x: 9, y: 133) > Vector(x: 791, y: 133)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 134) > Vector(x: 8, y: 93) > Vector(x: 9, y: 94) > Vector(x: 9, y: 133)) +Text: rgb(0,0,0) normal normal 400 34px arial solid rgb(0,0,0) underline + [9, 94]: Testing + [117, 94]: + [126, 94]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 135) > Vector(x: 792, y: 135) > Vector(x: 791, y: 136) > Vector(x: 9, y: 136)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 135) > Vector(x: 792, y: 183) > Vector(x: 791, y: 182) > Vector(x: 791, y: 136)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 183) > Vector(x: 8, y: 183) > Vector(x: 9, y: 182) > Vector(x: 791, y: 182)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 183) > Vector(x: 8, y: 135) > Vector(x: 9, y: 136) > Vector(x: 9, y: 182)) +Text: rgb(0,0,0) normal normal 400 40px arial solid rgb(0,0,0) underline + [9, 136]: Testing + [136, 136]: + [147, 136]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 184) > Vector(x: 792, y: 184) > Vector(x: 791, y: 185) > Vector(x: 9, y: 185)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 184) > Vector(x: 792, y: 239) > Vector(x: 791, y: 238) > Vector(x: 791, y: 185)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 239) > Vector(x: 8, y: 239) > Vector(x: 9, y: 238) > Vector(x: 791, y: 238)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 239) > Vector(x: 8, y: 184) > Vector(x: 9, y: 185) > Vector(x: 9, y: 238)) +Text: rgb(0,0,0) normal normal 400 46px arial solid rgb(0,0,0) underline + [9, 186]: Testing + [155, 186]: + [168, 186]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 240) > Vector(x: 792, y: 240) > Vector(x: 791, y: 241) > Vector(x: 9, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 240) > Vector(x: 792, y: 302) > Vector(x: 791, y: 301) > Vector(x: 791, y: 241)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 302) > Vector(x: 8, y: 302) > Vector(x: 9, y: 301) > Vector(x: 791, y: 301)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 302) > Vector(x: 8, y: 240) > Vector(x: 9, y: 241) > Vector(x: 9, y: 301)) +Text: rgb(0,0,0) normal normal 400 52px arial solid rgb(0,0,0) underline + [9, 242]: Testing + [174, 242]: + [188, 242]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 303) > Vector(x: 792, y: 303) > Vector(x: 791, y: 304) > Vector(x: 9, y: 304)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 303) > Vector(x: 792, y: 371) > Vector(x: 791, y: 370) > Vector(x: 791, y: 304)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 371) > Vector(x: 8, y: 371) > Vector(x: 9, y: 370) > Vector(x: 791, y: 370)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 371) > Vector(x: 8, y: 303) > Vector(x: 9, y: 304) > Vector(x: 9, y: 370)) +Text: rgb(0,0,0) normal normal 400 58px arial solid rgb(0,0,0) underline + [9, 305]: Testing + [193, 305]: + [209, 305]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 372) > Vector(x: 792, y: 372) > Vector(x: 791, y: 373) > Vector(x: 9, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 372) > Vector(x: 792, y: 448) > Vector(x: 791, y: 447) > Vector(x: 791, y: 373)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 448) > Vector(x: 8, y: 448) > Vector(x: 9, y: 447) > Vector(x: 791, y: 447)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 448) > Vector(x: 8, y: 372) > Vector(x: 9, y: 373) > Vector(x: 9, y: 447)) +Text: rgb(0,0,0) normal normal 400 64px arial solid rgb(0,0,0) underline + [9, 374]: Testing + [212, 374]: + [230, 374]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 449) > Vector(x: 792, y: 449) > Vector(x: 791, y: 450) > Vector(x: 9, y: 450)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 449) > Vector(x: 792, y: 531) > Vector(x: 791, y: 530) > Vector(x: 791, y: 450)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 531) > Vector(x: 8, y: 531) > Vector(x: 9, y: 530) > Vector(x: 791, y: 530)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 531) > Vector(x: 8, y: 449) > Vector(x: 9, y: 450) > Vector(x: 9, y: 530)) +Text: rgb(0,0,0) normal normal 400 70px arial solid rgb(0,0,0) underline + [9, 451]: Testing + [231, 451]: + [250, 451]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 532) > Vector(x: 792, y: 532) > Vector(x: 791, y: 533) > Vector(x: 9, y: 533)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 532) > Vector(x: 792, y: 622) > Vector(x: 791, y: 621) > Vector(x: 791, y: 533)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 622) > Vector(x: 8, y: 622) > Vector(x: 9, y: 621) > Vector(x: 791, y: 621)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 622) > Vector(x: 8, y: 532) > Vector(x: 9, y: 533) > Vector(x: 9, y: 621)) +Text: rgb(0,0,0) normal normal 400 76px arial solid rgb(0,0,0) underline + [9, 535]: Testing + [250, 535]: + [271, 535]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 623) > Vector(x: 792, y: 623) > Vector(x: 791, y: 624) > Vector(x: 9, y: 624)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 623) > Vector(x: 792, y: 644) > Vector(x: 791, y: 643) > Vector(x: 791, y: 624)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 644) > Vector(x: 8, y: 644) > Vector(x: 9, y: 643) > Vector(x: 791, y: 643)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 644) > Vector(x: 8, y: 623) > Vector(x: 9, y: 624) > Vector(x: 9, y: 643)) +Text: rgb(0,0,0) normal normal 400 16px verdana solid rgb(0,0,0) underline + [9, 624]: Testing + [66, 624]: + [72, 624]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 645) > Vector(x: 792, y: 645) > Vector(x: 791, y: 646) > Vector(x: 9, y: 646)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 645) > Vector(x: 792, y: 674) > Vector(x: 791, y: 673) > Vector(x: 791, y: 646)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 674) > Vector(x: 8, y: 674) > Vector(x: 9, y: 673) > Vector(x: 791, y: 673)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 674) > Vector(x: 8, y: 645) > Vector(x: 9, y: 646) > Vector(x: 9, y: 673)) +Text: rgb(0,0,0) normal normal 400 22px verdana solid rgb(0,0,0) underline + [9, 646]: Testing + [87, 646]: + [95, 646]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 675) > Vector(x: 792, y: 675) > Vector(x: 791, y: 676) > Vector(x: 9, y: 676)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 675) > Vector(x: 792, y: 711) > Vector(x: 791, y: 710) > Vector(x: 791, y: 676)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 711) > Vector(x: 8, y: 711) > Vector(x: 9, y: 710) > Vector(x: 791, y: 710)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 711) > Vector(x: 8, y: 675) > Vector(x: 9, y: 676) > Vector(x: 9, y: 710)) +Text: rgb(0,0,0) normal normal 400 28px verdana solid rgb(0,0,0) underline + [9, 676]: Testing + [108, 676]: + [118, 676]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 712) > Vector(x: 792, y: 712) > Vector(x: 791, y: 713) > Vector(x: 9, y: 713)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 712) > Vector(x: 792, y: 755) > Vector(x: 791, y: 754) > Vector(x: 791, y: 713)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 755) > Vector(x: 8, y: 755) > Vector(x: 9, y: 754) > Vector(x: 791, y: 754)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 755) > Vector(x: 8, y: 712) > Vector(x: 9, y: 713) > Vector(x: 9, y: 754)) +Text: rgb(0,0,0) normal normal 400 34px verdana solid rgb(0,0,0) underline + [9, 713]: Testing + [130, 713]: + [142, 713]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 756) > Vector(x: 792, y: 756) > Vector(x: 791, y: 757) > Vector(x: 9, y: 757)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 756) > Vector(x: 792, y: 807) > Vector(x: 791, y: 806) > Vector(x: 791, y: 757)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 807) > Vector(x: 8, y: 807) > Vector(x: 9, y: 806) > Vector(x: 791, y: 806)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 807) > Vector(x: 8, y: 756) > Vector(x: 9, y: 757) > Vector(x: 9, y: 806)) +Text: rgb(0,0,0) normal normal 400 40px verdana solid rgb(0,0,0) underline + [9, 757]: Testing + [151, 757]: + [165, 757]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 808) > Vector(x: 792, y: 808) > Vector(x: 791, y: 809) > Vector(x: 9, y: 809)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 808) > Vector(x: 792, y: 866) > Vector(x: 791, y: 865) > Vector(x: 791, y: 809)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 866) > Vector(x: 8, y: 866) > Vector(x: 9, y: 865) > Vector(x: 791, y: 865)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 866) > Vector(x: 8, y: 808) > Vector(x: 9, y: 809) > Vector(x: 9, y: 865)) +Text: rgb(0,0,0) normal normal 400 46px verdana solid rgb(0,0,0) underline + [9, 809]: Testing + [172, 809]: + [188, 809]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 867) > Vector(x: 792, y: 867) > Vector(x: 791, y: 868) > Vector(x: 9, y: 868)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 867) > Vector(x: 792, y: 932) > Vector(x: 791, y: 931) > Vector(x: 791, y: 868)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 932) > Vector(x: 8, y: 932) > Vector(x: 9, y: 931) > Vector(x: 791, y: 931)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 932) > Vector(x: 8, y: 867) > Vector(x: 9, y: 868) > Vector(x: 9, y: 931)) +Text: rgb(0,0,0) normal normal 400 52px verdana solid rgb(0,0,0) underline + [9, 868]: Testing + [194, 868]: + [212, 868]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 933) > Vector(x: 792, y: 933) > Vector(x: 791, y: 934) > Vector(x: 9, y: 934)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 933) > Vector(x: 792, y: 1005) > Vector(x: 791, y: 1004) > Vector(x: 791, y: 934)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1005) > Vector(x: 8, y: 1005) > Vector(x: 9, y: 1004) > Vector(x: 791, y: 1004)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1005) > Vector(x: 8, y: 933) > Vector(x: 9, y: 934) > Vector(x: 9, y: 1004)) +Text: rgb(0,0,0) normal normal 400 58px verdana solid rgb(0,0,0) underline + [9, 934]: Testing + [215, 934]: + [235, 934]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1006) > Vector(x: 792, y: 1006) > Vector(x: 791, y: 1007) > Vector(x: 9, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1006) > Vector(x: 792, y: 1086) > Vector(x: 791, y: 1085) > Vector(x: 791, y: 1007)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1086) > Vector(x: 8, y: 1086) > Vector(x: 9, y: 1085) > Vector(x: 791, y: 1085)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1086) > Vector(x: 8, y: 1006) > Vector(x: 9, y: 1007) > Vector(x: 9, y: 1085)) +Text: rgb(0,0,0) normal normal 400 64px verdana solid rgb(0,0,0) underline + [9, 1007]: Testing + [236, 1007]: + [259, 1007]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1087) > Vector(x: 792, y: 1087) > Vector(x: 791, y: 1088) > Vector(x: 9, y: 1088)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1087) > Vector(x: 792, y: 1174) > Vector(x: 791, y: 1173) > Vector(x: 791, y: 1088)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1174) > Vector(x: 8, y: 1174) > Vector(x: 9, y: 1173) > Vector(x: 791, y: 1173)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1174) > Vector(x: 8, y: 1087) > Vector(x: 9, y: 1088) > Vector(x: 9, y: 1173)) +Text: rgb(0,0,0) normal normal 400 70px verdana solid rgb(0,0,0) underline + [9, 1088]: Testing + [258, 1088]: + [282, 1088]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1175) > Vector(x: 792, y: 1175) > Vector(x: 791, y: 1176) > Vector(x: 9, y: 1176)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1175) > Vector(x: 792, y: 1270) > Vector(x: 791, y: 1269) > Vector(x: 791, y: 1176)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1270) > Vector(x: 8, y: 1270) > Vector(x: 9, y: 1269) > Vector(x: 791, y: 1269)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1270) > Vector(x: 8, y: 1175) > Vector(x: 9, y: 1176) > Vector(x: 9, y: 1269)) +Text: rgb(0,0,0) normal normal 400 76px verdana solid rgb(0,0,0) underline + [9, 1177]: Testing + [279, 1177]: + [306, 1177]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1271) > Vector(x: 792, y: 1271) > Vector(x: 791, y: 1272) > Vector(x: 9, y: 1272)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1271) > Vector(x: 792, y: 1292) > Vector(x: 791, y: 1291) > Vector(x: 791, y: 1272)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1292) > Vector(x: 8, y: 1292) > Vector(x: 9, y: 1291) > Vector(x: 791, y: 1291)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1292) > Vector(x: 8, y: 1271) > Vector(x: 9, y: 1272) > Vector(x: 9, y: 1291)) +Text: rgb(0,0,0) normal normal 400 16px tahoma solid rgb(0,0,0) underline + [9, 1272]: Testing + [61, 1272]: + [66, 1272]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1293) > Vector(x: 792, y: 1293) > Vector(x: 791, y: 1294) > Vector(x: 9, y: 1294)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1293) > Vector(x: 792, y: 1321) > Vector(x: 791, y: 1320) > Vector(x: 791, y: 1294)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1321) > Vector(x: 8, y: 1321) > Vector(x: 9, y: 1320) > Vector(x: 791, y: 1320)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1321) > Vector(x: 8, y: 1293) > Vector(x: 9, y: 1294) > Vector(x: 9, y: 1320)) +Text: rgb(0,0,0) normal normal 400 22px tahoma solid rgb(0,0,0) underline + [9, 1294]: Testing + [80, 1294]: + [87, 1294]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1322) > Vector(x: 792, y: 1322) > Vector(x: 791, y: 1323) > Vector(x: 9, y: 1323)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1322) > Vector(x: 792, y: 1358) > Vector(x: 791, y: 1357) > Vector(x: 791, y: 1323)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1358) > Vector(x: 8, y: 1358) > Vector(x: 9, y: 1357) > Vector(x: 791, y: 1357)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1358) > Vector(x: 8, y: 1322) > Vector(x: 9, y: 1323) > Vector(x: 9, y: 1357)) +Text: rgb(0,0,0) normal normal 400 28px tahoma solid rgb(0,0,0) underline + [9, 1324]: Testing + [100, 1324]: + [108, 1324]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1359) > Vector(x: 792, y: 1359) > Vector(x: 791, y: 1360) > Vector(x: 9, y: 1360)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1359) > Vector(x: 792, y: 1402) > Vector(x: 791, y: 1401) > Vector(x: 791, y: 1360)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1402) > Vector(x: 8, y: 1402) > Vector(x: 9, y: 1401) > Vector(x: 791, y: 1401)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1402) > Vector(x: 8, y: 1359) > Vector(x: 9, y: 1360) > Vector(x: 9, y: 1401)) +Text: rgb(0,0,0) normal normal 400 34px tahoma solid rgb(0,0,0) underline + [9, 1360]: Testing + [119, 1360]: + [130, 1360]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1403) > Vector(x: 792, y: 1403) > Vector(x: 791, y: 1404) > Vector(x: 9, y: 1404)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1403) > Vector(x: 792, y: 1454) > Vector(x: 791, y: 1453) > Vector(x: 791, y: 1404)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1454) > Vector(x: 8, y: 1454) > Vector(x: 9, y: 1453) > Vector(x: 791, y: 1453)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1454) > Vector(x: 8, y: 1403) > Vector(x: 9, y: 1404) > Vector(x: 9, y: 1453)) +Text: rgb(0,0,0) normal normal 400 40px tahoma solid rgb(0,0,0) underline + [9, 1404]: Testing + [138, 1404]: + [151, 1404]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1455) > Vector(x: 792, y: 1455) > Vector(x: 791, y: 1456) > Vector(x: 9, y: 1456)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1455) > Vector(x: 792, y: 1512) > Vector(x: 791, y: 1511) > Vector(x: 791, y: 1456)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1512) > Vector(x: 8, y: 1512) > Vector(x: 9, y: 1511) > Vector(x: 791, y: 1511)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1512) > Vector(x: 8, y: 1455) > Vector(x: 9, y: 1456) > Vector(x: 9, y: 1511)) +Text: rgb(0,0,0) normal normal 400 46px tahoma solid rgb(0,0,0) underline + [9, 1456]: Testing + [158, 1456]: + [172, 1456]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1513) > Vector(x: 792, y: 1513) > Vector(x: 791, y: 1514) > Vector(x: 9, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1513) > Vector(x: 792, y: 1578) > Vector(x: 791, y: 1577) > Vector(x: 791, y: 1514)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1578) > Vector(x: 8, y: 1578) > Vector(x: 9, y: 1577) > Vector(x: 791, y: 1577)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1578) > Vector(x: 8, y: 1513) > Vector(x: 9, y: 1514) > Vector(x: 9, y: 1577)) +Text: rgb(0,0,0) normal normal 400 52px tahoma solid rgb(0,0,0) underline + [9, 1514]: Testing + [177, 1514]: + [193, 1514]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1579) > Vector(x: 792, y: 1579) > Vector(x: 791, y: 1580) > Vector(x: 9, y: 1580)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1579) > Vector(x: 792, y: 1651) > Vector(x: 791, y: 1650) > Vector(x: 791, y: 1580)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1651) > Vector(x: 8, y: 1651) > Vector(x: 9, y: 1650) > Vector(x: 791, y: 1650)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1651) > Vector(x: 8, y: 1579) > Vector(x: 9, y: 1580) > Vector(x: 9, y: 1650)) +Text: rgb(0,0,0) normal normal 400 58px tahoma solid rgb(0,0,0) underline + [9, 1580]: Testing + [196, 1580]: + [214, 1580]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1652) > Vector(x: 792, y: 1652) > Vector(x: 791, y: 1653) > Vector(x: 9, y: 1653)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1652) > Vector(x: 792, y: 1731) > Vector(x: 791, y: 1730) > Vector(x: 791, y: 1653)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1731) > Vector(x: 8, y: 1731) > Vector(x: 9, y: 1730) > Vector(x: 791, y: 1730)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1731) > Vector(x: 8, y: 1652) > Vector(x: 9, y: 1653) > Vector(x: 9, y: 1730)) +Text: rgb(0,0,0) normal normal 400 64px tahoma solid rgb(0,0,0) underline + [9, 1653]: Testing + [216, 1653]: + [236, 1653]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1732) > Vector(x: 792, y: 1732) > Vector(x: 791, y: 1733) > Vector(x: 9, y: 1733)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1732) > Vector(x: 792, y: 1819) > Vector(x: 791, y: 1818) > Vector(x: 791, y: 1733)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1819) > Vector(x: 8, y: 1819) > Vector(x: 9, y: 1818) > Vector(x: 791, y: 1818)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1819) > Vector(x: 8, y: 1732) > Vector(x: 9, y: 1733) > Vector(x: 9, y: 1818)) +Text: rgb(0,0,0) normal normal 400 70px tahoma solid rgb(0,0,0) underline + [9, 1733]: Testing + [235, 1733]: + [257, 1733]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1820) > Vector(x: 792, y: 1820) > Vector(x: 791, y: 1821) > Vector(x: 9, y: 1821)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1820) > Vector(x: 792, y: 1913) > Vector(x: 791, y: 1912) > Vector(x: 791, y: 1821)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1913) > Vector(x: 8, y: 1913) > Vector(x: 9, y: 1912) > Vector(x: 791, y: 1912)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1913) > Vector(x: 8, y: 1820) > Vector(x: 9, y: 1821) > Vector(x: 9, y: 1912)) +Text: rgb(0,0,0) normal normal 400 76px tahoma solid rgb(0,0,0) underline + [9, 1821]: Testing + [254, 1821]: + [278, 1821]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1914) > Vector(x: 792, y: 1914) > Vector(x: 791, y: 1915) > Vector(x: 9, y: 1915)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1914) > Vector(x: 792, y: 1934) > Vector(x: 791, y: 1933) > Vector(x: 791, y: 1915)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1934) > Vector(x: 8, y: 1934) > Vector(x: 9, y: 1933) > Vector(x: 791, y: 1933)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1934) > Vector(x: 8, y: 1914) > Vector(x: 9, y: 1915) > Vector(x: 9, y: 1933)) +Text: rgb(0,0,0) normal normal 400 16px courier new solid rgb(0,0,0) underline + [9, 1915]: Testing + [76, 1915]: + [86, 1915]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1935) > Vector(x: 792, y: 1935) > Vector(x: 791, y: 1936) > Vector(x: 9, y: 1936)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1935) > Vector(x: 792, y: 1962) > Vector(x: 791, y: 1961) > Vector(x: 791, y: 1936)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1962) > Vector(x: 8, y: 1962) > Vector(x: 9, y: 1961) > Vector(x: 791, y: 1961)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1962) > Vector(x: 8, y: 1935) > Vector(x: 9, y: 1936) > Vector(x: 9, y: 1961)) +Text: rgb(0,0,0) normal normal 400 22px courier new solid rgb(0,0,0) underline + [9, 1936]: Testing + [102, 1936]: + [115, 1936]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1963) > Vector(x: 792, y: 1963) > Vector(x: 791, y: 1964) > Vector(x: 9, y: 1964)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1963) > Vector(x: 792, y: 1997) > Vector(x: 791, y: 1996) > Vector(x: 791, y: 1964)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1997) > Vector(x: 8, y: 1997) > Vector(x: 9, y: 1996) > Vector(x: 791, y: 1996)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1997) > Vector(x: 8, y: 1963) > Vector(x: 9, y: 1964) > Vector(x: 9, y: 1996)) +Text: rgb(0,0,0) normal normal 400 28px courier new solid rgb(0,0,0) underline + [9, 1965]: Testing + [127, 1965]: + [144, 1965]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 1998) > Vector(x: 792, y: 1998) > Vector(x: 791, y: 1999) > Vector(x: 9, y: 1999)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 1998) > Vector(x: 792, y: 2039) > Vector(x: 791, y: 2038) > Vector(x: 791, y: 1999)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2039) > Vector(x: 8, y: 2039) > Vector(x: 9, y: 2038) > Vector(x: 791, y: 2038)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2039) > Vector(x: 8, y: 1998) > Vector(x: 9, y: 1999) > Vector(x: 9, y: 2038)) +Text: rgb(0,0,0) normal normal 400 34px courier new solid rgb(0,0,0) underline + [9, 1999]: Testing + [152, 1999]: + [172, 1999]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2040) > Vector(x: 792, y: 2040) > Vector(x: 791, y: 2041) > Vector(x: 9, y: 2041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2040) > Vector(x: 792, y: 2087) > Vector(x: 791, y: 2086) > Vector(x: 791, y: 2041)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2087) > Vector(x: 8, y: 2087) > Vector(x: 9, y: 2086) > Vector(x: 791, y: 2086)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2087) > Vector(x: 8, y: 2040) > Vector(x: 9, y: 2041) > Vector(x: 9, y: 2086)) +Text: rgb(0,0,0) normal normal 400 40px courier new solid rgb(0,0,0) underline + [9, 2041]: Testing + [177, 2041]: + [201, 2041]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2088) > Vector(x: 792, y: 2088) > Vector(x: 791, y: 2089) > Vector(x: 9, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2088) > Vector(x: 792, y: 2142) > Vector(x: 791, y: 2141) > Vector(x: 791, y: 2089)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2142) > Vector(x: 8, y: 2142) > Vector(x: 9, y: 2141) > Vector(x: 791, y: 2141)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2142) > Vector(x: 8, y: 2088) > Vector(x: 9, y: 2089) > Vector(x: 9, y: 2141)) +Text: rgb(0,0,0) normal normal 400 46px courier new solid rgb(0,0,0) underline + [9, 2089]: Testing + [202, 2089]: + [230, 2089]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2143) > Vector(x: 792, y: 2143) > Vector(x: 791, y: 2144) > Vector(x: 9, y: 2144)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2143) > Vector(x: 792, y: 2204) > Vector(x: 791, y: 2203) > Vector(x: 791, y: 2144)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2204) > Vector(x: 8, y: 2204) > Vector(x: 9, y: 2203) > Vector(x: 791, y: 2203)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2204) > Vector(x: 8, y: 2143) > Vector(x: 9, y: 2144) > Vector(x: 9, y: 2203)) +Text: rgb(0,0,0) normal normal 400 52px courier new solid rgb(0,0,0) underline + [9, 2145]: Testing + [228, 2145]: + [259, 2145]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2205) > Vector(x: 792, y: 2205) > Vector(x: 791, y: 2206) > Vector(x: 9, y: 2206)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2205) > Vector(x: 792, y: 2273) > Vector(x: 791, y: 2272) > Vector(x: 791, y: 2206)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2273) > Vector(x: 8, y: 2273) > Vector(x: 9, y: 2272) > Vector(x: 791, y: 2272)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2273) > Vector(x: 8, y: 2205) > Vector(x: 9, y: 2206) > Vector(x: 9, y: 2272)) +Text: rgb(0,0,0) normal normal 400 58px courier new solid rgb(0,0,0) underline + [9, 2206]: Testing + [253, 2206]: + [288, 2206]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2274) > Vector(x: 792, y: 2274) > Vector(x: 791, y: 2275) > Vector(x: 9, y: 2275)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2274) > Vector(x: 792, y: 2349) > Vector(x: 791, y: 2348) > Vector(x: 791, y: 2275)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2349) > Vector(x: 8, y: 2349) > Vector(x: 9, y: 2348) > Vector(x: 791, y: 2348)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2349) > Vector(x: 8, y: 2274) > Vector(x: 9, y: 2275) > Vector(x: 9, y: 2348)) +Text: rgb(0,0,0) normal normal 400 64px courier new solid rgb(0,0,0) underline + [9, 2275]: Testing + [278, 2275]: + [316, 2275]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2350) > Vector(x: 792, y: 2350) > Vector(x: 791, y: 2351) > Vector(x: 9, y: 2351)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2350) > Vector(x: 792, y: 2431) > Vector(x: 791, y: 2430) > Vector(x: 791, y: 2351)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2431) > Vector(x: 8, y: 2431) > Vector(x: 9, y: 2430) > Vector(x: 791, y: 2430)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2431) > Vector(x: 8, y: 2350) > Vector(x: 9, y: 2351) > Vector(x: 9, y: 2430)) +Text: rgb(0,0,0) normal normal 400 70px courier new solid rgb(0,0,0) underline + [9, 2351]: Testing + [303, 2351]: + [345, 2351]: texts +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2432) > Vector(x: 792, y: 2432) > Vector(x: 791, y: 2433) > Vector(x: 9, y: 2433)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2432) > Vector(x: 792, y: 2520) > Vector(x: 791, y: 2519) > Vector(x: 791, y: 2433)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 2520) > Vector(x: 8, y: 2520) > Vector(x: 9, y: 2519) > Vector(x: 791, y: 2519)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 2520) > Vector(x: 8, y: 2432) > Vector(x: 9, y: 2433) > Vector(x: 9, y: 2519)) +Text: rgb(0,0,0) normal normal 400 76px courier new solid rgb(0,0,0) underline + [9, 2433]: Testing + [328, 2433]: + [374, 2433]: texts \ No newline at end of file diff --git a/tests/cases/transform/nested.html b/tests/reftests/transform/nested.html similarity index 100% rename from tests/cases/transform/nested.html rename to tests/reftests/transform/nested.html diff --git a/tests/reftests/transform/nested.txt b/tests/reftests/transform/nested.txt new file mode 100644 index 0000000..0aca0f4 --- /dev/null +++ b/tests/reftests/transform/nested.txt @@ -0,0 +1,42 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 108) > Vector(x: 649, y: 108) > Vector(x: 649, y: 157) > Vector(x: 8, y: 157)) + Fill: rgb(205,92,92) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 124]: First + [41, 124]: level + [76, 124]: content +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [568, 124]: , + [576, 124]: ending + [624, 124]: first +Clip: Path (Vector(x: 653, y: 123) > Vector(x: 749, y: 123) > Vector(x: 749, y: 142) > Vector(x: 653, y: 142)) + Fill: rgb(188,143,143) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [653, 124]: something + [724, 124]: else +Transform: (348, 132) [0.99, 0.13, -0.13, 0.99, 0, 0] + Clip: Path (Vector(x: 128, y: 108) > Vector(x: 568, y: 108) > Vector(x: 568, y: 157) > Vector(x: 128, y: 157)) + Fill: rgb(143,188,143) + Shape: rgb(255,0,0) Path (Vector(x: 128, y: 108) > Vector(x: 568, y: 108) > Vector(x: 553, y: 123) > Vector(x: 143, y: 123)) + Shape: rgb(255,0,0) Path (Vector(x: 568, y: 108) > Vector(x: 568, y: 157) > Vector(x: 553, y: 142) > Vector(x: 553, y: 123)) + Shape: rgb(255,0,0) Path (Vector(x: 568, y: 157) > Vector(x: 128, y: 157) > Vector(x: 143, y: 142) > Vector(x: 553, y: 142)) + Shape: rgb(255,0,0) Path (Vector(x: 128, y: 157) > Vector(x: 128, y: 108) > Vector(x: 143, y: 123) > Vector(x: 143, y: 142)) + Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [143, 123]: with + [175, 123]: second + [224, 123]: level + [258, 123]: content + Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [453, 123]: , + [461, 123]: ending + [509, 123]: second + Transform: (381, 132) [0.33, -0.94, 0.94, 0.33, 0, 0] + Clip: Path (Vector(x: 310, y: 123) > Vector(x: 453, y: 123) > Vector(x: 453, y: 142) > Vector(x: 310, y: 142)) + Fill: rgb(95,158,160) + Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [310, 123]: and + [337, 123]: third + [371, 123]: level + [406, 123]: content \ No newline at end of file diff --git a/tests/cases/transform/rotate.html b/tests/reftests/transform/rotate.html similarity index 100% rename from tests/cases/transform/rotate.html rename to tests/reftests/transform/rotate.html diff --git a/tests/reftests/transform/rotate.txt b/tests/reftests/transform/rotate.txt new file mode 100644 index 0000000..bfd410b --- /dev/null +++ b/tests/reftests/transform/rotate.txt @@ -0,0 +1,12 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Transform: (208, 110) [0.71, -0.71, 0.71, 0.71, 0, 0] + Clip: Path (Vector(x: 108, y: 8) > Vector(x: 308, y: 8) > Vector(x: 308, y: 208) > Vector(x: 108, y: 208)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Transform: (667, 110) [0, 1, -1, 0, 0, 0] + Clip: Path (Vector(x: 642, y: 8) > Vector(x: 692, y: 8) > Vector(x: 692, y: 208) > Vector(x: 642, y: 208)) + Draw image: Image ("/tests/assets/image2.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Transform: (158, 360) [0.71, 0.71, -0.71, 0.71, 0, 0] + Clip: Path (Vector(x: 108, y: 258) > Vector(x: 208, y: 258) > Vector(x: 208, y: 458) > Vector(x: 108, y: 458)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) \ No newline at end of file diff --git a/tests/cases/transform/translate.html b/tests/reftests/transform/translate.html similarity index 100% rename from tests/cases/transform/translate.html rename to tests/reftests/transform/translate.html diff --git a/tests/reftests/transform/translate.txt b/tests/reftests/transform/translate.txt new file mode 100644 index 0000000..1e93d11 --- /dev/null +++ b/tests/reftests/transform/translate.txt @@ -0,0 +1,37 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 108) > Vector(x: 699, y: 108) > Vector(x: 699, y: 207) > Vector(x: 8, y: 207)) + Fill: rgb(205,92,92) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [18, 148]: First + [51, 148]: level + [86, 148]: content +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [608, 148]: , + [616, 148]: ending + [664, 148]: first +Transform: (373, 157) [1, 0, 0, 1, 125, 0] + Clip: Path (Vector(x: 138, y: 118) > Vector(x: 608, y: 118) > Vector(x: 608, y: 197) > Vector(x: 138, y: 197)) + Fill: rgb(143,188,143) + Shape: rgb(255,0,0) Path (Vector(x: 138, y: 118) > Vector(x: 608, y: 118) > Vector(x: 598, y: 128) > Vector(x: 148, y: 128)) + Shape: rgb(255,0,0) Path (Vector(x: 608, y: 118) > Vector(x: 608, y: 197) > Vector(x: 598, y: 187) > Vector(x: 598, y: 128)) + Shape: rgb(255,0,0) Path (Vector(x: 608, y: 197) > Vector(x: 138, y: 197) > Vector(x: 148, y: 187) > Vector(x: 598, y: 187)) + Shape: rgb(255,0,0) Path (Vector(x: 138, y: 197) > Vector(x: 138, y: 118) > Vector(x: 148, y: 128) > Vector(x: 148, y: 187)) + Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [158, 148]: with + [190, 148]: second + [238, 148]: level + [274, 148]: content + Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [488, 148]: , + [496, 148]: ending + [544, 148]: second + Transform: (425, 188) [1, 0, 0, 1, 100, -25] + Clip: Path (Vector(x: 325, y: 138) > Vector(x: 488, y: 138) > Vector(x: 488, y: 177) > Vector(x: 325, y: 177)) + Fill: rgb(95,158,160) + Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [335, 148]: and + [362, 148]: third + [396, 148]: level + [431, 148]: content \ No newline at end of file diff --git a/tests/cases/visibility.html b/tests/reftests/visibility.html similarity index 100% rename from tests/cases/visibility.html rename to tests/reftests/visibility.html diff --git a/tests/reftests/visibility.txt b/tests/reftests/visibility.txt new file mode 100644 index 0000000..17bfa2f --- /dev/null +++ b/tests/reftests/visibility.txt @@ -0,0 +1,25 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 790, y: 10) > Vector(x: 10, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 8) > Vector(x: 792, y: 178) > Vector(x: 790, y: 176) > Vector(x: 790, y: 10)) +Shape: rgb(0,0,0) Path (Vector(x: 792, y: 178) > Vector(x: 8, y: 178) > Vector(x: 10, y: 176) > Vector(x: 790, y: 176)) +Shape: rgb(0,0,0) Path (Vector(x: 8, y: 178) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 176)) +Text: rgb(0,0,0) normal normal 700 32px Times New Roman + [10, 32]: Display:none + [198, 32]: and + [257, 32]: visible:hidden + [457, 32]: tests +Shape: rgb(0,0,0) Path (Vector(x: 10, y: 89) > Vector(x: 790, y: 89) > Vector(x: 788, y: 91) > Vector(x: 12, y: 91)) +Shape: rgb(0,0,0) Path (Vector(x: 790, y: 89) > Vector(x: 790, y: 112) > Vector(x: 788, y: 110) > Vector(x: 788, y: 91)) +Shape: rgb(0,0,0) Path (Vector(x: 790, y: 112) > Vector(x: 10, y: 112) > Vector(x: 12, y: 110) > Vector(x: 788, y: 110)) +Shape: rgb(0,0,0) Path (Vector(x: 10, y: 112) > Vector(x: 10, y: 89) > Vector(x: 12, y: 91) > Vector(x: 12, y: 110)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [12, 92]: This + [44, 92]: should + [91, 92]: be + [110, 92]: visible +Shape: rgb(0,0,0) Path (Vector(x: 10, y: 143) > Vector(x: 790, y: 143) > Vector(x: 789, y: 144) > Vector(x: 11, y: 144)) +Shape: rgb(0,0,0) Path (Vector(x: 790, y: 143) > Vector(x: 790, y: 145) > Vector(x: 789, y: 144) > Vector(x: 789, y: 144)) +Shape: rgb(0,0,0) Path (Vector(x: 790, y: 145) > Vector(x: 10, y: 145) > Vector(x: 11, y: 144) > Vector(x: 789, y: 144)) +Shape: rgb(0,0,0) Path (Vector(x: 10, y: 145) > Vector(x: 10, y: 143) > Vector(x: 11, y: 144) > Vector(x: 11, y: 144)) \ No newline at end of file diff --git a/tests/cases/zindex/z-index1.html b/tests/reftests/zindex/z-index1.html similarity index 100% rename from tests/cases/zindex/z-index1.html rename to tests/reftests/zindex/z-index1.html diff --git a/tests/reftests/zindex/z-index1.txt b/tests/reftests/zindex/z-index1.txt new file mode 100644 index 0000000..95656b4 --- /dev/null +++ b/tests/reftests/zindex/z-index1.txt @@ -0,0 +1,75 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 12px Arial + [8, 22]: No + [27, 22]: z + [33, 22]: - + [37, 22]: indexed + [82, 22]: content +Text: rgb(0,0,0) normal normal 400 12px Arial + [8, 213]: Some + [43, 213]: more + [73, 213]: non + [93, 213]: - + [97, 213]: zindexed + [149, 213]: content +Clip: Path (Vector(x: 8, y: 35) > Vector(x: 792, y: 35) > Vector(x: 792, y: 117) > Vector(x: 8, y: 117)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 35) > Vector(x: 792, y: 35) > Vector(x: 791, y: 36) > Vector(x: 9, y: 36)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 35) > Vector(x: 792, y: 117) > Vector(x: 791, y: 116) > Vector(x: 791, y: 36)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 117) > Vector(x: 8, y: 117) > Vector(x: 9, y: 116) > Vector(x: 791, y: 116)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 117) > Vector(x: 8, y: 35) > Vector(x: 9, y: 36) > Vector(x: 9, y: 116)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 64]: position: + [62, 64]: relative; +Text: rgb(0,0,0) normal normal 700 12px Arial + [14, 50]: DIV + [37, 50]: #1 +Clip: Path (Vector(x: 8, y: 131) > Vector(x: 792, y: 131) > Vector(x: 792, y: 213) > Vector(x: 8, y: 213)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 131) > Vector(x: 792, y: 131) > Vector(x: 791, y: 132) > Vector(x: 9, y: 132)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 131) > Vector(x: 792, y: 213) > Vector(x: 791, y: 212) > Vector(x: 791, y: 132)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 213) > Vector(x: 8, y: 213) > Vector(x: 9, y: 212) > Vector(x: 791, y: 212)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 213) > Vector(x: 8, y: 131) > Vector(x: 9, y: 132) > Vector(x: 9, y: 212)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 159]: position: + [62, 159]: relative; +Text: rgb(0,0,0) normal normal 700 12px Arial + [14, 146]: DIV + [37, 146]: #3 +Opacity: 0.8 +Clip: Path (Vector(x: 179, y: 56) > Vector(x: 331, y: 56) > Vector(x: 331, y: 258) > Vector(x: 179, y: 258)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 179, y: 56) > Vector(x: 331, y: 56) > Vector(x: 330, y: 57) > Vector(x: 180, y: 57)) +Shape: rgb(153,0,0) Path (Vector(x: 331, y: 56) > Vector(x: 331, y: 258) > Vector(x: 330, y: 257) > Vector(x: 330, y: 57)) +Shape: rgb(153,0,0) Path (Vector(x: 331, y: 258) > Vector(x: 179, y: 258) > Vector(x: 180, y: 257) > Vector(x: 330, y: 257)) +Shape: rgb(153,0,0) Path (Vector(x: 179, y: 258) > Vector(x: 179, y: 56) > Vector(x: 180, y: 57) > Vector(x: 180, y: 257)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [205, 85]: position: + [253, 85]: absolute; +Text: rgb(0,0,0) normal normal 400 12px Arial + [227, 98]: z + [233, 98]: - + [237, 98]: index: + [273, 98]: 1; +Text: rgb(0,0,0) normal normal 700 12px Arial + [235, 71]: DIV + [258, 71]: #2 +Clip: Path (Vector(x: 59, y: 197) > Vector(x: 271, y: 197) > Vector(x: 271, y: 269) > Vector(x: 59, y: 269)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 59, y: 197) > Vector(x: 271, y: 197) > Vector(x: 270, y: 198) > Vector(x: 60, y: 198)) +Shape: rgb(0,0,153) Path (Vector(x: 271, y: 197) > Vector(x: 271, y: 269) > Vector(x: 270, y: 268) > Vector(x: 270, y: 198)) +Shape: rgb(0,0,153) Path (Vector(x: 271, y: 269) > Vector(x: 59, y: 269) > Vector(x: 60, y: 268) > Vector(x: 270, y: 268)) +Shape: rgb(0,0,153) Path (Vector(x: 59, y: 269) > Vector(x: 59, y: 197) > Vector(x: 60, y: 198) > Vector(x: 60, y: 268)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [70, 225]: position: + [118, 225]: absolute; +Text: rgb(0,0,0) normal normal 400 12px Arial + [70, 239]: z + [76, 239]: - + [80, 239]: index: + [115, 239]: 2; +Text: rgb(0,0,0) normal normal 700 12px Arial + [70, 212]: DIV + [93, 212]: #4 \ No newline at end of file diff --git a/tests/cases/zindex/z-index10.html b/tests/reftests/zindex/z-index10.html similarity index 100% rename from tests/cases/zindex/z-index10.html rename to tests/reftests/zindex/z-index10.html diff --git a/tests/reftests/zindex/z-index10.txt b/tests/reftests/zindex/z-index10.txt new file mode 100644 index 0000000..c3a21df --- /dev/null +++ b/tests/reftests/zindex/z-index10.txt @@ -0,0 +1,114 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Opacity: 0.7 +Clip: Path (Vector(x: 20, y: 292) > Vector(x: 780, y: 292) > Vector(x: 780, y: 374) > Vector(x: 20, y: 374)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 20, y: 292) > Vector(x: 780, y: 292) > Vector(x: 779, y: 293) > Vector(x: 21, y: 293)) +Shape: rgb(102,153,102) Path (Vector(x: 780, y: 292) > Vector(x: 780, y: 374) > Vector(x: 779, y: 373) > Vector(x: 779, y: 293)) +Shape: rgb(102,153,102) Path (Vector(x: 780, y: 374) > Vector(x: 20, y: 374) > Vector(x: 21, y: 373) > Vector(x: 779, y: 373)) +Shape: rgb(102,153,102) Path (Vector(x: 20, y: 374) > Vector(x: 20, y: 292) > Vector(x: 21, y: 293) > Vector(x: 21, y: 373)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [31, 306]: Division + [81, 306]: Element + [131, 306]: #2 +Text: rgb(0,0,0) normal normal 400 12px monospace + [31, 326]: position: + [97, 326]: relative; +Text: rgb(0,0,0) normal normal 400 12px monospace + [31, 346]: z + [37, 346]: - + [44, 346]: index: + [90, 346]: 2; +Opacity: 1 +Clip: Path (Vector(x: 180, y: 40) > Vector(x: 552, y: 40) > Vector(x: 552, y: 356) > Vector(x: 180, y: 356)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 180, y: 40) > Vector(x: 552, y: 40) > Vector(x: 551, y: 41) > Vector(x: 181, y: 41)) +Shape: rgb(153,0,0) Path (Vector(x: 552, y: 40) > Vector(x: 552, y: 356) > Vector(x: 551, y: 355) > Vector(x: 551, y: 41)) +Shape: rgb(153,0,0) Path (Vector(x: 552, y: 356) > Vector(x: 180, y: 356) > Vector(x: 181, y: 355) > Vector(x: 551, y: 355)) +Shape: rgb(153,0,0) Path (Vector(x: 180, y: 356) > Vector(x: 180, y: 40) > Vector(x: 181, y: 41) > Vector(x: 181, y: 355)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [201, 191]: Division + [251, 191]: Element + [301, 191]: #3 +Text: rgb(0,0,0) normal normal 400 12px monospace + [201, 211]: position: + [267, 211]: absolute; +Text: rgb(0,0,0) normal normal 400 12px monospace + [201, 231]: z + [207, 231]: - + [214, 231]: index: + [260, 231]: 4; +Opacity: 0.7 +Clip: Path (Vector(x: 201, y: 263) > Vector(x: 531, y: 263) > Vector(x: 531, y: 335) > Vector(x: 201, y: 335)) + Fill: rgb(255,255,204) +Shape: rgb(153,153,102) Path (Vector(x: 201, y: 263) > Vector(x: 531, y: 263) > Vector(x: 530, y: 264) > Vector(x: 202, y: 264)) +Shape: rgb(153,153,102) Path (Vector(x: 531, y: 263) > Vector(x: 531, y: 335) > Vector(x: 530, y: 334) > Vector(x: 530, y: 264)) +Shape: rgb(153,153,102) Path (Vector(x: 531, y: 335) > Vector(x: 201, y: 335) > Vector(x: 202, y: 334) > Vector(x: 530, y: 334)) +Shape: rgb(153,153,102) Path (Vector(x: 201, y: 335) > Vector(x: 201, y: 263) > Vector(x: 202, y: 264) > Vector(x: 202, y: 334)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [212, 272]: Division + [262, 272]: Element + [312, 272]: #5 +Text: rgb(0,0,0) normal normal 400 12px monospace + [212, 292]: position: + [278, 292]: relative; +Text: rgb(0,0,0) normal normal 400 12px monospace + [212, 312]: z + [218, 312]: - + [225, 312]: index: + [271, 312]: 1; +Clip: Path (Vector(x: 361, y: 61) > Vector(x: 513, y: 61) > Vector(x: 513, y: 313) > Vector(x: 361, y: 313)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 361, y: 61) > Vector(x: 513, y: 61) > Vector(x: 512, y: 62) > Vector(x: 362, y: 62)) +Shape: rgb(0,0,153) Path (Vector(x: 513, y: 61) > Vector(x: 513, y: 313) > Vector(x: 512, y: 312) > Vector(x: 512, y: 62)) +Shape: rgb(0,0,153) Path (Vector(x: 513, y: 313) > Vector(x: 361, y: 313) > Vector(x: 362, y: 312) > Vector(x: 512, y: 312)) +Shape: rgb(0,0,153) Path (Vector(x: 361, y: 313) > Vector(x: 361, y: 61) > Vector(x: 362, y: 62) > Vector(x: 362, y: 312)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [380, 190]: Division + [430, 190]: Element + [480, 190]: #6 +Text: rgb(0,0,0) normal normal 400 12px monospace + [374, 210]: position: + [440, 210]: absolute; +Text: rgb(0,0,0) normal normal 400 12px monospace + [401, 230]: z + [407, 230]: - + [414, 230]: index: + [460, 230]: 3; +Clip: Path (Vector(x: 201, y: 81) > Vector(x: 531, y: 81) > Vector(x: 531, y: 173) > Vector(x: 201, y: 173)) + Fill: rgb(255,255,204) +Shape: rgb(153,153,102) Path (Vector(x: 201, y: 81) > Vector(x: 531, y: 81) > Vector(x: 530, y: 82) > Vector(x: 202, y: 82)) +Shape: rgb(153,153,102) Path (Vector(x: 531, y: 81) > Vector(x: 531, y: 173) > Vector(x: 530, y: 172) > Vector(x: 530, y: 82)) +Shape: rgb(153,153,102) Path (Vector(x: 531, y: 173) > Vector(x: 201, y: 173) > Vector(x: 202, y: 172) > Vector(x: 530, y: 172)) +Shape: rgb(153,153,102) Path (Vector(x: 201, y: 173) > Vector(x: 201, y: 81) > Vector(x: 202, y: 82) > Vector(x: 202, y: 172)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [212, 110]: Division + [262, 110]: Element + [312, 110]: #4 +Text: rgb(0,0,0) normal normal 400 12px monospace + [212, 130]: position: + [278, 130]: relative; +Text: rgb(0,0,0) normal normal 400 12px monospace + [212, 150]: z + [218, 150]: - + [225, 150]: index: + [271, 150]: 6; +Clip: Path (Vector(x: 20, y: 20) > Vector(x: 780, y: 20) > Vector(x: 780, y: 102) > Vector(x: 20, y: 102)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 20, y: 20) > Vector(x: 780, y: 20) > Vector(x: 779, y: 21) > Vector(x: 21, y: 21)) +Shape: rgb(102,153,102) Path (Vector(x: 780, y: 20) > Vector(x: 780, y: 102) > Vector(x: 779, y: 101) > Vector(x: 779, y: 21)) +Shape: rgb(102,153,102) Path (Vector(x: 780, y: 102) > Vector(x: 20, y: 102) > Vector(x: 21, y: 101) > Vector(x: 779, y: 101)) +Shape: rgb(102,153,102) Path (Vector(x: 20, y: 102) > Vector(x: 20, y: 20) > Vector(x: 21, y: 21) > Vector(x: 21, y: 101)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [31, 34]: Division + [81, 34]: Element + [131, 34]: #1 +Text: rgb(0,0,0) normal normal 400 12px monospace + [31, 54]: position: + [97, 54]: relative; +Text: rgb(0,0,0) normal normal 400 12px monospace + [31, 74]: z + [37, 74]: - + [44, 74]: index: + [90, 74]: 5; \ No newline at end of file diff --git a/tests/cases/zindex/z-index11.html b/tests/reftests/zindex/z-index11.html similarity index 100% rename from tests/cases/zindex/z-index11.html rename to tests/reftests/zindex/z-index11.html diff --git a/tests/reftests/zindex/z-index11.txt b/tests/reftests/zindex/z-index11.txt new file mode 100644 index 0000000..2e237a3 --- /dev/null +++ b/tests/reftests/zindex/z-index11.txt @@ -0,0 +1,28 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 28, y: 28) > Vector(x: 772, y: 28) > Vector(x: 772, y: 245) > Vector(x: 28, y: 245)) + Fill: rgb(155,255,248) +Text: rgb(0,0,0) normal normal 700 24px Arial + [38, 50]: Div + [82, 50]: Element + [182, 50]: #1 +Clip: Path (Vector(x: 38, y: 110) > Vector(x: 321, y: 110) > Vector(x: 321, y: 235) > Vector(x: 38, y: 235)) + Fill: rgb(124,182,89) +Text: rgb(0,0,0) normal normal 700 24px Arial + [38, 123]: Div + [82, 123]: Element + [182, 123]: #2 +Text: rgb(0,0,0) normal normal 700 24px Arial + [38, 175]: Div + [82, 175]: Element + [182, 175]: #3 +Text: rgb(0,0,0) normal normal 400 12px monospace + [38, 217]: float: + [84, 217]: left; +Text: rgb(0,0,0) normal normal 400 12px monospace + [38, 93]: position: + [104, 93]: relative; +Text: rgb(0,0,0) normal normal 400 12px monospace + [209, 165]: position: + [275, 165]: static; \ No newline at end of file diff --git a/tests/cases/zindex/z-index12.html b/tests/reftests/zindex/z-index12.html similarity index 100% rename from tests/cases/zindex/z-index12.html rename to tests/reftests/zindex/z-index12.html diff --git a/tests/reftests/zindex/z-index12.txt b/tests/reftests/zindex/z-index12.txt new file mode 100644 index 0000000..a2c7945 --- /dev/null +++ b/tests/reftests/zindex/z-index12.txt @@ -0,0 +1,15 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 28, y: 28) > Vector(x: 199, y: 28) > Vector(x: 199, y: 80) > Vector(x: 28, y: 80)) + Fill: rgb(124,182,89) +Clip: Path (Vector(x: 28, y: 28) > Vector(x: 199, y: 28) > Vector(x: 199, y: 80) > Vector(x: 28, y: 80)) + Fill: rgb(182,159,26) +Text: rgb(0,0,0) normal normal 700 24px Arial + [28, 40]: Div + [72, 40]: Element + [172, 40]: #3 +Text: rgb(0,0,0) normal normal 700 24px Arial + [28, 40]: Div + [72, 40]: Element + [172, 40]: #2 \ No newline at end of file diff --git a/tests/cases/zindex/z-index13.html b/tests/reftests/zindex/z-index13.html similarity index 100% rename from tests/cases/zindex/z-index13.html rename to tests/reftests/zindex/z-index13.html diff --git a/tests/reftests/zindex/z-index13.txt b/tests/reftests/zindex/z-index13.txt new file mode 100644 index 0000000..e28eabc --- /dev/null +++ b/tests/reftests/zindex/z-index13.txt @@ -0,0 +1,9 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 208, y: 8) > Vector(x: 208, y: 208) > Vector(x: 8, y: 208)) + Fill: rgb(0,255,255) +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 108, y: 8) > Vector(x: 108, y: 108) > Vector(x: 8, y: 108)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 8]: outer \ No newline at end of file diff --git a/tests/cases/zindex/z-index14.html b/tests/reftests/zindex/z-index14.html similarity index 100% rename from tests/cases/zindex/z-index14.html rename to tests/reftests/zindex/z-index14.html diff --git a/tests/reftests/zindex/z-index14.txt b/tests/reftests/zindex/z-index14.txt new file mode 100644 index 0000000..783031b --- /dev/null +++ b/tests/reftests/zindex/z-index14.txt @@ -0,0 +1,9 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(0,128,0) +Opacity: 1 +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 19) > Vector(x: 0, y: 19)) + Fill: rgb(0,128,0) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 200, y: 0) > Vector(x: 200, y: 200) > Vector(x: 0, y: 200)) + Fill: rgb(0,255,255) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [0, 0]: body \ No newline at end of file diff --git a/tests/cases/zindex/z-index15.html b/tests/reftests/zindex/z-index15.html similarity index 100% rename from tests/cases/zindex/z-index15.html rename to tests/reftests/zindex/z-index15.html diff --git a/tests/reftests/zindex/z-index15.txt b/tests/reftests/zindex/z-index15.txt new file mode 100644 index 0000000..a95d588 --- /dev/null +++ b/tests/reftests/zindex/z-index15.txt @@ -0,0 +1,9 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(128,128,128) +Opacity: 1 +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 200, y: 0) > Vector(x: 200, y: 200) > Vector(x: 0, y: 200)) + Fill: rgb(0,255,255) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 19) > Vector(x: 0, y: 19)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [0, 0]: body \ No newline at end of file diff --git a/tests/cases/zindex/z-index16.html b/tests/reftests/zindex/z-index16.html similarity index 100% rename from tests/cases/zindex/z-index16.html rename to tests/reftests/zindex/z-index16.html diff --git a/tests/reftests/zindex/z-index16.txt b/tests/reftests/zindex/z-index16.txt new file mode 100644 index 0000000..8138f43 --- /dev/null +++ b/tests/reftests/zindex/z-index16.txt @@ -0,0 +1,31 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 16]: This + [40, 16]: text + [68, 16]: will + [97, 16]: be + [116, 16]: beneath + [170, 16]: everything. +Clip: Path (Vector(x: 192, y: 192) > Vector(x: 480, y: 192) > Vector(x: 480, y: 480) > Vector(x: 192, y: 480)) + Draw image: Image ("/tests/assets/image.jpg") (source: [0, 0, 75, 75]) (destination: [0, 0, 75, 75]) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [192, 192]: This + [224, 192]: text + [252, 192]: will + [281, 192]: underlay + [341, 192]: text1, + [381, 192]: but + [406, 192]: overlay + [458, 192]: the + [192, 211]: butterfly + [251, 211]: image +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [192, 192]: This + [224, 192]: text + [252, 192]: will + [281, 192]: overlay + [333, 192]: the + [357, 192]: butterfly + [416, 192]: image. \ No newline at end of file diff --git a/tests/cases/zindex/z-index17.html b/tests/reftests/zindex/z-index17.html similarity index 100% rename from tests/cases/zindex/z-index17.html rename to tests/reftests/zindex/z-index17.html diff --git a/tests/reftests/zindex/z-index17.txt b/tests/reftests/zindex/z-index17.txt new file mode 100644 index 0000000..2079dee --- /dev/null +++ b/tests/reftests/zindex/z-index17.txt @@ -0,0 +1,13 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgb(238,130,238) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 8) > Vector(x: 8, y: 8)) + Fill: rgb(238,130,238) +Clip: Path (Vector(x: 0, y: 0) > Vector(x: 800, y: 0) > Vector(x: 800, y: 100) > Vector(x: 0, y: 100)) + Fill: rgb(85,107,47) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [0, 0]: fixed + [37, 0]: z + [44, 0]: - + [49, 0]: index + [89, 0]: 10 \ No newline at end of file diff --git a/tests/cases/zindex/z-index18.html b/tests/reftests/zindex/z-index18.html similarity index 100% rename from tests/cases/zindex/z-index18.html rename to tests/reftests/zindex/z-index18.html diff --git a/tests/reftests/zindex/z-index18.txt b/tests/reftests/zindex/z-index18.txt new file mode 100644 index 0000000..82400c5 --- /dev/null +++ b/tests/reftests/zindex/z-index18.txt @@ -0,0 +1,47 @@ +Window: [864, 600] +Rectangle: [0, 0, 864, 600] rgb(238,130,238) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 792, y: 8) > Vector(x: 792, y: 308) > Vector(x: 8, y: 308)) + Fill: rgb(238,130,238) +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 808, y: 8) > Vector(x: 808, y: 308) > Vector(x: 8, y: 308)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 8]: a +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 808, y: 8) > Vector(x: 808, y: 308) > Vector(x: 8, y: 308)) + Fill: rgb(0,128,0) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [8, 8]: b +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: c +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: d +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: e +Clip: Path (Vector(x: 24, y: 18) > Vector(x: 824, y: 18) > Vector(x: 824, y: 318) > Vector(x: 24, y: 318)) + Fill: rgb(255,0,0) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: f +Clip: Path (Vector(x: 24, y: 18) > Vector(x: 424, y: 18) > Vector(x: 424, y: 318) > Vector(x: 24, y: 318)) + Fill: rgb(0,0,255) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: g +Clip: Path (Vector(x: 24, y: 18) > Vector(x: 224, y: 18) > Vector(x: 224, y: 218) > Vector(x: 24, y: 218)) + Fill: rgb(255,165,0) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: h +Clip: Path (Vector(x: -24, y: 18) > Vector(x: 776, y: 18) > Vector(x: 776, y: 118) > Vector(x: -24, y: 118)) + Fill: rgb(128,0,128) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [-24, 18]: i +Clip: Path (Vector(x: 24, y: 68) > Vector(x: 824, y: 68) > Vector(x: 824, y: 168) > Vector(x: 24, y: 168)) + Fill: rgb(255,192,203) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 68]: j +Clip: Path (Vector(x: 64, y: 98) > Vector(x: 864, y: 98) > Vector(x: 864, y: 198) > Vector(x: 64, y: 198)) + Fill: rgb(0,0,128) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [64, 98]: k +Clip: Path (Vector(x: 24, y: 18) > Vector(x: 124, y: 18) > Vector(x: 124, y: 118) > Vector(x: 24, y: 118)) + Fill: rgb(165,42,42) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [24, 18]: l \ No newline at end of file diff --git a/tests/cases/zindex/z-index2.html b/tests/reftests/zindex/z-index2.html similarity index 100% rename from tests/cases/zindex/z-index2.html rename to tests/reftests/zindex/z-index2.html diff --git a/tests/reftests/zindex/z-index2.txt b/tests/reftests/zindex/z-index2.txt new file mode 100644 index 0000000..73448c0 --- /dev/null +++ b/tests/reftests/zindex/z-index2.txt @@ -0,0 +1,89 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 257) > Vector(x: 792, y: 257) > Vector(x: 792, y: 299) > Vector(x: 8, y: 299)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 8, y: 257) > Vector(x: 792, y: 257) > Vector(x: 791, y: 258) > Vector(x: 9, y: 258)) +Shape: rgb(0,0,153) Path (Vector(x: 792, y: 257) > Vector(x: 792, y: 299) > Vector(x: 791, y: 298) > Vector(x: 791, y: 258)) +Shape: rgb(0,0,153) Path (Vector(x: 792, y: 299) > Vector(x: 8, y: 299) > Vector(x: 9, y: 298) > Vector(x: 791, y: 298)) +Shape: rgb(0,0,153) Path (Vector(x: 8, y: 299) > Vector(x: 8, y: 257) > Vector(x: 9, y: 258) > Vector(x: 9, y: 298)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [19, 271]: DIV + [42, 271]: #6 +Text: rgb(0,0,0) normal normal 400 12px Arial + [19, 285]: position:static; +Clip: Path (Vector(x: 8, y: 27) > Vector(x: 792, y: 27) > Vector(x: 792, y: 109) > Vector(x: 8, y: 109)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 27) > Vector(x: 792, y: 27) > Vector(x: 791, y: 28) > Vector(x: 9, y: 28)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 27) > Vector(x: 792, y: 109) > Vector(x: 791, y: 108) > Vector(x: 791, y: 28)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 109) > Vector(x: 8, y: 109) > Vector(x: 9, y: 108) > Vector(x: 791, y: 108)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 109) > Vector(x: 8, y: 27) > Vector(x: 9, y: 28) > Vector(x: 9, y: 108)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 55]: position: + [62, 55]: relative; +Text: rgb(0,0,0) normal normal 700 12px Arial + [14, 42]: DIV + [37, 42]: #1 +Clip: Path (Vector(x: 8, y: 220) > Vector(x: 792, y: 220) > Vector(x: 792, y: 272) > Vector(x: 8, y: 272)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 220) > Vector(x: 792, y: 220) > Vector(x: 791, y: 221) > Vector(x: 9, y: 221)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 220) > Vector(x: 792, y: 272) > Vector(x: 791, y: 271) > Vector(x: 791, y: 221)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 272) > Vector(x: 8, y: 272) > Vector(x: 9, y: 271) > Vector(x: 791, y: 271)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 272) > Vector(x: 8, y: 220) > Vector(x: 9, y: 221) > Vector(x: 9, y: 271)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 234]: DIV + [37, 234]: #5 +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 248]: position:relative; +Clip: Path (Vector(x: 8, y: 128) > Vector(x: 792, y: 128) > Vector(x: 792, y: 210) > Vector(x: 8, y: 210)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 128) > Vector(x: 792, y: 128) > Vector(x: 791, y: 129) > Vector(x: 9, y: 129)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 128) > Vector(x: 792, y: 210) > Vector(x: 791, y: 209) > Vector(x: 791, y: 129)) +Shape: rgb(102,153,102) Path (Vector(x: 792, y: 210) > Vector(x: 8, y: 210) > Vector(x: 9, y: 209) > Vector(x: 791, y: 209)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 210) > Vector(x: 8, y: 128) > Vector(x: 9, y: 129) > Vector(x: 9, y: 209)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 156]: position: + [62, 156]: relative; +Text: rgb(0,0,0) normal normal 400 12px Arial + [14, 170]: z + [20, 170]: - + [24, 170]: index: + [59, 170]: 1; +Text: rgb(0,0,0) normal normal 700 12px Arial + [14, 142]: DIV + [37, 142]: #3 +Opacity: 0.8 +Clip: Path (Vector(x: 59, y: 194) > Vector(x: 271, y: 194) > Vector(x: 271, y: 266) > Vector(x: 59, y: 266)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 59, y: 194) > Vector(x: 271, y: 194) > Vector(x: 270, y: 195) > Vector(x: 60, y: 195)) +Shape: rgb(0,0,153) Path (Vector(x: 271, y: 194) > Vector(x: 271, y: 266) > Vector(x: 270, y: 265) > Vector(x: 270, y: 195)) +Shape: rgb(0,0,153) Path (Vector(x: 271, y: 266) > Vector(x: 59, y: 266) > Vector(x: 60, y: 265) > Vector(x: 270, y: 265)) +Shape: rgb(0,0,153) Path (Vector(x: 59, y: 266) > Vector(x: 59, y: 194) > Vector(x: 60, y: 195) > Vector(x: 60, y: 265)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [70, 222]: position: + [118, 222]: absolute; +Text: rgb(0,0,0) normal normal 400 12px Arial + [70, 236]: z + [76, 236]: - + [80, 236]: index: + [115, 236]: 10; +Text: rgb(0,0,0) normal normal 700 12px Arial + [70, 208]: DIV + [93, 208]: #4 +Clip: Path (Vector(x: 179, y: 48) > Vector(x: 331, y: 48) > Vector(x: 331, y: 250) > Vector(x: 179, y: 250)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 179, y: 48) > Vector(x: 331, y: 48) > Vector(x: 330, y: 49) > Vector(x: 180, y: 49)) +Shape: rgb(153,0,0) Path (Vector(x: 331, y: 48) > Vector(x: 331, y: 250) > Vector(x: 330, y: 249) > Vector(x: 330, y: 49)) +Shape: rgb(153,0,0) Path (Vector(x: 331, y: 250) > Vector(x: 179, y: 250) > Vector(x: 180, y: 249) > Vector(x: 330, y: 249)) +Shape: rgb(153,0,0) Path (Vector(x: 179, y: 250) > Vector(x: 179, y: 48) > Vector(x: 180, y: 49) > Vector(x: 180, y: 249)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [205, 76]: position: + [253, 76]: absolute; +Text: rgb(0,0,0) normal normal 400 12px Arial + [227, 90]: z + [233, 90]: - + [237, 90]: index: + [273, 90]: 2; +Text: rgb(0,0,0) normal normal 700 12px Arial + [235, 63]: DIV + [258, 63]: #2 \ No newline at end of file diff --git a/tests/cases/zindex/z-index3.html b/tests/reftests/zindex/z-index3.html similarity index 100% rename from tests/cases/zindex/z-index3.html rename to tests/reftests/zindex/z-index3.html diff --git a/tests/reftests/zindex/z-index3.txt b/tests/reftests/zindex/z-index3.txt new file mode 100644 index 0000000..39fe563 --- /dev/null +++ b/tests/reftests/zindex/z-index3.txt @@ -0,0 +1,167 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 101) > Vector(x: 267, y: 101) > Vector(x: 267, y: 175) > Vector(x: 8, y: 175)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 101) > Vector(x: 267, y: 101) > Vector(x: 265, y: 103) > Vector(x: 10, y: 103)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 101) > Vector(x: 267, y: 175) > Vector(x: 265, y: 173) > Vector(x: 265, y: 103)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 175) > Vector(x: 8, y: 175) > Vector(x: 10, y: 173) > Vector(x: 265, y: 173)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 175) > Vector(x: 8, y: 101) > Vector(x: 10, y: 103) > Vector(x: 10, y: 173)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [15, 103]: LEVEL + [57, 103]: #1 +Clip: Path (Vector(x: 8, y: 27) > Vector(x: 267, y: 27) > Vector(x: 267, y: 101) > Vector(x: 8, y: 101)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 27) > Vector(x: 267, y: 27) > Vector(x: 265, y: 29) > Vector(x: 10, y: 29)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 27) > Vector(x: 267, y: 101) > Vector(x: 265, y: 99) > Vector(x: 265, y: 29)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 101) > Vector(x: 8, y: 101) > Vector(x: 10, y: 99) > Vector(x: 265, y: 99)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 101) > Vector(x: 8, y: 27) > Vector(x: 10, y: 29) > Vector(x: 10, y: 99)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [15, 29]: LEVEL + [57, 29]: #1 +Clip: Path (Vector(x: 8, y: 175) > Vector(x: 267, y: 175) > Vector(x: 267, y: 249) > Vector(x: 8, y: 249)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 175) > Vector(x: 267, y: 175) > Vector(x: 265, y: 177) > Vector(x: 10, y: 177)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 175) > Vector(x: 267, y: 249) > Vector(x: 265, y: 247) > Vector(x: 265, y: 177)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 249) > Vector(x: 8, y: 249) > Vector(x: 10, y: 247) > Vector(x: 265, y: 247)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 249) > Vector(x: 8, y: 175) > Vector(x: 10, y: 177) > Vector(x: 10, y: 247)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [15, 177]: LEVEL + [57, 177]: #1 +Clip: Path (Vector(x: 8, y: 249) > Vector(x: 267, y: 249) > Vector(x: 267, y: 323) > Vector(x: 8, y: 323)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 249) > Vector(x: 267, y: 249) > Vector(x: 265, y: 251) > Vector(x: 10, y: 251)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 249) > Vector(x: 267, y: 323) > Vector(x: 265, y: 321) > Vector(x: 265, y: 251)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 323) > Vector(x: 8, y: 323) > Vector(x: 10, y: 321) > Vector(x: 265, y: 321)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 323) > Vector(x: 8, y: 249) > Vector(x: 10, y: 251) > Vector(x: 10, y: 321)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [15, 251]: LEVEL + [57, 251]: #1 +Opacity: 0.9 +Clip: Path (Vector(x: 85, y: 59) > Vector(x: 294, y: 59) > Vector(x: 294, y: 123) > Vector(x: 85, y: 123)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 85, y: 59) > Vector(x: 294, y: 59) > Vector(x: 292, y: 61) > Vector(x: 87, y: 61)) +Shape: rgb(153,0,0) Path (Vector(x: 294, y: 59) > Vector(x: 294, y: 123) > Vector(x: 292, y: 121) > Vector(x: 292, y: 61)) +Shape: rgb(153,0,0) Path (Vector(x: 294, y: 123) > Vector(x: 85, y: 123) > Vector(x: 87, y: 121) > Vector(x: 292, y: 121)) +Shape: rgb(153,0,0) Path (Vector(x: 85, y: 123) > Vector(x: 85, y: 59) > Vector(x: 87, y: 61) > Vector(x: 87, y: 121)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [92, 88]: z + [98, 88]: - + [102, 88]: index: + [137, 88]: 1; +Text: rgb(0,0,0) normal normal 700 12px Arial + [92, 74]: LEVEL + [134, 74]: #2 +Clip: Path (Vector(x: 197, y: 169) > Vector(x: 306, y: 169) > Vector(x: 306, y: 186) > Vector(x: 197, y: 186)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 169) > Vector(x: 306, y: 169) > Vector(x: 304, y: 171) > Vector(x: 199, y: 171)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 169) > Vector(x: 306, y: 186) > Vector(x: 304, y: 184) > Vector(x: 304, y: 171)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 186) > Vector(x: 197, y: 186) > Vector(x: 199, y: 184) > Vector(x: 304, y: 184)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 186) > Vector(x: 197, y: 169) > Vector(x: 199, y: 171) > Vector(x: 199, y: 184)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 171]: LEVEL + [246, 171]: #3 +Clip: Path (Vector(x: 197, y: 81) > Vector(x: 306, y: 81) > Vector(x: 306, y: 98) > Vector(x: 197, y: 98)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 81) > Vector(x: 306, y: 81) > Vector(x: 304, y: 83) > Vector(x: 199, y: 83)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 81) > Vector(x: 306, y: 98) > Vector(x: 304, y: 96) > Vector(x: 304, y: 83)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 98) > Vector(x: 197, y: 98) > Vector(x: 199, y: 96) > Vector(x: 304, y: 96)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 98) > Vector(x: 197, y: 81) > Vector(x: 199, y: 83) > Vector(x: 199, y: 96)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 83]: LEVEL + [246, 83]: #3 +Clip: Path (Vector(x: 197, y: 116) > Vector(x: 306, y: 116) > Vector(x: 306, y: 134) > Vector(x: 197, y: 134)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 116) > Vector(x: 306, y: 116) > Vector(x: 304, y: 118) > Vector(x: 199, y: 118)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 116) > Vector(x: 306, y: 134) > Vector(x: 304, y: 132) > Vector(x: 304, y: 118)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 134) > Vector(x: 197, y: 134) > Vector(x: 199, y: 132) > Vector(x: 304, y: 132)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 134) > Vector(x: 197, y: 116) > Vector(x: 199, y: 118) > Vector(x: 199, y: 132)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 118]: LEVEL + [246, 118]: #3 +Clip: Path (Vector(x: 197, y: 134) > Vector(x: 306, y: 134) > Vector(x: 306, y: 151) > Vector(x: 197, y: 151)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 134) > Vector(x: 306, y: 134) > Vector(x: 304, y: 136) > Vector(x: 199, y: 136)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 134) > Vector(x: 306, y: 151) > Vector(x: 304, y: 149) > Vector(x: 304, y: 136)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 151) > Vector(x: 197, y: 151) > Vector(x: 199, y: 149) > Vector(x: 304, y: 149)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 151) > Vector(x: 197, y: 134) > Vector(x: 199, y: 136) > Vector(x: 199, y: 149)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 136]: LEVEL + [246, 136]: #3 +Clip: Path (Vector(x: 197, y: 151) > Vector(x: 306, y: 151) > Vector(x: 306, y: 169) > Vector(x: 197, y: 169)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 151) > Vector(x: 306, y: 151) > Vector(x: 304, y: 153) > Vector(x: 199, y: 153)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 151) > Vector(x: 306, y: 169) > Vector(x: 304, y: 167) > Vector(x: 304, y: 153)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 169) > Vector(x: 197, y: 169) > Vector(x: 199, y: 167) > Vector(x: 304, y: 167)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 169) > Vector(x: 197, y: 151) > Vector(x: 199, y: 153) > Vector(x: 199, y: 167)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 153]: LEVEL + [246, 153]: #3 +Clip: Path (Vector(x: 197, y: 98) > Vector(x: 306, y: 98) > Vector(x: 306, y: 116) > Vector(x: 197, y: 116)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 98) > Vector(x: 306, y: 98) > Vector(x: 304, y: 100) > Vector(x: 199, y: 100)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 98) > Vector(x: 306, y: 116) > Vector(x: 304, y: 114) > Vector(x: 304, y: 100)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 116) > Vector(x: 197, y: 116) > Vector(x: 199, y: 114) > Vector(x: 304, y: 114)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 116) > Vector(x: 197, y: 98) > Vector(x: 199, y: 100) > Vector(x: 199, y: 114)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 100]: LEVEL + [246, 100]: #3 +Clip: Path (Vector(x: 197, y: 186) > Vector(x: 306, y: 186) > Vector(x: 306, y: 204) > Vector(x: 197, y: 204)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 186) > Vector(x: 306, y: 186) > Vector(x: 304, y: 188) > Vector(x: 199, y: 188)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 186) > Vector(x: 306, y: 204) > Vector(x: 304, y: 202) > Vector(x: 304, y: 188)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 204) > Vector(x: 197, y: 204) > Vector(x: 199, y: 202) > Vector(x: 304, y: 202)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 204) > Vector(x: 197, y: 186) > Vector(x: 199, y: 188) > Vector(x: 199, y: 202)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 188]: LEVEL + [246, 188]: #3 +Clip: Path (Vector(x: 197, y: 204) > Vector(x: 306, y: 204) > Vector(x: 306, y: 222) > Vector(x: 197, y: 222)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 204) > Vector(x: 306, y: 204) > Vector(x: 304, y: 206) > Vector(x: 199, y: 206)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 204) > Vector(x: 306, y: 222) > Vector(x: 304, y: 220) > Vector(x: 304, y: 206)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 222) > Vector(x: 197, y: 222) > Vector(x: 199, y: 220) > Vector(x: 304, y: 220)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 222) > Vector(x: 197, y: 204) > Vector(x: 199, y: 206) > Vector(x: 199, y: 220)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 206]: LEVEL + [246, 206]: #3 +Clip: Path (Vector(x: 197, y: 222) > Vector(x: 306, y: 222) > Vector(x: 306, y: 239) > Vector(x: 197, y: 239)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 222) > Vector(x: 306, y: 222) > Vector(x: 304, y: 224) > Vector(x: 199, y: 224)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 222) > Vector(x: 306, y: 239) > Vector(x: 304, y: 237) > Vector(x: 304, y: 224)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 239) > Vector(x: 197, y: 239) > Vector(x: 199, y: 237) > Vector(x: 304, y: 237)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 239) > Vector(x: 197, y: 222) > Vector(x: 199, y: 224) > Vector(x: 199, y: 237)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 224]: LEVEL + [246, 224]: #3 +Clip: Path (Vector(x: 197, y: 239) > Vector(x: 306, y: 239) > Vector(x: 306, y: 257) > Vector(x: 197, y: 257)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 239) > Vector(x: 306, y: 239) > Vector(x: 304, y: 241) > Vector(x: 199, y: 241)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 239) > Vector(x: 306, y: 257) > Vector(x: 304, y: 255) > Vector(x: 304, y: 241)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 257) > Vector(x: 197, y: 257) > Vector(x: 199, y: 255) > Vector(x: 304, y: 255)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 257) > Vector(x: 197, y: 239) > Vector(x: 199, y: 241) > Vector(x: 199, y: 255)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 241]: LEVEL + [246, 241]: #3 +Clip: Path (Vector(x: 197, y: 257) > Vector(x: 306, y: 257) > Vector(x: 306, y: 274) > Vector(x: 197, y: 274)) + Fill: rgb(221,221,255) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 257) > Vector(x: 306, y: 257) > Vector(x: 304, y: 259) > Vector(x: 199, y: 259)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 257) > Vector(x: 306, y: 274) > Vector(x: 304, y: 272) > Vector(x: 304, y: 259)) +Shape: rgb(0,0,153) Path (Vector(x: 306, y: 274) > Vector(x: 197, y: 274) > Vector(x: 199, y: 272) > Vector(x: 304, y: 272)) +Shape: rgb(0,0,153) Path (Vector(x: 197, y: 274) > Vector(x: 197, y: 257) > Vector(x: 199, y: 259) > Vector(x: 199, y: 272)) +Text: rgb(0,0,0) normal normal 700 12px Arial + [204, 259]: LEVEL + [246, 259]: #3 +Clip: Path (Vector(x: 85, y: 123) > Vector(x: 294, y: 123) > Vector(x: 294, y: 187) > Vector(x: 85, y: 187)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 85, y: 123) > Vector(x: 294, y: 123) > Vector(x: 292, y: 125) > Vector(x: 87, y: 125)) +Shape: rgb(153,0,0) Path (Vector(x: 294, y: 123) > Vector(x: 294, y: 187) > Vector(x: 292, y: 185) > Vector(x: 292, y: 125)) +Shape: rgb(153,0,0) Path (Vector(x: 294, y: 187) > Vector(x: 85, y: 187) > Vector(x: 87, y: 185) > Vector(x: 292, y: 185)) +Shape: rgb(153,0,0) Path (Vector(x: 85, y: 187) > Vector(x: 85, y: 123) > Vector(x: 87, y: 125) > Vector(x: 87, y: 185)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [92, 152]: z + [98, 152]: - + [102, 152]: index: + [137, 152]: 1; +Text: rgb(0,0,0) normal normal 700 12px Arial + [92, 138]: LEVEL + [134, 138]: #2 \ No newline at end of file diff --git a/tests/cases/zindex/z-index4.html b/tests/reftests/zindex/z-index4.html similarity index 100% rename from tests/cases/zindex/z-index4.html rename to tests/reftests/zindex/z-index4.html diff --git a/tests/reftests/zindex/z-index4.txt b/tests/reftests/zindex/z-index4.txt new file mode 100644 index 0000000..893c7f1 --- /dev/null +++ b/tests/reftests/zindex/z-index4.txt @@ -0,0 +1,23 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 0) > Vector(x: 258, y: 0) > Vector(x: 258, y: 600) > Vector(x: 8, y: 600)) + Fill: rgb(255,221,221) +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 267, y: 8) > Vector(x: 267, y: 82) > Vector(x: 8, y: 82)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 8) > Vector(x: 267, y: 8) > Vector(x: 265, y: 10) > Vector(x: 10, y: 10)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 8) > Vector(x: 267, y: 82) > Vector(x: 265, y: 80) > Vector(x: 265, y: 10)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 82) > Vector(x: 8, y: 82) > Vector(x: 10, y: 80) > Vector(x: 265, y: 80)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 82) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 80)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [15, 10]: LEVEL + [70, 10]: #1 +Clip: Path (Vector(x: 8, y: 82) > Vector(x: 267, y: 82) > Vector(x: 267, y: 156) > Vector(x: 8, y: 156)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 82) > Vector(x: 267, y: 82) > Vector(x: 265, y: 84) > Vector(x: 10, y: 84)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 82) > Vector(x: 267, y: 156) > Vector(x: 265, y: 154) > Vector(x: 265, y: 84)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 156) > Vector(x: 8, y: 156) > Vector(x: 10, y: 154) > Vector(x: 265, y: 154)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 156) > Vector(x: 8, y: 82) > Vector(x: 10, y: 84) > Vector(x: 10, y: 154)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [15, 84]: LEVEL + [70, 84]: #1 \ No newline at end of file diff --git a/tests/cases/zindex/z-index5.html b/tests/reftests/zindex/z-index5.html similarity index 100% rename from tests/cases/zindex/z-index5.html rename to tests/reftests/zindex/z-index5.html diff --git a/tests/reftests/zindex/z-index5.txt b/tests/reftests/zindex/z-index5.txt new file mode 100644 index 0000000..62a1caa --- /dev/null +++ b/tests/reftests/zindex/z-index5.txt @@ -0,0 +1,23 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 8, y: 8) > Vector(x: 267, y: 8) > Vector(x: 267, y: 82) > Vector(x: 8, y: 82)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 8) > Vector(x: 267, y: 8) > Vector(x: 265, y: 10) > Vector(x: 10, y: 10)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 8) > Vector(x: 267, y: 82) > Vector(x: 265, y: 80) > Vector(x: 265, y: 10)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 82) > Vector(x: 8, y: 82) > Vector(x: 10, y: 80) > Vector(x: 265, y: 80)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 82) > Vector(x: 8, y: 8) > Vector(x: 10, y: 10) > Vector(x: 10, y: 80)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [15, 10]: LEVEL + [70, 10]: #1 +Clip: Path (Vector(x: 8, y: 0) > Vector(x: 258, y: 0) > Vector(x: 258, y: 600) > Vector(x: 8, y: 600)) + Fill: rgb(255,221,221) +Clip: Path (Vector(x: 8, y: 82) > Vector(x: 267, y: 82) > Vector(x: 267, y: 156) > Vector(x: 8, y: 156)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 82) > Vector(x: 267, y: 82) > Vector(x: 265, y: 84) > Vector(x: 10, y: 84)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 82) > Vector(x: 267, y: 156) > Vector(x: 265, y: 154) > Vector(x: 265, y: 84)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 156) > Vector(x: 8, y: 156) > Vector(x: 10, y: 154) > Vector(x: 265, y: 154)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 156) > Vector(x: 8, y: 82) > Vector(x: 10, y: 84) > Vector(x: 10, y: 154)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [15, 84]: LEVEL + [70, 84]: #1 \ No newline at end of file diff --git a/tests/cases/zindex/z-index6.html b/tests/reftests/zindex/z-index6.html similarity index 100% rename from tests/cases/zindex/z-index6.html rename to tests/reftests/zindex/z-index6.html diff --git a/tests/reftests/zindex/z-index6.txt b/tests/reftests/zindex/z-index6.txt new file mode 100644 index 0000000..cf8146e --- /dev/null +++ b/tests/reftests/zindex/z-index6.txt @@ -0,0 +1,34 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 28, y: 113) > Vector(x: 287, y: 113) > Vector(x: 287, y: 187) > Vector(x: 28, y: 187)) + Fill: rgb(255,221,221) +Shape: rgb(102,153,102) Path (Vector(x: 28, y: 113) > Vector(x: 287, y: 113) > Vector(x: 285, y: 115) > Vector(x: 30, y: 115)) +Shape: rgb(102,153,102) Path (Vector(x: 287, y: 113) > Vector(x: 287, y: 187) > Vector(x: 285, y: 185) > Vector(x: 285, y: 115)) +Shape: rgb(102,153,102) Path (Vector(x: 287, y: 187) > Vector(x: 28, y: 187) > Vector(x: 30, y: 185) > Vector(x: 285, y: 185)) +Shape: rgb(102,153,102) Path (Vector(x: 28, y: 187) > Vector(x: 28, y: 113) > Vector(x: 30, y: 115) > Vector(x: 30, y: 185)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [35, 115]: z + [42, 115]: - + [48, 115]: index:0 +Clip: Path (Vector(x: 8, y: 82) > Vector(x: 267, y: 82) > Vector(x: 267, y: 156) > Vector(x: 8, y: 156)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 82) > Vector(x: 267, y: 82) > Vector(x: 265, y: 84) > Vector(x: 10, y: 84)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 82) > Vector(x: 267, y: 156) > Vector(x: 265, y: 154) > Vector(x: 265, y: 84)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 156) > Vector(x: 8, y: 156) > Vector(x: 10, y: 154) > Vector(x: 265, y: 154)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 156) > Vector(x: 8, y: 82) > Vector(x: 10, y: 84) > Vector(x: 10, y: 154)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [15, 84]: default + [64, 84]: z + [70, 84]: - + [76, 84]: index +Clip: Path (Vector(x: 8, y: 156) > Vector(x: 267, y: 156) > Vector(x: 267, y: 230) > Vector(x: 8, y: 230)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 156) > Vector(x: 267, y: 156) > Vector(x: 265, y: 158) > Vector(x: 10, y: 158)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 156) > Vector(x: 267, y: 230) > Vector(x: 265, y: 228) > Vector(x: 265, y: 158)) +Shape: rgb(102,153,102) Path (Vector(x: 267, y: 230) > Vector(x: 8, y: 230) > Vector(x: 10, y: 228) > Vector(x: 265, y: 228)) +Shape: rgb(102,153,102) Path (Vector(x: 8, y: 230) > Vector(x: 8, y: 156) > Vector(x: 10, y: 158) > Vector(x: 10, y: 228)) +Text: rgb(0,0,0) normal normal 400 16px Times New Roman + [15, 158]: z + [22, 158]: - + [28, 158]: index:1 \ No newline at end of file diff --git a/tests/cases/zindex/z-index7.html b/tests/reftests/zindex/z-index7.html similarity index 100% rename from tests/cases/zindex/z-index7.html rename to tests/reftests/zindex/z-index7.html diff --git a/tests/reftests/zindex/z-index7.txt b/tests/reftests/zindex/z-index7.txt new file mode 100644 index 0000000..ece60bc --- /dev/null +++ b/tests/reftests/zindex/z-index7.txt @@ -0,0 +1,64 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 58, y: 250) > Vector(x: 742, y: 250) > Vector(x: 742, y: 322) > Vector(x: 58, y: 322)) + Fill: rgb(255,255,204) +Shape: rgb(153,153,102) Path (Vector(x: 58, y: 250) > Vector(x: 742, y: 250) > Vector(x: 741, y: 251) > Vector(x: 59, y: 251)) +Shape: rgb(153,153,102) Path (Vector(x: 742, y: 250) > Vector(x: 742, y: 322) > Vector(x: 741, y: 321) > Vector(x: 741, y: 251)) +Shape: rgb(153,153,102) Path (Vector(x: 742, y: 322) > Vector(x: 58, y: 322) > Vector(x: 59, y: 321) > Vector(x: 741, y: 321)) +Shape: rgb(153,153,102) Path (Vector(x: 58, y: 322) > Vector(x: 58, y: 250) > Vector(x: 59, y: 251) > Vector(x: 59, y: 321)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [363, 278]: no + [380, 278]: positioning +Text: rgb(0,0,0) normal normal 700 12px Arial + [380, 264]: DIV + [403, 264]: #5 +Opacity: 0.7 +Clip: Path (Vector(x: 10, y: 10) > Vector(x: 162, y: 10) > Vector(x: 162, y: 362) > Vector(x: 10, y: 362)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 10, y: 10) > Vector(x: 162, y: 10) > Vector(x: 161, y: 11) > Vector(x: 11, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 162, y: 10) > Vector(x: 162, y: 362) > Vector(x: 161, y: 361) > Vector(x: 161, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 162, y: 362) > Vector(x: 10, y: 362) > Vector(x: 11, y: 361) > Vector(x: 161, y: 361)) +Shape: rgb(153,0,0) Path (Vector(x: 10, y: 362) > Vector(x: 10, y: 10) > Vector(x: 11, y: 11) > Vector(x: 11, y: 361)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [38, 38]: position: + [86, 38]: absolute; +Text: rgb(0,0,0) normal normal 700 12px Arial + [66, 25]: DIV + [89, 25]: #1 +Clip: Path (Vector(x: 58, y: 76) > Vector(x: 742, y: 76) > Vector(x: 742, y: 178) > Vector(x: 58, y: 178)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 58, y: 76) > Vector(x: 742, y: 76) > Vector(x: 741, y: 77) > Vector(x: 59, y: 77)) +Shape: rgb(102,153,102) Path (Vector(x: 742, y: 76) > Vector(x: 742, y: 178) > Vector(x: 741, y: 177) > Vector(x: 741, y: 77)) +Shape: rgb(102,153,102) Path (Vector(x: 742, y: 178) > Vector(x: 58, y: 178) > Vector(x: 59, y: 177) > Vector(x: 741, y: 177)) +Shape: rgb(102,153,102) Path (Vector(x: 58, y: 178) > Vector(x: 58, y: 76) > Vector(x: 59, y: 77) > Vector(x: 59, y: 177)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [355, 104]: position: + [403, 104]: relative; +Text: rgb(0,0,0) normal normal 700 12px Arial + [380, 90]: DIV + [403, 90]: #2 +Clip: Path (Vector(x: 78, y: 163) > Vector(x: 762, y: 163) > Vector(x: 762, y: 265) > Vector(x: 78, y: 265)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 78, y: 163) > Vector(x: 762, y: 163) > Vector(x: 761, y: 164) > Vector(x: 79, y: 164)) +Shape: rgb(102,153,102) Path (Vector(x: 762, y: 163) > Vector(x: 762, y: 265) > Vector(x: 761, y: 264) > Vector(x: 761, y: 164)) +Shape: rgb(102,153,102) Path (Vector(x: 762, y: 265) > Vector(x: 78, y: 265) > Vector(x: 79, y: 264) > Vector(x: 761, y: 264)) +Shape: rgb(102,153,102) Path (Vector(x: 78, y: 265) > Vector(x: 78, y: 163) > Vector(x: 79, y: 164) > Vector(x: 79, y: 264)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [375, 191]: position: + [423, 191]: relative; +Text: rgb(0,0,0) normal normal 700 12px Arial + [400, 177]: DIV + [423, 177]: #3 +Clip: Path (Vector(x: 638, y: 10) > Vector(x: 790, y: 10) > Vector(x: 790, y: 362) > Vector(x: 638, y: 362)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 638, y: 10) > Vector(x: 790, y: 10) > Vector(x: 789, y: 11) > Vector(x: 639, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 790, y: 10) > Vector(x: 790, y: 362) > Vector(x: 789, y: 361) > Vector(x: 789, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 790, y: 362) > Vector(x: 638, y: 362) > Vector(x: 639, y: 361) > Vector(x: 789, y: 361)) +Shape: rgb(153,0,0) Path (Vector(x: 638, y: 362) > Vector(x: 638, y: 10) > Vector(x: 639, y: 11) > Vector(x: 639, y: 361)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [666, 38]: position: + [714, 38]: absolute; +Text: rgb(0,0,0) normal normal 700 12px Arial + [694, 25]: DIV + [717, 25]: #4 \ No newline at end of file diff --git a/tests/cases/zindex/z-index8.html b/tests/reftests/zindex/z-index8.html similarity index 100% rename from tests/cases/zindex/z-index8.html rename to tests/reftests/zindex/z-index8.html diff --git a/tests/reftests/zindex/z-index8.txt b/tests/reftests/zindex/z-index8.txt new file mode 100644 index 0000000..49e37bf --- /dev/null +++ b/tests/reftests/zindex/z-index8.txt @@ -0,0 +1,64 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Clip: Path (Vector(x: 18, y: 64) > Vector(x: 782, y: 64) > Vector(x: 782, y: 166) > Vector(x: 18, y: 166)) + Fill: rgb(255,255,204) +Shape: rgb(153,153,102) Path (Vector(x: 18, y: 64) > Vector(x: 782, y: 64) > Vector(x: 781, y: 65) > Vector(x: 19, y: 65)) +Shape: rgb(153,153,102) Path (Vector(x: 782, y: 64) > Vector(x: 782, y: 166) > Vector(x: 781, y: 165) > Vector(x: 781, y: 65)) +Shape: rgb(153,153,102) Path (Vector(x: 782, y: 166) > Vector(x: 18, y: 166) > Vector(x: 19, y: 165) > Vector(x: 781, y: 165)) +Shape: rgb(153,153,102) Path (Vector(x: 18, y: 166) > Vector(x: 18, y: 64) > Vector(x: 19, y: 65) > Vector(x: 19, y: 165)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [190, 93]: no + [207, 93]: positioning +Text: rgb(0,0,0) normal normal 700 12px Arial + [190, 79]: DIV + [213, 79]: #4 +Opacity: 0.7 +Clip: Path (Vector(x: 508, y: 10) > Vector(x: 660, y: 10) > Vector(x: 660, y: 212) > Vector(x: 508, y: 212)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 508, y: 10) > Vector(x: 660, y: 10) > Vector(x: 659, y: 11) > Vector(x: 509, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 660, y: 10) > Vector(x: 660, y: 212) > Vector(x: 659, y: 211) > Vector(x: 659, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 660, y: 212) > Vector(x: 508, y: 212) > Vector(x: 509, y: 211) > Vector(x: 659, y: 211)) +Shape: rgb(153,0,0) Path (Vector(x: 508, y: 212) > Vector(x: 508, y: 10) > Vector(x: 509, y: 11) > Vector(x: 509, y: 211)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [536, 38]: position: + [584, 38]: absolute; +Text: rgb(0,0,0) normal normal 700 12px Arial + [564, 25]: DIV + [587, 25]: #1 +Clip: Path (Vector(x: 28, y: 46) > Vector(x: 180, y: 46) > Vector(x: 180, y: 248) > Vector(x: 28, y: 248)) + Fill: rgb(204,255,204) +Shape: rgb(0,153,0) Path (Vector(x: 28, y: 46) > Vector(x: 180, y: 46) > Vector(x: 179, y: 47) > Vector(x: 29, y: 47)) +Shape: rgb(0,153,0) Path (Vector(x: 180, y: 46) > Vector(x: 180, y: 248) > Vector(x: 179, y: 247) > Vector(x: 179, y: 47)) +Shape: rgb(0,153,0) Path (Vector(x: 180, y: 248) > Vector(x: 28, y: 248) > Vector(x: 29, y: 247) > Vector(x: 179, y: 247)) +Shape: rgb(0,153,0) Path (Vector(x: 28, y: 248) > Vector(x: 28, y: 46) > Vector(x: 29, y: 47) > Vector(x: 29, y: 247)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [80, 74]: float: + [109, 74]: left; +Text: rgb(0,0,0) normal normal 700 12px Arial + [84, 60]: DIV + [107, 60]: #2 +Clip: Path (Vector(x: 620, y: 46) > Vector(x: 772, y: 46) > Vector(x: 772, y: 248) > Vector(x: 620, y: 248)) + Fill: rgb(204,255,204) +Shape: rgb(0,153,0) Path (Vector(x: 620, y: 46) > Vector(x: 772, y: 46) > Vector(x: 771, y: 47) > Vector(x: 621, y: 47)) +Shape: rgb(0,153,0) Path (Vector(x: 772, y: 46) > Vector(x: 772, y: 248) > Vector(x: 771, y: 247) > Vector(x: 771, y: 47)) +Shape: rgb(0,153,0) Path (Vector(x: 772, y: 248) > Vector(x: 620, y: 248) > Vector(x: 621, y: 247) > Vector(x: 771, y: 247)) +Shape: rgb(0,153,0) Path (Vector(x: 620, y: 248) > Vector(x: 620, y: 46) > Vector(x: 621, y: 47) > Vector(x: 621, y: 247)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [668, 74]: float: + [697, 74]: right; +Text: rgb(0,0,0) normal normal 700 12px Arial + [676, 60]: DIV + [699, 60]: #3 +Clip: Path (Vector(x: 100, y: 130) > Vector(x: 252, y: 130) > Vector(x: 252, y: 232) > Vector(x: 100, y: 232)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 100, y: 130) > Vector(x: 252, y: 130) > Vector(x: 251, y: 131) > Vector(x: 101, y: 131)) +Shape: rgb(153,0,0) Path (Vector(x: 252, y: 130) > Vector(x: 252, y: 232) > Vector(x: 251, y: 231) > Vector(x: 251, y: 131)) +Shape: rgb(153,0,0) Path (Vector(x: 252, y: 232) > Vector(x: 100, y: 232) > Vector(x: 101, y: 231) > Vector(x: 251, y: 231)) +Shape: rgb(153,0,0) Path (Vector(x: 100, y: 232) > Vector(x: 100, y: 130) > Vector(x: 101, y: 131) > Vector(x: 101, y: 231)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [128, 158]: position: + [176, 158]: absolute; +Text: rgb(0,0,0) normal normal 700 12px Arial + [156, 145]: DIV + [179, 145]: #5 \ No newline at end of file diff --git a/tests/cases/zindex/z-index9.html b/tests/reftests/zindex/z-index9.html similarity index 100% rename from tests/cases/zindex/z-index9.html rename to tests/reftests/zindex/z-index9.html diff --git a/tests/reftests/zindex/z-index9.txt b/tests/reftests/zindex/z-index9.txt new file mode 100644 index 0000000..0571bfb --- /dev/null +++ b/tests/reftests/zindex/z-index9.txt @@ -0,0 +1,89 @@ +Window: [800, 600] +Rectangle: [0, 0, 800, 600] rgba(0,0,0,0) +Opacity: 1 +Opacity: 0.7 +Clip: Path (Vector(x: 58, y: 250) > Vector(x: 742, y: 250) > Vector(x: 742, y: 322) > Vector(x: 58, y: 322)) + Fill: rgb(255,255,204) +Shape: rgb(153,153,102) Path (Vector(x: 58, y: 250) > Vector(x: 742, y: 250) > Vector(x: 741, y: 251) > Vector(x: 59, y: 251)) +Shape: rgb(153,153,102) Path (Vector(x: 742, y: 250) > Vector(x: 742, y: 322) > Vector(x: 741, y: 321) > Vector(x: 741, y: 251)) +Shape: rgb(153,153,102) Path (Vector(x: 742, y: 322) > Vector(x: 58, y: 322) > Vector(x: 59, y: 321) > Vector(x: 741, y: 321)) +Shape: rgb(153,153,102) Path (Vector(x: 58, y: 322) > Vector(x: 58, y: 250) > Vector(x: 59, y: 251) > Vector(x: 59, y: 321)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [361, 278]: no + [378, 278]: positioning +Text: rgb(0,0,0) normal normal 400 12px Arial + [372, 292]: z + [378, 292]: - + [382, 292]: index: + [418, 292]: 8; +Text: rgb(0,0,0) normal normal 700 12px Arial + [380, 264]: DIV + [403, 264]: #5 +Clip: Path (Vector(x: 638, y: 10) > Vector(x: 790, y: 10) > Vector(x: 790, y: 362) > Vector(x: 638, y: 362)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 638, y: 10) > Vector(x: 790, y: 10) > Vector(x: 789, y: 11) > Vector(x: 639, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 790, y: 10) > Vector(x: 790, y: 362) > Vector(x: 789, y: 361) > Vector(x: 789, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 790, y: 362) > Vector(x: 638, y: 362) > Vector(x: 639, y: 361) > Vector(x: 789, y: 361)) +Shape: rgb(153,0,0) Path (Vector(x: 638, y: 362) > Vector(x: 638, y: 10) > Vector(x: 639, y: 11) > Vector(x: 639, y: 361)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [664, 38]: position: + [712, 38]: absolute; +Text: rgb(0,0,0) normal normal 400 12px Arial + [686, 52]: z + [692, 52]: - + [696, 52]: index: + [732, 52]: 1; +Text: rgb(0,0,0) normal normal 700 12px Arial + [694, 25]: DIV + [717, 25]: #4 +Clip: Path (Vector(x: 78, y: 163) > Vector(x: 762, y: 163) > Vector(x: 762, y: 265) > Vector(x: 78, y: 265)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 78, y: 163) > Vector(x: 762, y: 163) > Vector(x: 761, y: 164) > Vector(x: 79, y: 164)) +Shape: rgb(102,153,102) Path (Vector(x: 762, y: 163) > Vector(x: 762, y: 265) > Vector(x: 761, y: 264) > Vector(x: 761, y: 164)) +Shape: rgb(102,153,102) Path (Vector(x: 762, y: 265) > Vector(x: 78, y: 265) > Vector(x: 79, y: 264) > Vector(x: 761, y: 264)) +Shape: rgb(102,153,102) Path (Vector(x: 78, y: 265) > Vector(x: 78, y: 163) > Vector(x: 79, y: 164) > Vector(x: 79, y: 264)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [373, 191]: position: + [421, 191]: relative; +Text: rgb(0,0,0) normal normal 400 12px Arial + [392, 205]: z + [398, 205]: - + [402, 205]: index: + [438, 205]: 2; +Text: rgb(0,0,0) normal normal 700 12px Arial + [400, 177]: DIV + [423, 177]: #3 +Clip: Path (Vector(x: 58, y: 76) > Vector(x: 742, y: 76) > Vector(x: 742, y: 178) > Vector(x: 58, y: 178)) + Fill: rgb(204,255,204) +Shape: rgb(102,153,102) Path (Vector(x: 58, y: 76) > Vector(x: 742, y: 76) > Vector(x: 741, y: 77) > Vector(x: 59, y: 77)) +Shape: rgb(102,153,102) Path (Vector(x: 742, y: 76) > Vector(x: 742, y: 178) > Vector(x: 741, y: 177) > Vector(x: 741, y: 77)) +Shape: rgb(102,153,102) Path (Vector(x: 742, y: 178) > Vector(x: 58, y: 178) > Vector(x: 59, y: 177) > Vector(x: 741, y: 177)) +Shape: rgb(102,153,102) Path (Vector(x: 58, y: 178) > Vector(x: 58, y: 76) > Vector(x: 59, y: 77) > Vector(x: 59, y: 177)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [353, 104]: position: + [401, 104]: relative; +Text: rgb(0,0,0) normal normal 400 12px Arial + [372, 118]: z + [378, 118]: - + [382, 118]: index: + [418, 118]: 3; +Text: rgb(0,0,0) normal normal 700 12px Arial + [380, 90]: DIV + [403, 90]: #2 +Clip: Path (Vector(x: 10, y: 10) > Vector(x: 162, y: 10) > Vector(x: 162, y: 362) > Vector(x: 10, y: 362)) + Fill: rgb(255,221,221) +Shape: rgb(153,0,0) Path (Vector(x: 10, y: 10) > Vector(x: 162, y: 10) > Vector(x: 161, y: 11) > Vector(x: 11, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 162, y: 10) > Vector(x: 162, y: 362) > Vector(x: 161, y: 361) > Vector(x: 161, y: 11)) +Shape: rgb(153,0,0) Path (Vector(x: 162, y: 362) > Vector(x: 10, y: 362) > Vector(x: 11, y: 361) > Vector(x: 161, y: 361)) +Shape: rgb(153,0,0) Path (Vector(x: 10, y: 362) > Vector(x: 10, y: 10) > Vector(x: 11, y: 11) > Vector(x: 11, y: 361)) +Text: rgb(0,0,0) normal normal 400 12px Arial + [36, 38]: position: + [84, 38]: absolute; +Text: rgb(0,0,0) normal normal 400 12px Arial + [58, 52]: z + [64, 52]: - + [68, 52]: index: + [104, 52]: 5; +Text: rgb(0,0,0) normal normal 700 12px Arial + [66, 25]: DIV + [89, 25]: #1 \ No newline at end of file diff --git a/tests/sauceconnect.js b/tests/sauceconnect.js deleted file mode 100644 index 9000689..0000000 --- a/tests/sauceconnect.js +++ /dev/null @@ -1,13 +0,0 @@ -const sauceConnectLauncher = require('sauce-connect-launcher'); - -sauceConnectLauncher({ - username: process.env.SAUCE_USERNAME, - accessKey: process.env.SAUCE_ACCESS_KEY, - logger: console.log -}, err => { - if (err) { - console.error(err.message); - return; - } - console.log('Sauce Connect ready'); -}); diff --git a/tests/selenium.js b/tests/selenium.js deleted file mode 100644 index cc4440a..0000000 --- a/tests/selenium.js +++ /dev/null @@ -1,114 +0,0 @@ -(function(){ - "use strict;"; - var wd = require('wd'), - http = require("http"), - https = require("https"), - url = require("url"), - path = require("path"), - base64_arraybuffer = require('base64-arraybuffer'), - PNG = require('pngjs').PNG, - Promise = require('bluebird'), - _ = require('lodash'), - humanizeDuration = require("humanize-duration"), - fs = require("fs"); - - var utils = require('./utils'); - var colors = utils.colors; - - Promise.promisifyAll(fs); - - var port = 8080; - - function getPixelArray(base64) { - return new Promise(function(resolve, reject) { - const arraybuffer = base64_arraybuffer.decode(base64); - new PNG().parse(arraybuffer, (error, data) => { - if (error) { - reject(error); - } else { - resolve(data.data); - } - }); - }); - } - - function calculateDifference(h2cPixels, screenPixels) { - var len = h2cPixels.length, index = 0, diff = 0; - for (; index < len; index++) { - if (screenPixels[index] - h2cPixels[index] !== 0) { - diff++; - } - } - return (100 - (Math.round((diff/h2cPixels.length) * 10000) / 100)); - } - - function captureScreenshots(browser) { - return function() { - return Promise.props({ - dataUrl: browser.waitForElementByCss(".html2canvas", 15000).then(function(node) { - return browser.execute("return arguments[0].toDataURL('image/png').substring(22)", [node]); - }), - screenshot: browser.takeScreenshot() - }); - }; - } - - function analyzeResults(test) { - return function(result) { - return Promise.all([getPixelArray(result.dataUrl), getPixelArray(result.screenshot)]).spread(calculateDifference).then(function(accuracy) { - return { - testCase: test, - accuracy: accuracy, - dataUrl: result.dataUrl, - screenshot: result.screenshot - }; - }); - }; - } - - function runTestWithRetries(browser, test, retries) { - retries = retries || 0; - return runTest(browser, test) - .timeout(60000) - .catch(Promise.TimeoutError, function() { - if (retries < 3) { - console.log(colors.violet, "Retry", (retries + 1), test); - return runTestWithRetries(browser, test, retries + 1); - } else { - throw new Error("Couldn't run test after 3 retries"); - } - }); - } - - function runTest(browser, test) { - return Promise.resolve(browser - .then(utils.loadTestPage(browser, test, port)) - .then(captureScreenshots(browser)) - .then(analyzeResults(test))); - } - - exports.tests = function(browsers, singleTest) { - var path = "tests/cases"; - return (singleTest ? Promise.resolve([singleTest]) : utils.getTests(path)).then(function(tests) { - return Promise.map(browsers, function(settings) { - var browser = utils.initBrowser(settings); - var name = [settings.browserName, settings.version, settings.platform].join("-"); - var count = 0; - return Promise.using(browser, function() { - return Promise.map(tests, function(test, index, total) { - console.log(colors.green, "STARTING", "(" + (++count) + "/" + total + ")", name, test, colors.clear); - var start = Date.now(); - return runTestWithRetries(browser, test).then(function(result) { - console.log(colors.green, "COMPLETE", humanizeDuration(Date.now() - start), "(" + count + "/" + total + ")", name, result.testCase.substring(path.length), result.accuracy.toFixed(2) + "%", colors.clear); - }); - }, {concurrency: 1}) - .settle() - .catch(function(error) { - console.log(colors.red, "ERROR", name, error.message); - throw error; - }); - }); - }, {concurrency: 3}); - }); - }; -})(); diff --git a/tests/test.js b/tests/test.js index 78ef21c..86fc8aa 100644 --- a/tests/test.js +++ b/tests/test.js @@ -1,15 +1,30 @@ var h2cSelector, h2cOptions; +var CI = window.location.search.indexOf('selenium') !== -1; +var AUTORUN = window.location.search.indexOf('run=false') === -1; +var REFTEST = window.location.search.indexOf('reftest') !== -1; + (function(document, window) { function appendScript(src) { - document.write(''); + document.write( + '' + ); } - ['/tests/assets/jquery-1.6.2', '/dist/html2canvas'].forEach(appendScript); + (typeof Promise === 'undefined' ? ['/node_modules/promise-polyfill/promise.min'] : []) + .concat([ + '/node_modules/jquery/dist/jquery.min', + '/dist/html2canvas', + '/dist/RefTestRenderer' + ]) + .forEach(appendScript); window.onload = function() { - (function( $ ){ + var targets = REFTEST + ? [new html2canvas.CanvasRenderer(), new RefTestRenderer()] + : new html2canvas.CanvasRenderer(); + (function($) { $.fn.html2canvas = function(options) { - if (options && options.profile && window.console && window.console.profile && window.location.search !== "?selenium2") { + if (options && options.profile && window.console && window.console.profile && !CI) { window.console.profile(); } var date = new Date(), @@ -19,79 +34,100 @@ var h2cSelector, h2cOptions; options = options || {}; var promise = html2canvas(this[0], options); promise['catch'](function(err) { - console.log("html2canvas threw an error", err); + console.log('html2canvas threw an error', err); }); - promise.then(function(canvas) { + promise.then(function(output) { + var canvas = Array.isArray(targets) ? output[0] : output; + if (Array.isArray(targets)) { + console.log(output[1]); + } var $canvas = $(canvas), finishTime = new Date(); if (options && options.profile && window.console && window.console.profileEnd) { window.console.profileEnd(); } - $canvas.addClass("html2canvas") + $canvas + .addClass('html2canvas') .css({ position: 'absolute', left: 0, top: 0 - }).appendTo(document.body); - - if (window.location.search !== "?selenium") { + }) + .appendTo(document.body); + if (!CI) { $canvas.siblings().toggle(); - $(window).click(function(){ + $(window).click(function() { var scrollTop = $(window).scrollTop(); $canvas.toggle().siblings().toggle(); - $(document.documentElement).css('background', $canvas.is(':visible') ? "none" : ""); - $(document.body).css('background', $canvas.is(':visible') ? "none" : ""); - throwMessage("Canvas Render " + ($canvas.is(':visible') ? "visible" : "hidden")); + $(document.documentElement).css( + 'background', + $canvas.is(':visible') ? 'none' : '' + ); + $(document.body).css( + 'background', + $canvas.is(':visible') ? 'none' : '' + ); + throwMessage( + 'Canvas Render ' + ($canvas.is(':visible') ? 'visible' : 'hidden') + ); $(window).scrollTop(scrollTop); }); - $(document.documentElement).css('background', $canvas.is(':visible') ? "none" : ""); - $(document.body).css('background', $canvas.is(':visible') ? "none" : ""); - throwMessage('Screenshot created in '+ ((finishTime.getTime()-timer)) + " ms
      ",4000); + $(document.documentElement).css( + 'background', + $canvas.is(':visible') ? 'none' : '' + ); + $(document.body).css('background', $canvas.is(':visible') ? 'none' : ''); + throwMessage( + 'Screenshot created in ' + (finishTime.getTime() - timer) + ' ms
      ', + 4000 + ); } else { $canvas.css('display', 'none'); } // test if canvas is read-able try { $canvas[0].toDataURL(); - } catch(e) { - if ($canvas[0].nodeName.toLowerCase() === "canvas") { + } catch (e) { + if ($canvas[0].nodeName.toLowerCase() === 'canvas') { // TODO, maybe add a bit less offensive way to present this, but still something that can easily be noticed - window.alert("Canvas is tainted, unable to read data"); + window.alert('Canvas is tainted, unable to read data'); } } }); - function throwMessage(msg,duration){ + function throwMessage(msg, duration) { window.clearTimeout(timeoutTimer); - timeoutTimer = window.setTimeout(function(){ - $message.fadeOut(function(){ + timeoutTimer = window.setTimeout(function() { + $message.fadeOut(function() { $message.remove(); $message = null; }); - },duration || 2000); - if ($message) - $message.remove(); - $message = $('
      ').html(msg).css({ - margin:0, - padding:10, - background: "#000", - opacity:0.7, - position:"fixed", - top:10, - right:10, - fontFamily: 'Tahoma', - color:'#fff', - fontSize:12, - borderRadius:12, - width:'auto', - height:'auto', - textAlign:'center', - textDecoration:'none', - display:'none' - }).appendTo(document.body).fadeIn(); - console.log(msg); + }, duration || 2000); + if ($message) $message.remove(); + $message = $('
      ') + .html(msg) + .css({ + margin: 0, + padding: 10, + background: '#000', + opacity: 0.7, + position: 'fixed', + top: 10, + right: 10, + fontFamily: 'Tahoma', + color: '#fff', + fontSize: 12, + borderRadius: 12, + width: 'auto', + height: 'auto', + textAlign: 'center', + textDecoration: 'none', + display: 'none' + }) + .appendTo(document.body) + .fadeIn(); } }; })(jQuery); @@ -103,17 +139,24 @@ var h2cSelector, h2cOptions; } window.run = function() { - $(h2cSelector).html2canvas($.extend({ - logging: true, - profile: true, - proxy: "http://localhost:8082", - useCORS: false, - removeContainer: false - }, h2cOptions)); + $(h2cSelector).html2canvas( + $.extend( + { + logging: true, + profile: true, + proxy: 'http://localhost:8082', + useCORS: false, + removeContainer: false, + target: targets + }, + h2cOptions, + REFTEST ? {windowWidth: 800, windowHeight: 600} : {} + ) + ); }; - if (typeof(dontRun) === "undefined") { + if (typeof dontRun === 'undefined' && AUTORUN) { setTimeout(window.run, 100); } }; -}(document, window)); +})(document, window); diff --git a/tests/testrunner.html b/tests/testrunner.html new file mode 100644 index 0000000..1d9a12b --- /dev/null +++ b/tests/testrunner.html @@ -0,0 +1,19 @@ + + + + + + Test runner + + +
      + + + + + + diff --git a/tests/testrunner.js b/tests/testrunner.js new file mode 100644 index 0000000..3fb82bf --- /dev/null +++ b/tests/testrunner.js @@ -0,0 +1,287 @@ +import {expect} from 'chai'; +import parseRefTest from '../scripts/parse-reftest'; +import reftests from './reftests'; + +const DOWNLOAD_REFTESTS = true; + +const downloadResult = (filename, data) => { + const downloadUrl = URL.createObjectURL(new Blob([data], {type: 'text/plain'})); + const a = document.createElement('a'); + a.href = downloadUrl; + a.download = filename; + + setTimeout(() => { + a.click(); + URL.revokeObjectURL(downloadUrl); + document.body.removeChild(a); + }, 100); + + document.body.appendChild(a); +}; + +const assertPath = (result, expected, desc) => { + expect(result.length).to.equal(expected.length, `${desc} path length`); + + expected.forEach((e, i) => { + const r = result[i]; + expect(r.type).to.equal(e.type, `${desc} type`); + if (Array.isArray(r)) { + assertPath(r, e, desc); + } else { + switch (r.type) { + case 'Circle': + expect(r.x).to.be.closeTo(e.x, 10, `${desc} Circle #${i + 1} x`); + expect(r.y).to.be.closeTo(e.y, 10, `${desc} Circle #${i + 1} y`); + expect(r.r).to.equal(e.r, `${desc} Circle #${i + 1} r`); + break; + case 'Vector': + expect(r.x).to.be.closeTo(e.x, 10, `${desc} vector #${i + 1} x`); + expect(r.y).to.be.closeTo(e.y, 10, `${desc} vector #${i + 1} y`); + break; + case 'BezierCurve': + expect(r.x0).to.be.closeTo(e.x0, 10, `${desc} beziercurve #${i + 1} x0`); + expect(r.y0).to.be.closeTo(e.y0, 10, `${desc} beziercurve #${i + 1} y0`); + expect(r.x1).to.be.closeTo(e.x1, 10, `${desc} beziercurve #${i + 1} x1`); + expect(r.y1).to.be.closeTo(e.y1, 10, `${desc} beziercurve #${i + 1} y1`); + expect(r.cx0).to.be.closeTo(e.cx0, 10, `${desc} beziercurve #${i + 1} cx0`); + expect(r.cy0).to.be.closeTo(e.cy0, 10, `${desc} beziercurve #${i + 1} cy0`); + expect(r.cx1).to.be.closeTo(e.cx1, 10, `${desc} beziercurve #${i + 1} cx1`); + expect(r.cy1).to.be.closeTo(e.cy1, 10, `${desc} beziercurve #${i + 1} cy1`); + break; + default: + throw new Error(`Unknown path type ${r.type}`); + } + } + }); +}; + +(() => { + const testRunnerUrl = location.href; + const hasHistoryApi = + typeof window.history !== 'undefined' && typeof window.history.replaceState !== 'undefined'; + + if (typeof reftests === 'undefined') { + it('Test harness prerequisite check', () => { + throw new Error( + 'No reftests list defined, run "npm run create-reftest-list" to create it' + ); + }); + } else { + Object.keys(reftests).forEach(url => { + describe(url, function() { + this.timeout(30000); + var windowWidth = 800; + var windowHeight = 600; + var testContainer = document.createElement('iframe'); + var REFTEST = reftests[url]; + testContainer.width = windowWidth; + testContainer.height = windowHeight; + testContainer.style.visibility = 'hidden'; + testContainer.style.position = 'fixed'; + testContainer.style.left = '10000px'; + + before(done => { + testContainer.onload = () => done(); + + testContainer.src = url + '?selenium&run=false&reftest&' + Math.random(); + if (hasHistoryApi) { + // Chrome does not resolve relative background urls correctly inside of a nested iframe + history.replaceState(null, '', url); + } + + document.body.appendChild(testContainer); + }); + after(() => { + if (hasHistoryApi) { + history.replaceState(null, '', testRunnerUrl); + } + document.body.removeChild(testContainer); + }); + it('Should render untainted canvas', () => { + return testContainer.contentWindow + .html2canvas(testContainer.contentWindow.document.documentElement, { + removeContainer: true, + target: [ + new testContainer.contentWindow.html2canvas.CanvasRenderer(), + new testContainer.contentWindow.RefTestRenderer() + ] + }) + .then(([canvas, result]) => { + try { + canvas + .getContext('2d') + .getImageData(0, 0, canvas.width, canvas.height); + } catch (e) { + return Promise.reject('Canvas is tainted'); + } + + const delta = 10; + + if (REFTEST) { + const RESULTS = parseRefTest(result); + REFTEST.forEach(({action, line, ...args}, i) => { + const RESULT = RESULTS[i]; + expect(RESULT.action).to.equal(action, `Line ${line}`); + + const desc = `Line ${line} ${action}`; + + switch (action) { + case 'Window': + expect(RESULT.width).to.equal( + args.width, + `${desc} width` + ); + expect(RESULT.height).to.be.closeTo( + args.height, + delta, + `${desc} height` + ); + break; + + case 'Rectangle': + expect(RESULT.x).to.equal(args.x, `${desc} x`); + expect(RESULT.y).to.equal(args.y, `${desc} y`); + expect(RESULT.width).to.equal( + args.width, + `${desc} width` + ); + expect(RESULT.height).to.be.closeTo( + args.height, + delta, + `${desc} height` + ); + break; + + case 'Fill': + expect(RESULT.color).to.equal( + args.color, + `${desc} color` + ); + break; + + case 'Opacity': + expect(RESULT.opacity).to.equal( + args.opacity, + `${desc} opacity` + ); + break; + + case 'Text': + expect(RESULT.font).to.equal(args.font, `${desc} font`); + break; + + case 'T': + expect(RESULT.x).to.be.closeTo(args.x, 10, `${desc} x`); + expect(RESULT.y).to.be.closeTo(args.y, 10, `${desc} y`); + expect(RESULT.text).to.equal(args.text, `${desc} text`); + break; + + case 'Transform': + expect(RESULT.x).to.be.closeTo(args.x, 5, `${desc} x`); + expect(RESULT.y).to.be.closeTo(args.y, 5, `${desc} y`); + expect(RESULT.matrix).to.equal( + args.matrix, + `${desc} matrix` + ); + break; + + case 'Repeat': + expect(RESULT.x).to.be.closeTo(args.x, 5, `${desc} x`); + expect(RESULT.y).to.be.closeTo(args.y, 5, `${desc} y`); + expect(RESULT.width).to.equal( + args.width, + `${desc} width` + ); + expect(RESULT.height).to.equal( + args.height, + `${desc} height` + ); + expect(RESULT.imageSrc).to.equal( + args.imageSrc, + `${desc} imageSrc` + ); + assertPath(RESULT.path, args.path, desc); + break; + + case 'Gradient': + expect(RESULT.x).to.be.closeTo(args.x, 5, `${desc} x`); + expect(RESULT.y).to.be.closeTo(args.y, 5, `${desc} y`); + expect(RESULT.x0).to.be.closeTo( + args.x0, + 5, + `${desc} x0` + ); + expect(RESULT.y0).to.be.closeTo( + args.y0, + 5, + `${desc} y0` + ); + expect(RESULT.x1).to.be.closeTo( + args.x1, + 5, + `${desc} x1` + ); + expect(RESULT.y1).to.be.closeTo( + args.y1, + 5, + `${desc} y1` + ); + expect(RESULT.stops).to.equal( + args.stops, + `${desc} stops` + ); + expect(RESULT.width).to.equal( + args.width, + `${desc} width` + ); + expect(RESULT.height).to.equal( + args.height, + `${desc} height` + ); + + break; + + case 'Draw image': + expect(RESULT.imageSrc).to.equal( + args.imageSrc, + `${desc} stops` + ); + expect(RESULT.sx).to.equal(args.sx, `${desc} sx`); + expect(RESULT.sy).to.equal(args.sy, `${desc} sy`); + expect(RESULT.dx).to.equal(args.dx, `${desc} dx`); + expect(RESULT.dy).to.equal(args.dy, `${desc} dy`); + expect(RESULT.sw).to.equal(args.sw, `${desc} sw`); + expect(RESULT.sh).to.equal(args.sh, `${desc} sh`); + expect(RESULT.dw).to.equal(args.dw, `${desc} dw`); + expect(RESULT.dh).to.equal(args.dh, `${desc} dh`); + break; + + case 'Clip': + assertPath(RESULT.path, args.path, desc); + break; + + case 'Shape': + expect(RESULT.color).to.equal( + args.color, + `${desc} color` + ); + assertPath(RESULT.path, args.path, desc); + break; + + default: + console.log(RESULT); + throw new Error(`Unrecognized action ${action}`); + } + }); + } else if (DOWNLOAD_REFTESTS) { + downloadResult( + url.slice(url.lastIndexOf('/') + 1).replace(/\.html$/i, '.txt'), + result + ); + } + }); + }); + }); + }); + } +})(); diff --git a/tests/utils.js b/tests/utils.js deleted file mode 100644 index db1e3e5..0000000 --- a/tests/utils.js +++ /dev/null @@ -1,66 +0,0 @@ -var fs = require('fs'); -var wd = require('wd'); -var path = require('path'); -var Promise = require('bluebird'); -var _ = require('lodash'); - -Promise.promisifyAll(fs); - -var colors = { - red: "\x1b[1;31m", - blue: "\x1b[1;36m", - violet: "\x1b[0;35m", - green: "\x1b[0;32m", - clear: "\x1b[0m" -}; - -function isHtmlFile(filename) { - return path.extname(filename) === '.html'; -} - -function getTests(path) { - return fs.readdirAsync(path).map(function(name) { - var filename = path + "/" + name; - return fs.statAsync(filename).then(function(stat) { - return stat.isDirectory() ? getTests(filename) : filename; - }); - }).then(function(t) { - return _.flatten(t).filter(isHtmlFile); - }); -} - -function initBrowser(settings) { - var browser = wd.remote({ - hostname: 'localhost', - port: 4445, - user: process.env.SAUCE_USERNAME, - pwd: process.env.SAUCE_ACCESS_KEY - }, 'promiseChain'); - - if (process.env.TRAVIS_JOB_NUMBER) { - settings["tunnel-identifier"] = process.env.TRAVIS_JOB_NUMBER; - settings["name"] = process.env.TRAVIS_COMMIT.substring(0, 10); - settings["build"] = process.env.TRAVIS_BUILD_NUMBER; - } else { - settings["name"] = "Manual run"; - } - - return browser.resolve(Promise).init(settings).then(function(b) { - return Promise.resolve(b).disposer(function() { - return browser.quit(); - }); - }); -} - -function loadTestPage(browser, test, port) { - return function(settings) { - return browser.get("http://localhost:" + port + "/" + test + "?selenium").then(function() { - return settings; - }); - }; -} - -module.exports.colors = colors; -module.exports.getTests = getTests; -module.exports.initBrowser = initBrowser; -module.exports.loadTestPage = loadTestPage; diff --git a/webpack.config.js b/webpack.config.js index 6012d98..6bac381 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -45,5 +45,15 @@ module.exports = [ }, module: modules, plugins + }, + { + entry: './tests/testrunner.js', + output: { + filename: './build/testrunner.js', + library: 'testrunner', + libraryTarget: 'umd' + }, + module: modules, + plugins } ];